| Name |
Type |
Description |
Notes |
| platform_ad_set_id |
String |
|
[optional] |
| ad_set_name |
String |
|
[optional] |
| status |
AdStatus |
Derived from child ad statuses |
[optional] |
| ad_count |
Integer |
|
[optional] |
| budget |
AdTreeAdSetBudget |
|
[optional] |
| ad_set_budget |
AdTreeAdSetAdSetBudget |
|
[optional] |
| metrics |
AdMetrics |
|
[optional] |
| optimization_goal |
String |
Meta ad set optimization goal (e.g. OFFSITE_CONVERSIONS, VALUE, LEAD_GENERATION) |
[optional] |
| bid_strategy |
BidStrategy |
|
[optional] |
| bid_amount |
Float |
Bid cap in whole currency units. Populated when bidStrategy is LOWEST_COST_WITH_BID_CAP or COST_CAP. |
[optional] |
| roas_average_floor |
Float |
Minimum ROAS as a decimal multiplier (2.0 = 2.0x). Populated when bidStrategy is LOWEST_COST_WITH_MIN_ROAS. |
[optional] |
| promoted_object |
AdTreeAdSetPromotedObject |
|
[optional] |
| ads |
Array<Ad> |
Individual ads within this ad set (capped at 100). Returns a subset of Ad fields from the aggregation (core fields like _id, name, platform, status, budget, metrics, creative, goal are included; targeting and schedule may be absent). When `timeIncrement=1&dailyLevel=ad`, each entry also carries a `daily[]` array of `AdDailyMetrics`. |
[optional] |
| daily |
Array<AdDailyMetrics> |
Per-day metric series for this ad set. Present only when `GET /v1/ads/tree` is called with `timeIncrement=1` and `dailyLevel` is `adset` or `ad`. |
[optional] |
require 'zernio-sdk'
instance = Zernio::AdTreeAdSet.new(
platform_ad_set_id: null,
ad_set_name: null,
status: null,
ad_count: null,
budget: null,
ad_set_budget: null,
metrics: null,
optimization_goal: null,
bid_strategy: null,
bid_amount: null,
roas_average_floor: null,
promoted_object: null,
ads: null,
daily: null
)