Skip to content

update_ad

Changes the fields named of one ad, as get_ad says them. Typed inside bash, where help update_ad prints the same.

Usage: update_ad ID [options]
Changes the fields named of one ad, as get_ad says them. New words, a
new picture, link or button make a new creative on the same ad,
which Meta reviews again before it runs. Its status is
set_ads_status's.
Options:
--id TEXT (required)
The ad's id, from list_campaigns.
--name TEXT
The ad's name, which only the owner sees.
--picture_key TEXT
A picture on the site's Disk, by its key from list_files, that the owner has put in an ad on the Ads screen.
--image_hash TEXT
A picture already in the ad account, as get_ad says one.
--message TEXT
The words above the picture.
--headline TEXT
The line under the picture.
--description TEXT
The smaller line under the headline.
--link TEXT
Where it sends people: a page of the site by its path (/courses), or an https address.
--call_to_action LEARN_MORE|SHOP_NOW|BOOK_TRAVEL|BOOK_NOW|CONTACT_US|SIGN_UP|SUBSCRIBE|GET_OFFER|GET_QUOTE|APPLY_NOW|DOWNLOAD|WATCH_MORE|SEND_MESSAGE|WHATSAPP_MESSAGE|ORDER_NOW|GET_SHOWTIMES|LISTEN_NOW|NO_BUTTON
The button. Defaults to LEARN_MORE.
--url_tags TEXT
Tags added to the link, as utm_source=meta&utm_campaign=autumn.
--json OBJECT
Every argument at once, as one JSON object; --json - reads it from stdin.