Interface LegacyResponsiveDisplayAdInfoOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
LegacyResponsiveDisplayAdInfo, LegacyResponsiveDisplayAdInfo.Builder

public interface LegacyResponsiveDisplayAdInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasShortHeadline

      boolean hasShortHeadline()
       The short version of the ad's headline.
       
      optional string short_headline = 16;
      Returns:
      Whether the shortHeadline field is set.
    • getShortHeadline

      String getShortHeadline()
       The short version of the ad's headline.
       
      optional string short_headline = 16;
      Returns:
      The shortHeadline.
    • getShortHeadlineBytes

      com.google.protobuf.ByteString getShortHeadlineBytes()
       The short version of the ad's headline.
       
      optional string short_headline = 16;
      Returns:
      The bytes for shortHeadline.
    • hasLongHeadline

      boolean hasLongHeadline()
       The long version of the ad's headline.
       
      optional string long_headline = 17;
      Returns:
      Whether the longHeadline field is set.
    • getLongHeadline

      String getLongHeadline()
       The long version of the ad's headline.
       
      optional string long_headline = 17;
      Returns:
      The longHeadline.
    • getLongHeadlineBytes

      com.google.protobuf.ByteString getLongHeadlineBytes()
       The long version of the ad's headline.
       
      optional string long_headline = 17;
      Returns:
      The bytes for longHeadline.
    • hasDescription

      boolean hasDescription()
       The description of the ad.
       
      optional string description = 18;
      Returns:
      Whether the description field is set.
    • getDescription

      String getDescription()
       The description of the ad.
       
      optional string description = 18;
      Returns:
      The description.
    • getDescriptionBytes

      com.google.protobuf.ByteString getDescriptionBytes()
       The description of the ad.
       
      optional string description = 18;
      Returns:
      The bytes for description.
    • hasBusinessName

      boolean hasBusinessName()
       The business name in the ad.
       
      optional string business_name = 19;
      Returns:
      Whether the businessName field is set.
    • getBusinessName

      String getBusinessName()
       The business name in the ad.
       
      optional string business_name = 19;
      Returns:
      The businessName.
    • getBusinessNameBytes

      com.google.protobuf.ByteString getBusinessNameBytes()
       The business name in the ad.
       
      optional string business_name = 19;
      Returns:
      The bytes for businessName.
    • hasAllowFlexibleColor

      boolean hasAllowFlexibleColor()
       Advertiser's consent to allow flexible color. When true, the ad may be
       served with different color if necessary. When false, the ad will be served
       with the specified colors or a neutral color.
       The default value is `true`.
       Must be true if `main_color` and `accent_color` are not set.
       
      optional bool allow_flexible_color = 20;
      Returns:
      Whether the allowFlexibleColor field is set.
    • getAllowFlexibleColor

      boolean getAllowFlexibleColor()
       Advertiser's consent to allow flexible color. When true, the ad may be
       served with different color if necessary. When false, the ad will be served
       with the specified colors or a neutral color.
       The default value is `true`.
       Must be true if `main_color` and `accent_color` are not set.
       
      optional bool allow_flexible_color = 20;
      Returns:
      The allowFlexibleColor.
    • hasAccentColor

      boolean hasAccentColor()
       The accent color of the ad in hexadecimal, for example, #ffffff for white.
       If one of `main_color` and `accent_color` is set, the other is required as
       well.
       
      optional string accent_color = 21;
      Returns:
      Whether the accentColor field is set.
    • getAccentColor

      String getAccentColor()
       The accent color of the ad in hexadecimal, for example, #ffffff for white.
       If one of `main_color` and `accent_color` is set, the other is required as
       well.
       
      optional string accent_color = 21;
      Returns:
      The accentColor.
    • getAccentColorBytes

      com.google.protobuf.ByteString getAccentColorBytes()
       The accent color of the ad in hexadecimal, for example, #ffffff for white.
       If one of `main_color` and `accent_color` is set, the other is required as
       well.
       
      optional string accent_color = 21;
      Returns:
      The bytes for accentColor.
    • hasMainColor

      boolean hasMainColor()
       The main color of the ad in hexadecimal, for example, #ffffff for white.
       If one of `main_color` and `accent_color` is set, the other is required as
       well.
       
      optional string main_color = 22;
      Returns:
      Whether the mainColor field is set.
    • getMainColor

      String getMainColor()
       The main color of the ad in hexadecimal, for example, #ffffff for white.
       If one of `main_color` and `accent_color` is set, the other is required as
       well.
       
      optional string main_color = 22;
      Returns:
      The mainColor.
    • getMainColorBytes

      com.google.protobuf.ByteString getMainColorBytes()
       The main color of the ad in hexadecimal, for example, #ffffff for white.
       If one of `main_color` and `accent_color` is set, the other is required as
       well.
       
      optional string main_color = 22;
      Returns:
      The bytes for mainColor.
    • hasCallToActionText

      boolean hasCallToActionText()
       The call-to-action text for the ad.
       
      optional string call_to_action_text = 23;
      Returns:
      Whether the callToActionText field is set.
    • getCallToActionText

      String getCallToActionText()
       The call-to-action text for the ad.
       
      optional string call_to_action_text = 23;
      Returns:
      The callToActionText.
    • getCallToActionTextBytes

      com.google.protobuf.ByteString getCallToActionTextBytes()
       The call-to-action text for the ad.
       
      optional string call_to_action_text = 23;
      Returns:
      The bytes for callToActionText.
    • hasLogoImage

      boolean hasLogoImage()
       The MediaFile resource name of the logo image used in the ad.
       
      optional string logo_image = 24;
      Returns:
      Whether the logoImage field is set.
    • getLogoImage

      String getLogoImage()
       The MediaFile resource name of the logo image used in the ad.
       
      optional string logo_image = 24;
      Returns:
      The logoImage.
    • getLogoImageBytes

      com.google.protobuf.ByteString getLogoImageBytes()
       The MediaFile resource name of the logo image used in the ad.
       
      optional string logo_image = 24;
      Returns:
      The bytes for logoImage.
    • hasSquareLogoImage

      boolean hasSquareLogoImage()
       The MediaFile resource name of the square logo image used in the ad.
       
      optional string square_logo_image = 25;
      Returns:
      Whether the squareLogoImage field is set.
    • getSquareLogoImage

      String getSquareLogoImage()
       The MediaFile resource name of the square logo image used in the ad.
       
      optional string square_logo_image = 25;
      Returns:
      The squareLogoImage.
    • getSquareLogoImageBytes

      com.google.protobuf.ByteString getSquareLogoImageBytes()
       The MediaFile resource name of the square logo image used in the ad.
       
      optional string square_logo_image = 25;
      Returns:
      The bytes for squareLogoImage.
    • hasMarketingImage

      boolean hasMarketingImage()
       The MediaFile resource name of the marketing image used in the ad.
       
      optional string marketing_image = 26;
      Returns:
      Whether the marketingImage field is set.
    • getMarketingImage

      String getMarketingImage()
       The MediaFile resource name of the marketing image used in the ad.
       
      optional string marketing_image = 26;
      Returns:
      The marketingImage.
    • getMarketingImageBytes

      com.google.protobuf.ByteString getMarketingImageBytes()
       The MediaFile resource name of the marketing image used in the ad.
       
      optional string marketing_image = 26;
      Returns:
      The bytes for marketingImage.
    • hasSquareMarketingImage

      boolean hasSquareMarketingImage()
       The MediaFile resource name of the square marketing image used in the ad.
       
      optional string square_marketing_image = 27;
      Returns:
      Whether the squareMarketingImage field is set.
    • getSquareMarketingImage

      String getSquareMarketingImage()
       The MediaFile resource name of the square marketing image used in the ad.
       
      optional string square_marketing_image = 27;
      Returns:
      The squareMarketingImage.
    • getSquareMarketingImageBytes

      com.google.protobuf.ByteString getSquareMarketingImageBytes()
       The MediaFile resource name of the square marketing image used in the ad.
       
      optional string square_marketing_image = 27;
      Returns:
      The bytes for squareMarketingImage.
    • getFormatSettingValue

      int getFormatSettingValue()
       Specifies which format the ad will be served in. Default is ALL_FORMATS.
       
      .google.ads.googleads.v18.enums.DisplayAdFormatSettingEnum.DisplayAdFormatSetting format_setting = 13;
      Returns:
      The enum numeric value on the wire for formatSetting.
    • getFormatSetting

       Specifies which format the ad will be served in. Default is ALL_FORMATS.
       
      .google.ads.googleads.v18.enums.DisplayAdFormatSettingEnum.DisplayAdFormatSetting format_setting = 13;
      Returns:
      The formatSetting.
    • hasPricePrefix

      boolean hasPricePrefix()
       Prefix before price. For example, 'as low as'.
       
      optional string price_prefix = 28;
      Returns:
      Whether the pricePrefix field is set.
    • getPricePrefix

      String getPricePrefix()
       Prefix before price. For example, 'as low as'.
       
      optional string price_prefix = 28;
      Returns:
      The pricePrefix.
    • getPricePrefixBytes

      com.google.protobuf.ByteString getPricePrefixBytes()
       Prefix before price. For example, 'as low as'.
       
      optional string price_prefix = 28;
      Returns:
      The bytes for pricePrefix.
    • hasPromoText

      boolean hasPromoText()
       Promotion text used for dynamic formats of responsive ads. For example
       'Free two-day shipping'.
       
      optional string promo_text = 29;
      Returns:
      Whether the promoText field is set.
    • getPromoText

      String getPromoText()
       Promotion text used for dynamic formats of responsive ads. For example
       'Free two-day shipping'.
       
      optional string promo_text = 29;
      Returns:
      The promoText.
    • getPromoTextBytes

      com.google.protobuf.ByteString getPromoTextBytes()
       Promotion text used for dynamic formats of responsive ads. For example
       'Free two-day shipping'.
       
      optional string promo_text = 29;
      Returns:
      The bytes for promoText.