Method: buyers.creatives.addDeals

Adds a list of deals to a creative, which submits the creative for publisher review. Returns the updated creative.

HTTP request

POST https://realtimebidding.googleapis.com/v1/{name=buyers/*/creatives/*}:addDeals

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Name of the creative to add the deals to. See creative.name.

Request body

The request body contains data with the following structure:

JSON representation
{
  "dealIds": [
    string
  ]
}
Fields
dealIds[]

string

Required. The IDs of the deals to associate with the creative. This can include Programmatic Guaranteed, Private Auction, Preferred Deal, and Marketplace Package deal IDs. You can associate no more than 100 deal IDs per request.

Response body

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

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/realtime-bidding