Provides line items the ability to target geographical locations.
By default, line items target all countries and their subdivisions.
With geographical targeting, you can target line items to specific
countries, regions, metro areas, and cities. You can also exclude
the same.
The following rules apply for geographical targeting:
You cannot target and exclude the same location.
You cannot target a child whose parent has been excluded. For
example, if the state of Illinois has been excluded, then you
cannot target Chicago.
You must not target a location if you are also targeting its
parent. For example, if you are targeting New York City, you must
not have the state of New York as one of the targeted
locations.
You cannot explicitly define inclusions or exclusions that are
already implicit. For example, if you explicitly include
California, you implicitly exclude all other states. You therefore
cannot explicitly exclude Florida, because it is already implicitly
excluded. Conversely if you explicitly exclude Florida, you cannot
explicitly include California.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-08-20 UTC."],[[["GeoTargeting allows ad targeting by specific geographical locations like countries, regions, and cities, as well as the ability to exclude locations."],["Line items target all locations by default; GeoTargeting enables refined targeting or exclusion."],["Several rules govern geographical targeting, such as avoiding targeting and excluding the same location and preventing targeting a child location whose parent is excluded."],["GeoTargeting involves defining `targetedLocations` and `excludedLocations` using the `Location` object, which allows specifying the desired geographical areas for ad delivery."]]],["GeoTargeting enables the targeting of specific geographical locations for line items, including countries, regions, metro areas, and cities, with the option to exclude locations. Key actions involve defining `targetedLocations` and `excludedLocations`. Restrictions include preventing the targeting and excluding of the same location, avoiding targeting children of excluded parents, and not targeting a location alongside its parent. Additionally, explicit inclusions or exclusions already implicit are prohibited. These targeting settings are applicable to various services, with fields available.\n"]]