Meta Ads / API Reference
meta_ads_create_image_ad_from_media
Full image-ad workflow. Use this when the user wants the image uploaded and the creative/ad created in one step. Prefer meta_upload_ad_image when the user only wants the asset in the library. Prefer generated_asset_id from the creative tools when the image was just created in chat. Source accepts local file paths, public URLs, data URI/raw base64, or existing image_hash.
This is a write tool: it creates image ad from media in your Meta Ads account. Claude asks you to confirm before it runs.
Ask Claude
You do not call this tool yourself. Ask for the outcome and the client picks the tool:
Create image ad from media in my Meta Ads account.
It takes 0 required and 15 optional parameters.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | No | Name |
page_id | string | No | Page Id |
message | string | No | Message |
link | string | No | Link |
media_source_value | string | No | Media Source Value |
generated_asset_id | string | No | Generated Asset Id |
media_source_type | string | No | Media Source Type |
filename | string | No | Filename |
headline | string | No | Headline |
description | string | No | Description |
adset_id | string | No | Adset Id |
ad_name | string | No | Ad Name |
status | string | No | Status |
call_to_action_type | string | No | Call To Action Type |
account_id | string | No | Account Id |
Related Meta Ads tools
meta_ads_create_image_ad_from_sourcemeta_ads_create_ab_testmeta_ads_create_admeta_ads_create_ad_creativemeta_ads_create_adsetmeta_ads_create_adset_with_dayparting
Before you can call it
This tool needs a connected Meta Ads account. The Meta Ads connect guide covers the OAuth flow and the permissions it asks for, and the quickstart gets a client talking to the server in about five minutes.
Workflows that use this
Rather than calling tools one at a time, these skills run a whole procedure against the same account: