google_api_content v0.2.0 GoogleApi.Content.V2.Model.Product View Source
Product data. After inserting, updating, or deleting a product, it may take several minutes before changes take effect.
Attributes
- additionalImageLinks ([String.t]): Additional URLs of images of the item. Defaults to:
null
. - additionalProductTypes ([String.t]): Additional categories of the item (formatted as in products feed specification). Defaults to:
null
. - adult (boolean()): Set to true if the item is targeted towards adults. Defaults to:
null
. - adwordsGrouping (String.t): Used to group items in an arbitrary way. Only for CPA%, discouraged otherwise. Defaults to:
null
. - adwordsLabels ([String.t]): Similar to adwords_grouping, but only works on CPC. Defaults to:
null
. - adwordsRedirect (String.t): Allows advertisers to override the item URL when the product is shown within the context of Product Ads. Defaults to:
null
. - ageGroup (String.t): Target age group of the item. Defaults to:
null
. - aspects ([ProductAspect]): Deprecated. Do not use. Defaults to:
null
. - availability (String.t): Availability status of the item. Defaults to:
null
. - availabilityDate (String.t): The day a pre-ordered product becomes available for delivery, in ISO 8601 format. Defaults to:
null
. - brand (String.t): Brand of the item. Defaults to:
null
. - channel (String.t): The item's channel (online or local). Defaults to:
null
. - color (String.t): Color of the item. Defaults to:
null
. - condition (String.t): Condition or state of the item. Defaults to:
null
. - contentLanguage (String.t): The two-letter ISO 639-1 language code for the item. Defaults to:
null
. - costOfGoodsSold (Price): Cost of goods sold. Used for gross profit reporting. Defaults to:
null
. - customAttributes ([CustomAttribute]): 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. Defaults to:
null
. - customGroups ([CustomGroup]): A list of custom (merchant-provided) custom attribute groups. Defaults to:
null
. - customLabel0 (String.t): Custom label 0 for custom grouping of items in a Shopping campaign. Defaults to:
null
. - customLabel1 (String.t): Custom label 1 for custom grouping of items in a Shopping campaign. Defaults to:
null
. - customLabel2 (String.t): Custom label 2 for custom grouping of items in a Shopping campaign. Defaults to:
null
. - customLabel3 (String.t): Custom label 3 for custom grouping of items in a Shopping campaign. Defaults to:
null
. - customLabel4 (String.t): Custom label 4 for custom grouping of items in a Shopping campaign. Defaults to:
null
. - description (String.t): Description of the item. Defaults to:
null
. - destinations ([ProductDestination]): Specifies the intended destinations for the product. Defaults to:
null
. - displayAdsId (String.t): An identifier for an item for dynamic remarketing campaigns. Defaults to:
null
. - displayAdsLink (String.t): URL directly to your item's landing page for dynamic remarketing campaigns. Defaults to:
null
. - displayAdsSimilarIds ([String.t]): Advertiser-specified recommendations. Defaults to:
null
. - displayAdsTitle (String.t): Title of an item for dynamic remarketing campaigns. Defaults to:
null
. - displayAdsValue (float()): Offer margin for dynamic remarketing campaigns. Defaults to:
null
. - energyEfficiencyClass (String.t): The energy efficiency class as defined in EU directive 2010/30/EU. Defaults to:
null
. - expirationDate (String.t): 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. Defaults to:
null
. - gender (String.t): Target gender of the item. Defaults to:
null
. - googleProductCategory (String.t): Google's category of the item (see Google product taxonomy). Defaults to:
null
. - gtin (String.t): Global Trade Item Number (GTIN) of the item. Defaults to:
null
. - id (String.t): 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. Defaults to:
null
. - identifierExists (boolean()): 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. Defaults to:
null
. - imageLink (String.t): URL of an image of the item. Defaults to:
null
. - installment (Installment): Number and amount of installments to pay for an item. Brazil only. Defaults to:
null
. - isBundle (boolean()): 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. Defaults to:
null
. - itemGroupId (String.t): Shared identifier for all variants of the same product. Defaults to:
null
. - kind (String.t): Identifies what kind of resource this is. Value: the fixed string "content#product". Defaults to:
null
. - link (String.t): URL directly linking to your item's page on your website. Defaults to:
null
. - loyaltyPoints (LoyaltyPoints): Loyalty points that users receive after purchasing the item. Japan only. Defaults to:
null
. - material (String.t): The material of which the item is made. Defaults to:
null
. - maxEnergyEfficiencyClass (String.t): The energy efficiency class as defined in EU directive 2010/30/EU. Defaults to:
null
. - maxHandlingTime (String.t): Maximal product handling time (in business days). Defaults to:
null
. - minEnergyEfficiencyClass (String.t): The energy efficiency class as defined in EU directive 2010/30/EU. Defaults to:
null
. - minHandlingTime (String.t): Minimal product handling time (in business days). Defaults to:
null
. - mobileLink (String.t): Link to a mobile-optimized version of the landing page. Defaults to:
null
. - mpn (String.t): Manufacturer Part Number (MPN) of the item. Defaults to:
null
. - multipack (String.t): The number of identical products in a merchant-defined multipack. Defaults to:
null
. - offerId (String.t): 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. Defaults to:
null
. - onlineOnly (boolean()): Deprecated. Whether an item is available for purchase only online. Defaults to:
null
. - pattern (String.t): The item's pattern (e.g. polka dots). Defaults to:
null
. - price (Price): Price of the item. Defaults to:
null
. - productType (String.t): Your category of the item (formatted as in products feed specification). Defaults to:
null
. - promotionIds ([String.t]): The unique ID of a promotion. Defaults to:
null
. - salePrice (Price): Advertised sale price of the item. Defaults to:
null
. - salePriceEffectiveDate (String.t): Date range during which the item is on sale (see products feed specification). Defaults to:
null
. - sellOnGoogleQuantity (String.t): The quantity of the product that is available for selling on Google. Supported only for online products. Defaults to:
null
. - shipping ([ProductShipping]): Shipping rules. Defaults to:
null
. - shippingHeight (ProductShippingDimension): Height of the item for shipping. Defaults to:
null
. - shippingLabel (String.t): The shipping label of the product, used to group product in account-level shipping rules. Defaults to:
null
. - shippingLength (ProductShippingDimension): Length of the item for shipping. Defaults to:
null
. - shippingWeight (ProductShippingWeight): Weight of the item for shipping. Defaults to:
null
. - shippingWidth (ProductShippingDimension): Width of the item for shipping. Defaults to:
null
. - sizeSystem (String.t): System in which the size is specified. Recommended for apparel items. Defaults to:
null
. - sizeType (String.t): The cut of the item. Recommended for apparel items. Defaults to:
null
. - sizes ([String.t]): Size of the item. Defaults to:
null
. - source (String.t): The source of the offer, i.e., how the offer was created. Defaults to:
null
. - targetCountry (String.t): The CLDR territory code for the item. Defaults to:
null
. - taxes ([ProductTax]): Tax information. Defaults to:
null
. - title (String.t): Title of the item. Defaults to:
null
. - unitPricingBaseMeasure (ProductUnitPricingBaseMeasure): The preference of the denominator of the unit price. Defaults to:
null
. - unitPricingMeasure (ProductUnitPricingMeasure): The measure and dimension of an item. Defaults to:
null
. - validatedDestinations ([String.t]): Deprecated. The read-only list of intended destinations which passed validation. Defaults to:
null
. - warnings ([Error]): Read-only warnings. Defaults to:
null
.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields
Link to this section Types
Link to this type
t()
View Source
t() :: %GoogleApi.Content.V2.Model.Product{ imageLink: any(), maxEnergyEfficiencyClass: any(), description: any(), salePrice: GoogleApi.Content.V2.Model.Price.t(), brand: any(), availabilityDate: any(), warnings: [GoogleApi.Content.V2.Model.Error.t()], adult: any(), unitPricingBaseMeasure: GoogleApi.Content.V2.Model.ProductUnitPricingBaseMeasure.t(), aspects: [GoogleApi.Content.V2.Model.ProductAspect.t()], color: any(), source: any(), customLabel2: any(), multipack: any(), sizeType: any(), displayAdsSimilarIds: [any()], additionalProductTypes: [any()], onlineOnly: any(), validatedDestinations: [any()], identifierExists: any(), shippingLabel: any(), condition: any(), sizes: [any()], displayAdsTitle: any(), mpn: any(), shippingHeight: GoogleApi.Content.V2.Model.ProductShippingDimension.t(), loyaltyPoints: GoogleApi.Content.V2.Model.LoyaltyPoints.t(), additionalImageLinks: [any()], material: any(), customLabel3: any(), title: any(), customLabel4: any(), expirationDate: any(), googleProductCategory: any(), costOfGoodsSold: GoogleApi.Content.V2.Model.Price.t(), maxHandlingTime: any(), installment: GoogleApi.Content.V2.Model.Installment.t(), customLabel1: any(), id: any(), ageGroup: any(), offerId: any(), shippingWeight: GoogleApi.Content.V2.Model.ProductShippingWeight.t(), energyEfficiencyClass: any(), isBundle: any(), price: GoogleApi.Content.V2.Model.Price.t(), displayAdsValue: any(), channel: any(), customLabel0: any(), adwordsGrouping: any(), mobileLink: any(), shippingLength: GoogleApi.Content.V2.Model.ProductShippingDimension.t(), productType: any(), customGroups: [GoogleApi.Content.V2.Model.CustomGroup.t()], adwordsLabels: [any()], taxes: [GoogleApi.Content.V2.Model.ProductTax.t()], availability: any(), pattern: any(), customAttributes: [GoogleApi.Content.V2.Model.CustomAttribute.t()], displayAdsId: any(), promotionIds: [any()], gender: any(), kind: any(), unitPricingMeasure: GoogleApi.Content.V2.Model.ProductUnitPricingMeasure.t(), minEnergyEfficiencyClass: any(), sizeSystem: any(), itemGroupId: any(), shipping: [GoogleApi.Content.V2.Model.ProductShipping.t()], adwordsRedirect: any(), sellOnGoogleQuantity: any(), displayAdsLink: any(), link: any(), targetCountry: any(), destinations: [GoogleApi.Content.V2.Model.ProductDestination.t()], gtin: any(), contentLanguage: any(), shippingWidth: GoogleApi.Content.V2.Model.ProductShippingDimension.t(), minHandlingTime: any(), salePriceEffectiveDate: any() }
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.