Skip to content
Get MCP AdsGet MCP Ads, home
Start free

meta_upload_ad_image

Upload an image into the selected ad account using base64 bytes (up to 5 MiB decoded).

Upload an image into the selected ad account using base64 bytes (up to 5 MiB decoded). Preview reports size only, never the file body. Local preview by default. No automatic retry. Account ownership is checked before Meta validation or mutation.

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

ParametersLink to this section

NameTypeRequiredNotes
adAccountIdstringRequiredSelected owning ad account ID, with or without act_. Every referenced ad object must belong to it.
bytesBase64stringRequiredBase64 media bytes without a data-URL prefix. Maximum decoded size 5 MiB; omitted from preview output.
confirmbooleanOptionalApply only when true. Default is a local preview with no API mutation.
validateOnlybooleanOptionalAsk Meta to validate, without creating or changing an object. Mutually exclusive with confirm.

Calling itLink to this section

jsonThrough run_tool, since it is not announced
{
  "name": "run_tool",
  "arguments": {
    "name": "meta_upload_ad_image",
    "args": {
      "adAccountId": "<string>",
      "bytesBase64": "<string>"
    }
  }
}
Esc

Type to search