AI-generated Key Takeaways
-
The Upload logo for the specified package is achieved using an HTTP POST request to a URL that includes a parent path for the resource.
-
The request body requires the logo as a base64-encoded binary string and the file extension (JPG or PNG).
-
A successful response will contain an instance of AuctionPackage.
-
The process requires the
https://www.googleapis.com/auth/doubleclickbidmanager
OAuth scope for authorization.
Upload logo for the specified package.
HTTP request
POST https://dv360seller.googleapis.com/v1beta1/{parent=exchanges/*/auctionPackages/*}:uploadLogo
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Parent path for the resource that the logo will be applied to. Example: "exchanges/123/publishers/123456". Required |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "logoBinary": string, "logoFileExtension": string } |
Fields | |
---|---|
logoBinary |
The auction package info payload to be created. Max size 2MB. Required A base64-encoded string. |
logoFileExtension |
File extension for logo. Supports JPG and PNG. |
Response body
If successful, the response body contains an instance of AuctionPackage
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/doubleclickbidmanager
For more information, see the OAuth 2.0 Overview.