# type Location (v202602)

**Service** [AdRuleService](https://developers.google.com/ad-manager/api/reference/v202602/AdRuleService.Location) [AdjustmentService](https://developers.google.com/ad-manager/api/reference/v202602/AdjustmentService.Location) [ForecastService](https://developers.google.com/ad-manager/api/reference/v202602/ForecastService.Location) [LineItemService](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.Location) [NativeStyleService](https://developers.google.com/ad-manager/api/reference/v202602/NativeStyleService.Location) [ProposalLineItemService](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.Location) [ProposalService](https://developers.google.com/ad-manager/api/reference/v202602/ProposalService.Location) **PublisherQueryLanguageService** [TargetingPresetService](https://developers.google.com/ad-manager/api/reference/v202602/TargetingPresetService.Location) [YieldGroupService](https://developers.google.com/ad-manager/api/reference/v202602/YieldGroupService.Location) **Dependencies** [GeoTargeting](https://developers.google.com/ad-manager/api/reference/v202602/PublisherQueryLanguageService.GeoTargeting) ▼ **Location**

A [Location](https://developers.google.com/ad-manager/api/reference/v202602/PublisherQueryLanguageService.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/v202602`

| ## 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. |
| ### `displayName` | ` xsd:string` The localized name of the geographical entity. |