type InventorySizeTargeting (v202411)
Represents a collection of targeted and excluded inventory sizes. This is currently only
available on YieldGroup and TrafficDataRequest.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Field
|
isTargeted
|
xsd:boolean
Whether the inventory sizes should be targeted or excluded.
|
targetedSizes
|
TargetedSize[]
A list of TargetedSizeDto s.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-19 UTC.
[null,null,["Last updated 2024-11-19 UTC."],[[["InventorySizeTargeting allows publishers to target or exclude specific inventory sizes for their ad campaigns."],["It's primarily used with YieldGroups and TrafficDataRequests to optimize ad delivery."],["The targeting is controlled by specifying a list of TargetedSize objects and whether they should be included or excluded."],["The InventorySizeTargeting feature is defined within the Google Ad Manager API namespace `https://www.google.com/apis/ads/publisher/v202411`."]]],["The core content describes `InventorySizeTargeting`, a feature for managing targeted and excluded inventory sizes. It's applicable to `YieldGroup` and `TrafficDataRequest`. Key services involved include AdRuleService, AdjustmentService, ForecastService, LineItemService, NativeStyleService, ProposalLineItemService, ProposalService, PublisherQueryLanguageService, TargetingPresetService, and YieldGroupService. It utilizes the dependency `Targeting`. `InventorySizeTargeting` has two primary fields: `isTargeted` (a boolean indicating whether to target or exclude) and `targetedSizes` (a list of `TargetedSize` objects).\n"]]