com.google.ads.googleads.v17.common.PromotionFeedItemOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of google-ads-stubs-v17 Show documentation
Show all versions of google-ads-stubs-v17 Show documentation
Stubs for GAAPI version google-ads-stubs-v17
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v17/common/extensions.proto
// Protobuf Java Version: 3.25.3
package com.google.ads.googleads.v17.common;
public interface PromotionFeedItemOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.ads.googleads.v17.common.PromotionFeedItem)
com.google.protobuf.MessageOrBuilder {
/**
*
* A freeform description of what the promotion is targeting.
* This field is required.
*
*
* optional string promotion_target = 16;
* @return Whether the promotionTarget field is set.
*/
boolean hasPromotionTarget();
/**
*
* A freeform description of what the promotion is targeting.
* This field is required.
*
*
* optional string promotion_target = 16;
* @return The promotionTarget.
*/
java.lang.String getPromotionTarget();
/**
*
* A freeform description of what the promotion is targeting.
* This field is required.
*
*
* optional string promotion_target = 16;
* @return The bytes for promotionTarget.
*/
com.google.protobuf.ByteString
getPromotionTargetBytes();
/**
*
* Enum that modifies the qualification of the discount.
*
*
* .google.ads.googleads.v17.enums.PromotionExtensionDiscountModifierEnum.PromotionExtensionDiscountModifier discount_modifier = 2;
* @return The enum numeric value on the wire for discountModifier.
*/
int getDiscountModifierValue();
/**
*
* Enum that modifies the qualification of the discount.
*
*
* .google.ads.googleads.v17.enums.PromotionExtensionDiscountModifierEnum.PromotionExtensionDiscountModifier discount_modifier = 2;
* @return The discountModifier.
*/
com.google.ads.googleads.v17.enums.PromotionExtensionDiscountModifierEnum.PromotionExtensionDiscountModifier getDiscountModifier();
/**
*
* Start date of when the promotion is eligible to be redeemed.
*
*
* optional string promotion_start_date = 19;
* @return Whether the promotionStartDate field is set.
*/
boolean hasPromotionStartDate();
/**
*
* Start date of when the promotion is eligible to be redeemed.
*
*
* optional string promotion_start_date = 19;
* @return The promotionStartDate.
*/
java.lang.String getPromotionStartDate();
/**
*
* Start date of when the promotion is eligible to be redeemed.
*
*
* optional string promotion_start_date = 19;
* @return The bytes for promotionStartDate.
*/
com.google.protobuf.ByteString
getPromotionStartDateBytes();
/**
*
* Last date when the promotion is eligible to be redeemed.
*
*
* optional string promotion_end_date = 20;
* @return Whether the promotionEndDate field is set.
*/
boolean hasPromotionEndDate();
/**
*
* Last date when the promotion is eligible to be redeemed.
*
*
* optional string promotion_end_date = 20;
* @return The promotionEndDate.
*/
java.lang.String getPromotionEndDate();
/**
*
* Last date when the promotion is eligible to be redeemed.
*
*
* optional string promotion_end_date = 20;
* @return The bytes for promotionEndDate.
*/
com.google.protobuf.ByteString
getPromotionEndDateBytes();
/**
*
* 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.v17.enums.PromotionExtensionOccasionEnum.PromotionExtensionOccasion occasion = 9;
* @return The enum numeric value on the wire for occasion.
*/
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.v17.enums.PromotionExtensionOccasionEnum.PromotionExtensionOccasion occasion = 9;
* @return The occasion.
*/
com.google.ads.googleads.v17.enums.PromotionExtensionOccasionEnum.PromotionExtensionOccasion getOccasion();
/**
*
* A list of possible final URLs after all cross domain redirects.
* This field is required.
*
*
* repeated string final_urls = 21;
* @return A list containing the finalUrls.
*/
java.util.List
getFinalUrlsList();
/**
*
* A list of possible final URLs after all cross domain redirects.
* This field is required.
*
*
* repeated string final_urls = 21;
* @return The count of finalUrls.
*/
int getFinalUrlsCount();
/**
*
* A list of possible final URLs after all cross domain redirects.
* This field is required.
*
*
* repeated string final_urls = 21;
* @param index The index of the element to return.
* @return The finalUrls at the given index.
*/
java.lang.String getFinalUrls(int index);
/**
*
* A list of possible final URLs after all cross domain redirects.
* This field is required.
*
*
* repeated string final_urls = 21;
* @param index The index of the value to return.
* @return The bytes of the finalUrls at the given index.
*/
com.google.protobuf.ByteString
getFinalUrlsBytes(int index);
/**
*
* A list of possible final mobile URLs after all cross domain redirects.
*
*
* repeated string final_mobile_urls = 22;
* @return A list containing the finalMobileUrls.
*/
java.util.List
getFinalMobileUrlsList();
/**
*
* A list of possible final mobile URLs after all cross domain redirects.
*
*
* repeated string final_mobile_urls = 22;
* @return The count of finalMobileUrls.
*/
int getFinalMobileUrlsCount();
/**
*
* A list of possible final mobile URLs after all cross domain redirects.
*
*
* repeated string final_mobile_urls = 22;
* @param index The index of the element to return.
* @return The finalMobileUrls at the given index.
*/
java.lang.String getFinalMobileUrls(int index);
/**
*
* A list of possible final mobile URLs after all cross domain redirects.
*
*
* repeated string final_mobile_urls = 22;
* @param index The index of the value to return.
* @return The bytes of the finalMobileUrls at the given index.
*/
com.google.protobuf.ByteString
getFinalMobileUrlsBytes(int index);
/**
*
* URL template for constructing a tracking URL.
*
*
* optional string tracking_url_template = 23;
* @return Whether the trackingUrlTemplate field is set.
*/
boolean hasTrackingUrlTemplate();
/**
*
* URL template for constructing a tracking URL.
*
*
* optional string tracking_url_template = 23;
* @return The trackingUrlTemplate.
*/
java.lang.String getTrackingUrlTemplate();
/**
*
* URL template for constructing a tracking URL.
*
*
* optional string tracking_url_template = 23;
* @return The bytes for trackingUrlTemplate.
*/
com.google.protobuf.ByteString
getTrackingUrlTemplateBytes();
/**
*
* 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.v17.common.CustomParameter url_custom_parameters = 13;
*/
java.util.List
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.v17.common.CustomParameter url_custom_parameters = 13;
*/
com.google.ads.googleads.v17.common.CustomParameter 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.
*
*
* repeated .google.ads.googleads.v17.common.CustomParameter url_custom_parameters = 13;
*/
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.v17.common.CustomParameter url_custom_parameters = 13;
*/
java.util.List extends com.google.ads.googleads.v17.common.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.v17.common.CustomParameter url_custom_parameters = 13;
*/
com.google.ads.googleads.v17.common.CustomParameterOrBuilder getUrlCustomParametersOrBuilder(
int index);
/**
*
* URL template for appending params to landing page URLs served with parallel
* tracking.
*
*
* optional string final_url_suffix = 24;
* @return Whether the finalUrlSuffix field is set.
*/
boolean hasFinalUrlSuffix();
/**
*
* URL template for appending params to landing page URLs served with parallel
* tracking.
*
*
* optional string final_url_suffix = 24;
* @return The finalUrlSuffix.
*/
java.lang.String getFinalUrlSuffix();
/**
*
* URL template for appending params to landing page URLs served with parallel
* tracking.
*
*
* optional string final_url_suffix = 24;
* @return The bytes for finalUrlSuffix.
*/
com.google.protobuf.ByteString
getFinalUrlSuffixBytes();
/**
*
* The language of the promotion.
* Represented as BCP 47 language tag.
*
*
* optional string language_code = 25;
* @return Whether the languageCode field is set.
*/
boolean hasLanguageCode();
/**
*
* The language of the promotion.
* Represented as BCP 47 language tag.
*
*
* optional string language_code = 25;
* @return The languageCode.
*/
java.lang.String getLanguageCode();
/**
*
* The language of the promotion.
* Represented as BCP 47 language tag.
*
*
* optional string language_code = 25;
* @return The bytes for languageCode.
*/
com.google.protobuf.ByteString
getLanguageCodeBytes();
/**
*
* 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;
* @return Whether the percentOff field is set.
*/
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;
* @return The percentOff.
*/
long getPercentOff();
/**
*
* Money amount off for discount in the promotion.
* Either this or percent_off is required.
*
*
* .google.ads.googleads.v17.common.Money money_amount_off = 4;
* @return Whether the moneyAmountOff field is set.
*/
boolean hasMoneyAmountOff();
/**
*
* Money amount off for discount in the promotion.
* Either this or percent_off is required.
*
*
* .google.ads.googleads.v17.common.Money money_amount_off = 4;
* @return The moneyAmountOff.
*/
com.google.ads.googleads.v17.common.Money getMoneyAmountOff();
/**
*
* Money amount off for discount in the promotion.
* Either this or percent_off is required.
*
*
* .google.ads.googleads.v17.common.Money money_amount_off = 4;
*/
com.google.ads.googleads.v17.common.MoneyOrBuilder getMoneyAmountOffOrBuilder();
/**
*
* A code the user should use in order to be eligible for the promotion.
*
*
* string promotion_code = 18;
* @return Whether the promotionCode field is set.
*/
boolean hasPromotionCode();
/**
*
* A code the user should use in order to be eligible for the promotion.
*
*
* string promotion_code = 18;
* @return The promotionCode.
*/
java.lang.String getPromotionCode();
/**
*
* A code the user should use in order to be eligible for the promotion.
*
*
* string promotion_code = 18;
* @return The bytes for promotionCode.
*/
com.google.protobuf.ByteString
getPromotionCodeBytes();
/**
*
* The amount the total order needs to be for the user to be eligible for
* the promotion.
*
*
* .google.ads.googleads.v17.common.Money orders_over_amount = 6;
* @return Whether the ordersOverAmount field is set.
*/
boolean hasOrdersOverAmount();
/**
*
* The amount the total order needs to be for the user to be eligible for
* the promotion.
*
*
* .google.ads.googleads.v17.common.Money orders_over_amount = 6;
* @return The ordersOverAmount.
*/
com.google.ads.googleads.v17.common.Money getOrdersOverAmount();
/**
*
* The amount the total order needs to be for the user to be eligible for
* the promotion.
*
*
* .google.ads.googleads.v17.common.Money orders_over_amount = 6;
*/
com.google.ads.googleads.v17.common.MoneyOrBuilder getOrdersOverAmountOrBuilder();
com.google.ads.googleads.v17.common.PromotionFeedItem.DiscountTypeCase getDiscountTypeCase();
com.google.ads.googleads.v17.common.PromotionFeedItem.PromotionTriggerCase getPromotionTriggerCase();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy