Package google.shopping.type

Index

Channel

This type has no fields.

Channel of a product.

Channel is used to distinguish between online and local products.

ChannelEnum

Channel values.

Enums
CHANNEL_ENUM_UNSPECIFIED Not specified.
ONLINE Online product.
LOCAL Local product.

CustomAttribute

A message that represents custom attributes. Exactly one of value or group_values must not be empty.

Fields
group_values[]

CustomAttribute

Subattributes within this attribute group. If group_values is not empty, value must be empty.

name

string

The name of the attribute.

value

string

The value of the attribute. If value is not empty, group_values must be empty.

Destination

This type has no fields.

Destinations available for a product.

Destinations are used in Merchant Center to allow you to control where the products from your data feed should be displayed.

DestinationEnum

Destination values.

Enums
DESTINATION_ENUM_UNSPECIFIED Not specified.
SHOPPING_ADS Shopping ads.
DISPLAY_ADS Display ads.
LOCAL_INVENTORY_ADS Local inventory ads.
FREE_LISTINGS Free listings.
FREE_LOCAL_LISTINGS Free local product listings.
YOUTUBE_SHOPPING YouTube Shopping.

Price

The price represented as a number and currency.

Fields
amount_micros

int64

The price represented as a number in micros (1 million micros is an equivalent to one's currency standard unit, for example, 1 USD = 1000000 micros).

currency_code

string

The currency of the price using three-letter acronyms according to ISO 4217.

ReportingContext

This type has no fields.

Reporting contexts that your account and product issues apply to.

Reporting contexts are groups of surfaces and formats for product results on Google. They can represent the entire destination (for example, Shopping ads) or a subset of formats within a destination (for example, Demand Gen ads).

ReportingContextEnum

Reporting context values.

Enums
REPORTING_CONTEXT_ENUM_UNSPECIFIED Not specified.
SHOPPING_ADS Shopping ads.
DISCOVERY_ADS

Deprecated: Use DEMAND_GEN_ADS instead. Discovery and Demand Gen ads.

DEMAND_GEN_ADS Demand Gen ads.
DEMAND_GEN_ADS_DISCOVER_SURFACE Demand Gen ads on Discover surface.
VIDEO_ADS Video ads.
DISPLAY_ADS Display ads.
LOCAL_INVENTORY_ADS Local inventory ads.
VEHICLE_INVENTORY_ADS Vehicle inventory ads.
FREE_LISTINGS Free product listings.
FREE_LOCAL_LISTINGS Free local product listings.
FREE_LOCAL_VEHICLE_LISTINGS Free local vehicle listings.
YOUTUBE_SHOPPING YouTube Shopping.
CLOUD_RETAIL Cloud retail.
LOCAL_CLOUD_RETAIL Local cloud retail.

Weight

The weight represented as the value in string and the unit.

Fields
unit

WeightUnit

Required. The weight unit. Acceptable values are: kg and lb

amount_micros

int64

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.

WeightUnit

The weight unit.

Enums
WEIGHT_UNIT_UNSPECIFIED unit unspecified
POUND lb unit.
KILOGRAM kg unit.