Skip to content

Latest commit

 

History

History
66 lines (60 loc) · 2.8 KB

File metadata and controls

66 lines (60 loc) · 2.8 KB

Late::CreateStandaloneAdRequest

Properties

Name Type Description Notes
account_id String
ad_account_id String
name String
goal String Available goals vary by platform. Meta (Facebook/Instagram) and TikTok support all 7. LinkedIn supports all except app_promotion. Twitter/X supports engagement, traffic, awareness, video_views, app_promotion. Pinterest and Google Ads support only engagement, traffic, awareness, video_views.
budget_amount Float
budget_type String
currency String [optional]
headline String Required for most platforms. Max: Meta=255, Google=30, Pinterest=100 [optional]
long_headline String Google Display only [optional]
body String Max: Google=90, Pinterest=500
call_to_action String Meta only [optional]
link_url String [optional]
image_url String Image URL (or video URL for TikTok). Not required for Google Search campaigns. [optional]
business_name String Google Display only [optional]
board_id String Pinterest only. Board ID (auto-creates if not provided). [optional]
countries Array<String> [optional]
age_min Integer [optional]
age_max Integer [optional]
interests Array<UpdateAdRequestTargetingInterestsInner> Interest objects from /v1/ads/interests. Each must include id and name. [optional]
end_date Time Required for lifetime budgets [optional]
audience_id String Custom audience ID for targeting [optional]
campaign_type String Google only [optional][default to 'display']
keywords Array<String> Google Search only [optional]
additional_headlines Array<String> Google Search RSA only. Extra headlines. [optional]
additional_descriptions Array<String> Google Search RSA only. Extra descriptions. [optional]

Example

require 'late-sdk'

instance = Late::CreateStandaloneAdRequest.new(
  account_id: null,
  ad_account_id: null,
  name: null,
  goal: null,
  budget_amount: null,
  budget_type: null,
  currency: null,
  headline: null,
  long_headline: null,
  body: null,
  call_to_action: null,
  link_url: null,
  image_url: null,
  business_name: null,
  board_id: null,
  countries: null,
  age_min: null,
  age_max: null,
  interests: null,
  end_date: null,
  audience_id: null,
  campaign_type: null,
  keywords: null,
  additional_headlines: null,
  additional_descriptions: null
)