Interface PromotionFeedItemOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PromotionFeedItem,PromotionFeedItem.Builder
public interface PromotionFeedItemOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionEnum that modifies the qualification of the discount.intEnum that modifies the qualification of the discount.getFinalMobileUrls(int index) A list of possible final mobile URLs after all cross domain redirects.com.google.protobuf.ByteStringgetFinalMobileUrlsBytes(int index) A list of possible final mobile URLs after all cross domain redirects.intA list of possible final mobile URLs after all cross domain redirects.A list of possible final mobile URLs after all cross domain redirects.getFinalUrls(int index) A list of possible final URLs after all cross domain redirects.com.google.protobuf.ByteStringgetFinalUrlsBytes(int index) A list of possible final URLs after all cross domain redirects.intA list of possible final URLs after all cross domain redirects.A list of possible final URLs after all cross domain redirects.URL template for appending params to landing page URLs served with parallel tracking.com.google.protobuf.ByteStringURL template for appending params to landing page URLs served with parallel tracking.The language of the promotion.com.google.protobuf.ByteStringThe language of the promotion.Money amount off for discount in the promotion.Money amount off for discount in the promotion.The occasion the promotion was intended for.intThe occasion the promotion was intended for.The amount the total order needs to be for the user to be eligible for the promotion.The amount the total order needs to be for the user to be eligible for the promotion.longPercentage off discount in the promotion in micros.A code the user should use in order to be eligible for the promotion.com.google.protobuf.ByteStringA code the user should use in order to be eligible for the promotion.Last date when the promotion is eligible to be redeemed.com.google.protobuf.ByteStringLast date when the promotion is eligible to be redeemed.Start date of when the promotion is eligible to be redeemed.com.google.protobuf.ByteStringStart date of when the promotion is eligible to be redeemed.A freeform description of what the promotion is targeting.com.google.protobuf.ByteStringA freeform description of what the promotion is targeting.URL template for constructing a tracking URL.com.google.protobuf.ByteStringURL template for constructing a tracking URL.getUrlCustomParameters(int index) A list of mappings to be used for substituting URL custom parameter tags in the tracking_url_template, final_urls, and/or final_mobile_urls.intA list of mappings to be used for substituting URL custom parameter tags in the tracking_url_template, final_urls, and/or final_mobile_urls.A list of mappings to be used for substituting URL custom parameter tags in the tracking_url_template, final_urls, and/or final_mobile_urls.getUrlCustomParametersOrBuilder(int index) A list of mappings to be used for substituting URL custom parameter tags in the tracking_url_template, final_urls, and/or final_mobile_urls.List<? extends CustomParameterOrBuilder>A list of mappings to be used for substituting URL custom parameter tags in the tracking_url_template, final_urls, and/or final_mobile_urls.booleanURL template for appending params to landing page URLs served with parallel tracking.booleanThe language of the promotion.booleanMoney amount off for discount in the promotion.booleanThe amount the total order needs to be for the user to be eligible for the promotion.booleanPercentage off discount in the promotion in micros.booleanA code the user should use in order to be eligible for the promotion.booleanLast date when the promotion is eligible to be redeemed.booleanStart date of when the promotion is eligible to be redeemed.booleanA freeform description of what the promotion is targeting.booleanURL template for constructing a tracking URL.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasPromotionTarget
boolean hasPromotionTarget()A freeform description of what the promotion is targeting. This field is required.
optional string promotion_target = 16;- Returns:
- Whether the promotionTarget field is set.
-
getPromotionTarget
String getPromotionTarget()A freeform description of what the promotion is targeting. This field is required.
optional string promotion_target = 16;- Returns:
- The promotionTarget.
-
getPromotionTargetBytes
com.google.protobuf.ByteString getPromotionTargetBytes()A freeform description of what the promotion is targeting. This field is required.
optional string promotion_target = 16;- Returns:
- The bytes for promotionTarget.
-
getDiscountModifierValue
int getDiscountModifierValue()Enum that modifies the qualification of the discount.
.google.ads.googleads.v18.enums.PromotionExtensionDiscountModifierEnum.PromotionExtensionDiscountModifier discount_modifier = 2;- Returns:
- The enum numeric value on the wire for discountModifier.
-
getDiscountModifier
PromotionExtensionDiscountModifierEnum.PromotionExtensionDiscountModifier getDiscountModifier()Enum that modifies the qualification of the discount.
.google.ads.googleads.v18.enums.PromotionExtensionDiscountModifierEnum.PromotionExtensionDiscountModifier discount_modifier = 2;- Returns:
- The discountModifier.
-
hasPromotionStartDate
boolean hasPromotionStartDate()Start date of when the promotion is eligible to be redeemed.
optional string promotion_start_date = 19;- Returns:
- Whether the promotionStartDate field is set.
-
getPromotionStartDate
String getPromotionStartDate()Start date of when the promotion is eligible to be redeemed.
optional string promotion_start_date = 19;- Returns:
- The promotionStartDate.
-
getPromotionStartDateBytes
com.google.protobuf.ByteString getPromotionStartDateBytes()Start date of when the promotion is eligible to be redeemed.
optional string promotion_start_date = 19;- Returns:
- The bytes for promotionStartDate.
-
hasPromotionEndDate
boolean hasPromotionEndDate()Last date when the promotion is eligible to be redeemed.
optional string promotion_end_date = 20;- Returns:
- Whether the promotionEndDate field is set.
-
getPromotionEndDate
String getPromotionEndDate()Last date when the promotion is eligible to be redeemed.
optional string promotion_end_date = 20;- Returns:
- The promotionEndDate.
-
getPromotionEndDateBytes
com.google.protobuf.ByteString getPromotionEndDateBytes()Last date when the promotion is eligible to be redeemed.
optional string promotion_end_date = 20;- Returns:
- The bytes for promotionEndDate.
-
getOccasionValue
int getOccasionValue()The occasion the promotion was intended for. If an occasion is set, the redemption window will need to fall within the date range associated with the occasion.
.google.ads.googleads.v18.enums.PromotionExtensionOccasionEnum.PromotionExtensionOccasion occasion = 9;- Returns:
- The enum numeric value on the wire for occasion.
-
getOccasion
The occasion the promotion was intended for. If an occasion is set, the redemption window will need to fall within the date range associated with the occasion.
.google.ads.googleads.v18.enums.PromotionExtensionOccasionEnum.PromotionExtensionOccasion occasion = 9;- Returns:
- The occasion.
-
getFinalUrlsList
A list of possible final URLs after all cross domain redirects. This field is required.
repeated string final_urls = 21;- Returns:
- A list containing the finalUrls.
-
getFinalUrlsCount
int getFinalUrlsCount()A list of possible final URLs after all cross domain redirects. This field is required.
repeated string final_urls = 21;- Returns:
- The count of finalUrls.
-
getFinalUrls
A list of possible final URLs after all cross domain redirects. This field is required.
repeated string final_urls = 21;- Parameters:
index- The index of the element to return.- Returns:
- The finalUrls at the given index.
-
getFinalUrlsBytes
com.google.protobuf.ByteString getFinalUrlsBytes(int index) A list of possible final URLs after all cross domain redirects. This field is required.
repeated string final_urls = 21;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the finalUrls at the given index.
-
getFinalMobileUrlsList
A list of possible final mobile URLs after all cross domain redirects.
repeated string final_mobile_urls = 22;- Returns:
- A list containing the finalMobileUrls.
-
getFinalMobileUrlsCount
int getFinalMobileUrlsCount()A list of possible final mobile URLs after all cross domain redirects.
repeated string final_mobile_urls = 22;- Returns:
- The count of finalMobileUrls.
-
getFinalMobileUrls
A list of possible final mobile URLs after all cross domain redirects.
repeated string final_mobile_urls = 22;- Parameters:
index- The index of the element to return.- Returns:
- The finalMobileUrls at the given index.
-
getFinalMobileUrlsBytes
com.google.protobuf.ByteString getFinalMobileUrlsBytes(int index) A list of possible final mobile URLs after all cross domain redirects.
repeated string final_mobile_urls = 22;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the finalMobileUrls at the given index.
-
hasTrackingUrlTemplate
boolean hasTrackingUrlTemplate()URL template for constructing a tracking URL.
optional string tracking_url_template = 23;- Returns:
- Whether the trackingUrlTemplate field is set.
-
getTrackingUrlTemplate
String getTrackingUrlTemplate()URL template for constructing a tracking URL.
optional string tracking_url_template = 23;- Returns:
- The trackingUrlTemplate.
-
getTrackingUrlTemplateBytes
com.google.protobuf.ByteString getTrackingUrlTemplateBytes()URL template for constructing a tracking URL.
optional string tracking_url_template = 23;- Returns:
- The bytes for trackingUrlTemplate.
-
getUrlCustomParametersList
List<CustomParameter> getUrlCustomParametersList()A list of mappings to be used for substituting URL custom parameter tags in the tracking_url_template, final_urls, and/or final_mobile_urls.
repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 13; -
getUrlCustomParameters
A list of mappings to be used for substituting URL custom parameter tags in the tracking_url_template, final_urls, and/or final_mobile_urls.
repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 13; -
getUrlCustomParametersCount
int getUrlCustomParametersCount()A list of mappings to be used for substituting URL custom parameter tags in the tracking_url_template, final_urls, and/or final_mobile_urls.
repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 13; -
getUrlCustomParametersOrBuilderList
List<? extends CustomParameterOrBuilder> getUrlCustomParametersOrBuilderList()A list of mappings to be used for substituting URL custom parameter tags in the tracking_url_template, final_urls, and/or final_mobile_urls.
repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 13; -
getUrlCustomParametersOrBuilder
A list of mappings to be used for substituting URL custom parameter tags in the tracking_url_template, final_urls, and/or final_mobile_urls.
repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 13; -
hasFinalUrlSuffix
boolean hasFinalUrlSuffix()URL template for appending params to landing page URLs served with parallel tracking.
optional string final_url_suffix = 24;- Returns:
- Whether the finalUrlSuffix field is set.
-
getFinalUrlSuffix
String getFinalUrlSuffix()URL template for appending params to landing page URLs served with parallel tracking.
optional string final_url_suffix = 24;- Returns:
- The finalUrlSuffix.
-
getFinalUrlSuffixBytes
com.google.protobuf.ByteString getFinalUrlSuffixBytes()URL template for appending params to landing page URLs served with parallel tracking.
optional string final_url_suffix = 24;- Returns:
- The bytes for finalUrlSuffix.
-
hasLanguageCode
boolean hasLanguageCode()The language of the promotion. Represented as BCP 47 language tag.
optional string language_code = 25;- Returns:
- Whether the languageCode field is set.
-
getLanguageCode
String getLanguageCode()The language of the promotion. Represented as BCP 47 language tag.
optional string language_code = 25;- Returns:
- The languageCode.
-
getLanguageCodeBytes
com.google.protobuf.ByteString getLanguageCodeBytes()The language of the promotion. Represented as BCP 47 language tag.
optional string language_code = 25;- Returns:
- The bytes for languageCode.
-
hasPercentOff
boolean hasPercentOff()Percentage off discount in the promotion in micros. One million is equivalent to one percent. Either this or money_off_amount is required.
int64 percent_off = 17;- Returns:
- Whether the percentOff field is set.
-
getPercentOff
long getPercentOff()Percentage off discount in the promotion in micros. One million is equivalent to one percent. Either this or money_off_amount is required.
int64 percent_off = 17;- Returns:
- The percentOff.
-
hasMoneyAmountOff
boolean hasMoneyAmountOff()Money amount off for discount in the promotion. Either this or percent_off is required.
.google.ads.googleads.v18.common.Money money_amount_off = 4;- Returns:
- Whether the moneyAmountOff field is set.
-
getMoneyAmountOff
Money getMoneyAmountOff()Money amount off for discount in the promotion. Either this or percent_off is required.
.google.ads.googleads.v18.common.Money money_amount_off = 4;- Returns:
- The moneyAmountOff.
-
getMoneyAmountOffOrBuilder
MoneyOrBuilder getMoneyAmountOffOrBuilder()Money amount off for discount in the promotion. Either this or percent_off is required.
.google.ads.googleads.v18.common.Money money_amount_off = 4; -
hasPromotionCode
boolean hasPromotionCode()A code the user should use in order to be eligible for the promotion.
string promotion_code = 18;- Returns:
- Whether the promotionCode field is set.
-
getPromotionCode
String getPromotionCode()A code the user should use in order to be eligible for the promotion.
string promotion_code = 18;- Returns:
- The promotionCode.
-
getPromotionCodeBytes
com.google.protobuf.ByteString getPromotionCodeBytes()A code the user should use in order to be eligible for the promotion.
string promotion_code = 18;- Returns:
- The bytes for promotionCode.
-
hasOrdersOverAmount
boolean hasOrdersOverAmount()The amount the total order needs to be for the user to be eligible for the promotion.
.google.ads.googleads.v18.common.Money orders_over_amount = 6;- Returns:
- Whether the ordersOverAmount field is set.
-
getOrdersOverAmount
Money getOrdersOverAmount()The amount the total order needs to be for the user to be eligible for the promotion.
.google.ads.googleads.v18.common.Money orders_over_amount = 6;- Returns:
- The ordersOverAmount.
-
getOrdersOverAmountOrBuilder
MoneyOrBuilder getOrdersOverAmountOrBuilder()The amount the total order needs to be for the user to be eligible for the promotion.
.google.ads.googleads.v18.common.Money orders_over_amount = 6; -
getDiscountTypeCase
PromotionFeedItem.DiscountTypeCase getDiscountTypeCase() -
getPromotionTriggerCase
PromotionFeedItem.PromotionTriggerCase getPromotionTriggerCase()
-