Skip to navigation

Supports:

  • ✅ Model sync destination
  • ✅ Bulk sync source

Connection

Configuration

NameTypeDescriptionRequired
accountsarrayAccountsoptional
agree_customer_match_termsbooleanAgree to Microsoft’s Customer Match Terms when syncing audiencesoptional
auth_methodstringAuthentication method

Accepted values: microsoft, google
required
auto_add_accountsbooleanAutomatically add new accountsoptional
client_idstringoptional
client_secretstringoptional
oauth_refresh_tokenstringoptional
Read-only propertyTypeDescription
usernamestringConnected user

Example

{
"name": "Microsoft Ads connection",
"type": "msads",
"configuration": {
"accounts": [
{
"label": "",
"value": ""
}
],
"agree_customer_match_terms": false,
"auth_method": "microsoft",
"auto_add_accounts": false,
"client_id": "a45gadsfdsafbyorxhugfbhsgllpf12gf56gfds",
"client_secret": "ay8d5hdepz62px8lqeoakuea2ccl4rxm13i6tbyorxhu1i20kc8ruvksmzxq",
"oauth_refresh_token": "dasfdasz62px8lqeoakuea2ccl4rxm13i6tbyorxhu1i20kc8ruvksmzxq"
}
}

Model Sync

Target

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

Target creation

Microsoft 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
accountAccount IDtrue
nameAudience namefalse

Bulk Sync

Source

Configuration

NameTypeDescriptionRequired
reporting_lookbackintegerLookback period for reportsoptional

Example

{
...
"source_configuration": {
"reporting_lookback": 2
}
}