Interface LegacyResponsiveDisplayAdInfoOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getAccentColor()
      The accent color of the ad in hexadecimal, for example, #ffffff for white.
      com.google.protobuf.ByteString getAccentColorBytes()
      The accent color of the ad in hexadecimal, for example, #ffffff for white.
      boolean getAllowFlexibleColor()
      Advertiser's consent to allow flexible color.
      java.lang.String getBusinessName()
      The business name in the ad.
      com.google.protobuf.ByteString getBusinessNameBytes()
      The business name in the ad.
      java.lang.String getCallToActionText()
      The call-to-action text for the ad.
      com.google.protobuf.ByteString getCallToActionTextBytes()
      The call-to-action text for the ad.
      java.lang.String getDescription()
      The description of the ad.
      com.google.protobuf.ByteString getDescriptionBytes()
      The description of the ad.
      DisplayAdFormatSettingEnum.DisplayAdFormatSetting getFormatSetting()
      Specifies which format the ad will be served in.
      int getFormatSettingValue()
      Specifies which format the ad will be served in.
      java.lang.String getLogoImage()
      The MediaFile resource name of the logo image used in the ad.
      com.google.protobuf.ByteString getLogoImageBytes()
      The MediaFile resource name of the logo image used in the ad.
      java.lang.String getLongHeadline()
      The long version of the ad's headline.
      com.google.protobuf.ByteString getLongHeadlineBytes()
      The long version of the ad's headline.
      java.lang.String getMainColor()
      The main color of the ad in hexadecimal, for example, #ffffff for white.
      com.google.protobuf.ByteString getMainColorBytes()
      The main color of the ad in hexadecimal, for example, #ffffff for white.
      java.lang.String getMarketingImage()
      The MediaFile resource name of the marketing image used in the ad.
      com.google.protobuf.ByteString getMarketingImageBytes()
      The MediaFile resource name of the marketing image used in the ad.
      java.lang.String getPricePrefix()
      Prefix before price.
      com.google.protobuf.ByteString getPricePrefixBytes()
      Prefix before price.
      java.lang.String getPromoText()
      Promotion text used for dynamic formats of responsive ads.
      com.google.protobuf.ByteString getPromoTextBytes()
      Promotion text used for dynamic formats of responsive ads.
      java.lang.String getShortHeadline()
      The short version of the ad's headline.
      com.google.protobuf.ByteString getShortHeadlineBytes()
      The short version of the ad's headline.
      java.lang.String getSquareLogoImage()
      The MediaFile resource name of the square logo image used in the ad.
      com.google.protobuf.ByteString getSquareLogoImageBytes()
      The MediaFile resource name of the square logo image used in the ad.
      java.lang.String getSquareMarketingImage()
      The MediaFile resource name of the square marketing image used in the ad.
      com.google.protobuf.ByteString getSquareMarketingImageBytes()
      The MediaFile resource name of the square marketing image used in the ad.
      boolean hasAccentColor()
      The accent color of the ad in hexadecimal, for example, #ffffff for white.
      boolean hasAllowFlexibleColor()
      Advertiser's consent to allow flexible color.
      boolean hasBusinessName()
      The business name in the ad.
      boolean hasCallToActionText()
      The call-to-action text for the ad.
      boolean hasDescription()
      The description of the ad.
      boolean hasLogoImage()
      The MediaFile resource name of the logo image used in the ad.
      boolean hasLongHeadline()
      The long version of the ad's headline.
      boolean hasMainColor()
      The main color of the ad in hexadecimal, for example, #ffffff for white.
      boolean hasMarketingImage()
      The MediaFile resource name of the marketing image used in the ad.
      boolean hasPricePrefix()
      Prefix before price.
      boolean hasPromoText()
      Promotion text used for dynamic formats of responsive ads.
      boolean hasShortHeadline()
      The short version of the ad's headline.
      boolean hasSquareLogoImage()
      The MediaFile resource name of the square logo image used in the ad.
      boolean hasSquareMarketingImage()
      The MediaFile resource name of the square marketing image used in the ad.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasShortHeadline

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

        java.lang.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

        java.lang.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

        java.lang.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

        java.lang.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

        java.lang.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

        java.lang.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

        java.lang.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

        java.lang.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

        java.lang.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

        java.lang.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

        java.lang.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.v14.enums.DisplayAdFormatSettingEnum.DisplayAdFormatSetting format_setting = 13;
        Returns:
        The enum numeric value on the wire for formatSetting.
      • getFormatSetting

        DisplayAdFormatSettingEnum.DisplayAdFormatSetting getFormatSetting()
         Specifies which format the ad will be served in. Default is ALL_FORMATS.
         
        .google.ads.googleads.v14.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

        java.lang.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

        java.lang.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.