Microsoft Ads

Supports:

  • ✅ Model sync destination
  • ✅ Bulk sync source

Connection

Configuration

NameTypeDescriptionRequired
auth_methodstringAuthentication method

Accepted values: microsoft, google
true
auto_add_accountsbooleanAutomatically add new accountsfalse
client_idstringfalse
client_secretstringfalse
oauth_refresh_tokenstringfalse

oauth_token_expiry

When oauth_token_expiry has a value
NameTypeDescriptionRequired
accountsarrayAccountsfalse
agree_customer_match_termsbooleanAgree to Microsoft’s Customer Match Terms when syncing audiencesfalse

Example

{
"name": "Microsoft Ads connection",
"type": "msads",
"configuration": {
"auth_method": "",
"auto_add_accounts": false,
"client_id": "a45gadsfdsafbyorxhugfbhsgllpf12gf56gfds",
"client_secret": "ay8d5hdepz62px8lqeoakuea2ccl4rxm13i6tbyorxhu1i20kc8ruvksmzxq",
"oauth_refresh_token": "dasfdasz62px8lqeoakuea2ccl4rxm13i6tbyorxhu1i20kc8ruvksmzxq"
}
}

Read-only properties

NameTypeDescriptionRequired
usernamestringConnected userfalse

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 reportsfalse

Example

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