MMetadata /docs
Docs/Tools/create_google_image_extension

create_google_image_extension

Attach visual imagery (1-20 product / lifestyle shots) to a Google Ads text ad to lift click-through.

Writes extensions

Creates or changes something in the account. Put it behind whatever review your agent uses.

What it does

Attach visual imagery (1-20 product / lifestyle shots) to a Google Ads text ad to lift click-through. BETA. Re-uses assets already uploaded to the Metadata image library — pass their IDs, not raw files.

                ALSO KNOWN AS: image extension, image asset, ad image, visual extension, picture extension, photo extension, hero image

                KEYWORDS: image, image extension, photo, picture, visual, hero, asset, library, BETA, google ads, extension, CTR

                WHEN TO USE:
                - "Attach images to our Google Ads text ad"
                - "Add image library IDs 123 and 456 as an image extension"
                - "Create an image extension showing product photos under our search ads"

                WHEN NOT TO USE:
                - The image is a logo / brand mark → use create_google_business_logo_extension
                - You haven't uploaded the assets yet — image extensions reference library IDs, so upload to the image library first.
                - Want to drive clicks via text snippets → use create_google_sitelink_extension / callout
                - Same images for Microsoft Ads / Bing → use create_microsoft_image_extension

                INPUTS:
                - image_library_ids (required): 1-20 IDs from the Metadata image library.
                - alternative_text:  accessibility alt text (≤90 chars).
                - display_text:      short caption overlaid on the image (≤35 chars). E.g. "Shop Now".
                - destination_url:   landing page when the image is clicked.

                EXAMPLE:
                create_google_image_extension(
                    image_library_ids=[123, 456],
                    alternative_text="Product hero shot",
                    display_text="Shop Now",
                    destination_url="https://example.com/landing",
                )

Arguments

ArgumentTypeNotes
image_library_ids array required 1-20 image-library IDs.
alternative_text string
display_text string
destination_url string

Request

curl
curl -s -X POST https://mcp-server.metadata.io/mcp \
  -H "Authorization: $METADATA_PAT" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "MCP-Protocol-Version: 2025-11-25" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"create_google_image_extension","arguments":{"image_library_ids":[]}}}'

Response

No recorded response. This tool writes to the account, so it is never executed to build these docs. The request above is still the exact shape to send. Nothing on this page is invented.

Other extensions tools:

All 160 tools · machine-readable index