Method: exchanges.auctionPackages.uploadLogo
Stay organized with collections
Save and categorize content based on your preferences.
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 |
string
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 |
string (bytes format)
The auction package info payload to be created. Max size 2MB. Required A base64-encoded string.
|
logoFileExtension |
string
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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-21 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-21 UTC."],[[["\u003cp\u003eUpload a logo for a specified package using an HTTP POST request with the logo data and file extension in the request body.\u003c/p\u003e\n"],["\u003cp\u003eThe request should include path parameters specifying the parent resource and authorization using the \u003ccode\u003edoubleclickbidmanager\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eA successful upload returns an \u003ccode\u003eAuctionPackage\u003c/code\u003e object representing the updated package with the logo.\u003c/p\u003e\n"],["\u003cp\u003eThe logo must be in JPG or PNG format, base64-encoded, and with a maximum size of 2MB.\u003c/p\u003e\n"]]],["This document details the process of uploading a logo to an auction package via a POST request to a specific URL. The `parent` path parameter, representing the resource, is required. The request body, in JSON format, mandates `logoBinary` (a base64-encoded string of the logo, max 2MB) and `logoFileExtension` (JPG or PNG). Successful upload returns an `AuctionPackage` instance. This process requires the `doubleclickbidmanager` OAuth scope.\n"],null,["# Method: exchanges.auctionPackages.uploadLogo\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Examples](#examples)\n- [Try it!](#try-it)\n\nUpload logo for the specified package.\n\n### HTTP request\n\n`POST https://dv360seller.googleapis.com/v1beta1/{parent=exchanges/*/auctionPackages/*}:uploadLogo`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|------------------------------------------------------------------------------------------------------------------------------|\n| `parent` | `string` Parent path for the resource that the logo will be applied to. Example: \"exchanges/123/publishers/123456\". Required |\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation |\n|---------------------------------------------------------------|\n| ``` { \"logoBinary\": string, \"logoFileExtension\": string } ``` |\n\n| Fields ||\n|---------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `logoBinary` | `string (`[bytes](https://developers.google.com/discovery/v1/type-format)` format)` The auction package info payload to be created. Max size 2MB. Required A base64-encoded string. |\n| `logoFileExtension` | `string` File extension for logo. Supports JPG and PNG. |\n\n### Response body\n\nIf successful, the response body contains an instance of [AuctionPackage](/display-video/seller/reference/rest/v1beta1/exchanges.auctionPackages#AuctionPackage).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/doubleclickbidmanager`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]