ads_get_campaigns_associated_with_budget_rule
List the campaigns a budget rule is attached to.
readAmazon Adsads.sp
Amazon Ads API · GetCampaignsAssociatedWithSPBudgetRule · GET /sp/budgetRules/{budgetRuleId}/campaigns Amazon Ads API · GetCampaignsAssociatedWithSBBudgetRule · GET /sb/budgetRules/{budgetRuleId}/campaigns Amazon Ads API · GetCampaignsAssociatedWithSDBudgetRule · GET /sd/budgetRules/{budgetRuleId}/campaigns Docs: https://advertising.amazon.com/API/docs/en-us/sponsored-products/3-0/openapi/prod#tag/BudgetRules/operation/GetCampaignsAssociatedWithSPBudgetRule Docs: https://advertising.amazon.com/API/docs/en-us/sponsored-brands/3-0/openapi/prod#tag/Budget-rules/operation/GetCampaignsAssociatedWithSBBudgetRule Docs: https://advertising.amazon.com/API/docs/en-us/sponsored-display/3-0/openapi#tag/Budget-Rules/operation/GetCampaignsAssociatedWithSDBudgetRule
Call it
In an AI client (MCP)
{
"name": "ads_get_campaigns_associated_with_budget_rule",
"arguments": {
"store": "myStore-US",
"countryCode": "<countryCode>",
"adProduct": "<adProduct>",
"budgetRuleId": "<budgetRuleId>"
}
}From code (Tool API)
curl -X POST https://api.sellersheetai.com/api/v1/tools/ads_get_campaigns_associated_with_budget_rule \
-H "Authorization: Bearer $SELLERSHEET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"store":"myStore-US","countryCode":"<countryCode>","adProduct":"<adProduct>","budgetRuleId":"<budgetRuleId>"}'Arguments
| Name | Type | Description |
|---|---|---|
storerequired | string | the store ref `<store>-<CC>` (name-country, e.g. 'myStore-US') — one of get_user_context's store_refs, verbatim. |
countryCoderequired | string | the Ads profile's 2-letter country code (e.g. 'US'). |
adProductrequired | string | SPONSORED_PRODUCTS | SPONSORED_BRANDS | SPONSORED_DISPLAY. |
budgetRuleIdrequired | string | from ads_get_budget_rules_for_advertiser. |
pageSize | integer | campaigns per page, 1–30 (default 30). |
nextToken | string | the cursor from the previous call's data.nextToken; omit for the first page. |
Result
Every tool answers {notification, data, human_action}; data carries:
- Amazon's payload in data.result.
data.result.associatedCampaigns[]— {campaignId, campaignName, ruleStatus}.data.nextToken— the cursor for the next page (absent on the last page).