Method: inventorySources.patch

  • Display & Video 360 API v3 has sunset, and users should use v4 instead.

  • This page describes how to update an existing inventory source using a PATCH request to the specified HTTP endpoint.

  • The update requires specifying the inventory source ID in the path parameters and an update mask and either a partner ID or advertiser ID in the query parameters.

  • The request body contains an InventorySource instance, and a successful response returns the updated InventorySource.

  • The request requires the https://www.googleapis.com/auth/display-video OAuth scope for authorization.

Updates an existing inventory source. Returns the updated inventory source if successful.

HTTP request

PATCH https://displayvideo.googleapis.com/v3/inventorySources/{inventorySource.inventorySourceId}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
inventorySource.inventorySourceId

string ( int64 format)

Output only. The unique ID of the inventory source. Assigned by the system.

Query parameters

Parameters
updateMask

string ( FieldMask format)

Required. The mask to control which fields to update.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo" .

Union parameter accessor . Required.

Identifies which DV360 entity the request is being made within. accessor can be only one of the following:

partnerId

string ( int64 format)

The ID of the partner that the request is being made within.

advertiserId

string ( int64 format)

The ID of the advertiser that the request is being made within.

Request body

The request body contains an instance of InventorySource .

Response body

If successful, the response body contains an instance of InventorySource .

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/display-video

For more information, see the OAuth 2.0 Overview .

Create a Mobile Website
View Site in Mobile | Classic
Share by: