create_ad
Makes an ad in one of the site’s ad sets, paused: a picture the ad account already has (by its hash, or the Disk key of one the owner put in an ad), its words, the page of the site it sends visitors to by its path, and its button. Typed inside bash, where help create_ad prints the same.
Usage: create_ad NAME AD_SET_ID MESSAGE LINK [options]
Makes an ad in one of the site's ad sets, paused: a picture the adaccount already has (by its hash, or the Disk key of one the ownerput in an ad), its words, thepage of the site it sends visitors to by its path, and its button. A`status` other than PAUSED is refused. Meta reviews it before itruns. Read the `meta-ads` guide.
Options: --name TEXT (required) The ad's name, which only the owner sees. --ad_set_id TEXT (required) The ad set it runs in, from list_campaigns. --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 (required) The words above the picture. --headline TEXT The line under the picture. --description TEXT The smaller line under the headline. --link TEXT (required) 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. --status TEXT Leave it out. Everything is made PAUSED and any other status is refused; set_ads_status switches it on. --json OBJECT Every argument at once, as one JSON object; --json - reads it from stdin.