AI-generated Key Takeaways
-
This page describes the
editAssignedTargetingOptions
method for the Display & Video 360 API, which has been sunset. -
The method allows for batch editing of targeting options under a single advertiser, including deleting and creating options.
-
Supported targeting types include Channel, Digital Content Label Exclusion, OMID, Sensitive Category Exclusion, and Keyword.
-
It requires the
https://www.googleapis.com/auth/display-video
OAuth scope for authorization. -
Successful responses will contain a list of the newly created assigned targeting options.
Edits targeting options under a single advertiser. The operation will delete the assigned targeting options provided in BulkEditAdvertiserAssignedTargetingOptionsRequest.delete_requests
and then create the assigned targeting options provided in BulkEditAdvertiserAssignedTargetingOptionsRequest.create_requests
.
HTTP request
POST https://displayvideo.googleapis.com/v2/advertisers/{advertiserId}:editAssignedTargetingOptions
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
advertiserId |
Required. The ID of the advertiser. |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "deleteRequests": [ { object ( |
Fields | |
---|---|
deleteRequests[] |
The assigned targeting options to delete in batch, specified as a list of Supported targeting types: |
createRequests[] |
The assigned targeting options to create in batch, specified as a list of Supported targeting types: |
Response body
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"createdAssignedTargetingOptions": [
{
object ( |
Fields | |
---|---|
createdAssignedTargetingOptions[] |
The list of assigned targeting options that have been successfully created. This list will be absent if empty. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/display-video
For more information, see the OAuth 2.0 Overview.