ProductChange
The change that happened to the product including old value, new value, country code as the region code and reporting context.
JSON representation |
{
"oldValue": string,
"newValue": string,
"regionCode": string,
"reportingContext": enum (ReportingContextEnum )
} |
Fields |
oldValue |
string
The old value of the changed resource or attribute. If empty, it means that the product was created. Will have one of these values : (approved , pending , disapproved , ``)
|
newValue |
string
The new value of the changed resource or attribute. If empty, it means that the product was deleted. Will have one of these values : (approved , pending , disapproved , ``)
|
regionCode |
string
Countries that have the change (if applicable). Represented in the ISO 3166 format.
|
reportingContext |
enum (ReportingContextEnum )
Reporting contexts that have the change (if applicable). Currently this field supports only (SHOPPING_ADS , LOCAL_INVENTORY_ADS , YOUTUBE_SHOPPING , YOUTUBE_CHECKOUT , YOUTUBE_AFFILIATE ) from the enum value ReportingContextEnum
|
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-03-05 UTC.
[null,null,["Last updated 2025-03-05 UTC."],[[["The JSON representation showcases changes to a product, including the previous and current values."],["It incorporates region code and reporting context for a comprehensive view of the change."],["Details of the change are provided through fields like `oldValue`, `newValue`, `regionCode`, and `reportingContext`."]]],["The JSON representation describes product changes, detailing the `oldValue` and `newValue` as strings. The `regionCode` field, also a string, indicates the countries affected by the change. Lastly, `reportingContext`, an enum, specifies the context where the change is reported. This structure provides a detailed view of modifications, their scope, and the reporting environment.\n"]]