REST Resource: networks.geoTargets
Stay organized with collections
Save and categorize content based on your preferences.
Resource: GeoTarget
Represents a location in the world, for targeting.
JSON representation |
{
"name": string,
"parentNames": [
string
],
"displayName": string,
"canonicalParent": string,
"regionCode": string,
"type": string,
"targetable": boolean
} |
Fields |
name |
string
Identifier. The resource name of the GeoTarget . Format: networks/{networkCode}/geoTargets/{geo_target_id}
|
parentNames[] |
string
Output only. All parents of the geo target ordered by ascending size.
|
displayName |
string
Output only. The display name of the GeoTarget.
|
canonicalParent |
string
Output only. The name of the direct parent that defines the canonical name of the geo target. For example, if the current geo target is "San Francisco", its canonical name would be "San Francisco, California, United States" thus the canonicalParent would be the name of California and the canonicalParent of California would be the name of United states Format: networks/{networkCode}/geoTargets/{geo_target}
|
regionCode |
string
Output only. The Unicode CLDR region code of the geo target.
|
type |
string
Output only. The location type (unlocalized) for this geographical entity.
|
targetable |
boolean
Output only. Whether the geo target is targetable.
|
Methods |
|
API to retrieve a GeoTarget object. |
|
API to retrieve a list of GeoTarget objects. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-20 UTC.
[null,null,["Last updated 2025-08-20 UTC."],[],[],null,["# REST Resource: networks.geoTargets\n\n- [Resource: GeoTarget](#GeoTarget)\n - [JSON representation](#GeoTarget.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: GeoTarget\n-------------------\n\nRepresents a location in the world, for targeting.\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"parentNames\": [ string ], \"displayName\": string, \"canonicalParent\": string, \"regionCode\": string, \"type\": string, \"targetable\": boolean } ``` |\n\n| Fields ||\n|-------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Identifier. The resource name of the `GeoTarget`. Format: `networks/{networkCode}/geoTargets/{geo_target_id}` |\n| `parentNames[]` | `string` Output only. All parents of the geo target ordered by ascending size. |\n| `displayName` | `string` Output only. The display name of the GeoTarget. |\n| `canonicalParent` | `string` Output only. The name of the direct parent that defines the canonical name of the geo target. For example, if the current geo target is \"San Francisco\", its canonical name would be \"San Francisco, California, United States\" thus the canonicalParent would be the name of California and the canonicalParent of California would be the name of United states Format: `networks/{networkCode}/geoTargets/{geo_target}` |\n| `regionCode` | `string` Output only. The Unicode CLDR region code of the geo target. |\n| `type` | `string` Output only. The location type (unlocalized) for this geographical entity. |\n| `targetable` | `boolean` Output only. Whether the geo target is targetable. |\n\n| Methods ------- ||\n|-----------------------------------------------------------------------------|------------------------------------------------|\n| ### [get](/ad-manager/api/beta/reference/rest/v1/networks.geoTargets/get) | API to retrieve a `GeoTarget` object. |\n| ### [list](/ad-manager/api/beta/reference/rest/v1/networks.geoTargets/list) | API to retrieve a list of `GeoTarget` objects. |"]]