type TargetedSize (v202408)
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/v202408
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 represents a size that is targeted on an ad request.\u003c/p\u003e\n"],["\u003cp\u003eIt is part of the Google Ad Manager API and falls under the namespace \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202408\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eTargetedSize objects contain a \u003ccode\u003esize\u003c/code\u003e field, which is of type Size and defines the dimensions being targeted.\u003c/p\u003e\n"],["\u003cp\u003eThis object is utilized by various services such as AdRuleService, ForecastService, LineItemService and others for inventory and ad targeting purposes.\u003c/p\u003e\n"]]],["The provided content defines \"TargetedSize,\" a size targeted on a request, within the `v202408` namespace. It lists various services including AdRuleService, AdjustmentService, ForecastService, LineItemService, NativeStyleService, ProposalLineItemService, ProposalService, PublisherQueryLanguageService, TargetingPresetService and YieldGroupService. It also specifies that TargetedSize depends on `InventorySizeTargeting`, and details that it includes a `size` field of type `Size`.\n"],null,["# type TargetedSize (v202408)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202408/AdRuleService.TargetedSize) **AdjustmentService** [ForecastService](/ad-manager/api/reference/v202408/ForecastService.TargetedSize) [LineItemService](/ad-manager/api/reference/v202408/LineItemService.TargetedSize) [NativeStyleService](/ad-manager/api/reference/v202408/NativeStyleService.TargetedSize) [ProposalLineItemService](/ad-manager/api/reference/v202408/ProposalLineItemService.TargetedSize) [ProposalService](/ad-manager/api/reference/v202408/ProposalService.TargetedSize) [PublisherQueryLanguageService](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.TargetedSize) [TargetingPresetService](/ad-manager/api/reference/v202408/TargetingPresetService.TargetedSize) [YieldGroupService](/ad-manager/api/reference/v202408/YieldGroupService.TargetedSize) **Dependencies** \n[InventorySizeTargeting](/ad-manager/api/reference/v202408/AdjustmentService.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/v202408`\n\n| Field ----- ||\n|------------|-------------------------------------------------------------------------------|\n| ### `size` | ` `[Size](/ad-manager/api/reference/v202408/AdjustmentService.Size)` ` \u003cbr /\u003e |"]]