Method: sellers.creativeAssets.patch

  • This method updates an existing creative asset and returns the updated creative asset if successful.

  • Error codes may be returned if the creative asset is not found or if immutable fields are specified for update.

  • The HTTP request uses a PATCH method with a specific URL format including path and query parameters.

  • The request and response bodies both contain an instance of the CreativeAsset object.

  • Authorization requires the https://www.googleapis.com/auth/doubleclickbidmanager OAuth scope.

Updates an existing creative asset.

  • Returns the updated creative asset if successful.
  • Returns error code NOT_FOUND if the creative asset does not exist.
  • Returns error code INVALID_ARGUMENT if an immutable field is specified in updateMask and a change is requested.

HTTP request

PATCH https://dv360outofhomeseller.googleapis.com/v1/{creativeAsset.name=sellers/*/creativeAssets/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
creativeAsset.name

string

The resource name of the creative asset in the format: sellers/{seller}/creativeAssets/{creativeAsset}.

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".

Request body

The request body contains an instance of CreativeAsset.

Response body

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

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/doubleclickbidmanager

For more information, see the OAuth 2.0 Overview.