Class ShoppingProduct.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ShoppingProduct.Builder>
com.google.ads.googleads.v18.resources.ShoppingProduct.Builder
- All Implemented Interfaces:
ShoppingProductOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ShoppingProduct
public static final class ShoppingProduct.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ShoppingProduct.Builder>
implements ShoppingProductOrBuilder
A shopping product from Google Merchant Center that can be advertised by
campaigns.
The resource returns currently existing products from Google Merchant Center
accounts linked with the customer. A campaign includes a product by
specifying its merchant id (or, if available, the Multi Client Account id of
the merchant) in the `ShoppingSetting`, and can limit the inclusion to
products having a specified feed label. Standard Shopping campaigns can also
limit the inclusion through a `campaign_criterion.listing_scope`.
Queries to this resource specify a scope:
Account:
- Filters on campaigns or ad groups are not specified.
- All products from the linked Google Merchant Center accounts are
returned.
- Metrics and some fields (see the per-field documentation) are aggregated
across all Shopping and Performance Max campaigns that include a product.
Campaign:
- An equality filter on `campaign` is specified. Supported campaign types
are Shopping, Performance Max, Demand Gen, Video.
- Only products that are included by the specified campaign are returned.
- Metrics and some fields (see the per-field documentation) are restricted
to the specified campaign.
Ad group:
- An equality filter on `ad group` and `campaign` is specified. Supported
campaign types are Shopping, Demand Gen, Video.
- Only products that are included by the specified campaign are returned.
- Metrics and some fields (see the per-field documentation) are restricted
to the specified ad group.
Note that segmentation by date segments is not permitted and will return
UNSUPPORTED_DATE_SEGMENTATION error. On the other hand, filtering on date
segments is allowed.
Protobuf type google.ads.googleads.v18.resources.ShoppingProduct-
Method Summary
Modifier and TypeMethodDescriptionaddAllIssues(Iterable<? extends ShoppingProduct.ProductIssue> values) Output only.addAllTargetCountries(Iterable<String> values) Output only.addIssues(int index, ShoppingProduct.ProductIssue value) Output only.addIssues(int index, ShoppingProduct.ProductIssue.Builder builderForValue) Output only.Output only.addIssues(ShoppingProduct.ProductIssue.Builder builderForValue) Output only.Output only.addIssuesBuilder(int index) Output only.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addTargetCountries(String value) Output only.addTargetCountriesBytes(com.google.protobuf.ByteString value) Output only.build()clear()Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Output only.Output only.Output only.Output only.Output only.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.clone()Output only.com.google.protobuf.ByteStringOutput only.Output only.intOutput only.getBrand()Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.Output only.intOutput only.intOutput only.Output only.intOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlongOutput only.Output only.com.google.protobuf.ByteStringOutput only.getIssues(int index) Output only.getIssuesBuilder(int index) Output only.Output only.intOutput only.Output only.getIssuesOrBuilder(int index) Output only.List<? extends ShoppingProduct.ProductIssueOrBuilder>Output only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.longOutput only.longOutput only.longOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.intOutput only.getTargetCountries(int index) Output only.com.google.protobuf.ByteStringgetTargetCountriesBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.getTitle()Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.booleanOutput only.booleanhasBrand()Output only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanhasTitle()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(ShoppingProduct other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) final ShoppingProduct.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeIssues(int index) Output only.setAdGroup(String value) Output only.setAdGroupBytes(com.google.protobuf.ByteString value) Output only.Output only.setAvailabilityValue(int value) Output only.Output only.setBrandBytes(com.google.protobuf.ByteString value) Output only.setCampaign(String value) Output only.setCampaignBytes(com.google.protobuf.ByteString value) Output only.setCategoryLevel1(String value) Output only.setCategoryLevel1Bytes(com.google.protobuf.ByteString value) Output only.setCategoryLevel2(String value) Output only.setCategoryLevel2Bytes(com.google.protobuf.ByteString value) Output only.setCategoryLevel3(String value) Output only.setCategoryLevel3Bytes(com.google.protobuf.ByteString value) Output only.setCategoryLevel4(String value) Output only.setCategoryLevel4Bytes(com.google.protobuf.ByteString value) Output only.setCategoryLevel5(String value) Output only.setCategoryLevel5Bytes(com.google.protobuf.ByteString value) Output only.Output only.Output only.setChannelExclusivityValue(int value) Output only.setChannelValue(int value) Output only.Output only.setConditionValue(int value) Output only.setCurrencyCode(String value) Output only.setCurrencyCodeBytes(com.google.protobuf.ByteString value) Output only.setCustomAttribute0(String value) Output only.setCustomAttribute0Bytes(com.google.protobuf.ByteString value) Output only.setCustomAttribute1(String value) Output only.setCustomAttribute1Bytes(com.google.protobuf.ByteString value) Output only.setCustomAttribute2(String value) Output only.setCustomAttribute2Bytes(com.google.protobuf.ByteString value) Output only.setCustomAttribute3(String value) Output only.setCustomAttribute3Bytes(com.google.protobuf.ByteString value) Output only.setCustomAttribute4(String value) Output only.setCustomAttribute4Bytes(com.google.protobuf.ByteString value) Output only.setEffectiveMaxCpcMicros(long value) Output only.setFeedLabel(String value) Output only.setFeedLabelBytes(com.google.protobuf.ByteString value) Output only.setIssues(int index, ShoppingProduct.ProductIssue value) Output only.setIssues(int index, ShoppingProduct.ProductIssue.Builder builderForValue) Output only.Output only.setItemIdBytes(com.google.protobuf.ByteString value) Output only.setLanguageCode(String value) Output only.setLanguageCodeBytes(com.google.protobuf.ByteString value) Output only.setMerchantCenterId(long value) Output only.setMultiClientAccountId(long value) Output only.setPriceMicros(long value) Output only.setProductTypeLevel1(String value) Output only.setProductTypeLevel1Bytes(com.google.protobuf.ByteString value) Output only.setProductTypeLevel2(String value) Output only.setProductTypeLevel2Bytes(com.google.protobuf.ByteString value) Output only.setProductTypeLevel3(String value) Output only.setProductTypeLevel3Bytes(com.google.protobuf.ByteString value) Output only.setProductTypeLevel4(String value) Output only.setProductTypeLevel4Bytes(com.google.protobuf.ByteString value) Output only.setProductTypeLevel5(String value) Output only.setProductTypeLevel5Bytes(com.google.protobuf.ByteString value) Output only.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setResourceName(String value) Output only.setResourceNameBytes(com.google.protobuf.ByteString value) Output only.Output only.setStatusValue(int value) Output only.setTargetCountries(int index, String value) Output only.Output only.setTitleBytes(com.google.protobuf.ByteString value) Output only.final ShoppingProduct.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ShoppingProduct.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ShoppingProduct.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ShoppingProduct.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ShoppingProduct.Builder>
-
setField
public ShoppingProduct.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ShoppingProduct.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ShoppingProduct.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ShoppingProduct.Builder>
-
setRepeatedField
public ShoppingProduct.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ShoppingProduct.Builder>
-
addRepeatedField
public ShoppingProduct.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ShoppingProduct.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ShoppingProduct.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ShoppingProduct.Builder>
-
mergeFrom
public ShoppingProduct.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ShoppingProduct.Builder>- Throws:
IOException
-
getResourceName
Output only. The resource name of the shopping product. Shopping product resource names have the form: `customers/{customer_id}/shoppingProducts/{merchant_center_id}~{channel}~{language_code}~{feed_label}~{item_id}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNamein interfaceShoppingProductOrBuilder- Returns:
- The resourceName.
-
getResourceNameBytes
public com.google.protobuf.ByteString getResourceNameBytes()Output only. The resource name of the shopping product. Shopping product resource names have the form: `customers/{customer_id}/shoppingProducts/{merchant_center_id}~{channel}~{language_code}~{feed_label}~{item_id}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNameBytesin interfaceShoppingProductOrBuilder- Returns:
- The bytes for resourceName.
-
setResourceName
Output only. The resource name of the shopping product. Shopping product resource names have the form: `customers/{customer_id}/shoppingProducts/{merchant_center_id}~{channel}~{language_code}~{feed_label}~{item_id}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The resourceName to set.- Returns:
- This builder for chaining.
-
clearResourceName
Output only. The resource name of the shopping product. Shopping product resource names have the form: `customers/{customer_id}/shoppingProducts/{merchant_center_id}~{channel}~{language_code}~{feed_label}~{item_id}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setResourceNameBytes
Output only. The resource name of the shopping product. Shopping product resource names have the form: `customers/{customer_id}/shoppingProducts/{merchant_center_id}~{channel}~{language_code}~{feed_label}~{item_id}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for resourceName to set.- Returns:
- This builder for chaining.
-
getMerchantCenterId
public long getMerchantCenterId()Output only. The id of the merchant that owns the product.
int64 merchant_center_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMerchantCenterIdin interfaceShoppingProductOrBuilder- Returns:
- The merchantCenterId.
-
setMerchantCenterId
Output only. The id of the merchant that owns the product.
int64 merchant_center_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The merchantCenterId to set.- Returns:
- This builder for chaining.
-
clearMerchantCenterId
Output only. The id of the merchant that owns the product.
int64 merchant_center_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getChannelValue
public int getChannelValue()Output only. The product channel describing the locality of the product.
.google.ads.googleads.v18.enums.ProductChannelEnum.ProductChannel channel = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getChannelValuein interfaceShoppingProductOrBuilder- Returns:
- The enum numeric value on the wire for channel.
-
setChannelValue
Output only. The product channel describing the locality of the product.
.google.ads.googleads.v18.enums.ProductChannelEnum.ProductChannel channel = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for channel to set.- Returns:
- This builder for chaining.
-
getChannel
Output only. The product channel describing the locality of the product.
.google.ads.googleads.v18.enums.ProductChannelEnum.ProductChannel channel = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getChannelin interfaceShoppingProductOrBuilder- Returns:
- The channel.
-
setChannel
Output only. The product channel describing the locality of the product.
.google.ads.googleads.v18.enums.ProductChannelEnum.ProductChannel channel = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The channel to set.- Returns:
- This builder for chaining.
-
clearChannel
Output only. The product channel describing the locality of the product.
.google.ads.googleads.v18.enums.ProductChannelEnum.ProductChannel channel = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getLanguageCode
Output only. The language code as provided by the merchant, in BCP 47 format.
string language_code = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLanguageCodein interfaceShoppingProductOrBuilder- Returns:
- The languageCode.
-
getLanguageCodeBytes
public com.google.protobuf.ByteString getLanguageCodeBytes()Output only. The language code as provided by the merchant, in BCP 47 format.
string language_code = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLanguageCodeBytesin interfaceShoppingProductOrBuilder- Returns:
- The bytes for languageCode.
-
setLanguageCode
Output only. The language code as provided by the merchant, in BCP 47 format.
string language_code = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The languageCode to set.- Returns:
- This builder for chaining.
-
clearLanguageCode
Output only. The language code as provided by the merchant, in BCP 47 format.
string language_code = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setLanguageCodeBytes
Output only. The language code as provided by the merchant, in BCP 47 format.
string language_code = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for languageCode to set.- Returns:
- This builder for chaining.
-
getFeedLabel
Output only. The product feed label as provided by the merchant.
string feed_label = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFeedLabelin interfaceShoppingProductOrBuilder- Returns:
- The feedLabel.
-
getFeedLabelBytes
public com.google.protobuf.ByteString getFeedLabelBytes()Output only. The product feed label as provided by the merchant.
string feed_label = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFeedLabelBytesin interfaceShoppingProductOrBuilder- Returns:
- The bytes for feedLabel.
-
setFeedLabel
Output only. The product feed label as provided by the merchant.
string feed_label = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The feedLabel to set.- Returns:
- This builder for chaining.
-
clearFeedLabel
Output only. The product feed label as provided by the merchant.
string feed_label = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setFeedLabelBytes
Output only. The product feed label as provided by the merchant.
string feed_label = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for feedLabel to set.- Returns:
- This builder for chaining.
-
getItemId
Output only. The item id of the product as provided by the merchant.
string item_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getItemIdin interfaceShoppingProductOrBuilder- Returns:
- The itemId.
-
getItemIdBytes
public com.google.protobuf.ByteString getItemIdBytes()Output only. The item id of the product as provided by the merchant.
string item_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getItemIdBytesin interfaceShoppingProductOrBuilder- Returns:
- The bytes for itemId.
-
setItemId
Output only. The item id of the product as provided by the merchant.
string item_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The itemId to set.- Returns:
- This builder for chaining.
-
clearItemId
Output only. The item id of the product as provided by the merchant.
string item_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setItemIdBytes
Output only. The item id of the product as provided by the merchant.
string item_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for itemId to set.- Returns:
- This builder for chaining.
-
hasMultiClientAccountId
public boolean hasMultiClientAccountId()Output only. The id of the Multi Client Account of the merchant, if present.
optional int64 multi_client_account_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasMultiClientAccountIdin interfaceShoppingProductOrBuilder- Returns:
- Whether the multiClientAccountId field is set.
-
getMultiClientAccountId
public long getMultiClientAccountId()Output only. The id of the Multi Client Account of the merchant, if present.
optional int64 multi_client_account_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMultiClientAccountIdin interfaceShoppingProductOrBuilder- Returns:
- The multiClientAccountId.
-
setMultiClientAccountId
Output only. The id of the Multi Client Account of the merchant, if present.
optional int64 multi_client_account_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The multiClientAccountId to set.- Returns:
- This builder for chaining.
-
clearMultiClientAccountId
Output only. The id of the Multi Client Account of the merchant, if present.
optional int64 multi_client_account_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasTitle
public boolean hasTitle()Output only. The title of the product as provided by the merchant.
optional string title = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasTitlein interfaceShoppingProductOrBuilder- Returns:
- Whether the title field is set.
-
getTitle
Output only. The title of the product as provided by the merchant.
optional string title = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTitlein interfaceShoppingProductOrBuilder- Returns:
- The title.
-
getTitleBytes
public com.google.protobuf.ByteString getTitleBytes()Output only. The title of the product as provided by the merchant.
optional string title = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTitleBytesin interfaceShoppingProductOrBuilder- Returns:
- The bytes for title.
-
setTitle
Output only. The title of the product as provided by the merchant.
optional string title = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The title to set.- Returns:
- This builder for chaining.
-
clearTitle
Output only. The title of the product as provided by the merchant.
optional string title = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setTitleBytes
Output only. The title of the product as provided by the merchant.
optional string title = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for title to set.- Returns:
- This builder for chaining.
-
hasBrand
public boolean hasBrand()Output only. The brand of the product as provided by the merchant.
optional string brand = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasBrandin interfaceShoppingProductOrBuilder- Returns:
- Whether the brand field is set.
-
getBrand
Output only. The brand of the product as provided by the merchant.
optional string brand = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getBrandin interfaceShoppingProductOrBuilder- Returns:
- The brand.
-
getBrandBytes
public com.google.protobuf.ByteString getBrandBytes()Output only. The brand of the product as provided by the merchant.
optional string brand = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getBrandBytesin interfaceShoppingProductOrBuilder- Returns:
- The bytes for brand.
-
setBrand
Output only. The brand of the product as provided by the merchant.
optional string brand = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The brand to set.- Returns:
- This builder for chaining.
-
clearBrand
Output only. The brand of the product as provided by the merchant.
optional string brand = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setBrandBytes
Output only. The brand of the product as provided by the merchant.
optional string brand = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for brand to set.- Returns:
- This builder for chaining.
-
hasPriceMicros
public boolean hasPriceMicros()Output only. The price of the product in micros as provided by the merchant, in the currency specified in `currency_code` (e.g. $2.97 is reported as 2970000).
optional int64 price_micros = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasPriceMicrosin interfaceShoppingProductOrBuilder- Returns:
- Whether the priceMicros field is set.
-
getPriceMicros
public long getPriceMicros()Output only. The price of the product in micros as provided by the merchant, in the currency specified in `currency_code` (e.g. $2.97 is reported as 2970000).
optional int64 price_micros = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPriceMicrosin interfaceShoppingProductOrBuilder- Returns:
- The priceMicros.
-
setPriceMicros
Output only. The price of the product in micros as provided by the merchant, in the currency specified in `currency_code` (e.g. $2.97 is reported as 2970000).
optional int64 price_micros = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The priceMicros to set.- Returns:
- This builder for chaining.
-
clearPriceMicros
Output only. The price of the product in micros as provided by the merchant, in the currency specified in `currency_code` (e.g. $2.97 is reported as 2970000).
optional int64 price_micros = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasCurrencyCode
public boolean hasCurrencyCode()Output only. The currency code as provided by the merchant, in ISO 4217 format.
optional string currency_code = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCurrencyCodein interfaceShoppingProductOrBuilder- Returns:
- Whether the currencyCode field is set.
-
getCurrencyCode
Output only. The currency code as provided by the merchant, in ISO 4217 format.
optional string currency_code = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCurrencyCodein interfaceShoppingProductOrBuilder- Returns:
- The currencyCode.
-
getCurrencyCodeBytes
public com.google.protobuf.ByteString getCurrencyCodeBytes()Output only. The currency code as provided by the merchant, in ISO 4217 format.
optional string currency_code = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCurrencyCodeBytesin interfaceShoppingProductOrBuilder- Returns:
- The bytes for currencyCode.
-
setCurrencyCode
Output only. The currency code as provided by the merchant, in ISO 4217 format.
optional string currency_code = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The currencyCode to set.- Returns:
- This builder for chaining.
-
clearCurrencyCode
Output only. The currency code as provided by the merchant, in ISO 4217 format.
optional string currency_code = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setCurrencyCodeBytes
Output only. The currency code as provided by the merchant, in ISO 4217 format.
optional string currency_code = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for currencyCode to set.- Returns:
- This builder for chaining.
-
hasChannelExclusivity
public boolean hasChannelExclusivity()Output only. The channel exclusivity of the product as provided by the merchant.
optional .google.ads.googleads.v18.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity channel_exclusivity = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasChannelExclusivityin interfaceShoppingProductOrBuilder- Returns:
- Whether the channelExclusivity field is set.
-
getChannelExclusivityValue
public int getChannelExclusivityValue()Output only. The channel exclusivity of the product as provided by the merchant.
optional .google.ads.googleads.v18.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity channel_exclusivity = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getChannelExclusivityValuein interfaceShoppingProductOrBuilder- Returns:
- The enum numeric value on the wire for channelExclusivity.
-
setChannelExclusivityValue
Output only. The channel exclusivity of the product as provided by the merchant.
optional .google.ads.googleads.v18.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity channel_exclusivity = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for channelExclusivity to set.- Returns:
- This builder for chaining.
-
getChannelExclusivity
Output only. The channel exclusivity of the product as provided by the merchant.
optional .google.ads.googleads.v18.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity channel_exclusivity = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getChannelExclusivityin interfaceShoppingProductOrBuilder- Returns:
- The channelExclusivity.
-
setChannelExclusivity
public ShoppingProduct.Builder setChannelExclusivity(ProductChannelExclusivityEnum.ProductChannelExclusivity value) Output only. The channel exclusivity of the product as provided by the merchant.
optional .google.ads.googleads.v18.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity channel_exclusivity = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The channelExclusivity to set.- Returns:
- This builder for chaining.
-
clearChannelExclusivity
Output only. The channel exclusivity of the product as provided by the merchant.
optional .google.ads.googleads.v18.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity channel_exclusivity = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasCondition
public boolean hasCondition()Output only. The condition of the product as provided by the merchant.
optional .google.ads.googleads.v18.enums.ProductConditionEnum.ProductCondition condition = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasConditionin interfaceShoppingProductOrBuilder- Returns:
- Whether the condition field is set.
-
getConditionValue
public int getConditionValue()Output only. The condition of the product as provided by the merchant.
optional .google.ads.googleads.v18.enums.ProductConditionEnum.ProductCondition condition = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getConditionValuein interfaceShoppingProductOrBuilder- Returns:
- The enum numeric value on the wire for condition.
-
setConditionValue
Output only. The condition of the product as provided by the merchant.
optional .google.ads.googleads.v18.enums.ProductConditionEnum.ProductCondition condition = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for condition to set.- Returns:
- This builder for chaining.
-
getCondition
Output only. The condition of the product as provided by the merchant.
optional .google.ads.googleads.v18.enums.ProductConditionEnum.ProductCondition condition = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getConditionin interfaceShoppingProductOrBuilder- Returns:
- The condition.
-
setCondition
Output only. The condition of the product as provided by the merchant.
optional .google.ads.googleads.v18.enums.ProductConditionEnum.ProductCondition condition = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The condition to set.- Returns:
- This builder for chaining.
-
clearCondition
Output only. The condition of the product as provided by the merchant.
optional .google.ads.googleads.v18.enums.ProductConditionEnum.ProductCondition condition = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasAvailability
public boolean hasAvailability()Output only. The availability of the product as provided by the merchant.
optional .google.ads.googleads.v18.enums.ProductAvailabilityEnum.ProductAvailability availability = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasAvailabilityin interfaceShoppingProductOrBuilder- Returns:
- Whether the availability field is set.
-
getAvailabilityValue
public int getAvailabilityValue()Output only. The availability of the product as provided by the merchant.
optional .google.ads.googleads.v18.enums.ProductAvailabilityEnum.ProductAvailability availability = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAvailabilityValuein interfaceShoppingProductOrBuilder- Returns:
- The enum numeric value on the wire for availability.
-
setAvailabilityValue
Output only. The availability of the product as provided by the merchant.
optional .google.ads.googleads.v18.enums.ProductAvailabilityEnum.ProductAvailability availability = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for availability to set.- Returns:
- This builder for chaining.
-
getAvailability
Output only. The availability of the product as provided by the merchant.
optional .google.ads.googleads.v18.enums.ProductAvailabilityEnum.ProductAvailability availability = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAvailabilityin interfaceShoppingProductOrBuilder- Returns:
- The availability.
-
setAvailability
Output only. The availability of the product as provided by the merchant.
optional .google.ads.googleads.v18.enums.ProductAvailabilityEnum.ProductAvailability availability = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The availability to set.- Returns:
- This builder for chaining.
-
clearAvailability
Output only. The availability of the product as provided by the merchant.
optional .google.ads.googleads.v18.enums.ProductAvailabilityEnum.ProductAvailability availability = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getTargetCountriesList
public com.google.protobuf.ProtocolStringList getTargetCountriesList()Output only. Upper-case two-letter ISO 3166-1 code of the regions where the product is intended to be shown in ads.
repeated string target_countries = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTargetCountriesListin interfaceShoppingProductOrBuilder- Returns:
- A list containing the targetCountries.
-
getTargetCountriesCount
public int getTargetCountriesCount()Output only. Upper-case two-letter ISO 3166-1 code of the regions where the product is intended to be shown in ads.
repeated string target_countries = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTargetCountriesCountin interfaceShoppingProductOrBuilder- Returns:
- The count of targetCountries.
-
getTargetCountries
Output only. Upper-case two-letter ISO 3166-1 code of the regions where the product is intended to be shown in ads.
repeated string target_countries = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTargetCountriesin interfaceShoppingProductOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The targetCountries at the given index.
-
getTargetCountriesBytes
public com.google.protobuf.ByteString getTargetCountriesBytes(int index) Output only. Upper-case two-letter ISO 3166-1 code of the regions where the product is intended to be shown in ads.
repeated string target_countries = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTargetCountriesBytesin interfaceShoppingProductOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the targetCountries at the given index.
-
setTargetCountries
Output only. Upper-case two-letter ISO 3166-1 code of the regions where the product is intended to be shown in ads.
repeated string target_countries = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
index- The index to set the value at.value- The targetCountries to set.- Returns:
- This builder for chaining.
-
addTargetCountries
Output only. Upper-case two-letter ISO 3166-1 code of the regions where the product is intended to be shown in ads.
repeated string target_countries = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The targetCountries to add.- Returns:
- This builder for chaining.
-
addAllTargetCountries
Output only. Upper-case two-letter ISO 3166-1 code of the regions where the product is intended to be shown in ads.
repeated string target_countries = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
values- The targetCountries to add.- Returns:
- This builder for chaining.
-
clearTargetCountries
Output only. Upper-case two-letter ISO 3166-1 code of the regions where the product is intended to be shown in ads.
repeated string target_countries = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
addTargetCountriesBytes
Output only. Upper-case two-letter ISO 3166-1 code of the regions where the product is intended to be shown in ads.
repeated string target_countries = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes of the targetCountries to add.- Returns:
- This builder for chaining.
-
hasCustomAttribute0
public boolean hasCustomAttribute0()Output only. The custom attribute 0 of the product as provided by the merchant.
optional string custom_attribute0 = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCustomAttribute0in interfaceShoppingProductOrBuilder- Returns:
- Whether the customAttribute0 field is set.
-
getCustomAttribute0
Output only. The custom attribute 0 of the product as provided by the merchant.
optional string custom_attribute0 = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCustomAttribute0in interfaceShoppingProductOrBuilder- Returns:
- The customAttribute0.
-
getCustomAttribute0Bytes
public com.google.protobuf.ByteString getCustomAttribute0Bytes()Output only. The custom attribute 0 of the product as provided by the merchant.
optional string custom_attribute0 = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCustomAttribute0Bytesin interfaceShoppingProductOrBuilder- Returns:
- The bytes for customAttribute0.
-
setCustomAttribute0
Output only. The custom attribute 0 of the product as provided by the merchant.
optional string custom_attribute0 = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The customAttribute0 to set.- Returns:
- This builder for chaining.
-
clearCustomAttribute0
Output only. The custom attribute 0 of the product as provided by the merchant.
optional string custom_attribute0 = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setCustomAttribute0Bytes
Output only. The custom attribute 0 of the product as provided by the merchant.
optional string custom_attribute0 = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for customAttribute0 to set.- Returns:
- This builder for chaining.
-
hasCustomAttribute1
public boolean hasCustomAttribute1()Output only. The custom attribute 1 of the product as provided by the merchant.
optional string custom_attribute1 = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCustomAttribute1in interfaceShoppingProductOrBuilder- Returns:
- Whether the customAttribute1 field is set.
-
getCustomAttribute1
Output only. The custom attribute 1 of the product as provided by the merchant.
optional string custom_attribute1 = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCustomAttribute1in interfaceShoppingProductOrBuilder- Returns:
- The customAttribute1.
-
getCustomAttribute1Bytes
public com.google.protobuf.ByteString getCustomAttribute1Bytes()Output only. The custom attribute 1 of the product as provided by the merchant.
optional string custom_attribute1 = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCustomAttribute1Bytesin interfaceShoppingProductOrBuilder- Returns:
- The bytes for customAttribute1.
-
setCustomAttribute1
Output only. The custom attribute 1 of the product as provided by the merchant.
optional string custom_attribute1 = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The customAttribute1 to set.- Returns:
- This builder for chaining.
-
clearCustomAttribute1
Output only. The custom attribute 1 of the product as provided by the merchant.
optional string custom_attribute1 = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setCustomAttribute1Bytes
Output only. The custom attribute 1 of the product as provided by the merchant.
optional string custom_attribute1 = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for customAttribute1 to set.- Returns:
- This builder for chaining.
-
hasCustomAttribute2
public boolean hasCustomAttribute2()Output only. The custom attribute 2 of the product as provided by the merchant.
optional string custom_attribute2 = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCustomAttribute2in interfaceShoppingProductOrBuilder- Returns:
- Whether the customAttribute2 field is set.
-
getCustomAttribute2
Output only. The custom attribute 2 of the product as provided by the merchant.
optional string custom_attribute2 = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCustomAttribute2in interfaceShoppingProductOrBuilder- Returns:
- The customAttribute2.
-
getCustomAttribute2Bytes
public com.google.protobuf.ByteString getCustomAttribute2Bytes()Output only. The custom attribute 2 of the product as provided by the merchant.
optional string custom_attribute2 = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCustomAttribute2Bytesin interfaceShoppingProductOrBuilder- Returns:
- The bytes for customAttribute2.
-
setCustomAttribute2
Output only. The custom attribute 2 of the product as provided by the merchant.
optional string custom_attribute2 = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The customAttribute2 to set.- Returns:
- This builder for chaining.
-
clearCustomAttribute2
Output only. The custom attribute 2 of the product as provided by the merchant.
optional string custom_attribute2 = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setCustomAttribute2Bytes
Output only. The custom attribute 2 of the product as provided by the merchant.
optional string custom_attribute2 = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for customAttribute2 to set.- Returns:
- This builder for chaining.
-
hasCustomAttribute3
public boolean hasCustomAttribute3()Output only. The custom attribute 3 of the product as provided by the merchant.
optional string custom_attribute3 = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCustomAttribute3in interfaceShoppingProductOrBuilder- Returns:
- Whether the customAttribute3 field is set.
-
getCustomAttribute3
Output only. The custom attribute 3 of the product as provided by the merchant.
optional string custom_attribute3 = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCustomAttribute3in interfaceShoppingProductOrBuilder- Returns:
- The customAttribute3.
-
getCustomAttribute3Bytes
public com.google.protobuf.ByteString getCustomAttribute3Bytes()Output only. The custom attribute 3 of the product as provided by the merchant.
optional string custom_attribute3 = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCustomAttribute3Bytesin interfaceShoppingProductOrBuilder- Returns:
- The bytes for customAttribute3.
-
setCustomAttribute3
Output only. The custom attribute 3 of the product as provided by the merchant.
optional string custom_attribute3 = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The customAttribute3 to set.- Returns:
- This builder for chaining.
-
clearCustomAttribute3
Output only. The custom attribute 3 of the product as provided by the merchant.
optional string custom_attribute3 = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setCustomAttribute3Bytes
Output only. The custom attribute 3 of the product as provided by the merchant.
optional string custom_attribute3 = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for customAttribute3 to set.- Returns:
- This builder for chaining.
-
hasCustomAttribute4
public boolean hasCustomAttribute4()Output only. The custom attribute 4 of the product as provided by the merchant.
optional string custom_attribute4 = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCustomAttribute4in interfaceShoppingProductOrBuilder- Returns:
- Whether the customAttribute4 field is set.
-
getCustomAttribute4
Output only. The custom attribute 4 of the product as provided by the merchant.
optional string custom_attribute4 = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCustomAttribute4in interfaceShoppingProductOrBuilder- Returns:
- The customAttribute4.
-
getCustomAttribute4Bytes
public com.google.protobuf.ByteString getCustomAttribute4Bytes()Output only. The custom attribute 4 of the product as provided by the merchant.
optional string custom_attribute4 = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCustomAttribute4Bytesin interfaceShoppingProductOrBuilder- Returns:
- The bytes for customAttribute4.
-
setCustomAttribute4
Output only. The custom attribute 4 of the product as provided by the merchant.
optional string custom_attribute4 = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The customAttribute4 to set.- Returns:
- This builder for chaining.
-
clearCustomAttribute4
Output only. The custom attribute 4 of the product as provided by the merchant.
optional string custom_attribute4 = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setCustomAttribute4Bytes
Output only. The custom attribute 4 of the product as provided by the merchant.
optional string custom_attribute4 = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for customAttribute4 to set.- Returns:
- This builder for chaining.
-
hasCategoryLevel1
public boolean hasCategoryLevel1()Output only. The category level 1 of the product.
optional string category_level1 = 21 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
hasCategoryLevel1in interfaceShoppingProductOrBuilder- Returns:
- Whether the categoryLevel1 field is set.
-
getCategoryLevel1
Output only. The category level 1 of the product.
optional string category_level1 = 21 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getCategoryLevel1in interfaceShoppingProductOrBuilder- Returns:
- The categoryLevel1.
-
getCategoryLevel1Bytes
public com.google.protobuf.ByteString getCategoryLevel1Bytes()Output only. The category level 1 of the product.
optional string category_level1 = 21 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getCategoryLevel1Bytesin interfaceShoppingProductOrBuilder- Returns:
- The bytes for categoryLevel1.
-
setCategoryLevel1
Output only. The category level 1 of the product.
optional string category_level1 = 21 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The categoryLevel1 to set.- Returns:
- This builder for chaining.
-
clearCategoryLevel1
Output only. The category level 1 of the product.
optional string category_level1 = 21 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setCategoryLevel1Bytes
Output only. The category level 1 of the product.
optional string category_level1 = 21 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for categoryLevel1 to set.- Returns:
- This builder for chaining.
-
hasCategoryLevel2
public boolean hasCategoryLevel2()Output only. The category level 2 of the product.
optional string category_level2 = 22 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
hasCategoryLevel2in interfaceShoppingProductOrBuilder- Returns:
- Whether the categoryLevel2 field is set.
-
getCategoryLevel2
Output only. The category level 2 of the product.
optional string category_level2 = 22 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getCategoryLevel2in interfaceShoppingProductOrBuilder- Returns:
- The categoryLevel2.
-
getCategoryLevel2Bytes
public com.google.protobuf.ByteString getCategoryLevel2Bytes()Output only. The category level 2 of the product.
optional string category_level2 = 22 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getCategoryLevel2Bytesin interfaceShoppingProductOrBuilder- Returns:
- The bytes for categoryLevel2.
-
setCategoryLevel2
Output only. The category level 2 of the product.
optional string category_level2 = 22 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The categoryLevel2 to set.- Returns:
- This builder for chaining.
-
clearCategoryLevel2
Output only. The category level 2 of the product.
optional string category_level2 = 22 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setCategoryLevel2Bytes
Output only. The category level 2 of the product.
optional string category_level2 = 22 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for categoryLevel2 to set.- Returns:
- This builder for chaining.
-
hasCategoryLevel3
public boolean hasCategoryLevel3()Output only. The category level 3 of the product.
optional string category_level3 = 23 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
hasCategoryLevel3in interfaceShoppingProductOrBuilder- Returns:
- Whether the categoryLevel3 field is set.
-
getCategoryLevel3
Output only. The category level 3 of the product.
optional string category_level3 = 23 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getCategoryLevel3in interfaceShoppingProductOrBuilder- Returns:
- The categoryLevel3.
-
getCategoryLevel3Bytes
public com.google.protobuf.ByteString getCategoryLevel3Bytes()Output only. The category level 3 of the product.
optional string category_level3 = 23 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getCategoryLevel3Bytesin interfaceShoppingProductOrBuilder- Returns:
- The bytes for categoryLevel3.
-
setCategoryLevel3
Output only. The category level 3 of the product.
optional string category_level3 = 23 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The categoryLevel3 to set.- Returns:
- This builder for chaining.
-
clearCategoryLevel3
Output only. The category level 3 of the product.
optional string category_level3 = 23 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setCategoryLevel3Bytes
Output only. The category level 3 of the product.
optional string category_level3 = 23 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for categoryLevel3 to set.- Returns:
- This builder for chaining.
-
hasCategoryLevel4
public boolean hasCategoryLevel4()Output only. The category level 4 of the product.
optional string category_level4 = 24 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
hasCategoryLevel4in interfaceShoppingProductOrBuilder- Returns:
- Whether the categoryLevel4 field is set.
-
getCategoryLevel4
Output only. The category level 4 of the product.
optional string category_level4 = 24 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getCategoryLevel4in interfaceShoppingProductOrBuilder- Returns:
- The categoryLevel4.
-
getCategoryLevel4Bytes
public com.google.protobuf.ByteString getCategoryLevel4Bytes()Output only. The category level 4 of the product.
optional string category_level4 = 24 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getCategoryLevel4Bytesin interfaceShoppingProductOrBuilder- Returns:
- The bytes for categoryLevel4.
-
setCategoryLevel4
Output only. The category level 4 of the product.
optional string category_level4 = 24 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The categoryLevel4 to set.- Returns:
- This builder for chaining.
-
clearCategoryLevel4
Output only. The category level 4 of the product.
optional string category_level4 = 24 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setCategoryLevel4Bytes
Output only. The category level 4 of the product.
optional string category_level4 = 24 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for categoryLevel4 to set.- Returns:
- This builder for chaining.
-
hasCategoryLevel5
public boolean hasCategoryLevel5()Output only. The category level 5 of the product.
optional string category_level5 = 25 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
hasCategoryLevel5in interfaceShoppingProductOrBuilder- Returns:
- Whether the categoryLevel5 field is set.
-
getCategoryLevel5
Output only. The category level 5 of the product.
optional string category_level5 = 25 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getCategoryLevel5in interfaceShoppingProductOrBuilder- Returns:
- The categoryLevel5.
-
getCategoryLevel5Bytes
public com.google.protobuf.ByteString getCategoryLevel5Bytes()Output only. The category level 5 of the product.
optional string category_level5 = 25 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getCategoryLevel5Bytesin interfaceShoppingProductOrBuilder- Returns:
- The bytes for categoryLevel5.
-
setCategoryLevel5
Output only. The category level 5 of the product.
optional string category_level5 = 25 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The categoryLevel5 to set.- Returns:
- This builder for chaining.
-
clearCategoryLevel5
Output only. The category level 5 of the product.
optional string category_level5 = 25 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setCategoryLevel5Bytes
Output only. The category level 5 of the product.
optional string category_level5 = 25 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for categoryLevel5 to set.- Returns:
- This builder for chaining.
-
hasProductTypeLevel1
public boolean hasProductTypeLevel1()Output only. The product type level 1 as provided by the merchant.
optional string product_type_level1 = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasProductTypeLevel1in interfaceShoppingProductOrBuilder- Returns:
- Whether the productTypeLevel1 field is set.
-
getProductTypeLevel1
Output only. The product type level 1 as provided by the merchant.
optional string product_type_level1 = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProductTypeLevel1in interfaceShoppingProductOrBuilder- Returns:
- The productTypeLevel1.
-
getProductTypeLevel1Bytes
public com.google.protobuf.ByteString getProductTypeLevel1Bytes()Output only. The product type level 1 as provided by the merchant.
optional string product_type_level1 = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProductTypeLevel1Bytesin interfaceShoppingProductOrBuilder- Returns:
- The bytes for productTypeLevel1.
-
setProductTypeLevel1
Output only. The product type level 1 as provided by the merchant.
optional string product_type_level1 = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The productTypeLevel1 to set.- Returns:
- This builder for chaining.
-
clearProductTypeLevel1
Output only. The product type level 1 as provided by the merchant.
optional string product_type_level1 = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setProductTypeLevel1Bytes
Output only. The product type level 1 as provided by the merchant.
optional string product_type_level1 = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for productTypeLevel1 to set.- Returns:
- This builder for chaining.
-
hasProductTypeLevel2
public boolean hasProductTypeLevel2()Output only. The product type level 2 as provided by the merchant.
optional string product_type_level2 = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasProductTypeLevel2in interfaceShoppingProductOrBuilder- Returns:
- Whether the productTypeLevel2 field is set.
-
getProductTypeLevel2
Output only. The product type level 2 as provided by the merchant.
optional string product_type_level2 = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProductTypeLevel2in interfaceShoppingProductOrBuilder- Returns:
- The productTypeLevel2.
-
getProductTypeLevel2Bytes
public com.google.protobuf.ByteString getProductTypeLevel2Bytes()Output only. The product type level 2 as provided by the merchant.
optional string product_type_level2 = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProductTypeLevel2Bytesin interfaceShoppingProductOrBuilder- Returns:
- The bytes for productTypeLevel2.
-
setProductTypeLevel2
Output only. The product type level 2 as provided by the merchant.
optional string product_type_level2 = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The productTypeLevel2 to set.- Returns:
- This builder for chaining.
-
clearProductTypeLevel2
Output only. The product type level 2 as provided by the merchant.
optional string product_type_level2 = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setProductTypeLevel2Bytes
Output only. The product type level 2 as provided by the merchant.
optional string product_type_level2 = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for productTypeLevel2 to set.- Returns:
- This builder for chaining.
-
hasProductTypeLevel3
public boolean hasProductTypeLevel3()Output only. The product type level 3 as provided by the merchant.
optional string product_type_level3 = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasProductTypeLevel3in interfaceShoppingProductOrBuilder- Returns:
- Whether the productTypeLevel3 field is set.
-
getProductTypeLevel3
Output only. The product type level 3 as provided by the merchant.
optional string product_type_level3 = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProductTypeLevel3in interfaceShoppingProductOrBuilder- Returns:
- The productTypeLevel3.
-
getProductTypeLevel3Bytes
public com.google.protobuf.ByteString getProductTypeLevel3Bytes()Output only. The product type level 3 as provided by the merchant.
optional string product_type_level3 = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProductTypeLevel3Bytesin interfaceShoppingProductOrBuilder- Returns:
- The bytes for productTypeLevel3.
-
setProductTypeLevel3
Output only. The product type level 3 as provided by the merchant.
optional string product_type_level3 = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The productTypeLevel3 to set.- Returns:
- This builder for chaining.
-
clearProductTypeLevel3
Output only. The product type level 3 as provided by the merchant.
optional string product_type_level3 = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setProductTypeLevel3Bytes
Output only. The product type level 3 as provided by the merchant.
optional string product_type_level3 = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for productTypeLevel3 to set.- Returns:
- This builder for chaining.
-
hasProductTypeLevel4
public boolean hasProductTypeLevel4()Output only. The product type level 4 as provided by the merchant.
optional string product_type_level4 = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasProductTypeLevel4in interfaceShoppingProductOrBuilder- Returns:
- Whether the productTypeLevel4 field is set.
-
getProductTypeLevel4
Output only. The product type level 4 as provided by the merchant.
optional string product_type_level4 = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProductTypeLevel4in interfaceShoppingProductOrBuilder- Returns:
- The productTypeLevel4.
-
getProductTypeLevel4Bytes
public com.google.protobuf.ByteString getProductTypeLevel4Bytes()Output only. The product type level 4 as provided by the merchant.
optional string product_type_level4 = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProductTypeLevel4Bytesin interfaceShoppingProductOrBuilder- Returns:
- The bytes for productTypeLevel4.
-
setProductTypeLevel4
Output only. The product type level 4 as provided by the merchant.
optional string product_type_level4 = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The productTypeLevel4 to set.- Returns:
- This builder for chaining.
-
clearProductTypeLevel4
Output only. The product type level 4 as provided by the merchant.
optional string product_type_level4 = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setProductTypeLevel4Bytes
Output only. The product type level 4 as provided by the merchant.
optional string product_type_level4 = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for productTypeLevel4 to set.- Returns:
- This builder for chaining.
-
hasProductTypeLevel5
public boolean hasProductTypeLevel5()Output only. The product type level 5 as provided by the merchant.
optional string product_type_level5 = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasProductTypeLevel5in interfaceShoppingProductOrBuilder- Returns:
- Whether the productTypeLevel5 field is set.
-
getProductTypeLevel5
Output only. The product type level 5 as provided by the merchant.
optional string product_type_level5 = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProductTypeLevel5in interfaceShoppingProductOrBuilder- Returns:
- The productTypeLevel5.
-
getProductTypeLevel5Bytes
public com.google.protobuf.ByteString getProductTypeLevel5Bytes()Output only. The product type level 5 as provided by the merchant.
optional string product_type_level5 = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProductTypeLevel5Bytesin interfaceShoppingProductOrBuilder- Returns:
- The bytes for productTypeLevel5.
-
setProductTypeLevel5
Output only. The product type level 5 as provided by the merchant.
optional string product_type_level5 = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The productTypeLevel5 to set.- Returns:
- This builder for chaining.
-
clearProductTypeLevel5
Output only. The product type level 5 as provided by the merchant.
optional string product_type_level5 = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setProductTypeLevel5Bytes
Output only. The product type level 5 as provided by the merchant.
optional string product_type_level5 = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for productTypeLevel5 to set.- Returns:
- This builder for chaining.
-
hasEffectiveMaxCpcMicros
public boolean hasEffectiveMaxCpcMicros()Output only. The effective maximum cost-per-click (effective max. CPC) of the product. This field is available only if the query specifies the campaign or ad group scope, and if the campaign uses manual bidding. The value is the highest bid set for the product in product groups across all enabled ad groups. It represents the most you're willing to pay for a click on the product. This field can take up to 24 hours to update.
optional int64 effective_max_cpc_micros = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasEffectiveMaxCpcMicrosin interfaceShoppingProductOrBuilder- Returns:
- Whether the effectiveMaxCpcMicros field is set.
-
getEffectiveMaxCpcMicros
public long getEffectiveMaxCpcMicros()Output only. The effective maximum cost-per-click (effective max. CPC) of the product. This field is available only if the query specifies the campaign or ad group scope, and if the campaign uses manual bidding. The value is the highest bid set for the product in product groups across all enabled ad groups. It represents the most you're willing to pay for a click on the product. This field can take up to 24 hours to update.
optional int64 effective_max_cpc_micros = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEffectiveMaxCpcMicrosin interfaceShoppingProductOrBuilder- Returns:
- The effectiveMaxCpcMicros.
-
setEffectiveMaxCpcMicros
Output only. The effective maximum cost-per-click (effective max. CPC) of the product. This field is available only if the query specifies the campaign or ad group scope, and if the campaign uses manual bidding. The value is the highest bid set for the product in product groups across all enabled ad groups. It represents the most you're willing to pay for a click on the product. This field can take up to 24 hours to update.
optional int64 effective_max_cpc_micros = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The effectiveMaxCpcMicros to set.- Returns:
- This builder for chaining.
-
clearEffectiveMaxCpcMicros
Output only. The effective maximum cost-per-click (effective max. CPC) of the product. This field is available only if the query specifies the campaign or ad group scope, and if the campaign uses manual bidding. The value is the highest bid set for the product in product groups across all enabled ad groups. It represents the most you're willing to pay for a click on the product. This field can take up to 24 hours to update.
optional int64 effective_max_cpc_micros = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getStatusValue
public int getStatusValue()Output only. The status that indicates whether the product can show in ads. The value of this field is restricted to the scope specified in the query, see the documentation of the resource. This field can take up to 24 hours to update.
.google.ads.googleads.v18.enums.ProductStatusEnum.ProductStatus status = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusValuein interfaceShoppingProductOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
setStatusValue
Output only. The status that indicates whether the product can show in ads. The value of this field is restricted to the scope specified in the query, see the documentation of the resource. This field can take up to 24 hours to update.
.google.ads.googleads.v18.enums.ProductStatusEnum.ProductStatus status = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for status to set.- Returns:
- This builder for chaining.
-
getStatus
Output only. The status that indicates whether the product can show in ads. The value of this field is restricted to the scope specified in the query, see the documentation of the resource. This field can take up to 24 hours to update.
.google.ads.googleads.v18.enums.ProductStatusEnum.ProductStatus status = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusin interfaceShoppingProductOrBuilder- Returns:
- The status.
-
setStatus
Output only. The status that indicates whether the product can show in ads. The value of this field is restricted to the scope specified in the query, see the documentation of the resource. This field can take up to 24 hours to update.
.google.ads.googleads.v18.enums.ProductStatusEnum.ProductStatus status = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
Output only. The status that indicates whether the product can show in ads. The value of this field is restricted to the scope specified in the query, see the documentation of the resource. This field can take up to 24 hours to update.
.google.ads.googleads.v18.enums.ProductStatusEnum.ProductStatus status = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getIssuesList
Output only. The list of issues affecting whether the product can show in ads. The value of this field is restricted to the scope specified in the query, see the documentation of the resource. This field can take up to 24 hours to update.
repeated .google.ads.googleads.v18.resources.ShoppingProduct.ProductIssue issues = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIssuesListin interfaceShoppingProductOrBuilder
-
getIssuesCount
public int getIssuesCount()Output only. The list of issues affecting whether the product can show in ads. The value of this field is restricted to the scope specified in the query, see the documentation of the resource. This field can take up to 24 hours to update.
repeated .google.ads.googleads.v18.resources.ShoppingProduct.ProductIssue issues = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIssuesCountin interfaceShoppingProductOrBuilder
-
getIssues
Output only. The list of issues affecting whether the product can show in ads. The value of this field is restricted to the scope specified in the query, see the documentation of the resource. This field can take up to 24 hours to update.
repeated .google.ads.googleads.v18.resources.ShoppingProduct.ProductIssue issues = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIssuesin interfaceShoppingProductOrBuilder
-
setIssues
Output only. The list of issues affecting whether the product can show in ads. The value of this field is restricted to the scope specified in the query, see the documentation of the resource. This field can take up to 24 hours to update.
repeated .google.ads.googleads.v18.resources.ShoppingProduct.ProductIssue issues = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setIssues
public ShoppingProduct.Builder setIssues(int index, ShoppingProduct.ProductIssue.Builder builderForValue) Output only. The list of issues affecting whether the product can show in ads. The value of this field is restricted to the scope specified in the query, see the documentation of the resource. This field can take up to 24 hours to update.
repeated .google.ads.googleads.v18.resources.ShoppingProduct.ProductIssue issues = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addIssues
Output only. The list of issues affecting whether the product can show in ads. The value of this field is restricted to the scope specified in the query, see the documentation of the resource. This field can take up to 24 hours to update.
repeated .google.ads.googleads.v18.resources.ShoppingProduct.ProductIssue issues = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addIssues
Output only. The list of issues affecting whether the product can show in ads. The value of this field is restricted to the scope specified in the query, see the documentation of the resource. This field can take up to 24 hours to update.
repeated .google.ads.googleads.v18.resources.ShoppingProduct.ProductIssue issues = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addIssues
Output only. The list of issues affecting whether the product can show in ads. The value of this field is restricted to the scope specified in the query, see the documentation of the resource. This field can take up to 24 hours to update.
repeated .google.ads.googleads.v18.resources.ShoppingProduct.ProductIssue issues = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addIssues
public ShoppingProduct.Builder addIssues(int index, ShoppingProduct.ProductIssue.Builder builderForValue) Output only. The list of issues affecting whether the product can show in ads. The value of this field is restricted to the scope specified in the query, see the documentation of the resource. This field can take up to 24 hours to update.
repeated .google.ads.googleads.v18.resources.ShoppingProduct.ProductIssue issues = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addAllIssues
public ShoppingProduct.Builder addAllIssues(Iterable<? extends ShoppingProduct.ProductIssue> values) Output only. The list of issues affecting whether the product can show in ads. The value of this field is restricted to the scope specified in the query, see the documentation of the resource. This field can take up to 24 hours to update.
repeated .google.ads.googleads.v18.resources.ShoppingProduct.ProductIssue issues = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearIssues
Output only. The list of issues affecting whether the product can show in ads. The value of this field is restricted to the scope specified in the query, see the documentation of the resource. This field can take up to 24 hours to update.
repeated .google.ads.googleads.v18.resources.ShoppingProduct.ProductIssue issues = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
removeIssues
Output only. The list of issues affecting whether the product can show in ads. The value of this field is restricted to the scope specified in the query, see the documentation of the resource. This field can take up to 24 hours to update.
repeated .google.ads.googleads.v18.resources.ShoppingProduct.ProductIssue issues = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getIssuesBuilder
Output only. The list of issues affecting whether the product can show in ads. The value of this field is restricted to the scope specified in the query, see the documentation of the resource. This field can take up to 24 hours to update.
repeated .google.ads.googleads.v18.resources.ShoppingProduct.ProductIssue issues = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getIssuesOrBuilder
Output only. The list of issues affecting whether the product can show in ads. The value of this field is restricted to the scope specified in the query, see the documentation of the resource. This field can take up to 24 hours to update.
repeated .google.ads.googleads.v18.resources.ShoppingProduct.ProductIssue issues = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIssuesOrBuilderin interfaceShoppingProductOrBuilder
-
getIssuesOrBuilderList
Output only. The list of issues affecting whether the product can show in ads. The value of this field is restricted to the scope specified in the query, see the documentation of the resource. This field can take up to 24 hours to update.
repeated .google.ads.googleads.v18.resources.ShoppingProduct.ProductIssue issues = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIssuesOrBuilderListin interfaceShoppingProductOrBuilder
-
addIssuesBuilder
Output only. The list of issues affecting whether the product can show in ads. The value of this field is restricted to the scope specified in the query, see the documentation of the resource. This field can take up to 24 hours to update.
repeated .google.ads.googleads.v18.resources.ShoppingProduct.ProductIssue issues = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addIssuesBuilder
Output only. The list of issues affecting whether the product can show in ads. The value of this field is restricted to the scope specified in the query, see the documentation of the resource. This field can take up to 24 hours to update.
repeated .google.ads.googleads.v18.resources.ShoppingProduct.ProductIssue issues = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getIssuesBuilderList
Output only. The list of issues affecting whether the product can show in ads. The value of this field is restricted to the scope specified in the query, see the documentation of the resource. This field can take up to 24 hours to update.
repeated .google.ads.googleads.v18.resources.ShoppingProduct.ProductIssue issues = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasCampaign
public boolean hasCampaign()Output only. A campaign that includes the product. This field is selectable only in the campaign scope, which requires an equality filter on `campaign`.
optional string campaign = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
hasCampaignin interfaceShoppingProductOrBuilder- Returns:
- Whether the campaign field is set.
-
getCampaign
Output only. A campaign that includes the product. This field is selectable only in the campaign scope, which requires an equality filter on `campaign`.
optional string campaign = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getCampaignin interfaceShoppingProductOrBuilder- Returns:
- The campaign.
-
getCampaignBytes
public com.google.protobuf.ByteString getCampaignBytes()Output only. A campaign that includes the product. This field is selectable only in the campaign scope, which requires an equality filter on `campaign`.
optional string campaign = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getCampaignBytesin interfaceShoppingProductOrBuilder- Returns:
- The bytes for campaign.
-
setCampaign
Output only. A campaign that includes the product. This field is selectable only in the campaign scope, which requires an equality filter on `campaign`.
optional string campaign = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The campaign to set.- Returns:
- This builder for chaining.
-
clearCampaign
Output only. A campaign that includes the product. This field is selectable only in the campaign scope, which requires an equality filter on `campaign`.
optional string campaign = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setCampaignBytes
Output only. A campaign that includes the product. This field is selectable only in the campaign scope, which requires an equality filter on `campaign`.
optional string campaign = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for campaign to set.- Returns:
- This builder for chaining.
-
hasAdGroup
public boolean hasAdGroup()Output only. An ad group of a campaign that includes the product. This field is selectable only in the ad group scope, which requires an equality filter on `campaign` and `ad_group`.
optional string ad_group = 35 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
hasAdGroupin interfaceShoppingProductOrBuilder- Returns:
- Whether the adGroup field is set.
-
getAdGroup
Output only. An ad group of a campaign that includes the product. This field is selectable only in the ad group scope, which requires an equality filter on `campaign` and `ad_group`.
optional string ad_group = 35 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getAdGroupin interfaceShoppingProductOrBuilder- Returns:
- The adGroup.
-
getAdGroupBytes
public com.google.protobuf.ByteString getAdGroupBytes()Output only. An ad group of a campaign that includes the product. This field is selectable only in the ad group scope, which requires an equality filter on `campaign` and `ad_group`.
optional string ad_group = 35 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getAdGroupBytesin interfaceShoppingProductOrBuilder- Returns:
- The bytes for adGroup.
-
setAdGroup
Output only. An ad group of a campaign that includes the product. This field is selectable only in the ad group scope, which requires an equality filter on `campaign` and `ad_group`.
optional string ad_group = 35 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The adGroup to set.- Returns:
- This builder for chaining.
-
clearAdGroup
Output only. An ad group of a campaign that includes the product. This field is selectable only in the ad group scope, which requires an equality filter on `campaign` and `ad_group`.
optional string ad_group = 35 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setAdGroupBytes
Output only. An ad group of a campaign that includes the product. This field is selectable only in the ad group scope, which requires an equality filter on `campaign` and `ad_group`.
optional string ad_group = 35 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for adGroup to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ShoppingProduct.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ShoppingProduct.Builder>
-
mergeUnknownFields
public final ShoppingProduct.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ShoppingProduct.Builder>
-