GeoTargetConstant
Stay organized with collections
Save and categorize content based on your preferences.
Fields |
resource_name
|
string
Output only. The resource name of the geo target constant. Geo target constant resource names have the form: geoTargetConstants/{geo_target_constant_id}
|
status
|
GeoTargetConstantStatus
Output only. Geo target constant status.
|
id
|
int64
Output only. The ID of the geo target constant.
|
name
|
string
Output only. Geo target constant English name.
|
country_code
|
string
Output only. The ISO-3166-1 alpha-2 country code that is associated with the target.
|
target_type
|
string
Output only. Geo target constant target type.
|
canonical_name
|
string
Output only. The fully qualified English name, consisting of the target's name and that of its parent and country.
|
parent_geo_target
|
string
Output only. The resource name of the parent geo target constant. Geo target constant resource names have the form: geoTargetConstants/{parent_geo_target_constant_id}
|
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 2024-10-12 UTC.
[[["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-10-12 UTC."],[[["Geo target constants provide information about geographical locations, like countries and their subdivisions, for targeted advertising."],["Each constant has a unique ID, name, country code, target type, and status, accessible via the Google Ads API."],["Constants may have a hierarchical relationship, indicated by the `parent_geo_target` field, showing the broader geographical context."],["You can retrieve detailed information about specific geo targets by referencing their resource name, structured as `geoTargetConstants/{geo_target_constant_id}`."],["The `canonical_name` field gives the full, hierarchical name of the location, combining its own name with its parent and country, for clear identification."]]],[]]