Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 2.08 KB

File metadata and controls

30 lines (24 loc) · 2.08 KB

Zernio::UpdateAdSetRequestPlatformSpecificData

Properties

Name Type Description Notes
optimization_goal String Meta ad-set optimization_goal (e.g. OFFSITE_CONVERSIONS, LANDING_PAGE_VIEWS). [optional]
billing_event String Meta ad-set billing_event (e.g. IMPRESSIONS, LINK_CLICKS, THRUPLAY). [optional]
start_date String Ad set start_time (ISO 8601). [optional]
end_date String Ad set end_time (ISO 8601). [optional]
daily_min_spend_target Float Meta `daily_min_spend_target`: the least this ad set should spend per day, in whole currency units of the ad account. It reserves a share of a CAMPAIGN budget for one ad set, so it requires a campaign using Advantage campaign budget (CBO). On an ad set that owns its budget (ABO) this returns 409 — move the budget to the campaign with `PUT /v1/ads/campaigns/{campaignId}` first. Meta treats it as a target, not a guarantee, and rejects the combined minimum of a campaign's ad sets going over the campaign budget. Mutually exclusive with `lifetimeMinSpendTarget` (400): the flavour must match the campaign budget type, a daily budget takes a daily target. Read it back with `GET /v1/ads/ad-sets/{adSetId}?fields=daily_min_spend_target`. [optional]
lifetime_min_spend_target Float Meta `lifetime_min_spend_target`: the lifetime-budget flavour of `dailyMinSpendTarget`, in whole currency units. Send this one when the campaign budget is a lifetime budget. Same rules and same rejections. [optional]
promoted_object UpdateAdSetRequestPlatformSpecificDataPromotedObject [optional]

Example

require 'zernio-sdk'

instance = Zernio::UpdateAdSetRequestPlatformSpecificData.new(
  optimization_goal: null,
  billing_event: null,
  start_date: null,
  end_date: null,
  daily_min_spend_target: null,
  lifetime_min_spend_target: null,
  promoted_object: null
)