Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 1.57 KB

File metadata and controls

30 lines (24 loc) · 1.57 KB

Zernio::UpdateAdSetRequest

Properties

Name Type Description Notes
platform String
budget UpdateAdSetRequestBudget [optional]
status String Omit if not toggling delivery state [optional]
name String Rename the ad set (Meta only; other platforms return 501). At least one of budget/status/bidStrategy/name is required. [optional]
bid_strategy BidStrategy Ad-set-level bid strategy. Overrides the campaign-level default. Supported on Meta (facebook, instagram) and TikTok. On TikTok the Meta-style enum is mapped to bid_type / bid_price / deep_bid_type automatically. Other platforms (linkedin, pinterest, google, twitter) return 501 Not Implemented when bidStrategy is set. [optional]
bid_amount Float Bid cap in WHOLE currency units (USD: 5 = $5.00; JPY: 100 = ¥100). Required when bidStrategy is LOWEST_COST_WITH_BID_CAP or COST_CAP. Internally converted to Meta's smallest-denomination integer. [optional]
roas_average_floor Float Minimum ROAS as a decimal multiplier (2.0 = 2.0x). Required when bidStrategy is LOWEST_COST_WITH_MIN_ROAS. Sent to Meta as `bid_constraints.roas_average_floor` × 10000. [optional]

Example

require 'zernio-sdk'

instance = Zernio::UpdateAdSetRequest.new(
  platform: null,
  budget: null,
  status: null,
  name: null,
  bid_strategy: null,
  bid_amount: null,
  roas_average_floor: null
)