Facebook IntegrationVersion: v3
Get ad accounts
GET/ad-publishing/facebook/ad-accounts
Retrieve Facebook ad accounts available for the connected user
Authorizations
Authorizationstringheaderrequired
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
Scope:
adPublishing. readonlyAuth methods:
OAuthPrivate IntegrationToken type:
Sub-Account TokenRequest
Headers
Versionstringrequired
API Version
Available options
v3Example:
v3Query Parameters
locationIdstringrequired
Location identifier
Example:
loc_abc123typestring
Account source type
Available options
INTEGRATIONAD_MANAGERExample:
AD_MANAGERnextstring
Pagination cursor
Example:
cursor_abcfetchAllstring
Fetch all accounts
Example:
truelimitstring
Results page limit
Example:
25Response
Ad accounts the connected user can access
idstringrequired
Ad account id, prefixed with act_
Example:
act_357046700569338namestringrequired
Ad account name
Example:
Acme - ProductionaccountStatusstringrequired
Account status. UNKNOWN when Facebook returns a code the service does not map.
Available options
ACTIVEDISABLEDUNSETTLEDPENDING_RISK_REVIEWPENDING_SETTLEMENTIN_GRACE_PERIODPENDING_CLOSURECLOSEDANY_ACTIVEANY_CLOSEDUNKNOWNExample:
ACTIVEcurrencystringrequired
Account billing currency, ISO 4217
Example:
USDfundingTypestringrequired
How the account is funded. NONE when no funding source is set.
Example:
FACEBOOK_EXTENDED_CREDITbusinessobject
Owning Business Manager. Absent for personal ad accounts that belong to no business.
integrationConnectedbooleanrequired
True when this account is the one currently connected to the location
Example:
false