openai ads get campaign
openai_ads_get_campaignRead a single ChatGPT Ads campaign to retrieve its native status, budget, schedule, and targeting settings, with optional serving_issues for diagnosing why the campaign cannot serve.
Instructions
Read one campaign with its native status, budget, schedule and targeting.
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": {
"adAccountId": "<adAccountId>",
"campaignId": "<campaignId>"
},
"name": "openai_ads_get_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include | No | Add serving_issues to receive native reasons why this entity cannot serve. A paused state is intentional, not an issue. | |
| campaignId | Yes | Native campaign ID (cmpn_) in the configured account. | |
| adAccountId | Yes | The adacct_ ID configured in OPENAI_ADS_ACCOUNT_ID. The API key is scoped to this one account; another ID is refused. |
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. |