Method: advertisers.adGroups.list
HTTP 요청
GET https://displayvideo.googleapis.com/v3/advertisers/{advertiserId}/adGroups
URL은 gRPC 트랜스코딩 문법을 사용합니다.
경로 매개변수
매개변수 |
advertiserId |
string (int64 format)
필수입니다. 광고 그룹이 속한 광고주의 ID입니다.
|
쿼리 매개변수
매개변수 |
pageSize |
integer
(선택사항) 요청한 페이지 크기입니다. 1 ~200 의 값이어야 합니다. 지정하지 않으면 기본값은 100 입니다. 잘못된 값이 지정되면 오류 코드 INVALID_ARGUMENT 를 반환합니다.
|
pageToken |
string
선택사항입니다. 서버에서 반환할 결과 페이지를 식별하는 토큰입니다. 일반적으로 이는 adGroups.list 메서드에 대한 이전 호출에서 반환된 nextPageToken 의 값입니다. 지정하지 않으면 결과의 첫 번째 페이지가 반환됩니다.
|
orderBy |
string
선택사항입니다. 목록을 정렬할 필드입니다. 사용 가능한 값:
displayName (기본)
entityStatus
기본 정렬 순서는 오름차순입니다. 필드에서 내림차순으로 지정하려면 서픽스 'desc'를 필드 이름에 추가해야 합니다. 예: displayName desc
|
filter |
string
선택사항입니다. 맞춤 광고 그룹 필드를 기준으로 필터링할 수 있습니다. 지원되는 구문:
- 필터 표현식은 하나 이상의 제한으로 구성됩니다.
- 제한사항은
AND 및 OR 를 사용하여 결합할 수 있습니다. 제한 조건의 시퀀스는 AND 를 암시적으로 사용합니다.
- 제한은
{field} {operator} {value} 형식입니다.
- 모든 필드는
EQUALS (=) 연산자를 사용해야 합니다.
지원되는 속성:
adGroupId
displayName
entityStatus
lineItemId
adGroupFormat
예:
- 광고 항목
lineItemId="1234" 의 모든 광고 그룹
- 광고주의 모든
ENTITY_STATUS_ACTIVE 또는 ENTITY_STATUS_PAUSED AD_GROUP_FORMAT_IN_STREAM 광고그룹: (entityStatus="ENTITY_STATUS_ACTIVE" OR
entityStatus="ENTITY_STATUS_PAUSED") AND
adGroupFormat="AD_GROUP_FORMAT_IN_STREAM"
이 필드의 길이는 500자(영문 기준) 이하여야 합니다. 자세한 내용은 LIST 요청 필터링 가이드를 참고하세요.
|
응답 본문
성공한 경우 응답 본문은 다음과 같은 구조의 데이터를 포함합니다.
JSON 표현 |
{
"adGroups": [
{
object (AdGroup )
}
],
"nextPageToken": string
} |
필드 |
adGroups[] |
object (AdGroup )
광고 그룹 목록 비어 있으면 이 목록이 표시되지 않습니다.
|
nextPageToken |
string
결과의 다음 페이지를 검색하는 토큰입니다. 결과의 다음 페이지를 검색하려면 후속 adGroups.list 메서드 호출에서 pageToken 필드에 이 값을 전달합니다.
|
승인 범위
다음 OAuth 범위가 필요합니다.
https://www.googleapis.com/auth/display-video
자세한 내용은 OAuth 2.0 Overview를 참고하세요.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-02-25(UTC)
[null,null,["최종 업데이트: 2025-02-25(UTC)"],[[["Lists ad groups belonging to a specified advertiser using the `GET` method and the `adGroups.list` endpoint."],["Allows filtering, sorting, and pagination of results via query parameters such as `filter`, `orderBy`, `pageSize`, and `pageToken`."],["Request body should be empty, and the response includes an array of `AdGroup` objects and a `nextPageToken` for retrieving further results."],["Requires authorization with the `https://www.googleapis.com/auth/display-video` scope."]]],["This resource lists ad groups using a `GET` request to a specified URL, including the advertiser ID as a path parameter. Optional query parameters allow for pagination (`pageSize`, `pageToken`), sorting (`orderBy`), and filtering. The request body is empty. The response body contains a list of ad groups and a `nextPageToken` for retrieving additional results. Access requires the `https://www.googleapis.com/auth/display-video` OAuth scope.\n"]]