AI-generated Key Takeaways
-
This document details how to get a channel for a partner or advertiser using the Display & Video 360 API.
-
The request requires specifying either the
advertiserId
orpartnerId
along with thechannelId
in the URL. -
The response will contain a
Channel
object if the request is successful. -
Authorization using the
https://www.googleapis.com/auth/display-video
scope is required.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Gets a channel for a partner or advertiser.
HTTP request
GET https://displayvideo.googleapis.com/v2/advertisers/{advertiserId}/channels/{channelId}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
channelId |
Required. The ID of the channel to fetch. |
Union parameter owner . Required. Identifies the DV360 entity that owns the channel. It can be either a partner or an advertiser. owner can be only one of the following: |
|
advertiserId |
The ID of the advertiser that owns the fetched channel. |
Query parameters
Parameters | |
---|---|
Union parameter owner . Required. Identifies the DV360 entity that owns the channel. It can be either a partner or an advertiser. owner can be only one of the following: |
|
partnerId |
The ID of the partner that owns the fetched channel. |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of Channel
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/display-video
For more information, see the OAuth 2.0 Overview.