Skip to main content
Version: v3

Get ad accounts

GET 

/ad-publishing/facebook/ad-accounts

Retrieve Facebook ad accounts available for the connected user

Request

Version stringrequired

API Version

Available optionsv3
locationId stringrequired

Location identifier

type string

Account source type

Available optionsINTEGRATIONAD_MANAGER
next string

Pagination cursor

fetchAll string

Fetch all accounts

limit string

Results page limit

application/json

Ad accounts the connected user can access

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 optionsACTIVEDISABLEDUNSETTLEDPENDING_RISK_REVIEWPENDING_SETTLEMENTIN_GRACE_PERIODPENDING_CLOSURECLOSEDANY_ACTIVEANY_CLOSEDUNKNOWN
    currencystringrequired

    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

  • ]