AI-generated Key Takeaways
-
Display & Video 360 API v1 is sunset and this documentation details the process for creating a new channel using the API.
-
The API endpoint to create a new channel is accessed via a POST request to
https://displayvideo.googleapis.com/v1/advertisers/{advertiserId}/channels
, requiringadvertiserId
as a path parameter. -
You can optionally specify the
partnerId
as a query parameter to indicate the partner who owns the channel. -
The request body should contain a Channel object as defined in the documentation and a successful response will return the newly created Channel object.
-
Authorization is required using OAuth 2.0 with the
https://www.googleapis.com/auth/display-video
scope.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization Scopes
- Try it!
Creates a new channel. Returns the newly created channel if successful.
HTTP request
POST https://displayvideo.googleapis.com/v1/advertisers/{advertiserId}/channels
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
advertiserId |
The ID of the advertiser that owns the created channel. |
Query parameters
Parameters | |
---|---|
partnerId |
The ID of the partner that owns the created channel. |
Request body
The request body contains an instance of Channel
.
Response body
If successful, the response body contains a newly created 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.