쿼리 문법 참조
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
아래 표에는 전체 Search Ads 360 쿼리 언어 문법 참조가 포함되어 있습니다.
문법 참조 |
쿼리 |
SELECT 절 |
SELECT FIELD_NAME (, FIELD_NAME)* |
FROM 절 |
FROM RESOURCE_NAME |
WHERE 절 |
WHERE CONDITION (AND CONDITION)* |
ORDER BY 절 |
ORDER BY ORDERING (, ORDERING)* |
LIMIT 절 |
LIMIT POSITIVE_INTEGER |
PARAMETERS 절 |
PARAMETERS LITERAL = VALUE (, LITERAL = VALUE)* |
|
필드 이름 |
[a-z] ([a-zA-Z0-9._])* |
리소스 이름 |
[a-z] ([a-zA-Z_])* |
조건 |
FIELD_NAME OPERATOR VALUE |
정렬 |
FIELD_NAME (ASC | DESC)? |
연산자 |
= | != | > | >= | < | <= | IN | NOT IN | LIKE | NOT LIKE | CONTAINS ANY | CONTAINS ALL | CONTAINS NONE | IS NULL | IS NOT NULL | DURING | BETWEEN | REGEXP_MATCH | NOT REGEXP_MATCH |
함수 |
LAST_14_DAYS | LAST_30_DAYS | LAST_7_DAYS | LAST_BUSINESS_WEEK | LAST_MONTH | LAST_WEEK_MON_SUN | LAST_WEEK_SUN_SAT | THIS_MONTH | THIS_WEEK_MON_TODAY | THIS_WEEK_SUN_TODAY | TODAY | YESTERDAY |
값 |
LITERAL | LITERAL_LIST | NUMBER | NUMBER_LIST | STRING | STRING_LIST | FUNCTION |
양의 정수로 표시합니다. |
[1-9] ([0-9])* |
숫자 |
-? [0-9]+ (. [0-9] [0-9]*)? |
문자열 |
(' Char* ') | (" Char* ") |
리터럴 |
[a-zA-Z0-9_]* |
문자열 목록 |
( STRING (, STRING)* ) |
리터럴 목록 |
( LITERAL (, LITERAL)* ) |
숫자 목록 |
( NUMBER (, NUMBER)* ) |
키:
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-08-29(UTC)
[null,null,["최종 업데이트: 2025-08-29(UTC)"],[[["\u003cp\u003eThis document provides a comprehensive grammar reference for the Search Ads 360 Query Language.\u003c/p\u003e\n"],["\u003cp\u003eThe language allows users to query data using a structured syntax including clauses like \u003ccode\u003eSELECT\u003c/code\u003e, \u003ccode\u003eFROM\u003c/code\u003e, \u003ccode\u003eWHERE\u003c/code\u003e, \u003ccode\u003eORDER BY\u003c/code\u003e, \u003ccode\u003eLIMIT\u003c/code\u003e, and \u003ccode\u003ePARAMETERS\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eVarious data types like numbers, strings, and lists are supported within the query structure for filtering and data retrieval.\u003c/p\u003e\n"],["\u003cp\u003eSpecific operators and functions enable detailed data manipulation, such as date ranges (\u003ccode\u003eLAST_30_DAYS\u003c/code\u003e) and pattern matching (\u003ccode\u003eREGEXP_MATCH\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThe provided table details the syntax and components of the query language, along with explanations of special characters and usage examples.\u003c/p\u003e\n"]]],["The Search Ads 360 Query Language grammar includes clauses like `SELECT`, `FROM`, `WHERE`, `ORDER BY`, `LIMIT`, and `PARAMETERS`. It defines field, resource, and operator types, allowing queries to select data, specify the source, filter results, order them, and limit the output. Conditions are built with `FIELD_NAME`, `OPERATOR`, and `VALUE`. Values can be literals, numbers, strings, or lists. The grammar includes operators like `=`, `!=`, `\u003e`, `IN`, `LIKE`, and `REGEXP_MATCH` for comparisons.\n"],null,[]]