Get ad accounts
GET/ad-publishing/facebook/ad-accounts
Retrieve Facebook ad accounts available for the connected user
Request
Version stringrequired
API Version
Available options
v3locationId stringrequired
Location identifier
type string
Account source type
Available options
INTEGRATIONAD_MANAGERnext string
Pagination cursor
fetchAll string
Fetch all accounts
limit string
Results page limit
Ad accounts the connected user can access
- application/json
- Schema
- Example (auto)
Schema
- Array [
- ]
idstringrequired
Ad account id, prefixed with act_
namestringrequired
Ad account name
accountStatusstringrequired
Account status. UNKNOWN when Facebook returns a code the service does not map.
Available options
ACTIVEDISABLEDUNSETTLEDPENDING_RISK_REVIEWPENDING_SETTLEMENTIN_GRACE_PERIODPENDING_CLOSURECLOSEDANY_ACTIVEANY_CLOSEDUNKNOWNcurrencystringrequired
Account billing currency, ISO 4217
fundingTypestringrequired
How the account is funded. NONE when no funding source is set.
businessobject
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
[
{
"id": "act_357046700569338",
"name": "Acme - Production",
"accountStatus": "ACTIVE",
"currency": "USD",
"fundingType": "FACEBOOK_EXTENDED_CREDIT",
"business": {
"id": "153049965367635",
"name": "Acme Marketing"
},
"integrationConnected": false
}
]