Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 970 Bytes

File metadata and controls

26 lines (20 loc) · 970 Bytes

Zernio::GenerateAdPreviewsRequest

Properties

Name Type Description Notes
account_id String Zernio SocialAccount id used to resolve the Meta token.
ad_account_id String Meta ad account id (act_<n>).
formats Array<String> Meta ad_format values, one preview per format. Defaults to [DESKTOP_FEED_STANDARD]. [optional]
existing_creative_id String Preview an existing ad-account creative by id. Mutually exclusive with creativeSpec. [optional]
creative_spec Hash<String, Object> Raw Meta creative spec forwarded verbatim to /generatepreviews. Mutually exclusive with existingCreativeId. [optional]

Example

require 'zernio-sdk'

instance = Zernio::GenerateAdPreviewsRequest.new(
  account_id: null,
  ad_account_id: null,
  formats: null,
  existing_creative_id: null,
  creative_spec: null
)