Skip to content

get_ad

One ad of the site’s Meta ad account: whether it runs or what Meta’s review said, its words, picture, link and button as update_ad takes them (fields), where to look at it as a viewer will (previews), and its numbers over the last range days. Typed inside bash, where help get_ad prints the same.

Usage: get_ad ID [options]
One ad of the site's Meta ad account: whether it runs or what Meta's
review said, its words, picture, link and button as update_ad takes
them (`fields`), where to look at it as a viewer will (`previews`), and
its numbers over the last `range` days.
Options:
--id TEXT (required)
The ad's id, from list_campaigns.
--range N
How many days of numbers, ending yesterday. Defaults to 28.
--format MOBILE_FEED_STANDARD|DESKTOP_FEED_STANDARD|INSTAGRAM_STANDARD|INSTAGRAM_STORY|INSTAGRAM_REELS|FACEBOOK_REELS_MOBILE|FACEBOOK_STORY_MOBILE
Which placement's preview to give an address for. Defaults to MOBILE_FEED_STANDARD.
--json OBJECT
Every argument at once, as one JSON object; --json - reads it from stdin.