openai ads get write context
openai_ads_get_write_contextRead an ad account's conversion settings and product feeds before proposing a campaign, and check objective, billing, and bid strategy combinations plus missing prerequisites.
Instructions
Read the account, its conversion settings and its product feeds before proposing a campaign. Lists the native objective, billing and bid strategy combinations and the missing prerequisites. It grants no eligibility and creates nothing.
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>"
},
"name": "openai_ads_get_write_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. |