Use this service to retrieve the geographic coordinates and the canonical form for a given address. The data returned by GeoLocationService is required for the following tasks:
- Adding a location extension with CampaignAdExtensionService and AdExtensionOverrideService
- Adding a polygon target or proximity target with CampaignTargetService.
- Production WSDL
-
https://adwords.google.com/api/adwords/cm/v201206/GeoLocationService?wsdl - Sandbox WSDL
-
https://adwords-sandbox.google.com/api/adwords/cm/v201206/GeoLocationService?wsdl - Namespace
-
https://adwords.google.com/api/adwords/cm/v201206 - Operations
- Errors
get
Retrieves the geographic location information for the address specified.
Parameters
| Field | Type | Description |
|---|---|---|
| selector |
GeoLocationSelector
|
specifies the addresses. |
Response
| Field | Type | Description |
|---|---|---|
| rval | list of GeoLocation objects. Returns InvalidGeoLocation object if the address cannot be geocoded. |
Errors
| Error | Reasons |
|---|---|
| AuthenticationError | Errors returned when Authentication failed. Enumerations
|
| AuthorizationError | Errors encountered when trying to authorize a user. Enumerations
|
| ClientTermsError | Error due to user not accepting the AdWords terms of service. Enumerations
|
| GeoLocationError | Errors for GeoLocationService. Enumerations
|
| InternalApiError | Indicates that a server-side error has occured. InternalApiErrors
are generally not the result of an invalid request or message sent by the
client.Enumerations
|
| NotEmptyError | Errors corresponding with violation of a NOT EMPTY check. Enumerations
|
| NotWhitelistedError | Indicates that the customer is not whitelisted for accessing the API. Enumerations
|
| NullError | Errors associated with violation of a NOT NULL check. Enumerations
|
| QuotaCheckError | Encapsulates the errors thrown during developer quota checks. Enumerations
|
| RangeError | A list of all errors associated with the Range constraint. Enumerations
|
| RateExceededError | Signals that a call failed because a measured rate exceeded. Enumerations
|
| RegionCodeError | A list of all errors associated with the @RegionCode constraints. Enumerations
|
| RequestError | Encapsulates the generic errors thrown when there's an error with user
request. Enumerations
|
| RequiredError | Errors due to missing required field. Enumerations
|
| SizeLimitError | Indicates that the number of entries in the request or response exceeds the system limit. Enumerations
|
| StringLengthError | A list of all errors associated with the @ContentsString constraint. Enumerations
|