Updates a product.
HTTP request
PATCH https://dv360seller.googleapis.com/v1beta1/{product.name=exchanges/*/orders/*/products/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
product.name |
Relative route name for product. Generated by server. Example: "exchanges/1234/orders/5678/products/abc". Output only. |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "product": { "name": string, "displayName": string, "externalDealId": string, "transactionType": enum ( |
Fields | |
---|---|
product.displayName |
The display name of the product. Must be UTF-8 encoded with a maximum size of 240 bytes. Required. |
product.externalDealId |
External ID. This is the deal ID on exchange system. Max 100 characters. Allowed characters are alphanumeric, underscore, dash, and dot. Must be unique across all products. Required. |
product.transactionType |
Product transaction type. Required. |
product.pricingType |
Pricing type for product. Required. |
product.updateTime |
The timestamp when the product was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
product.startTime |
Time when this product becomes active. Must be earlier than endTime. Start time cannot be more than 1 year in the future. Required. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
product.endTime |
Time when this product becomes inactive. Currently cannot be later than year 2036. Required. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
product.rateDetails |
Rate details. Required. |
product.creativeConfig[] |
The creative requirements for a product. Required for reserved transaction type product. |
product.makegood |
Denotes whether a product is a makegood product. |
product.makegoodDetails |
The makegood details for a product. Required when the product is a makegood. |
product.creativeSource |
Creative source for a product. Optional, defaults to CREATIVE_SOURCE_ADVERTISER. Cannot be changed after product creation. |
product.mediumType |
Medium type for a product. Defaults to DIGITAL if not specified for backwards compatibility. Cannot be changed after product creation. |
product.targetingCriteria |
Product targeting criteria references. Only applicable for Instant Deal Scenarios. Output only. |
product.forecastResult |
Product forecast result. Required when the targeting criteria is not empty and the forecast is not provided. Only applicable for Instant Deal Scenarios. |
product.errorDetails |
Error details to be specified when specific product fields cannot be updated. Required when the forecast result cannot be provided given a targeting criteria or an update cannot be made to the product. Only applicable for Instant Deal Scenarios. |
product.frequencyCap |
Exchange frequency cap. Only applicable for Instant Deal Scenarios. Output only. |
product.etag |
An etag which needs to be specified when updating a product. Only needs to be specified for update if the etag is not empty. Only applicable for Instant Deal Scenarios. |
updateMask |
The mask to control which fields to update. Required. This is a comma-separated list of fully qualified names of fields. Example: |
Response body
If successful, the response body contains an instance of Product
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/doubleclickbidmanager
For more information, see the OAuth 2.0 Overview.