REST Resource: customers.customColumns
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
리소스: CustomColumn
JSON 표현 |
{
"resourceName": string,
"id": string,
"name": string,
"description": string,
"valueType": enum (CustomColumnValueType ),
"referencesAttributes": boolean,
"referencesMetrics": boolean,
"queryable": boolean,
"referencedSystemColumns": [
string
],
"renderType": enum (CustomColumnRenderType )
} |
필드 |
resourceName |
string
맞춤 열의 리소스 이름입니다. 맞춤 열 리소스 이름의 형식은 다음과 같습니다. customers/{customerId}/customColumns/{custom_column_id}
|
id |
string (int64 format)
맞춤 열의 ID입니다.
|
name |
string
맞춤 열의 사용자 정의 이름입니다.
|
description |
string
맞춤 열에 대한 사용자 정의 설명입니다.
|
valueType |
enum (CustomColumnValueType )
맞춤 열의 결과 값 유형입니다.
|
referencesAttributes |
boolean
맞춤 열이 하나 이상의 속성을 참조하는 경우 true입니다.
|
referencesMetrics |
boolean
맞춤 열이 하나 이상의 측정항목을 참조하는 경우 true입니다.
|
queryable |
boolean
SearchAds360Service.Search 및 SearchAds360Service.SearchStream의 쿼리에서 맞춤 열을 사용할 수 있는 경우 true입니다.
|
referencedSystemColumns[] |
string
이 맞춤 열에서 참조된 시스템 열의 목록입니다. 예를 들어 맞춤 열 '노출수 및 클릭수 합계'는 {"metrics.clicks", "metrics.impressions"}의 시스템 열을 참조했습니다.
|
renderType |
enum (CustomColumnRenderType )
맞춤 열의 결과 값을 해석하는 방법입니다.
|
CustomColumnValueType
가능한 맞춤 열 값 유형을 포함하는 enum입니다.
열거형 |
UNSPECIFIED |
지정되지 않음 |
UNKNOWN |
알 수 없음 |
STRING |
맞춤 열 값은 문자열입니다. |
INT64 |
맞춤 열 값은 int64 숫자입니다. |
DOUBLE |
맞춤 열 값은 배정밀도 숫자입니다. |
BOOLEAN |
맞춤 열 값은 불리언입니다. |
DATE |
맞춤 열 값은 YYYYMMDD 형식의 날짜입니다. |
CustomColumnRenderType
맞춤 열을 해석할 수 있는 다양한 방법이 포함된 열거형입니다.
열거형 |
UNSPECIFIED |
지정되지 않음 |
UNKNOWN |
알 수 없음 |
NUMBER |
맞춤 열은 원시 숫자 값입니다. valueType 필드를 참고하여 정수인지 또는 double인지 확인합니다. |
PERCENT |
맞춤 열에 100을 곱해야 백분율 값을 가져올 수 있습니다. |
MONEY |
맞춤 열 값은 금전적 가치이며 마이크로 단위로 표시됩니다. |
STRING |
맞춤 열 값은 문자열입니다. |
BOOLEAN |
맞춤 열 값은 불리언입니다. |
DATE |
맞춤 열 값은 YYYYMMDD 형식의 정수로 표시되는 날짜입니다. |
메서드 |
|
요청된 맞춤 열을 자세히 반환합니다. |
|
고객과 연결된 모든 맞춤 열을 자세히 반환합니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-25(UTC)
[null,null,["최종 업데이트: 2025-07-25(UTC)"],[[["\u003cp\u003eA \u003ccode\u003eCustomColumn\u003c/code\u003e is a user-defined column in Search Ads 360 that can reference attributes and metrics to create custom calculations or data views, with its structure and properties defined in a JSON format.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCustomColumnValueType\u003c/code\u003e and \u003ccode\u003eCustomColumnRenderType\u003c/code\u003e are enumerations that determine the data type and interpretation of values in a custom column, respectively, influencing how the column's output is displayed and used.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can utilize methods like \u003ccode\u003eget\u003c/code\u003e and \u003ccode\u003elist\u003c/code\u003e to retrieve details or a complete list of custom columns associated with a Search Ads 360 customer, enabling programmatic management and analysis of custom data within the platform.\u003c/p\u003e\n"]]],["Custom columns are user-defined fields in Search Ads 360, defined by a `resourceName`, `id`, `name`, and `description`. They can reference attributes or metrics, be queryable, and include system columns. The `valueType` (e.g., string, int64, date) determines the column's data type, while `renderType` (e.g., number, percent, money) dictates how it's interpreted. Methods include `get` for retrieving a specific column and `list` for all columns.\n"],null,["# REST Resource: customers.customColumns\n\n- [Resource: CustomColumn](#CustomColumn)\n - [JSON representation](#CustomColumn.SCHEMA_REPRESENTATION)\n- [CustomColumnValueType](#CustomColumnValueType)\n- [CustomColumnRenderType](#CustomColumnRenderType)\n- [Methods](#METHODS_SUMMARY)\n\nResource: CustomColumn\n----------------------\n\nA custom column. See searchAds360.search Ads 360 custom column at \u003chttps://support.google.com/sa360/answer/9633916\u003e\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"resourceName\": string, \"id\": string, \"name\": string, \"description\": string, \"valueType\": enum (/search-ads/reporting/api/reference/rest/v0/customers.customColumns#CustomColumnValueType), \"referencesAttributes\": boolean, \"referencesMetrics\": boolean, \"queryable\": boolean, \"referencedSystemColumns\": [ string ], \"renderType\": enum (/search-ads/reporting/api/reference/rest/v0/customers.customColumns#CustomColumnRenderType) } ``` |\n\n| Fields ||\n|-----------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `resourceName` | `string` The resource name of the custom column. Custom column resource names have the form: `customers/{customerId}/customColumns/{custom_column_id}` |\n| `id` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` ID of the custom column. |\n| `name` | `string` User-defined name of the custom column. |\n| `description` | `string` User-defined description of the custom column. |\n| `valueType` | `enum (`[CustomColumnValueType](/search-ads/reporting/api/reference/rest/v0/customers.customColumns#CustomColumnValueType)`)` The type of the result value of the custom column. |\n| `referencesAttributes` | `boolean` True when the custom column is referring to one or more attributes. |\n| `referencesMetrics` | `boolean` True when the custom column is referring to one or more metrics. |\n| `queryable` | `boolean` True when the custom column is available to be used in the query of SearchAds360Service.Search and SearchAds360Service.SearchStream. |\n| `referencedSystemColumns[]` | `string` The list of the referenced system columns of this custom column. For example, A custom column \"sum of impressions and clicks\" has referenced system columns of {\"metrics.clicks\", \"metrics.impressions\"}. |\n| `renderType` | `enum (`[CustomColumnRenderType](/search-ads/reporting/api/reference/rest/v0/customers.customColumns#CustomColumnRenderType)`)` How the result value of the custom column should be interpreted. |\n\nCustomColumnValueType\n---------------------\n\nEnum containing possible custom column value types.\n\n| Enums ||\n|---------------|--------------------------------------------------------|\n| `UNSPECIFIED` | Not specified. |\n| `UNKNOWN` | Unknown. |\n| `STRING` | The custom column value is a string. |\n| `INT64` | The custom column value is an int64 number. |\n| `DOUBLE` | The custom column value is a double number. |\n| `BOOLEAN` | The custom column value is a boolean. |\n| `DATE` | The custom column value is a date, in YYYYMMDD format. |\n\nCustomColumnRenderType\n----------------------\n\nEnum containing the different ways a custom column can be interpreted.\n\n| Enums ||\n|---------------|---------------------------------------------------------------------------------------------------------------|\n| `UNSPECIFIED` | Not specified. |\n| `UNKNOWN` | Unknown. |\n| `NUMBER` | The custom column is a raw numerical value. See valueType field to determine if it is an integer or a double. |\n| `PERCENT` | The custom column should be multiplied by 100 to retrieve the percentage value. |\n| `MONEY` | The custom column value is a monetary value and is in micros. |\n| `STRING` | The custom column value is a string. |\n| `BOOLEAN` | The custom column value is a boolean. |\n| `DATE` | The custom column value is a date represented as an integer in YYYYMMDD format. |\n\n| Methods ------- ||\n|--------------------------------------------------------------------------------------|-----------------------------------------------------------------------------|\n| ### [get](/search-ads/reporting/api/reference/rest/v0/customers.customColumns/get) | Returns the requested custom column in full detail. |\n| ### [list](/search-ads/reporting/api/reference/rest/v0/customers.customColumns/list) | Returns all the custom columns associated with the customer in full detail. |"]]