Class ResponsiveDisplayAdInfo

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.common.ResponsiveDisplayAdInfo
All Implemented Interfaces:
ResponsiveDisplayAdInfoOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class ResponsiveDisplayAdInfo extends com.google.protobuf.GeneratedMessageV3 implements ResponsiveDisplayAdInfoOrBuilder
 A responsive display ad.
 
Protobuf type google.ads.googleads.v18.common.ResponsiveDisplayAdInfo
See Also:
  • Field Details

    • MARKETING_IMAGES_FIELD_NUMBER

      public static final int MARKETING_IMAGES_FIELD_NUMBER
      See Also:
    • SQUARE_MARKETING_IMAGES_FIELD_NUMBER

      public static final int SQUARE_MARKETING_IMAGES_FIELD_NUMBER
      See Also:
    • LOGO_IMAGES_FIELD_NUMBER

      public static final int LOGO_IMAGES_FIELD_NUMBER
      See Also:
    • SQUARE_LOGO_IMAGES_FIELD_NUMBER

      public static final int SQUARE_LOGO_IMAGES_FIELD_NUMBER
      See Also:
    • HEADLINES_FIELD_NUMBER

      public static final int HEADLINES_FIELD_NUMBER
      See Also:
    • LONG_HEADLINE_FIELD_NUMBER

      public static final int LONG_HEADLINE_FIELD_NUMBER
      See Also:
    • DESCRIPTIONS_FIELD_NUMBER

      public static final int DESCRIPTIONS_FIELD_NUMBER
      See Also:
    • YOUTUBE_VIDEOS_FIELD_NUMBER

      public static final int YOUTUBE_VIDEOS_FIELD_NUMBER
      See Also:
    • BUSINESS_NAME_FIELD_NUMBER

      public static final int BUSINESS_NAME_FIELD_NUMBER
      See Also:
    • MAIN_COLOR_FIELD_NUMBER

      public static final int MAIN_COLOR_FIELD_NUMBER
      See Also:
    • ACCENT_COLOR_FIELD_NUMBER

      public static final int ACCENT_COLOR_FIELD_NUMBER
      See Also:
    • ALLOW_FLEXIBLE_COLOR_FIELD_NUMBER

      public static final int ALLOW_FLEXIBLE_COLOR_FIELD_NUMBER
      See Also:
    • CALL_TO_ACTION_TEXT_FIELD_NUMBER

      public static final int CALL_TO_ACTION_TEXT_FIELD_NUMBER
      See Also:
    • PRICE_PREFIX_FIELD_NUMBER

      public static final int PRICE_PREFIX_FIELD_NUMBER
      See Also:
    • PROMO_TEXT_FIELD_NUMBER

      public static final int PROMO_TEXT_FIELD_NUMBER
      See Also:
    • FORMAT_SETTING_FIELD_NUMBER

      public static final int FORMAT_SETTING_FIELD_NUMBER
      See Also:
    • CONTROL_SPEC_FIELD_NUMBER

      public static final int CONTROL_SPEC_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getMarketingImagesList

      public List<AdImageAsset> getMarketingImagesList()
       Marketing images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must
       be 1.91:1 (+-1%). At least one `marketing_image` is required. Combined
       with `square_marketing_images`, the maximum is 15.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset marketing_images = 1;
      Specified by:
      getMarketingImagesList in interface ResponsiveDisplayAdInfoOrBuilder
    • getMarketingImagesOrBuilderList

      public List<? extends AdImageAssetOrBuilder> getMarketingImagesOrBuilderList()
       Marketing images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must
       be 1.91:1 (+-1%). At least one `marketing_image` is required. Combined
       with `square_marketing_images`, the maximum is 15.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset marketing_images = 1;
      Specified by:
      getMarketingImagesOrBuilderList in interface ResponsiveDisplayAdInfoOrBuilder
    • getMarketingImagesCount

      public int getMarketingImagesCount()
       Marketing images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must
       be 1.91:1 (+-1%). At least one `marketing_image` is required. Combined
       with `square_marketing_images`, the maximum is 15.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset marketing_images = 1;
      Specified by:
      getMarketingImagesCount in interface ResponsiveDisplayAdInfoOrBuilder
    • getMarketingImages

      public AdImageAsset getMarketingImages(int index)
       Marketing images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must
       be 1.91:1 (+-1%). At least one `marketing_image` is required. Combined
       with `square_marketing_images`, the maximum is 15.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset marketing_images = 1;
      Specified by:
      getMarketingImages in interface ResponsiveDisplayAdInfoOrBuilder
    • getMarketingImagesOrBuilder

      public AdImageAssetOrBuilder getMarketingImagesOrBuilder(int index)
       Marketing images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must
       be 1.91:1 (+-1%). At least one `marketing_image` is required. Combined
       with `square_marketing_images`, the maximum is 15.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset marketing_images = 1;
      Specified by:
      getMarketingImagesOrBuilder in interface ResponsiveDisplayAdInfoOrBuilder
    • getSquareMarketingImagesList

      public List<AdImageAsset> getSquareMarketingImagesList()
       Square marketing images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must
       be 1:1 (+-1%). At least one square `marketing_image` is required. Combined
       with `marketing_images`, the maximum is 15.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset square_marketing_images = 2;
      Specified by:
      getSquareMarketingImagesList in interface ResponsiveDisplayAdInfoOrBuilder
    • getSquareMarketingImagesOrBuilderList

      public List<? extends AdImageAssetOrBuilder> getSquareMarketingImagesOrBuilderList()
       Square marketing images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must
       be 1:1 (+-1%). At least one square `marketing_image` is required. Combined
       with `marketing_images`, the maximum is 15.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset square_marketing_images = 2;
      Specified by:
      getSquareMarketingImagesOrBuilderList in interface ResponsiveDisplayAdInfoOrBuilder
    • getSquareMarketingImagesCount

      public int getSquareMarketingImagesCount()
       Square marketing images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must
       be 1:1 (+-1%). At least one square `marketing_image` is required. Combined
       with `marketing_images`, the maximum is 15.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset square_marketing_images = 2;
      Specified by:
      getSquareMarketingImagesCount in interface ResponsiveDisplayAdInfoOrBuilder
    • getSquareMarketingImages

      public AdImageAsset getSquareMarketingImages(int index)
       Square marketing images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must
       be 1:1 (+-1%). At least one square `marketing_image` is required. Combined
       with `marketing_images`, the maximum is 15.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset square_marketing_images = 2;
      Specified by:
      getSquareMarketingImages in interface ResponsiveDisplayAdInfoOrBuilder
    • getSquareMarketingImagesOrBuilder

      public AdImageAssetOrBuilder getSquareMarketingImagesOrBuilder(int index)
       Square marketing images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must
       be 1:1 (+-1%). At least one square `marketing_image` is required. Combined
       with `marketing_images`, the maximum is 15.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset square_marketing_images = 2;
      Specified by:
      getSquareMarketingImagesOrBuilder in interface ResponsiveDisplayAdInfoOrBuilder
    • getLogoImagesList

      public List<AdImageAsset> getLogoImagesList()
       Logo images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 512x128 and the aspect ratio must
       be 4:1 (+-1%). Combined with `square_logo_images`, the maximum is 5.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset logo_images = 3;
      Specified by:
      getLogoImagesList in interface ResponsiveDisplayAdInfoOrBuilder
    • getLogoImagesOrBuilderList

      public List<? extends AdImageAssetOrBuilder> getLogoImagesOrBuilderList()
       Logo images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 512x128 and the aspect ratio must
       be 4:1 (+-1%). Combined with `square_logo_images`, the maximum is 5.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset logo_images = 3;
      Specified by:
      getLogoImagesOrBuilderList in interface ResponsiveDisplayAdInfoOrBuilder
    • getLogoImagesCount

      public int getLogoImagesCount()
       Logo images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 512x128 and the aspect ratio must
       be 4:1 (+-1%). Combined with `square_logo_images`, the maximum is 5.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset logo_images = 3;
      Specified by:
      getLogoImagesCount in interface ResponsiveDisplayAdInfoOrBuilder
    • getLogoImages

      public AdImageAsset getLogoImages(int index)
       Logo images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 512x128 and the aspect ratio must
       be 4:1 (+-1%). Combined with `square_logo_images`, the maximum is 5.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset logo_images = 3;
      Specified by:
      getLogoImages in interface ResponsiveDisplayAdInfoOrBuilder
    • getLogoImagesOrBuilder

      public AdImageAssetOrBuilder getLogoImagesOrBuilder(int index)
       Logo images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 512x128 and the aspect ratio must
       be 4:1 (+-1%). Combined with `square_logo_images`, the maximum is 5.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset logo_images = 3;
      Specified by:
      getLogoImagesOrBuilder in interface ResponsiveDisplayAdInfoOrBuilder
    • getSquareLogoImagesList

      public List<AdImageAsset> getSquareLogoImagesList()
       Square logo images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must
       be 1:1 (+-1%). Combined with `logo_images`, the maximum is 5.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset square_logo_images = 4;
      Specified by:
      getSquareLogoImagesList in interface ResponsiveDisplayAdInfoOrBuilder
    • getSquareLogoImagesOrBuilderList

      public List<? extends AdImageAssetOrBuilder> getSquareLogoImagesOrBuilderList()
       Square logo images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must
       be 1:1 (+-1%). Combined with `logo_images`, the maximum is 5.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset square_logo_images = 4;
      Specified by:
      getSquareLogoImagesOrBuilderList in interface ResponsiveDisplayAdInfoOrBuilder
    • getSquareLogoImagesCount

      public int getSquareLogoImagesCount()
       Square logo images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must
       be 1:1 (+-1%). Combined with `logo_images`, the maximum is 5.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset square_logo_images = 4;
      Specified by:
      getSquareLogoImagesCount in interface ResponsiveDisplayAdInfoOrBuilder
    • getSquareLogoImages

      public AdImageAsset getSquareLogoImages(int index)
       Square logo images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must
       be 1:1 (+-1%). Combined with `logo_images`, the maximum is 5.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset square_logo_images = 4;
      Specified by:
      getSquareLogoImages in interface ResponsiveDisplayAdInfoOrBuilder
    • getSquareLogoImagesOrBuilder

      public AdImageAssetOrBuilder getSquareLogoImagesOrBuilder(int index)
       Square logo images to be used in the ad. Valid image types are GIF,
       JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must
       be 1:1 (+-1%). Combined with `logo_images`, the maximum is 5.
       
      repeated .google.ads.googleads.v18.common.AdImageAsset square_logo_images = 4;
      Specified by:
      getSquareLogoImagesOrBuilder in interface ResponsiveDisplayAdInfoOrBuilder
    • getHeadlinesList

      public List<AdTextAsset> getHeadlinesList()
       Short format headlines for the ad. The maximum length is 30 characters.
       At least 1 and max 5 headlines can be specified.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 5;
      Specified by:
      getHeadlinesList in interface ResponsiveDisplayAdInfoOrBuilder
    • getHeadlinesOrBuilderList

      public List<? extends AdTextAssetOrBuilder> getHeadlinesOrBuilderList()
       Short format headlines for the ad. The maximum length is 30 characters.
       At least 1 and max 5 headlines can be specified.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 5;
      Specified by:
      getHeadlinesOrBuilderList in interface ResponsiveDisplayAdInfoOrBuilder
    • getHeadlinesCount

      public int getHeadlinesCount()
       Short format headlines for the ad. The maximum length is 30 characters.
       At least 1 and max 5 headlines can be specified.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 5;
      Specified by:
      getHeadlinesCount in interface ResponsiveDisplayAdInfoOrBuilder
    • getHeadlines

      public AdTextAsset getHeadlines(int index)
       Short format headlines for the ad. The maximum length is 30 characters.
       At least 1 and max 5 headlines can be specified.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 5;
      Specified by:
      getHeadlines in interface ResponsiveDisplayAdInfoOrBuilder
    • getHeadlinesOrBuilder

      public AdTextAssetOrBuilder getHeadlinesOrBuilder(int index)
       Short format headlines for the ad. The maximum length is 30 characters.
       At least 1 and max 5 headlines can be specified.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 5;
      Specified by:
      getHeadlinesOrBuilder in interface ResponsiveDisplayAdInfoOrBuilder
    • hasLongHeadline

      public boolean hasLongHeadline()
       A required long format headline. The maximum length is 90 characters.
       
      .google.ads.googleads.v18.common.AdTextAsset long_headline = 6;
      Specified by:
      hasLongHeadline in interface ResponsiveDisplayAdInfoOrBuilder
      Returns:
      Whether the longHeadline field is set.
    • getLongHeadline

      public AdTextAsset getLongHeadline()
       A required long format headline. The maximum length is 90 characters.
       
      .google.ads.googleads.v18.common.AdTextAsset long_headline = 6;
      Specified by:
      getLongHeadline in interface ResponsiveDisplayAdInfoOrBuilder
      Returns:
      The longHeadline.
    • getLongHeadlineOrBuilder

      public AdTextAssetOrBuilder getLongHeadlineOrBuilder()
       A required long format headline. The maximum length is 90 characters.
       
      .google.ads.googleads.v18.common.AdTextAsset long_headline = 6;
      Specified by:
      getLongHeadlineOrBuilder in interface ResponsiveDisplayAdInfoOrBuilder
    • getDescriptionsList

      public List<AdTextAsset> getDescriptionsList()
       Descriptive texts for the ad. The maximum length is 90 characters. At
       least 1 and max 5 headlines can be specified.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 7;
      Specified by:
      getDescriptionsList in interface ResponsiveDisplayAdInfoOrBuilder
    • getDescriptionsOrBuilderList

      public List<? extends AdTextAssetOrBuilder> getDescriptionsOrBuilderList()
       Descriptive texts for the ad. The maximum length is 90 characters. At
       least 1 and max 5 headlines can be specified.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 7;
      Specified by:
      getDescriptionsOrBuilderList in interface ResponsiveDisplayAdInfoOrBuilder
    • getDescriptionsCount

      public int getDescriptionsCount()
       Descriptive texts for the ad. The maximum length is 90 characters. At
       least 1 and max 5 headlines can be specified.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 7;
      Specified by:
      getDescriptionsCount in interface ResponsiveDisplayAdInfoOrBuilder
    • getDescriptions

      public AdTextAsset getDescriptions(int index)
       Descriptive texts for the ad. The maximum length is 90 characters. At
       least 1 and max 5 headlines can be specified.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 7;
      Specified by:
      getDescriptions in interface ResponsiveDisplayAdInfoOrBuilder
    • getDescriptionsOrBuilder

      public AdTextAssetOrBuilder getDescriptionsOrBuilder(int index)
       Descriptive texts for the ad. The maximum length is 90 characters. At
       least 1 and max 5 headlines can be specified.
       
      repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 7;
      Specified by:
      getDescriptionsOrBuilder in interface ResponsiveDisplayAdInfoOrBuilder
    • getYoutubeVideosList

      public List<AdVideoAsset> getYoutubeVideosList()
       Optional YouTube videos for the ad. A maximum of 5 videos can be specified.
       
      repeated .google.ads.googleads.v18.common.AdVideoAsset youtube_videos = 8;
      Specified by:
      getYoutubeVideosList in interface ResponsiveDisplayAdInfoOrBuilder
    • getYoutubeVideosOrBuilderList

      public List<? extends AdVideoAssetOrBuilder> getYoutubeVideosOrBuilderList()
       Optional YouTube videos for the ad. A maximum of 5 videos can be specified.
       
      repeated .google.ads.googleads.v18.common.AdVideoAsset youtube_videos = 8;
      Specified by:
      getYoutubeVideosOrBuilderList in interface ResponsiveDisplayAdInfoOrBuilder
    • getYoutubeVideosCount

      public int getYoutubeVideosCount()
       Optional YouTube videos for the ad. A maximum of 5 videos can be specified.
       
      repeated .google.ads.googleads.v18.common.AdVideoAsset youtube_videos = 8;
      Specified by:
      getYoutubeVideosCount in interface ResponsiveDisplayAdInfoOrBuilder
    • getYoutubeVideos

      public AdVideoAsset getYoutubeVideos(int index)
       Optional YouTube videos for the ad. A maximum of 5 videos can be specified.
       
      repeated .google.ads.googleads.v18.common.AdVideoAsset youtube_videos = 8;
      Specified by:
      getYoutubeVideos in interface ResponsiveDisplayAdInfoOrBuilder
    • getYoutubeVideosOrBuilder

      public AdVideoAssetOrBuilder getYoutubeVideosOrBuilder(int index)
       Optional YouTube videos for the ad. A maximum of 5 videos can be specified.
       
      repeated .google.ads.googleads.v18.common.AdVideoAsset youtube_videos = 8;
      Specified by:
      getYoutubeVideosOrBuilder in interface ResponsiveDisplayAdInfoOrBuilder
    • hasBusinessName

      public boolean hasBusinessName()
       The advertiser/brand name. Maximum display width is 25.
       
      optional string business_name = 17;
      Specified by:
      hasBusinessName in interface ResponsiveDisplayAdInfoOrBuilder
      Returns:
      Whether the businessName field is set.
    • getBusinessName

      public String getBusinessName()
       The advertiser/brand name. Maximum display width is 25.
       
      optional string business_name = 17;
      Specified by:
      getBusinessName in interface ResponsiveDisplayAdInfoOrBuilder
      Returns:
      The businessName.
    • getBusinessNameBytes

      public com.google.protobuf.ByteString getBusinessNameBytes()
       The advertiser/brand name. Maximum display width is 25.
       
      optional string business_name = 17;
      Specified by:
      getBusinessNameBytes in interface ResponsiveDisplayAdInfoOrBuilder
      Returns:
      The bytes for businessName.
    • hasMainColor

      public 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 = 18;
      Specified by:
      hasMainColor in interface ResponsiveDisplayAdInfoOrBuilder
      Returns:
      Whether the mainColor field is set.
    • getMainColor

      public 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 = 18;
      Specified by:
      getMainColor in interface ResponsiveDisplayAdInfoOrBuilder
      Returns:
      The mainColor.
    • getMainColorBytes

      public 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 = 18;
      Specified by:
      getMainColorBytes in interface ResponsiveDisplayAdInfoOrBuilder
      Returns:
      The bytes for mainColor.
    • hasAccentColor

      public 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 = 19;
      Specified by:
      hasAccentColor in interface ResponsiveDisplayAdInfoOrBuilder
      Returns:
      Whether the accentColor field is set.
    • getAccentColor

      public 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 = 19;
      Specified by:
      getAccentColor in interface ResponsiveDisplayAdInfoOrBuilder
      Returns:
      The accentColor.
    • getAccentColorBytes

      public 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 = 19;
      Specified by:
      getAccentColorBytes in interface ResponsiveDisplayAdInfoOrBuilder
      Returns:
      The bytes for accentColor.
    • hasAllowFlexibleColor

      public 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;
      Specified by:
      hasAllowFlexibleColor in interface ResponsiveDisplayAdInfoOrBuilder
      Returns:
      Whether the allowFlexibleColor field is set.
    • getAllowFlexibleColor

      public 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;
      Specified by:
      getAllowFlexibleColor in interface ResponsiveDisplayAdInfoOrBuilder
      Returns:
      The allowFlexibleColor.
    • hasCallToActionText

      public boolean hasCallToActionText()
       The call-to-action text for the ad. Maximum display width is 30.
       
      optional string call_to_action_text = 21;
      Specified by:
      hasCallToActionText in interface ResponsiveDisplayAdInfoOrBuilder
      Returns:
      Whether the callToActionText field is set.
    • getCallToActionText

      public String getCallToActionText()
       The call-to-action text for the ad. Maximum display width is 30.
       
      optional string call_to_action_text = 21;
      Specified by:
      getCallToActionText in interface ResponsiveDisplayAdInfoOrBuilder
      Returns:
      The callToActionText.
    • getCallToActionTextBytes

      public com.google.protobuf.ByteString getCallToActionTextBytes()
       The call-to-action text for the ad. Maximum display width is 30.
       
      optional string call_to_action_text = 21;
      Specified by:
      getCallToActionTextBytes in interface ResponsiveDisplayAdInfoOrBuilder
      Returns:
      The bytes for callToActionText.
    • hasPricePrefix

      public boolean hasPricePrefix()
       Prefix before price. For example, 'as low as'.
       
      optional string price_prefix = 22;
      Specified by:
      hasPricePrefix in interface ResponsiveDisplayAdInfoOrBuilder
      Returns:
      Whether the pricePrefix field is set.
    • getPricePrefix

      public String getPricePrefix()
       Prefix before price. For example, 'as low as'.
       
      optional string price_prefix = 22;
      Specified by:
      getPricePrefix in interface ResponsiveDisplayAdInfoOrBuilder
      Returns:
      The pricePrefix.
    • getPricePrefixBytes

      public com.google.protobuf.ByteString getPricePrefixBytes()
       Prefix before price. For example, 'as low as'.
       
      optional string price_prefix = 22;
      Specified by:
      getPricePrefixBytes in interface ResponsiveDisplayAdInfoOrBuilder
      Returns:
      The bytes for pricePrefix.
    • hasPromoText

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

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

      public com.google.protobuf.ByteString getPromoTextBytes()
       Promotion text used for dynamic formats of responsive ads. For example
       'Free two-day shipping'.
       
      optional string promo_text = 23;
      Specified by:
      getPromoTextBytes in interface ResponsiveDisplayAdInfoOrBuilder
      Returns:
      The bytes for promoText.
    • getFormatSettingValue

      public int getFormatSettingValue()
       Specifies which format the ad will be served in. Default is ALL_FORMATS.
       
      .google.ads.googleads.v18.enums.DisplayAdFormatSettingEnum.DisplayAdFormatSetting format_setting = 16;
      Specified by:
      getFormatSettingValue in interface ResponsiveDisplayAdInfoOrBuilder
      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 = 16;
      Specified by:
      getFormatSetting in interface ResponsiveDisplayAdInfoOrBuilder
      Returns:
      The formatSetting.
    • hasControlSpec

      public boolean hasControlSpec()
       Specification for various creative controls.
       
      .google.ads.googleads.v18.common.ResponsiveDisplayAdControlSpec control_spec = 24;
      Specified by:
      hasControlSpec in interface ResponsiveDisplayAdInfoOrBuilder
      Returns:
      Whether the controlSpec field is set.
    • getControlSpec

      public ResponsiveDisplayAdControlSpec getControlSpec()
       Specification for various creative controls.
       
      .google.ads.googleads.v18.common.ResponsiveDisplayAdControlSpec control_spec = 24;
      Specified by:
      getControlSpec in interface ResponsiveDisplayAdInfoOrBuilder
      Returns:
      The controlSpec.
    • getControlSpecOrBuilder

      public ResponsiveDisplayAdControlSpecOrBuilder getControlSpecOrBuilder()
       Specification for various creative controls.
       
      .google.ads.googleads.v18.common.ResponsiveDisplayAdControlSpec control_spec = 24;
      Specified by:
      getControlSpecOrBuilder in interface ResponsiveDisplayAdInfoOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ResponsiveDisplayAdInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ResponsiveDisplayAdInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ResponsiveDisplayAdInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ResponsiveDisplayAdInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ResponsiveDisplayAdInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ResponsiveDisplayAdInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ResponsiveDisplayAdInfo parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ResponsiveDisplayAdInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ResponsiveDisplayAdInfo parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ResponsiveDisplayAdInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ResponsiveDisplayAdInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ResponsiveDisplayAdInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public ResponsiveDisplayAdInfo.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ResponsiveDisplayAdInfo.Builder newBuilder()
    • newBuilder

      public static ResponsiveDisplayAdInfo.Builder newBuilder(ResponsiveDisplayAdInfo prototype)
    • toBuilder

      public ResponsiveDisplayAdInfo.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ResponsiveDisplayAdInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static ResponsiveDisplayAdInfo getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ResponsiveDisplayAdInfo> parser()
    • getParserForType

      public com.google.protobuf.Parser<ResponsiveDisplayAdInfo> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public ResponsiveDisplayAdInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder