ALocationrepresents 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/v202411
Field
id
xsd:long
Uniquely identifies eachLocation.
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 2025-08-06 UTC."],[],["The content outlines various services within an ad management API, including AdRule, Adjustment, Forecast, LineItem, NativeStyle, ProposalLineItem, Proposal, PublisherQueryLanguage, TargetingPreset, and YieldGroup. It details `Location` as a geographical targeting entity, identified by an `id`, `type`, `canonicalParentId`, and `displayName`. The API namespace is `https://www.google.com/apis/ads/publisher/v202411`, and `Location` can be represented as a base class or sub-classed depending on the API version.\n"]]