Class ShoppingProduct
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.resources.ShoppingProduct
- All Implemented Interfaces:
ShoppingProductOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class ShoppingProduct
extends com.google.protobuf.GeneratedMessageV3
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA shopping product from Google Merchant Center that can be advertised by campaigns.static final classAn issue affecting whether a product can show in ads.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOutput 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 ShoppingProductstatic final com.google.protobuf.Descriptors.DescriptorlongOutput only.Output only.com.google.protobuf.ByteStringOutput only.getIssues(int index) 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.com.google.protobuf.Parser<ShoppingProduct>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.intOutput 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.inthashCode()booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanhasTitle()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic ShoppingProduct.Builderstatic ShoppingProduct.BuildernewBuilder(ShoppingProduct prototype) protected ShoppingProduct.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static ShoppingProductparseDelimitedFrom(InputStream input) static ShoppingProductparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ShoppingProductparseFrom(byte[] data) static ShoppingProductparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ShoppingProductparseFrom(com.google.protobuf.ByteString data) static ShoppingProductparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ShoppingProductparseFrom(com.google.protobuf.CodedInputStream input) static ShoppingProductparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ShoppingProductparseFrom(InputStream input) static ShoppingProductparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ShoppingProductparseFrom(ByteBuffer data) static ShoppingProductparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ShoppingProduct>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
RESOURCE_NAME_FIELD_NUMBER
public static final int RESOURCE_NAME_FIELD_NUMBER- See Also:
-
MERCHANT_CENTER_ID_FIELD_NUMBER
public static final int MERCHANT_CENTER_ID_FIELD_NUMBER- See Also:
-
CHANNEL_FIELD_NUMBER
public static final int CHANNEL_FIELD_NUMBER- See Also:
-
LANGUAGE_CODE_FIELD_NUMBER
public static final int LANGUAGE_CODE_FIELD_NUMBER- See Also:
-
FEED_LABEL_FIELD_NUMBER
public static final int FEED_LABEL_FIELD_NUMBER- See Also:
-
ITEM_ID_FIELD_NUMBER
public static final int ITEM_ID_FIELD_NUMBER- See Also:
-
MULTI_CLIENT_ACCOUNT_ID_FIELD_NUMBER
public static final int MULTI_CLIENT_ACCOUNT_ID_FIELD_NUMBER- See Also:
-
TITLE_FIELD_NUMBER
public static final int TITLE_FIELD_NUMBER- See Also:
-
BRAND_FIELD_NUMBER
public static final int BRAND_FIELD_NUMBER- See Also:
-
PRICE_MICROS_FIELD_NUMBER
public static final int PRICE_MICROS_FIELD_NUMBER- See Also:
-
CURRENCY_CODE_FIELD_NUMBER
public static final int CURRENCY_CODE_FIELD_NUMBER- See Also:
-
CHANNEL_EXCLUSIVITY_FIELD_NUMBER
public static final int CHANNEL_EXCLUSIVITY_FIELD_NUMBER- See Also:
-
CONDITION_FIELD_NUMBER
public static final int CONDITION_FIELD_NUMBER- See Also:
-
AVAILABILITY_FIELD_NUMBER
public static final int AVAILABILITY_FIELD_NUMBER- See Also:
-
TARGET_COUNTRIES_FIELD_NUMBER
public static final int TARGET_COUNTRIES_FIELD_NUMBER- See Also:
-
CUSTOM_ATTRIBUTE0_FIELD_NUMBER
public static final int CUSTOM_ATTRIBUTE0_FIELD_NUMBER- See Also:
-
CUSTOM_ATTRIBUTE1_FIELD_NUMBER
public static final int CUSTOM_ATTRIBUTE1_FIELD_NUMBER- See Also:
-
CUSTOM_ATTRIBUTE2_FIELD_NUMBER
public static final int CUSTOM_ATTRIBUTE2_FIELD_NUMBER- See Also:
-
CUSTOM_ATTRIBUTE3_FIELD_NUMBER
public static final int CUSTOM_ATTRIBUTE3_FIELD_NUMBER- See Also:
-
CUSTOM_ATTRIBUTE4_FIELD_NUMBER
public static final int CUSTOM_ATTRIBUTE4_FIELD_NUMBER- See Also:
-
CATEGORY_LEVEL1_FIELD_NUMBER
public static final int CATEGORY_LEVEL1_FIELD_NUMBER- See Also:
-
CATEGORY_LEVEL2_FIELD_NUMBER
public static final int CATEGORY_LEVEL2_FIELD_NUMBER- See Also:
-
CATEGORY_LEVEL3_FIELD_NUMBER
public static final int CATEGORY_LEVEL3_FIELD_NUMBER- See Also:
-
CATEGORY_LEVEL4_FIELD_NUMBER
public static final int CATEGORY_LEVEL4_FIELD_NUMBER- See Also:
-
CATEGORY_LEVEL5_FIELD_NUMBER
public static final int CATEGORY_LEVEL5_FIELD_NUMBER- See Also:
-
PRODUCT_TYPE_LEVEL1_FIELD_NUMBER
public static final int PRODUCT_TYPE_LEVEL1_FIELD_NUMBER- See Also:
-
PRODUCT_TYPE_LEVEL2_FIELD_NUMBER
public static final int PRODUCT_TYPE_LEVEL2_FIELD_NUMBER- See Also:
-
PRODUCT_TYPE_LEVEL3_FIELD_NUMBER
public static final int PRODUCT_TYPE_LEVEL3_FIELD_NUMBER- See Also:
-
PRODUCT_TYPE_LEVEL4_FIELD_NUMBER
public static final int PRODUCT_TYPE_LEVEL4_FIELD_NUMBER- See Also:
-
PRODUCT_TYPE_LEVEL5_FIELD_NUMBER
public static final int PRODUCT_TYPE_LEVEL5_FIELD_NUMBER- See Also:
-
EFFECTIVE_MAX_CPC_MICROS_FIELD_NUMBER
public static final int EFFECTIVE_MAX_CPC_MICROS_FIELD_NUMBER- See Also:
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER- See Also:
-
ISSUES_FIELD_NUMBER
public static final int ISSUES_FIELD_NUMBER- See Also:
-
CAMPAIGN_FIELD_NUMBER
public static final int CAMPAIGN_FIELD_NUMBER- See Also:
-
AD_GROUP_FIELD_NUMBER
public static final int AD_GROUP_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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
-
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
-
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
-
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
-
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.
-
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.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ShoppingProduct parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ShoppingProduct parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ShoppingProduct parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ShoppingProduct parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ShoppingProduct parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ShoppingProduct parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ShoppingProduct parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ShoppingProduct parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ShoppingProduct parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ShoppingProduct parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ShoppingProduct.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-