type GeoTargeting (v202402)
- Namespace
-
https://www.google.com/apis/ads/publisher/v202402
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-02-13 UTC.
[null,null,["Last updated 2024-02-13 UTC."],[[["GeoTargeting allows you to specify included and excluded geographical locations for ad targeting within a yield group."],["It utilizes two main fields: `targetedLocations` for inclusion and `excludedLocations` for exclusion, both accepting an array of Location objects."],["The namespace for GeoTargeting is `https://www.google.com/apis/ads/publisher/v202402`."],["This feature is a component of the broader Targeting structure within the YieldGroupService of Google Ad Manager API."]]],["The content details the `GeoTargeting` feature within various services, specifying actions related to location targeting. `AdRuleService`, `AdjustmentService`, `ForecastService`, `LineItemService`, `NativeStyleService`, `ProposalLineItemService`, `ProposalService`, `PublisherQueryLanguageService`, `TargetingPresetService`, and `YieldGroupService` all support `GeoTargeting`. This involves two fields: `targetedLocations` and `excludedLocations`, both using the `Location` type to define areas for inclusion or exclusion. The namespace for these services is provided.\n"]]