type TargetedSize (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
A size that is targeted on a request.
- 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 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[[["\u003cp\u003eTargetedSize refers to a size that is targeted for an ad request.\u003c/p\u003e\n"],["\u003cp\u003eIt's defined within the namespace \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202411\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eTargetedSize objects contain a \u003ccode\u003esize\u003c/code\u003e field, which is of the \u003ccode\u003eSize\u003c/code\u003e type and defines the targeted dimensions.\u003c/p\u003e\n"],["\u003cp\u003eThis concept is utilized within various Google Ad Manager services such as LineItemService, AdRuleService, and others listed.\u003c/p\u003e\n"]]],["The document outlines various services and their dependencies within an ad management system. Key services include AdRuleService, AdjustmentService, ForecastService, LineItemService, NativeStyleService, ProposalLineItemService, ProposalService, PublisherQueryLanguageService, TargetingPresetService, and YieldGroupService. A core dependency is `InventorySizeTargeting`, which leads to `TargetedSize`. `TargetedSize` is defined as a size targeted on a request, with the field `size` as a key component, further defined by `LineItemService.Size`.\n"],null,["# type TargetedSize (v202411)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202411/AdRuleService.TargetedSize) [AdjustmentService](/ad-manager/api/reference/v202411/AdjustmentService.TargetedSize) [ForecastService](/ad-manager/api/reference/v202411/ForecastService.TargetedSize) **LineItemService** [NativeStyleService](/ad-manager/api/reference/v202411/NativeStyleService.TargetedSize) [ProposalLineItemService](/ad-manager/api/reference/v202411/ProposalLineItemService.TargetedSize) [ProposalService](/ad-manager/api/reference/v202411/ProposalService.TargetedSize) [PublisherQueryLanguageService](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.TargetedSize) [TargetingPresetService](/ad-manager/api/reference/v202411/TargetingPresetService.TargetedSize) [YieldGroupService](/ad-manager/api/reference/v202411/YieldGroupService.TargetedSize) **Dependencies** \n[InventorySizeTargeting](/ad-manager/api/reference/v202411/LineItemService.InventorySizeTargeting) \n▼\n**TargetedSize**\n\nA size that is targeted on a request.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Field ----- ||\n|------------|-----------------------------------------------------------------------------|\n| ### `size` | ` `[Size](/ad-manager/api/reference/v202411/LineItemService.Size)` ` \u003cbr /\u003e |"]]