주의: 이 API의 REST 인터페이스에 대한 문서를 보고 있습니다. 대부분의 공식 클라이언트 라이브러리는 gRPC를 사용합니다. 자세한 내용은
REST 소개를 참조하세요.
GeoTargetConstant
JSON 표현 |
{
"resourceName": string,
"status": enum (GeoTargetConstantStatus ),
"id": string,
"name": string,
"countryCode": string,
"targetType": string,
"canonicalName": string,
"parentGeoTarget": string
} |
필드 |
resourceName |
string
출력 전용입니다. 지역 타겟팅 상수의 리소스 이름입니다. 지역 타겟팅 상수 리소스 이름의 형식은 다음과 같습니다. geoTargetConstants/{geo_target_constant_id}
|
status |
enum (GeoTargetConstantStatus )
출력 전용입니다. 지역 타겟팅 상수 상태입니다.
|
id |
string (int64 format)
출력 전용입니다. 지역 타겟 상수의 ID입니다.
|
name |
string
출력 전용입니다. 지역 타겟팅 상수 영어 이름입니다.
|
countryCode |
string
출력 전용입니다. 타겟과 연결된 ISO-3166-1 alpha-2 국가 코드입니다.
|
targetType |
string
출력 전용입니다. 지역 타겟팅 상수 타겟 유형입니다.
|
canonicalName |
string
출력 전용입니다. 타겟의 이름과 상위 및 국가의 이름으로 구성된 정규화된 영어 이름입니다.
|
parentGeoTarget |
string
출력 전용입니다. 상위 지역 타겟 상수의 리소스 이름입니다. 지역 타겟팅 상수 리소스 이름의 형식은 다음과 같습니다. geoTargetConstants/{parent_geo_target_constant_id}
|
GeoTargetConstantStatus
열거형 |
UNSPECIFIED |
값이 지정되지 않았습니다. |
UNKNOWN |
수신된 값을 이 버전에서 알 수 없습니다. 응답 전용 값입니다. |
ENABLED |
지역 타겟팅 상수가 유효합니다. |
REMOVAL_PLANNED |
지역 타겟팅 상수는 지원 중단되었으며 삭제될 예정입니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-03-06(UTC)
[null,null,["최종 업데이트: 2025-03-06(UTC)"],[[["This documentation details the `GeoTargetConstant` resource, which represents a geographical location that can be targeted in Google Ads campaigns."],["It provides a JSON representation outlining the structure and data fields, including resource name, status, ID, name, country code, target type, canonical name, and parent location."],["The `GeoTargetConstantStatus` enum describes the possible states of a geo target constant: `UNSPECIFIED`, `UNKNOWN`, `ENABLED`, and `REMOVAL_PLANNED`."],["Developers can utilize this information to programmatically interact with and manage geo targets in their advertising campaigns."]]],["This document details the structure and fields of a geo target constant, used for geographical targeting. It defines the constant's `resourceName`, `status`, `id`, `name`, `countryCode`, `targetType`, `canonicalName`, and `parentGeoTarget`. The `status` field indicates the constant's validity, with possible values like `ENABLED` or `REMOVAL_PLANNED`. The document also shows the representation of a JSON geo target constant with the correct fields.\n"]]