Apple Ads: Raw API Request
apple_ads_requestCall any Apple Ads Platform API endpoint not covered by a dedicated tool, with ad-account context injected automatically; only GET requests are permitted by default.
Instructions
Call any Apple Ads Platform API endpoint that no dedicated tool wraps — Maps advertising (/business-brands/*), asset upload, recommendations, location targeting, change history. The ad-account context header is injected for you. You get no argument validation, no response shaping and no safety checks: prefer a dedicated tool where one exists. Writes are DISABLED: only GET is permitted. Set APPLE_ADS_ALLOW_WRITES=1 to allow mutations.
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": {
"path": "<path>"
},
"name": "apple_ads_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON body, for POST and PUT. Most Apple Ads queries are POST with a body. | |
| path | Yes | Path relative to the API root, e.g. "/recommendations/daily-budgets/query". Not a full URL. | |
| method | No | HTTP method. | GET |
| savePath | No | Absolute path to also write this result to, as pretty-printed JSON. Use it rather than copying values out of the response into a file by hand. Parent directories are created. | |
| adAccountId | No | The ad account to act on. Omit it when you have exactly one or APPLE_ADS_AD_ACCOUNT_ID is set — it is resolved automatically. List them with apple_ads_list_accounts. |