Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 1.99 KB

File metadata and controls

23 lines (18 loc) · 1.99 KB

CreateAdCreativeRequest

Properties

Name Type Description Notes
account_id String Zernio SocialAccount id (posting or ads variant) used to resolve the Meta token and Page.
ad_account_id String Meta ad account id (act_).
headline String
body String Primary text
description Option<String> Link description below the headline; omitted = Meta scrapes the destination's OG description. [optional]
call_to_action Option<String> CTA type (same whitelist as POST /v1/ads/create). [optional][default to LEARN_MORE]
link_url String
image_url Option<String> Publicly reachable image; uploaded to the account's library server-side. [optional]
image_hash Option<String> Existing library image hash (POST /v1/ads/images or GET /v1/ads/images). [optional]
carousel_cards Option<Vecmodels::CreateAdCreativeRequestCarouselCardsInner> [optional]
url_tags Option<String> Appended to every outbound URL (e.g. utm_source=fb). [optional]
creative_features Option<std::collections::HashMap<String, Inner>> Advantage+ creative enhancements: partial map of Meta creative feature keys (snake_case) to enroll status, forwarded as degrees_of_freedom_spec.creative_features_spec. Unspecified features default to OPT_OUT. (enum: OPT_IN, OPT_OUT) [optional]
multi_advertiser Option<MultiAdvertiser> Meta only. Multi-advertiser ads: whether Meta may show this ad alongside other advertisers' in one unit. Meta auto-enrols since Aug 2024, so send OPT_OUT to leave. It is a top-level creative field, NOT a creativeFeatures key — Meta rejects it there. (enum: OPT_IN, OPT_OUT) [optional]

[Back to Model list] [Back to API list] [Back to README]