Facebook Ads

Supports:

  • ✅ Model sync destination
  • ✅ Bulk sync source
  • ✅ Connection Proxy

Connection

Configuration

NameTypeDescriptionRequired
auth_methodstringAuthentication method

Accepted values: oauth, token
true
auto_add_accountsbooleanAutomatically add new accountsfalse

auth_method

When auth_method is token
NameTypeDescriptionRequired
byo_app_tokenstringTokentrue
graph_api_versionstringGraph API version (optional)true

byo_app_token

When byo_app_token has a value AND user_name has a value
NameTypeDescriptionRequired
accountsarrayAccountstrue

Example

{
"name": "Facebook Ads connection",
"type": "fbaudience",
"configuration": {
"auth_method": "token",
"auto_add_accounts": false,
"byo_app_token": "secret",
"graph_api_version": "v24.0"
}
}

Read-only properties

NameTypeDescriptionRequired
user_namestringConnected asfalse

Model Sync

Target

Facebook Ads connections may be used as the destination in a model sync.

Target creation

Facebook Ads connections may be used to create a new target for a model sync. The following parameters are required to create a new target:

NAMEDESCRIPTIONENUM
accountAds account IDtrue
nameAudience namefalse

Bulk Sync

Source

Configuration

NameTypeDescriptionRequired
reporting_lookbackintegerLookback period for reportsfalse

Example

{
...
"source_configuration": {
"reporting_lookback": 0
}
}