Package | Description |
---|---|
com.google.api.services.content | |
com.google.api.services.content.model |
Modifier and Type | Method and Description |
---|---|
ShoppingContent.Products.Insert |
ShoppingContent.Products.insert(BigInteger merchantId,
Product content)
Uploads a product to your Merchant Center account.
|
ShoppingContent.Products.Update |
ShoppingContent.Products.update(BigInteger merchantId,
String productId,
Product content)
Updates an existing product in your Merchant Center account.
|
Constructor and Description |
---|
Insert(BigInteger merchantId,
Product content)
Uploads a product to your Merchant Center account.
|
Update(BigInteger merchantId,
String productId,
Product content)
Updates an existing product in your Merchant Center account.
|
Modifier and Type | Method and Description |
---|---|
Product |
Product.clone() |
Product |
ProductsCustomBatchRequestEntry.getProduct()
The product to insert or update.
|
Product |
ProductsCustomBatchResponseEntry.getProduct()
The inserted product.
|
Product |
Product.set(String fieldName,
Object value) |
Product |
Product.setAdditionalImageLinks(List<String> additionalImageLinks)
Additional URLs of images of the item.
|
Product |
Product.setAdditionalSizeType(String additionalSizeType)
Additional cut of the item.
|
Product |
Product.setAdsGrouping(String adsGrouping)
Used to group items in an arbitrary way.
|
Product |
Product.setAdsLabels(List<String> adsLabels)
Similar to ads_grouping, but only works on CPC.
|
Product |
Product.setAdsRedirect(String adsRedirect)
Allows advertisers to override the item URL when the product is shown within the context of
Product Ads.
|
Product |
Product.setAdult(Boolean adult)
Should be set to true if the item is targeted towards adults.
|
Product |
Product.setAgeGroup(String ageGroup)
Target age group of the item.
|
Product |
Product.setAutoPricingMinPrice(Price autoPricingMinPrice)
A safeguard in the [Automated Discounts](//support.google.com/merchants/answer/10295759) and
[Dynamic Promotions](//support.google.com/merchants/answer/13949249) projects, ensuring that
discounts on merchants' offers do not fall below this value, thereby preserving the offer's
value and profitability.
|
Product |
Product.setAvailability(String availability)
Availability status of the item.
|
Product |
Product.setAvailabilityDate(String availabilityDate)
The day a pre-ordered product becomes available for delivery, in ISO 8601 format.
|
Product |
Product.setBrand(String brand)
Brand of the item.
|
Product |
Product.setCanonicalLink(String canonicalLink)
URL for the canonical version of your item's landing page.
|
Product |
Product.setCertifications(List<ProductCertification> certifications)
Product [certification](https://support.google.com/merchants/answer/13528839), introduced for
EU energy efficiency labeling compliance using the [EU
EPREL](https://eprel.ec.europa.eu/screen/home) database.
|
Product |
Product.setChannel(String channel)
Required.
|
Product |
Product.setCloudExportAdditionalProperties(List<CloudExportAdditionalProperties> cloudExportAdditionalProperties)
Extra fields to export to the Cloud Retail program.
|
Product |
Product.setColor(String color)
Color of the item.
|
Product |
Product.setCondition(String condition)
Condition or state of the item.
|
Product |
Product.setContentLanguage(String contentLanguage)
Required.
|
Product |
Product.setCostOfGoodsSold(Price costOfGoodsSold)
Cost of goods sold.
|
Product |
Product.setCustomAttributes(List<CustomAttribute> customAttributes)
A list of custom (merchant-provided) attributes.
|
Product |
Product.setCustomLabel0(String customLabel0)
Custom label 0 for custom grouping of items in a Shopping campaign.
|
Product |
Product.setCustomLabel1(String customLabel1)
Custom label 1 for custom grouping of items in a Shopping campaign.
|
Product |
Product.setCustomLabel2(String customLabel2)
Custom label 2 for custom grouping of items in a Shopping campaign.
|
Product |
Product.setCustomLabel3(String customLabel3)
Custom label 3 for custom grouping of items in a Shopping campaign.
|
Product |
Product.setCustomLabel4(String customLabel4)
Custom label 4 for custom grouping of items in a Shopping campaign.
|
Product |
Product.setDescription(String description)
Description of the item.
|
Product |
Product.setDisclosureDate(String disclosureDate)
The date time when an offer becomes visible in search results across Google’s YouTube surfaces,
in [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format.
|
Product |
Product.setDisplayAdsId(String displayAdsId)
An identifier for an item for dynamic remarketing campaigns.
|
Product |
Product.setDisplayAdsLink(String displayAdsLink)
URL directly to your item's landing page for dynamic remarketing campaigns.
|
Product |
Product.setDisplayAdsSimilarIds(List<String> displayAdsSimilarIds)
Advertiser-specified recommendations.
|
Product |
Product.setDisplayAdsTitle(String displayAdsTitle)
Title of an item for dynamic remarketing campaigns.
|
Product |
Product.setDisplayAdsValue(Double displayAdsValue)
Offer margin for dynamic remarketing campaigns.
|
Product |
Product.setEnergyEfficiencyClass(String energyEfficiencyClass)
The energy efficiency class as defined in EU directive 2010/30/EU.
|
Product |
Product.setExcludedDestinations(List<String> excludedDestinations)
The list of [destinations to exclude](//support.google.com/merchants/answer/6324486) for this
target (corresponds to cleared check boxes in Merchant Center).
|
Product |
Product.setExpirationDate(String expirationDate)
Date on which the item should expire, as specified upon insertion, in ISO 8601 format.
|
Product |
Product.setExternalSellerId(String externalSellerId)
Required for multi-seller accounts.
|
Product |
Product.setFeedLabel(String feedLabel)
Feed label for the item.
|
Product |
Product.setFreeShippingThreshold(List<FreeShippingThreshold> freeShippingThreshold)
Optional.
|
Product |
Product.setGender(String gender)
Target gender of the item.
|
Product |
Product.setGoogleProductCategory(String googleProductCategory)
Google's category of the item (see [Google product
taxonomy](https://support.google.com/merchants/answer/1705911)).
|
Product |
Product.setGtin(String gtin)
Global Trade Item Number (GTIN) of the item.
|
Product |
Product.setId(String id)
The REST ID of the product.
|
Product |
Product.setIdentifierExists(Boolean identifierExists)
False when the item does not have unique product identifiers appropriate to its category, such
as GTIN, MPN, and brand.
|
Product |
Product.setImageLink(String imageLink)
URL of an image of the item.
|
Product |
Product.setIncludedDestinations(List<String> includedDestinations)
The list of [destinations to include](//support.google.com/merchants/answer/7501026) for this
target (corresponds to checked check boxes in Merchant Center).
|
Product |
Product.setInstallment(Installment installment)
Number and amount of installments to pay for an item.
|
Product |
Product.setIsBundle(Boolean isBundle)
Whether the item is a merchant-defined bundle.
|
Product |
Product.setItemGroupId(String itemGroupId)
Shared identifier for all variants of the same product.
|
Product |
Product.setKind(String kind)
Identifies what kind of resource this is.
|
Product |
Product.setLifestyleImageLinks(List<String> lifestyleImageLinks)
Additional URLs of lifestyle images of the item.
|
Product |
Product.setLink(String link)
URL directly linking to your item's page on your website.
|
Product |
Product.setLinkTemplate(String linkTemplate)
URL template for merchant hosted local storefront.
|
Product |
Product.setLoyaltyProgram(LoyaltyProgram loyaltyProgram)
Loyalty program information that is used to surface loyalty benefits ( for example, better
pricing, points, etc) to the user of this item.
|
Product |
Product.setLoyaltyPrograms(List<LoyaltyProgram> loyaltyPrograms)
Optional.
|
Product |
Product.setMaterial(String material)
The material of which the item is made.
|
Product |
Product.setMaxEnergyEfficiencyClass(String maxEnergyEfficiencyClass)
The energy efficiency class as defined in EU directive 2010/30/EU.
|
Product |
Product.setMaxHandlingTime(Long maxHandlingTime)
Maximal product handling time (in business days).
|
Product |
Product.setMinEnergyEfficiencyClass(String minEnergyEfficiencyClass)
The energy efficiency class as defined in EU directive 2010/30/EU.
|
Product |
Product.setMinHandlingTime(Long minHandlingTime)
Minimal product handling time (in business days).
|
Product |
Product.setMobileLink(String mobileLink)
URL for the mobile-optimized version of your item's landing page.
|
Product |
Product.setMobileLinkTemplate(String mobileLinkTemplate)
URL template for merchant hosted local storefront optimized for mobile devices.
|
Product |
Product.setMpn(String mpn)
Manufacturer Part Number (MPN) of the item.
|
Product |
Product.setMultipack(Long multipack)
The number of identical products in a merchant-defined multipack.
|
Product |
Product.setOfferId(String offerId)
Required.
|
Product |
Product.setPattern(String pattern)
The item's pattern (for example, polka dots).
|
Product |
Product.setPause(String pause)
Publication of this item should be temporarily paused.
|
Product |
Product.setPickupMethod(String pickupMethod)
The pick up option for the item.
|
Product |
Product.setPickupSla(String pickupSla)
Item store pickup timeline.
|
Product |
Product.setPrice(Price price)
Price of the item.
|
Product |
Product.setProductDetails(List<ProductProductDetail> productDetails)
Technical specification or additional product details.
|
Product |
Product.setProductHeight(ProductDimension productHeight)
The height of the product in the units provided.
|
Product |
Product.setProductHighlights(List<String> productHighlights)
Bullet points describing the most relevant highlights of a product.
|
Product |
Product.setProductLength(ProductDimension productLength)
The length of the product in the units provided.
|
Product |
Product.setProductTypes(List<String> productTypes)
Categories of the item (formatted as in product data specification).
|
Product |
Product.setProductWeight(ProductWeight productWeight)
The weight of the product in the units provided.
|
Product |
Product.setProductWidth(ProductDimension productWidth)
The width of the product in the units provided.
|
Product |
Product.setPromotionIds(List<String> promotionIds)
The unique ID of a promotion.
|
Product |
Product.setSalePrice(Price salePrice)
Advertised sale price of the item.
|
Product |
Product.setSalePriceEffectiveDate(String salePriceEffectiveDate)
Date range during which the item is on sale (see product data specification ).
|
Product |
Product.setSellOnGoogleQuantity(Long sellOnGoogleQuantity)
The quantity of the product that is available for selling on Google.
|
Product |
Product.setShipping(List<ProductShipping> shipping)
Shipping rules.
|
Product |
Product.setShippingHeight(ProductShippingDimension shippingHeight)
Height of the item for shipping.
|
Product |
Product.setShippingLabel(String shippingLabel)
The shipping label of the product, used to group product in account-level shipping rules.
|
Product |
Product.setShippingLength(ProductShippingDimension shippingLength)
Length of the item for shipping.
|
Product |
Product.setShippingWeight(ProductShippingWeight shippingWeight)
Weight of the item for shipping.
|
Product |
Product.setShippingWidth(ProductShippingDimension shippingWidth)
Width of the item for shipping.
|
Product |
Product.setShoppingAdsExcludedCountries(List<String> shoppingAdsExcludedCountries)
List of country codes (ISO 3166-1 alpha-2) to exclude the offer from Shopping Ads destination.
|
Product |
Product.setSizes(List<String> sizes)
Size of the item.
|
Product |
Product.setSizeSystem(String sizeSystem)
System in which the size is specified.
|
Product |
Product.setSizeType(String sizeType)
The cut of the item.
|
Product |
Product.setSource(String source)
Output only.
|
Product |
Product.setStructuredDescription(ProductStructuredDescription structuredDescription)
Structured description, for algorithmically (AI)-generated descriptions.
|
Product |
Product.setStructuredTitle(ProductStructuredTitle structuredTitle)
Structured title, for algorithmically (AI)-generated titles.
|
Product |
Product.setSubscriptionCost(ProductSubscriptionCost subscriptionCost)
Number of periods (months or years) and amount of payment per period for an item with an
associated subscription contract.
|
Product |
Product.setTargetCountry(String targetCountry)
Required.
|
Product |
Product.setTaxCategory(String taxCategory)
The tax category of the product, used to configure detailed tax nexus in account-level tax
settings.
|
Product |
Product.setTaxes(List<ProductTax> taxes)
Tax information.
|
Product |
Product.setTitle(String title)
Title of the item.
|
Product |
Product.setTransitTimeLabel(String transitTimeLabel)
The transit time label of the product, used to group product in account-level transit time
tables.
|
Product |
Product.setUnitPricingBaseMeasure(ProductUnitPricingBaseMeasure unitPricingBaseMeasure)
The preference of the denominator of the unit price.
|
Product |
Product.setUnitPricingMeasure(ProductUnitPricingMeasure unitPricingMeasure)
The measure and dimension of an item.
|
Product |
Product.setVirtualModelLink(String virtualModelLink)
URL of the 3D model of the item to provide more visuals.
|
Modifier and Type | Method and Description |
---|---|
List<Product> |
ProductsListResponse.getResources() |
Modifier and Type | Method and Description |
---|---|
ProductsCustomBatchRequestEntry |
ProductsCustomBatchRequestEntry.setProduct(Product product)
The product to insert or update.
|
ProductsCustomBatchResponseEntry |
ProductsCustomBatchResponseEntry.setProduct(Product product)
The inserted product.
|
Modifier and Type | Method and Description |
---|---|
ProductsListResponse |
ProductsListResponse.setResources(List<Product> resources) |
Copyright © 2011–2024 Google. All rights reserved.