> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://apidocs.polytomic.com/2024-02-08/guides/configuring-your-connections/connections/msads/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://apidocs.polytomic.com/_mcp/server. # Microsoft Ads Supports: * ✅ Model sync destination * ✅ Bulk sync source ## Connection ### Configuration
NameTypeDescriptionRequired
accounts array Accounts optional
agree_customer_match_terms boolean Agree to Microsoft's [Customer Match Terms](https://help.ads.microsoft.com/#apex/ads/en/56921/1) when syncing audiences optional
auth_method string Authentication method

Accepted values: `microsoft`, `google`
required
auto_add_accounts boolean Automatically add new accounts optional
client_id string optional
client_secret string optional
oauth_refresh_token string optional
Read-only propertyTypeDescription
username string Connected user
#### Example ```json { "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:
NAME DESCRIPTION ENUM
account Account ID true
name Audience name false
## Bulk Sync ### Source #### Configuration
NameTypeDescriptionRequired
reporting_lookback integer Lookback period for reports optional
#### Example ```json { ... "source_configuration": { "reporting_lookback": 2 } } ```