Skip to content
Get MCP AdsGet MCP Ads, home

openai_ads_upload_image

Upload verified PNG/JPEG/WebP bytes to the selected ChatGPT Ads account after saved preview and confirmation.

Upload verified PNG/JPEG/WebP bytes to the selected ChatGPT Ads account after saved preview and confirmation. Minimum 640 × 640, maximum 5 MiB. Returns native file_id for a chat_card. Never changes the account favicon.

Kind
Write
Discovery
Reachable through search_tools and run_tool
Account parameter
adAccountId
Endpoint
https://mcp.getmcpads.com/openai-ads/mcp

ParametersLink to this section

NameTypeRequiredNotes
adAccountIdstringRequiredExact verified and selected ChatGPT Ads account ID; the token is scoped to this account.
bytesBase64stringRequiredActual supplied image bytes, base64 encoded; never transcribe bytes from a screenshot.
mimeTypestringRequiredVerified MIME type of these image bytes. One of: image/png, image/jpeg, image/webp.
filenamestringRequiredStable plain image filename without a path; keep it unchanged for this request.
requestIdstringRequiredStable UUID for this exact logical change. Reuse to retrieve its receipt; never replace after an uncertain outcome.
confirmbooleanOptionalFalse returns a saved preview. True applies only the exact preview explicitly approved by the person. Default: false.
confirmationTokenstringOptionalExact saved preview token returned for these arguments, account, actor and workspace.

Calling itLink to this section

jsonThrough run_tool, since it is not announced
{
  "name": "run_tool",
  "arguments": {
    "name": "openai_ads_upload_image",
    "args": {
      "adAccountId": "<string>",
      "bytesBase64": "<string>",
      "mimeType": "image/png",
      "filename": "<string>",
      "requestId": "<string>"
    }
  }
}
Esc

Type to search