add_alert
Important: Content API for Shopping was sunset on August 18, 2026.
warning
Starting
September 1, 2026, Content API for Shopping requests will
experience progressive errors. Review the
Content
API Sunset guide.
Weight
Stay organized with collections
Save and categorize content based on your preferences.
The weight represented as the value in string and the unit.
| JSON representation |
{
"unit": enum (WeightUnit),
"amountMicros": string
} |
| Fields |
unit |
enum (WeightUnit)
Required. The weight unit. Acceptable values are: kg and lb
|
amountMicros |
string (int64 format)
Required. The weight represented as a number in micros (1 million micros is an equivalent to one's currency standard unit, for example, 1 kg = 1000000 micros). This field can also be set as infinity by setting to -1. This field only support -1 and positive value.
|
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-07-31 UTC.
[null,null,["Last updated 2025-07-31 UTC."],[],[]]