Uploads a new icon and starts its review process. Generates an icon_id and includes it in the icon's resource name, which is the format accounts/{account_id}/icons/{icon_id}
Returns HTTP status 400 and doesn't trigger the review process if the icon has any of these conditions:
Image is not in PNG format, or not convertible to PNG format.
Size less than 72 pixels
Size greater than 1200 pixels
Aspect ratio other than 1:1
HTTP request
POST https://travelpartner.googleapis.com/v3/{parent=accounts/*}/icons
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 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 2024-09-18 UTC."],[[["Uploads a new icon for a partner account and starts a review process, generating a unique `icon_id`."],["The icon must be a PNG image with a size between 72 and 1200 pixels and an aspect ratio of 1:1."],["If the icon meets the requirements, the API returns the icon details; otherwise, it returns an HTTP 400 error."],["Requires authorization with the `https://www.googleapis.com/auth/travelpartner` scope."],["Uses the `POST` method and the URL `https://travelpartner.googleapis.com/v3/{parent=accounts/*}/icons` with the account ID as a path parameter."]]],[]]