bing get targeting
bing_get_targetingReads configured campaign or ad group targeting for a single criterion type, including inclusions and exclusions, to verify targeting settings rather than performance.
Instructions
Read configured campaign or ad group targeting for one criterion type, inclusions and exclusions included. This is configuration, not demographic performance.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"accountId": "<accountId>",
"campaignId": "<campaignId>",
"campaignType": "<campaignType>",
"criterionType": "<criterionType>"
},
"name": "bing_get_targeting"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | Yes | Account ID listed in BING_ADS_ACCOUNT_IDS. Use the numeric ID, not the eight-character account number shown in the web app. | |
| adGroupId | No | Optional ad group ID. Omit it to read campaign-level criteria. | |
| campaignId | Yes | Numeric campaign ID in the selected account. | |
| campaignType | Yes | Native type of campaignId, used to verify that it belongs to the account. Dynamic Search campaigns use Search with DynamicSearchAdsSetting. | |
| criterionType | Yes | Criterion type to read. Call once per type. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Original tool result: parsed JSON when the text is JSON, otherwise the text or multiple MCP content blocks. Provider fields depend on the selected query. |