Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 1.75 KB

File metadata and controls

32 lines (26 loc) · 1.75 KB

Zernio::CreateStandaloneAdRequestDynamicCreative

Properties

Name Type Description Notes
image_urls Array<String> Pool of image URLs (1-10). Uploaded to the ad account and referenced by hash in the asset feed. Mutually exclusive with `videoUrls`. [optional]
video_urls Array<String> Pool of video URLs (1-10). Uploaded to the ad account and referenced by video id in the asset feed. No thumbnails are needed: Meta auto-generates a poster per video. Mutually exclusive with `imageUrls`; `adFormat` defaults to SINGLE_VIDEO. [optional]
bodies Array<String> Primary-text variations (the body copy). [optional]
titles Array<String> Headline variations. [optional]
descriptions Array<String> Description (link caption) variations. [optional]
link_urls Array<String> Destination URL variations. At least one is required unless `goal` is `lead_generation`. [optional]
call_to_action_types Array<String> CTA-button variations. Required. [optional]
ad_format String Asset-feed ad format. Must match the pool: SINGLE_IMAGE / CAROUSEL_IMAGE require `imageUrls`, SINGLE_VIDEO requires `videoUrls` (400 otherwise). Defaults to SINGLE_IMAGE with `imageUrls`, SINGLE_VIDEO with `videoUrls`. [optional]

Example

require 'zernio-sdk'

instance = Zernio::CreateStandaloneAdRequestDynamicCreative.new(
  image_urls: null,
  video_urls: null,
  bodies: null,
  titles: null,
  descriptions: null,
  link_urls: null,
  call_to_action_types: null,
  ad_format: null
)