All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.ads.googleads.v17.common.PromotionAssetOrBuilder Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/ads/googleads/v17/common/asset_types.proto

// Protobuf Java Version: 3.25.3
package com.google.ads.googleads.v17.common;

public interface PromotionAssetOrBuilder extends
    // @@protoc_insertion_point(interface_extends:google.ads.googleads.v17.common.PromotionAsset)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   * Required. A freeform description of what the promotion is targeting.
   * 
* * string promotion_target = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The promotionTarget. */ java.lang.String getPromotionTarget(); /** *
   * Required. A freeform description of what the promotion is targeting.
   * 
* * string promotion_target = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for promotionTarget. */ com.google.protobuf.ByteString getPromotionTargetBytes(); /** *
   * A modifier for 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(); /** *
   * A modifier for 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, in yyyy-MM-dd
   * format.
   * 
* * string redemption_start_date = 7; * @return The redemptionStartDate. */ java.lang.String getRedemptionStartDate(); /** *
   * Start date of when the promotion is eligible to be redeemed, in yyyy-MM-dd
   * format.
   * 
* * string redemption_start_date = 7; * @return The bytes for redemptionStartDate. */ com.google.protobuf.ByteString getRedemptionStartDateBytes(); /** *
   * Last date of when the promotion is eligible to be redeemed, in yyyy-MM-dd
   * format.
   * 
* * string redemption_end_date = 8; * @return The redemptionEndDate. */ java.lang.String getRedemptionEndDate(); /** *
   * Last date of when the promotion is eligible to be redeemed, in yyyy-MM-dd
   * format.
   * 
* * string redemption_end_date = 8; * @return The bytes for redemptionEndDate. */ com.google.protobuf.ByteString getRedemptionEndDateBytes(); /** *
   * 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(); /** *
   * The language of the promotion.
   * Represented as BCP 47 language tag.
   * 
* * string language_code = 10; * @return The languageCode. */ java.lang.String getLanguageCode(); /** *
   * The language of the promotion.
   * Represented as BCP 47 language tag.
   * 
* * string language_code = 10; * @return The bytes for languageCode. */ com.google.protobuf.ByteString getLanguageCodeBytes(); /** *
   * Start date of when this asset is effective and can begin serving, in
   * yyyy-MM-dd format.
   * 
* * string start_date = 11; * @return The startDate. */ java.lang.String getStartDate(); /** *
   * Start date of when this asset is effective and can begin serving, in
   * yyyy-MM-dd format.
   * 
* * string start_date = 11; * @return The bytes for startDate. */ com.google.protobuf.ByteString getStartDateBytes(); /** *
   * Last date of when this asset is effective and still serving, in yyyy-MM-dd
   * format.
   * 
* * string end_date = 12; * @return The endDate. */ java.lang.String getEndDate(); /** *
   * Last date of when this asset is effective and still serving, in yyyy-MM-dd
   * format.
   * 
* * string end_date = 12; * @return The bytes for endDate. */ com.google.protobuf.ByteString getEndDateBytes(); /** *
   * List of non-overlapping schedules specifying all time intervals for which
   * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
   * total.
   * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 13; */ java.util.List getAdScheduleTargetsList(); /** *
   * List of non-overlapping schedules specifying all time intervals for which
   * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
   * total.
   * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 13; */ com.google.ads.googleads.v17.common.AdScheduleInfo getAdScheduleTargets(int index); /** *
   * List of non-overlapping schedules specifying all time intervals for which
   * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
   * total.
   * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 13; */ int getAdScheduleTargetsCount(); /** *
   * List of non-overlapping schedules specifying all time intervals for which
   * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
   * total.
   * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 13; */ java.util.List getAdScheduleTargetsOrBuilderList(); /** *
   * List of non-overlapping schedules specifying all time intervals for which
   * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
   * total.
   * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 13; */ com.google.ads.googleads.v17.common.AdScheduleInfoOrBuilder getAdScheduleTargetsOrBuilder( int index); /** *
   * Percentage off discount in the promotion. 1,000,000 = 100%.
   * Either this or money_amount_off is required.
   * 
* * int64 percent_off = 3; * @return Whether the percentOff field is set. */ boolean hasPercentOff(); /** *
   * Percentage off discount in the promotion. 1,000,000 = 100%.
   * Either this or money_amount_off is required.
   * 
* * int64 percent_off = 3; * @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 = 5; * @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 = 5; * @return The promotionCode. */ java.lang.String getPromotionCode(); /** *
   * A code the user should use in order to be eligible for the promotion.
   * 
* * string promotion_code = 5; * @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.PromotionAsset.DiscountTypeCase getDiscountTypeCase(); com.google.ads.googleads.v17.common.PromotionAsset.PromotionTriggerCase getPromotionTriggerCase(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy