type InventorySizeTargeting (v202405)
- Namespace
-
https://www.google.com/apis/ads/publisher/v202405
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-05-15 UTC.
[null,null,["Last updated 2024-05-15 UTC."],[[["InventorySizeTargeting allows publishers to target or exclude specific ad sizes for yield groups."],["It uses a boolean field, `isTargeted`, to indicate whether to target or exclude, and an array of `TargetedSize` objects to specify the sizes."],["This feature is part of the YieldGroupService within the Google Ad Manager API."],["InventorySizeTargeting is defined within the namespace `https://www.google.com/apis/ads/publisher/v202405`."]]],["The core content details the `InventorySizeTargeting` functionality within the Google Ad Manager API, specifically version v202405. This targeting is used by multiple services like `AdRuleService`, `AdjustmentService`, `ForecastService`, `LineItemService`, `NativeStyleService`, `ProposalLineItemService`, `ProposalService`, `PublisherQueryLanguageService`, `TargetingPresetService`, and `YieldGroupService`. It includes two fields: `isTargeted` (a boolean) and `targetedSizes` (an array of `TargetedSize` objects). The namespace for this functionality is `https://www.google.com/apis/ads/publisher/v202405`.\n"]]