type GeoTargeting (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
- 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\u003eGeoTargeting allows you to specify included and excluded geographical locations for ad targeting within YieldGroupService.\u003c/p\u003e\n"],["\u003cp\u003eIt utilizes Location objects to define the targeted and excluded areas.\u003c/p\u003e\n"],["\u003cp\u003eGeoTargeting is a component of the Targeting feature in YieldGroupService, and its functionality is accessible through the Ad Manager API.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for this feature is \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202408\u003c/code\u003e.\u003c/p\u003e\n"]]],["The document outlines services and their `GeoTargeting` capabilities within a specific namespace (`https://www.google.com/apis/ads/publisher/v202408`). Multiple services, including `AdRuleService`, `AdjustmentService`, `ForecastService`, `LineItemService`, `NativeStyleService`, `ProposalLineItemService`, `ProposalService`, `PublisherQueryLanguageService`, and `TargetingPresetService`, support `GeoTargeting`. The `YieldGroupService`'s `GeoTargeting` has dependencies. The `GeoTargeting` feature includes `targetedLocations` and `excludedLocations`, both using the `Location` type.\n"],null,["# type GeoTargeting (v202408)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202408/AdRuleService.GeoTargeting) [AdjustmentService](/ad-manager/api/reference/v202408/AdjustmentService.GeoTargeting) [ForecastService](/ad-manager/api/reference/v202408/ForecastService.GeoTargeting) [LineItemService](/ad-manager/api/reference/v202408/LineItemService.GeoTargeting) [NativeStyleService](/ad-manager/api/reference/v202408/NativeStyleService.GeoTargeting) [ProposalLineItemService](/ad-manager/api/reference/v202408/ProposalLineItemService.GeoTargeting) [ProposalService](/ad-manager/api/reference/v202408/ProposalService.GeoTargeting) [PublisherQueryLanguageService](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.GeoTargeting) [TargetingPresetService](/ad-manager/api/reference/v202408/TargetingPresetService.GeoTargeting) **YieldGroupService** **Dependencies** \n[Targeting](/ad-manager/api/reference/v202408/YieldGroupService.Targeting) \n▼\n**GeoTargeting**\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Field ----- ||\n|-------------------------|----------------------------------------------------------------------------------------|\n| ### `targetedLocations` | ` `[Location](/ad-manager/api/reference/v202408/YieldGroupService.Location)`[]` \u003cbr /\u003e |\n| ### `excludedLocations` | ` `[Location](/ad-manager/api/reference/v202408/YieldGroupService.Location)`[]` \u003cbr /\u003e |"]]