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-05-15 UTC."],[[["GeoTargeting allows publishers to target or exclude specific geographical locations like countries, regions, and cities for their line items."],["By default, line items target all locations, but using GeoTargeting, publishers can refine their reach for more effective advertising."],["There are specific rules to follow when using GeoTargeting, such as avoiding targeting and excluding the same location or targeting a child location whose parent is excluded."],["GeoTargeting utilizes two main fields: `targetedLocations` for specifying included areas and `excludedLocations` for areas to be excluded from targeting."]]],["GeoTargeting enables line items to target or exclude specific geographical locations, including countries, regions, metro areas, and cities. Key rules include: locations cannot be both targeted and excluded; children of excluded locations cannot be targeted; targeting a child location prohibits targeting its parent; and explicit inclusions/exclusions that are implicit are not allowed. `targetedLocations` and `excludedLocations` fields define the locations in or out of the LineItem targeting. Several services use this targeting including, AdRuleService and NativeStyleService.\n"]]