type InventoryTargeting (v202411)
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
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."],[[["InventoryTargeting defines criteria for selecting inventory to include or exclude in a yield group."],["You can target or exclude specific ad units using `targetedAdUnits` and `excludedAdUnits` fields respectively."],["InventoryTargeting also allows targeting specific placements using their IDs through the `targetedPlacementIds` field."],["This targeting information, alongside other criteria, determines which inventory a yield group competes for during ad requests."]]],["The document outlines various services related to ad management, including `AdRuleService`, `AdjustmentService`, `AudienceSegmentService`, `ForecastService`, `LineItemService`, `NativeStyleService`, `ProposalLineItemService`, `ProposalService`, `PublisherQueryLanguageService`, `TargetingPresetService`, and `YieldGroupService`. The core information of `InventoryTargeting` within `YieldGroupService`, shows `targetedAdUnits` and `excludedAdUnits` are arrays of `AdUnitTargeting`, and `targetedPlacementIds` are arrays of long integers. These allow for specifying ad unit inclusion and exclusion as well as placement targeting.\n"]]