AI-generated Key Takeaways
-
The
uploadLogo
method is used to upload a logo for a publisher resource. -
The method requires the
parent
path parameter, which specifies the parent resource the logo will be applied to. -
The request body requires the
logoBinary
(a base64-encoded string of the logo) and thelogoFileExtension
(JPG or PNG). -
A successful response body contains an instance of the Publisher resource.
-
This method requires the
https://www.googleapis.com/auth/doubleclickbidmanager
authorization scope.
Upload publisher Logo.
HTTP request
POST https://dv360seller.googleapis.com/v1beta1/{parent=exchanges/*/publishers/*}: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 Publisher
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/doubleclickbidmanager
For more information, see the OAuth 2.0 Overview.