API ReferenceAnnouncementsCommunity Discussion
API ReferenceCommunity DiscussionAnnouncementsSubscribeLog In
API Reference

Get Allowed Accounts

Returns all allowed accounts for your user credentials.
See also: Get Advertiser Accounts in Network (above).

Sample response:

{
   "results": [
      {
         "id": 1163,
         "name": "Advertiser 1",
         "account_id": "advertiser-1",
         "partner_types": [
            "PUBLISHER",
            "ADVERTISER"
         ],
         "type": "PARTNER",
         "campaign_types": [
            "PAID"
         ],
         "currency": "USD",
         "time_zone_name": "US/Eastern"
      },
      {
         "id": 1164,
         "name": "Advertiser 2",
         "account_id": "advertiser-2",
         "partner_types": [
            "PUBLISHER",
            "ADVERTISER"
         ],
         "type": "PARTNER",
         "campaign_types": [
            "PAID"
         ],
         "currency": "USD",
         "time_zone_name": "US/Eastern"
      },
      //...
   ],
   "metadata": {
      //...
   }
}

📘

This endpoint does not take any params. It returns all allowed accounts for your user credentials.

🚧

Guidelines

  1. For a user with network credentials, the endpoint returns all the individual sub-accounts in that network, as well as the network account.
  2. If you do not have network credentials, the response will contain details for your individual account only.
  3. For hybrid networks, the endpoint returns the relevant advertiser and publisher accounts.

See also: Get Advertiser Accounts in Network (above).

Language