Skip to navigation

Supports:

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

Connection

Configuration

NameTypeDescriptionRequired
auth_methodstringAuthentication method

Accepted values: oauth, token ↓
required
auto_add_accountsbooleanAutomatically add new accountsoptional
Read-only propertyTypeDescription
user_namestringConnected as

auth_method = token

NameTypeDescriptionRequired
byo_app_tokenstringToken ↓required
graph_api_versionstringGraph API version (optional)required
{
"name": "Facebook Ads connection",
"type": "fbaudience",
"configuration": {
"accounts": [
{
"label": "",
"value": ""
}
],
"auth_method": "token",
"auto_add_accounts": false,
"byo_app_token": "secret",
"graph_api_version": "v24.0"
}
}
byo_app_token

When byo_app_token is set or user_name is set:

NameTypeDescriptionRequired
accountsarrayAccountsrequired

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 reportsoptional

Example

{
...
"source_configuration": {
"reporting_lookback": 7
}
}