Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ProductChange

import type { ProductChange } from "https://googleapis.deno.dev/v1/merchantapi:reviews_v1beta.ts";

The change that happened to the product including old value, new value, country code as the region code and reporting context.

interface ProductChange {
newValue?: string;
oldValue?: string;
regionCode?: string;
reportingContext?:
| "REPORTING_CONTEXT_ENUM_UNSPECIFIED"
| "SHOPPING_ADS"
| "DISCOVERY_ADS"
| "DEMAND_GEN_ADS"
| "DEMAND_GEN_ADS_DISCOVER_SURFACE"
| "VIDEO_ADS"
| "DISPLAY_ADS"
| "LOCAL_INVENTORY_ADS"
| "VEHICLE_INVENTORY_ADS"
| "FREE_LISTINGS"
| "FREE_LOCAL_LISTINGS"
| "FREE_LOCAL_VEHICLE_LISTINGS"
| "YOUTUBE_SHOPPING"
| "CLOUD_RETAIL"
| "LOCAL_CLOUD_RETAIL"
| "PRODUCT_REVIEWS"
| "MERCHANT_REVIEWS";
}

§Properties

§
newValue?: string
[src]

The new value of the changed resource or attribute.

§
oldValue?: string
[src]

The old value of the changed resource or attribute.

§
regionCode?: string
[src]

Countries that have the change (if applicable)

§
reportingContext?: "REPORTING_CONTEXT_ENUM_UNSPECIFIED" | "SHOPPING_ADS" | "DISCOVERY_ADS" | "DEMAND_GEN_ADS" | "DEMAND_GEN_ADS_DISCOVER_SURFACE" | "VIDEO_ADS" | "DISPLAY_ADS" | "LOCAL_INVENTORY_ADS" | "VEHICLE_INVENTORY_ADS" | "FREE_LISTINGS" | "FREE_LOCAL_LISTINGS" | "FREE_LOCAL_VEHICLE_LISTINGS" | "YOUTUBE_SHOPPING" | "CLOUD_RETAIL" | "LOCAL_CLOUD_RETAIL" | "PRODUCT_REVIEWS" | "MERCHANT_REVIEWS"
[src]

Reporting contexts that have the change (if applicable)