Facebook IntegrationVersion: v3
Create Facebook integration
POST/ad-publishing/facebook/integration
Create a Facebook ad integration for a location with page and ad account
Authorizations
Authorizationstringheaderrequired
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
Scope:
adPublishing. writeAuth methods:
OAuthPrivate IntegrationToken type:
Sub-Account TokenRequest
Headers
Versionstringrequired
API Version
Available options
v3Example:
v3Body
locationIdstringrequired
Location identifier
Example:
loc_abc123pageIdstringrequired
Facebook page ID
Example:
123456789adAccountIdstring
Ad account identifier
Example:
act_123456Response
The stored integration. Broader than the read — also returns the top-level userAccessToken.
idstringrequired
Integration identifier
Example:
68b6e9577058423e35c3c358locationIdstringrequired
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_bmuserAccessTokenstringrequired
Live user access token for the connected Facebook user. Treat as a credential.
Example:
<user-access-token>fbAdAccountIdstring
Connected ad account id
Example:
act_357046700569338fbDefaultPageIdstring
Page used by default when publishing
Example:
1180808591782587pagesobject[]required
Pages linked to the integration, each with its access token
unSubscriptionReasonsstring[]required
Reasons the location previously unsubscribed. Empty array when none.
Example:
[]createdAtstringrequired
Created at
Example:
2025-09-02T12:55:51.522ZupdatedAtstringrequired
Updated at
Example:
2026-08-19T12:03:39.896Z