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.
|
Constructor and Description |
---|
Insert(BigInteger merchantId,
Product content)
Uploads a product to your Merchant Center account.
|
Modifier and Type | Method and Description |
---|---|
Product |
Product.clone() |
Product |
ProductsCustomBatchRequestEntry.getProduct()
The product to insert.
|
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.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)
Set to true if the item is targeted towards adults.
|
Product |
Product.setAgeGroup(String ageGroup)
Target age group of the item.
|
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.setChannel(String channel)
The item's channel (online or local).
|
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)
The two-letter ISO 639-1 language code for the item.
|
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.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 for this target (corresponds to unchecked 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.setGender(String gender)
Target gender of the item.
|
Product |
Product.setGoogleProductCategory(String googleProductCategory)
Google's category of the item (see Google product taxonomy).
|
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 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.setLink(String link)
URL directly linking to your item's page on your website.
|
Product |
Product.setLoyaltyPoints(LoyaltyPoints loyaltyPoints)
Loyalty points that users receive after purchasing the item.
|
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)
Link to a mobile-optimized version of the landing page.
|
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)
A unique identifier for the item.
|
Product |
Product.setPattern(String pattern)
The item's pattern (e.g.
|
Product |
Product.setPrice(Price price)
Price of the item.
|
Product |
Product.setProductTypes(List<String> productTypes)
Categories of the item (formatted as in products feed specification).
|
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 products feed 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.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)
The source of the offer, i.e., how the offer was created.
|
Product |
Product.setTargetCountry(String targetCountry)
The CLDR territory code for the item.
|
Product |
Product.setTaxes(List<ProductTax> taxes)
Tax information.
|
Product |
Product.setTitle(String title)
Title of the item.
|
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.
|
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.
|
ProductsCustomBatchResponseEntry |
ProductsCustomBatchResponseEntry.setProduct(Product product)
The inserted product.
|
Modifier and Type | Method and Description |
---|---|
ProductsListResponse |
ProductsListResponse.setResources(List<Product> resources) |
Copyright © 2011–2019 Google. All rights reserved.