AI-generated Key Takeaways
-
Display & Video 360 API v1 allows for the creation of new channels, returning the channel details upon successful completion.
-
To create a channel, send a POST request to the specified endpoint, including the partner ID in the path and optionally the advertiser ID as a query parameter.
-
The request body should contain channel details as defined in the Channel resource, and a successful response will return the newly created channel object.
-
Authorization requires the
https://www.googleapis.com/auth/display-video
OAuth 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/partners/{partnerId}/channels
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
partnerId |
The ID of the partner that owns the created channel. |
Query parameters
Parameters | |
---|---|
advertiserId |
The ID of the advertiser 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.