List Microsoft Advertising ads
msads_get_adsList an ad group's ads: id, type, status, final URLs and the ad text (headlines and descriptions for responsive search ads; title parts and text for expanded and text ads). For a responsive search ad, pinnedHeadlines / pinnedDescriptions list any text pinned to a fixed position (1 = first); absent when nothing is pinned.
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": {
"adGroupId": "<adGroupId>"
},
"name": "msads_get_ads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | No | Microsoft Advertising account id or account number (e.g. 'F123ABCD'), as listed by msads_list_accounts. Only needed when the sign-in can reach more than one account. | |
| adGroupId | Yes | Ad group id, from msads_get_ad_groups. |