Method: sellers.adPlays.create
Stay organized with collections
Save and categorize content based on your preferences.
Creates an ad play.
- Input could be either a set of resource names or a set of external ids.
- Returns the newly created ad play if successful.
- Returns error code
INVALID_ARGUMENT
if invalid ad unit, order, line, or creative are specified. For example, ad unit resource name is not in format sellers/111/adUnits/123
.
- Returns error code
ALREADY_EXISTS
if an ad play for the same ad unit, order, line, and creative with the same startTime already exists.
- Returns error code
NOT_FOUND
if no matching ad unit, order, line, or creative asset found.
- Returns error code
FAILED_PRECONDITION
if the request contains both resource name and external id.
HTTP request
POST https://dv360outofhomeseller.googleapis.com/v1/{parent=sellers/*}/adPlays
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
parent |
string
Required. The seller resource name. Format: sellers/{seller}
|
Request body
The request body contains an instance of AdPlay
.
Response body
If successful, the response body contains a newly created instance of AdPlay
.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/doubleclickbidmanager
For more information, see the OAuth 2.0 Overview.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["Creates a new ad play using either resource names or external IDs, returning the created ad play on success."],["Requires a valid ad unit, order, line, and creative, and returns errors for invalid input or if an identical ad play already exists."],["Uses the `POST` method with the provided URL structure and requires the `parent` path parameter specifying the seller resource name."],["The request body should contain an `AdPlay` object, and a successful response will also contain an `AdPlay` object representing the newly created ad play."],["Requires authorization with the `https://www.googleapis.com/auth/doubleclickbidmanager` scope for access."]]],[]]