Struct google_content2::Product[][src]

pub struct Product {
    pub max_handling_time: Option<String>,
    pub color: Option<String>,
    pub adwords_labels: Option<Vec<String>>,
    pub item_group_id: Option<String>,
    pub expiration_date: Option<String>,
    pub availability: Option<String>,
    pub adwords_grouping: Option<String>,
    pub destinations: Option<Vec<ProductDestination>>,
    pub target_country: Option<i64>,
    pub custom_label4: Option<String>,
    pub source: Option<String>,
    pub additional_product_types: Option<Vec<String>>,
    pub min_energy_efficiency_class: Option<String>,
    pub online_only: Option<bool>,
    pub mobile_link: Option<String>,
    pub promotion_ids: Option<Vec<String>>,
    pub aspects: Option<Vec<ProductAspect>>,
    pub shipping_height: Option<ProductShippingDimension>,
    pub content_language: Option<String>,
    pub mpn: Option<String>,
    pub sale_price_effective_date: Option<String>,
    pub brand: Option<String>,
    pub cost_of_goods_sold: Option<Price>,
    pub link: Option<String>,
    pub adwords_redirect: Option<String>,
    pub energy_efficiency_class: Option<String>,
    pub size_system: Option<String>,
    pub size_type: Option<String>,
    pub custom_label3: Option<String>,
    pub custom_label2: Option<String>,
    pub condition: Option<String>,
    pub custom_label0: Option<String>,
    pub kind: Option<String>,
    pub installment: Option<Installment>,
    pub sizes: Option<Vec<String>>,
    pub gender: Option<String>,
    pub taxes: Option<Vec<ProductTax>>,
    pub max_energy_efficiency_class: Option<String>,
    pub identifier_exists: Option<bool>,
    pub sale_price: Option<Price>,
    pub product_type: Option<String>,
    pub display_ads_similar_ids: Option<Vec<String>>,
    pub custom_label1: Option<String>,
    pub age_group: Option<String>,
    pub display_ads_title: Option<String>,
    pub additional_image_links: Option<Vec<String>>,
    pub offer_id: Option<String>,
    pub min_handling_time: Option<String>,
    pub gtin: Option<String>,
    pub shipping_label: Option<String>,
    pub google_product_category: Option<String>,
    pub multipack: Option<String>,
    pub display_ads_id: Option<String>,
    pub display_ads_value: Option<f64>,
    pub id: Option<String>,
    pub shipping_width: Option<ProductShippingDimension>,
    pub pattern: Option<String>,
    pub unit_pricing_measure: Option<ProductUnitPricingMeasure>,
    pub custom_attributes: Option<Vec<ProductCustomAttribute>>,
    pub availability_date: Option<String>,
    pub is_bundle: Option<bool>,
    pub channel: Option<String>,
    pub material: Option<String>,
    pub description: Option<String>,
    pub warnings: Option<Vec<ErrorType>>,
    pub price: Option<Price>,
    pub shipping_length: Option<ProductShippingDimension>,
    pub sell_on_google_quantity: Option<String>,
    pub display_ads_link: Option<String>,
    pub validated_destinations: Option<Vec<String>>,
    pub custom_groups: Option<Vec<ProductCustomGroup>>,
    pub loyalty_points: Option<LoyaltyPoints>,
    pub unit_pricing_base_measure: Option<ProductUnitPricingBaseMeasure>,
    pub title: Option<String>,
    pub shipping: Option<Vec<ProductShipping>>,
    pub shipping_weight: Option<ProductShippingWeight>,
    pub image_link: Option<String>,
    pub adult: Option<bool>,
}

Product data.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

Maximal product handling time (in business days).

Color of the item.

Similar to adwords_grouping, but only works on CPC.

Shared identifier for all variants of the same product.

Date on which the item should expire, as specified upon insertion, in ISO 8601 format. The actual expiration date in Google Shopping is exposed in productstatuses as googleExpirationDate and might be earlier if expirationDate is too far in the future.

Availability status of the item.

Used to group items in an arbitrary way. Only for CPA%, discouraged otherwise.

Specifies the intended destinations for the product.

The CLDR territory code for the item.

Custom label 4 for custom grouping of items in a Shopping campaign.

The source of the offer, i.e., how the offer was created.

Additional categories of the item (formatted as in products feed specification).

The energy efficiency class as defined in EU directive 2010/30/EU.

Deprecated. Whether an item is available for purchase only online.

Link to a mobile-optimized version of the landing page.

The unique ID of a promotion.

Deprecated. Do not use.

Height of the item for shipping.

The two-letter ISO 639-1 language code for the item.

Manufacturer Part Number (MPN) of the item.

Date range during which the item is on sale (see products feed specification).

Brand of the item.

Cost of goods sold. Used for gross profit reporting.

URL directly linking to your item's page on your website.

Allows advertisers to override the item URL when the product is shown within the context of Product Ads.

The energy efficiency class as defined in EU directive 2010/30/EU.

System in which the size is specified. Recommended for apparel items.

The cut of the item. Recommended for apparel items.

Custom label 3 for custom grouping of items in a Shopping campaign.

Custom label 2 for custom grouping of items in a Shopping campaign.

Condition or state of the item.

Custom label 0 for custom grouping of items in a Shopping campaign.

Identifies what kind of resource this is. Value: the fixed string "content#product".

Number and amount of installments to pay for an item. Brazil only.

Size of the item.

Target gender of the item.

Tax information.

The energy efficiency class as defined in EU directive 2010/30/EU.

False when the item does not have unique product identifiers appropriate to its category, such as GTIN, MPN, and brand. Required according to the Unique Product Identifier Rules for all target countries except for Canada.

Advertised sale price of the item.

Your category of the item (formatted as in products feed specification).

Advertiser-specified recommendations.

Custom label 1 for custom grouping of items in a Shopping campaign.

Target age group of the item.

Title of an item for dynamic remarketing campaigns.

Additional URLs of images of the item.

A unique identifier for the item. Leading and trailing whitespaces are stripped and multiple whitespaces are replaced by a single whitespace upon submission. Only valid unicode characters are accepted. See the products feed specification for details. Note: Content API methods that operate on products take the REST id of the product, not this identifier.

Minimal product handling time (in business days).

Global Trade Item Number (GTIN) of the item.

The shipping label of the product, used to group product in account-level shipping rules.

Google's category of the item (see Google product taxonomy).

The number of identical products in a merchant-defined multipack.

An identifier for an item for dynamic remarketing campaigns.

Offer margin for dynamic remarketing campaigns.

The REST id of the product. Content API methods that operate on products take this as their productId parameter. The REST id for a product is of the form channel:contentLanguage:targetCountry:offerId.

Width of the item for shipping.

The item's pattern (e.g. polka dots).

The measure and dimension of an item.

A list of custom (merchant-provided) attributes. It can also be used for submitting any attribute of the feed specification in its generic form (e.g., { "name": "size type", "type": "text", "value": "regular" }). This is useful for submitting attributes not explicitly exposed by the API.

The day a pre-ordered product becomes available for delivery, in ISO 8601 format.

Whether the item is a merchant-defined bundle. A bundle is a custom grouping of different products sold by a merchant for a single price.

The item's channel (online or local).

The material of which the item is made.

Description of the item.

Read-only warnings.

Price of the item.

Length of the item for shipping.

The quantity of the product that is available for selling on Google. Supported only for online products.

URL directly to your item's landing page for dynamic remarketing campaigns.

Deprecated. The read-only list of intended destinations which passed validation.

A list of custom (merchant-provided) custom attribute groups.

Loyalty points that users receive after purchasing the item. Japan only.

The preference of the denominator of the unit price.

Title of the item.

Shipping rules.

Weight of the item for shipping.

URL of an image of the item.

Set to true if the item is targeted towards adults.

Trait Implementations

impl Default for Product
[src]

Returns the "default value" for a type. Read more

impl Clone for Product
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Product
[src]

Formats the value using the given formatter. Read more

impl RequestValue for Product
[src]

impl Resource for Product
[src]

impl ResponseResult for Product
[src]

Auto Trait Implementations

impl Send for Product

impl Sync for Product