Class: Google::Shopping::Css::V1::Attributes
- Inherits:
-
Object
- Object
- Google::Shopping::Css::V1::Attributes
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/shopping/css/v1/css_product_common.rb
Overview
Attributes for CSS Product.
Instance Attribute Summary collapse
-
#additional_image_links ⇒ ::Array<::String>
Additional URL of images of the item.
-
#adult ⇒ ::Boolean
Set to true if the item is targeted towards adults.
-
#age_group ⇒ ::String
Target age group of the item.
-
#brand ⇒ ::String
Product Related Attributes.[14-36] Brand of the item.
-
#certifications ⇒ ::Array<::Google::Shopping::Css::V1::Certification>
A list of certificates claimed by the CSS for the given product.
-
#color ⇒ ::String
Color of the item.
-
#cpp_ads_redirect ⇒ ::String
Allows advertisers to override the item URL when the product is shown within the context of Product Ads.
-
#cpp_link ⇒ ::String
URL directly linking to your the Product Detail Page of the CSS.
-
#cpp_mobile_link ⇒ ::String
URL for the mobile-optimized version of the Product Detail Page of the CSS.
-
#custom_label_0 ⇒ ::String
Custom label 0 for custom grouping of items in a Shopping campaign.
-
#custom_label_1 ⇒ ::String
Custom label 1 for custom grouping of items in a Shopping campaign.
-
#custom_label_2 ⇒ ::String
Custom label 2 for custom grouping of items in a Shopping campaign.
-
#custom_label_3 ⇒ ::String
Custom label 3 for custom grouping of items in a Shopping campaign.
-
#custom_label_4 ⇒ ::String
Custom label 4 for custom grouping of items in a Shopping campaign.
-
#description ⇒ ::String
Description of the item.
-
#excluded_destinations ⇒ ::Array<::String>
The list of destinations to exclude for this target (corresponds to unchecked check boxes in Merchant Center).
-
#expiration_date ⇒ ::Google::Protobuf::Timestamp
Date on which the item should expire, as specified upon insertion, in ISO 8601 format.
-
#gender ⇒ ::String
Target gender of the item.
-
#google_product_category ⇒ ::String
Google's category of the item (see Google product taxonomy).
-
#gtin ⇒ ::String
Global Trade Item Number (GTIN) of the item.
-
#headline_offer_condition ⇒ ::String
Condition of the headline offer.
-
#headline_offer_installment ⇒ ::Google::Shopping::Css::V1::HeadlineOfferInstallment
Number and amount of installments to pay for an item.
-
#headline_offer_link ⇒ ::String
Link to the headline offer.
-
#headline_offer_mobile_link ⇒ ::String
Mobile Link to the headline offer.
-
#headline_offer_price ⇒ ::Google::Shopping::Type::Price
Headline Price of the aggregate offer.
-
#headline_offer_shipping_price ⇒ ::Google::Shopping::Type::Price
Headline Price of the aggregate offer.
-
#headline_offer_subscription_cost ⇒ ::Google::Shopping::Css::V1::HeadlineOfferSubscriptionCost
Number of periods (months or years) and amount of payment per period for an item with an associated subscription contract.
-
#high_price ⇒ ::Google::Shopping::Type::Price
High Price of the aggregate offer.
-
#image_link ⇒ ::String
URL of an image of the item.
-
#included_destinations ⇒ ::Array<::String>
The list of destinations to include for this target (corresponds to checked check boxes in Merchant Center).
-
#is_bundle ⇒ ::Boolean
Whether the item is a merchant-defined bundle.
-
#item_group_id ⇒ ::String
Shared identifier for all variants of the same product.
-
#low_price ⇒ ::Google::Shopping::Type::Price
Low Price of the aggregate offer.
-
#material ⇒ ::String
The material of which the item is made.
-
#mpn ⇒ ::String
Manufacturer Part Number (MPN) of the item.
-
#multipack ⇒ ::Integer
The number of identical products in a merchant-defined multipack.
-
#number_of_offers ⇒ ::Integer
The number of aggregate offers.
-
#pattern ⇒ ::String
The item's pattern (e.g. polka dots).
-
#pause ⇒ ::String
Publication of this item will be temporarily paused.
-
#product_details ⇒ ::Array<::Google::Shopping::Css::V1::ProductDetail>
Technical specification or additional product details.
-
#product_height ⇒ ::Google::Shopping::Css::V1::ProductDimension
The height of the product in the units provided.
-
#product_highlights ⇒ ::Array<::String>
Bullet points describing the most relevant highlights of a product.
-
#product_length ⇒ ::Google::Shopping::Css::V1::ProductDimension
The length of the product in the units provided.
-
#product_types ⇒ ::Array<::String>
Categories of the item (formatted as in products data specification).
-
#product_weight ⇒ ::Google::Shopping::Css::V1::ProductWeight
The weight of the product in the units provided.
-
#product_width ⇒ ::Google::Shopping::Css::V1::ProductDimension
The width of the product in the units provided.
-
#size ⇒ ::String
Size of the item.
-
#size_system ⇒ ::String
System in which the size is specified.
-
#size_types ⇒ ::Array<::String>
The cut of the item.
-
#title ⇒ ::String
Title of the item.
Instance Attribute Details
#additional_image_links ⇒ ::Array<::String>
Returns Additional URL of images of the item.
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#adult ⇒ ::Boolean
Returns Set to true if the item is targeted towards adults.
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#age_group ⇒ ::String
Returns Target age group of the item.
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#brand ⇒ ::String
Returns Product Related Attributes.[14-36] Brand of the item.
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#certifications ⇒ ::Array<::Google::Shopping::Css::V1::Certification>
Returns A list of certificates claimed by the CSS for the given product.
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#color ⇒ ::String
Returns Color of the item.
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#cpp_ads_redirect ⇒ ::String
Returns Allows advertisers to override the item URL when the product is shown within the context of Product Ads.
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#cpp_link ⇒ ::String
Returns URL directly linking to your the Product Detail Page of the CSS.
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#cpp_mobile_link ⇒ ::String
Returns URL for the mobile-optimized version of the Product Detail Page of the CSS.
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#custom_label_0 ⇒ ::String
Returns Custom label 0 for custom grouping of items in a Shopping campaign.
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#custom_label_1 ⇒ ::String
Returns Custom label 1 for custom grouping of items in a Shopping campaign.
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#custom_label_2 ⇒ ::String
Returns Custom label 2 for custom grouping of items in a Shopping campaign.
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#custom_label_3 ⇒ ::String
Returns Custom label 3 for custom grouping of items in a Shopping campaign.
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#custom_label_4 ⇒ ::String
Returns Custom label 4 for custom grouping of items in a Shopping campaign.
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#description ⇒ ::String
Returns Description of the item.
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#excluded_destinations ⇒ ::Array<::String>
Returns The list of destinations to exclude for this target (corresponds to unchecked check boxes in Merchant Center).
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#expiration_date ⇒ ::Google::Protobuf::Timestamp
Returns Date on which the item should expire, as specified upon insertion, in
ISO
8601 format. The actual
expiration date is exposed in productstatuses
as
googleExpirationDate
and might be earlier if expirationDate
is too far in the future.
Note: It may take 2+ days from the expiration date for the item to
actually get deleted.
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#gender ⇒ ::String
Returns Target gender of the item.
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#google_product_category ⇒ ::String
Returns Google's category of the item (see Google product taxonomy). When querying products, this field will contain the user provided value. There is currently no way to get back the auto assigned google product categories through the API.
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#gtin ⇒ ::String
Returns Global Trade Item Number (GTIN) of the item.
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#headline_offer_condition ⇒ ::String
Returns Condition of the headline offer.
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#headline_offer_installment ⇒ ::Google::Shopping::Css::V1::HeadlineOfferInstallment
Returns Number and amount of installments to pay for an item.
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#headline_offer_link ⇒ ::String
Returns Link to the headline offer.
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#headline_offer_mobile_link ⇒ ::String
Returns Mobile Link to the headline offer.
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#headline_offer_price ⇒ ::Google::Shopping::Type::Price
Returns Headline Price of the aggregate offer.
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#headline_offer_shipping_price ⇒ ::Google::Shopping::Type::Price
Returns Headline Price of the aggregate offer.
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#headline_offer_subscription_cost ⇒ ::Google::Shopping::Css::V1::HeadlineOfferSubscriptionCost
Returns Number of periods (months or years) and amount of payment per period for an item with an associated subscription contract.
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#high_price ⇒ ::Google::Shopping::Type::Price
Returns High Price of the aggregate offer.
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#image_link ⇒ ::String
Returns URL of an image of the item.
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#included_destinations ⇒ ::Array<::String>
Returns The list of destinations to include for this target (corresponds to
checked check boxes in Merchant Center). Default destinations are always
included unless provided in excludedDestinations
.
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#is_bundle ⇒ ::Boolean
Returns 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.
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#item_group_id ⇒ ::String
Returns Shared identifier for all variants of the same product.
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#low_price ⇒ ::Google::Shopping::Type::Price
Returns Low Price of the aggregate offer.
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#material ⇒ ::String
Returns The material of which the item is made.
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#mpn ⇒ ::String
Returns Manufacturer Part Number (MPN) of the item.
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#multipack ⇒ ::Integer
Returns The number of identical products in a merchant-defined multipack.
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#number_of_offers ⇒ ::Integer
Returns The number of aggregate offers.
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#pattern ⇒ ::String
Returns The item's pattern (e.g. polka dots).
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#pause ⇒ ::String
Returns Publication of this item will be temporarily paused.
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#product_details ⇒ ::Array<::Google::Shopping::Css::V1::ProductDetail>
Returns Technical specification or additional product details.
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#product_height ⇒ ::Google::Shopping::Css::V1::ProductDimension
Returns The height of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#product_highlights ⇒ ::Array<::String>
Returns Bullet points describing the most relevant highlights of a product.
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#product_length ⇒ ::Google::Shopping::Css::V1::ProductDimension
Returns The length of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#product_types ⇒ ::Array<::String>
Returns Categories of the item (formatted as in products data specification).
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#product_weight ⇒ ::Google::Shopping::Css::V1::ProductWeight
Returns The weight of the product in the units provided. The value must be between 0 (exclusive) and 2000 (inclusive).
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#product_width ⇒ ::Google::Shopping::Css::V1::ProductDimension
Returns The width of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#size ⇒ ::String
Returns Size of the item. Only one value is allowed. For variants with different
sizes, insert a separate product for each size with the same
itemGroupId
value (see
https://support.google.com/merchants/answer/6324492).
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#size_system ⇒ ::String
Returns System in which the size is specified. Recommended for apparel items.
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#size_types ⇒ ::Array<::String>
Returns The cut of the item. It can be used to represent combined size types for apparel items. Maximum two of size types can be provided (see https://support.google.com/merchants/answer/6324497).
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#title ⇒ ::String
Returns Title of the item.
208 209 210 211 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 208 class Attributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |