A Location represents a geographical entity that can be targeted. If a location type is
not available because of the API version you are using, the location will be represented as just
the base class, otherwise it will be sub-classed correctly.
Namespace
https://www.google.com/apis/ads/publisher/v202405
Field
id
xsd:long
Uniquely identifies each Location.
type
xsd:string
The location type for this geographical entity (ex. "COUNTRY", "CITY", "STATE", "COUNTY", etc.)
canonicalParentId
xsd:int
The nearest location parent's ID for this geographical entity.
[[["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."],[[["A `Location` represents a geographical entity that can be targeted, with various types like \"COUNTRY\", \"CITY\", \"STATE\", etc."],["Each `Location` has a unique ID, a type, an optional parent ID, and a localized display name."],["Location targeting allows publishers to show ads to users in specific geographical areas, increasing ad relevance."],["The `Location` class can have different subclasses depending on the API version used."]]],["The document outlines services and their dependencies within an API, focusing on geographical targeting. Key services include AdRule, Adjustment, Forecast, LineItem, NativeStyle, ProposalLineItem, Proposal, PublisherQueryLanguage, TargetingPreset, and YieldGroup. A core dependency is `Location`, which represents a geographical entity and can be targeted. Each `Location` is identified by `id`, `type`, `canonicalParentId`, and `displayName`, providing necessary information for geographical targeting. The document specifies that the namespace is `https://www.google.com/apis/ads/publisher/v202405`.\n"]]