Facebook IntegrationVersion: v3
Get Facebook integration
GET/ad-publishing/facebook/integration
Retrieve the Facebook ad integration details for a location
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:
HChooFuiyPpVYzeJ4HMeResponse
Facebook integration for the location. Includes a live access token per linked page.
locationIdstringrequired
Location identifier
Example:
g8EFf47NY6PxodNBEHzPstatusstringrequired
Connection state
Available options
connectedexpireddisconnectedExample:
connectedpricingModelstringrequired
How the location pays for ads
Available options
done_for_youconnect_your_bmExample:
connect_your_bmfbAdAccountIdstring
Connected ad account id, prefixed with act_
Example:
act_357046700569338fbBusinessIdstring
Business Manager id. Absent on connect-your-BM integrations that have no business linked.
Example:
153049965367635fbDefaultPageIdstring
Page used by default when publishing
Example:
1180808591782587pagesobject[]required
Pages linked to the integration, each with its access token