bing get ad groups
bing_get_ad_groupsAccess native ad group configuration and structure within owned campaigns on the Microsoft Advertising platform. Retrieve detailed data for specific Search or Shopping campaigns to review performance and settings.
Instructions
Read ad groups and their native configuration in an owned campaign.
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>"
},
"name": "bing_get_ad_groups"
}
}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. | |
| 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. |
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. |