Interface ResponsiveDisplayAdInfoOrBuilder

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

    public interface ResponsiveDisplayAdInfoOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getMarketingImagesList

        java.util.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.v10.common.AdImageAsset marketing_images = 1;
      • getMarketingImages

        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.v10.common.AdImageAsset marketing_images = 1;
      • getMarketingImagesCount

        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.v10.common.AdImageAsset marketing_images = 1;
      • getMarketingImagesOrBuilderList

        java.util.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.v10.common.AdImageAsset marketing_images = 1;
      • getMarketingImagesOrBuilder

        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.v10.common.AdImageAsset marketing_images = 1;
      • getSquareMarketingImagesList

        java.util.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.v10.common.AdImageAsset square_marketing_images = 2;
      • getSquareMarketingImages

        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.v10.common.AdImageAsset square_marketing_images = 2;
      • getSquareMarketingImagesCount

        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.v10.common.AdImageAsset square_marketing_images = 2;
      • getSquareMarketingImagesOrBuilderList

        java.util.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.v10.common.AdImageAsset square_marketing_images = 2;
      • getSquareMarketingImagesOrBuilder

        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.v10.common.AdImageAsset square_marketing_images = 2;
      • getLogoImagesList

        java.util.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.v10.common.AdImageAsset logo_images = 3;
      • getLogoImages

        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.v10.common.AdImageAsset logo_images = 3;
      • getLogoImagesCount

        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.v10.common.AdImageAsset logo_images = 3;
      • getLogoImagesOrBuilderList

        java.util.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.v10.common.AdImageAsset logo_images = 3;
      • getLogoImagesOrBuilder

        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.v10.common.AdImageAsset logo_images = 3;
      • getSquareLogoImagesList

        java.util.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 `square_logo_images`, the maximum is 5.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset square_logo_images = 4;
      • getSquareLogoImages

        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 `square_logo_images`, the maximum is 5.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset square_logo_images = 4;
      • getSquareLogoImagesCount

        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 `square_logo_images`, the maximum is 5.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset square_logo_images = 4;
      • getSquareLogoImagesOrBuilderList

        java.util.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 `square_logo_images`, the maximum is 5.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset square_logo_images = 4;
      • getSquareLogoImagesOrBuilder

        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 `square_logo_images`, the maximum is 5.
         
        repeated .google.ads.googleads.v10.common.AdImageAsset square_logo_images = 4;
      • getHeadlinesList

        java.util.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.v10.common.AdTextAsset headlines = 5;
      • getHeadlines

        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.v10.common.AdTextAsset headlines = 5;
      • getHeadlinesCount

        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.v10.common.AdTextAsset headlines = 5;
      • getHeadlinesOrBuilderList

        java.util.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.v10.common.AdTextAsset headlines = 5;
      • getHeadlinesOrBuilder

        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.v10.common.AdTextAsset headlines = 5;
      • hasLongHeadline

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

        AdTextAsset getLongHeadline()
         A required long format headline. The maximum length is 90 characters.
         
        .google.ads.googleads.v10.common.AdTextAsset long_headline = 6;
        Returns:
        The longHeadline.
      • getLongHeadlineOrBuilder

        AdTextAssetOrBuilder getLongHeadlineOrBuilder()
         A required long format headline. The maximum length is 90 characters.
         
        .google.ads.googleads.v10.common.AdTextAsset long_headline = 6;
      • getDescriptionsList

        java.util.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.v10.common.AdTextAsset descriptions = 7;
      • getDescriptions

        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.v10.common.AdTextAsset descriptions = 7;
      • getDescriptionsCount

        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.v10.common.AdTextAsset descriptions = 7;
      • getDescriptionsOrBuilderList

        java.util.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.v10.common.AdTextAsset descriptions = 7;
      • getDescriptionsOrBuilder

        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.v10.common.AdTextAsset descriptions = 7;
      • getYoutubeVideosList

        java.util.List<AdVideoAsset> getYoutubeVideosList()
         Optional YouTube videos for the ad. A maximum of 5 videos can be specified.
         
        repeated .google.ads.googleads.v10.common.AdVideoAsset youtube_videos = 8;
      • getYoutubeVideos

        AdVideoAsset getYoutubeVideos​(int index)
         Optional YouTube videos for the ad. A maximum of 5 videos can be specified.
         
        repeated .google.ads.googleads.v10.common.AdVideoAsset youtube_videos = 8;
      • getYoutubeVideosCount

        int getYoutubeVideosCount()
         Optional YouTube videos for the ad. A maximum of 5 videos can be specified.
         
        repeated .google.ads.googleads.v10.common.AdVideoAsset youtube_videos = 8;
      • getYoutubeVideosOrBuilderList

        java.util.List<? extends AdVideoAssetOrBuilder> getYoutubeVideosOrBuilderList()
         Optional YouTube videos for the ad. A maximum of 5 videos can be specified.
         
        repeated .google.ads.googleads.v10.common.AdVideoAsset youtube_videos = 8;
      • getYoutubeVideosOrBuilder

        AdVideoAssetOrBuilder getYoutubeVideosOrBuilder​(int index)
         Optional YouTube videos for the ad. A maximum of 5 videos can be specified.
         
        repeated .google.ads.googleads.v10.common.AdVideoAsset youtube_videos = 8;
      • hasBusinessName

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

        java.lang.String getBusinessName()
         The advertiser/brand name. Maximum display width is 25.
         
        optional string business_name = 17;
        Returns:
        The businessName.
      • getBusinessNameBytes

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

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

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

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

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

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

        com.google.protobuf.ByteString getAccentColorBytes()
         The accent color of the ad in hexadecimal, e.g. #ffffff for white.
         If one of `main_color` and `accent_color` is set, the other is required as
         well.
         
        optional string accent_color = 19;
        Returns:
        The bytes for accentColor.
      • 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.
      • hasCallToActionText

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

        java.lang.String getCallToActionText()
         The call-to-action text for the ad. Maximum display width is 30.
         
        optional string call_to_action_text = 21;
        Returns:
        The callToActionText.
      • getCallToActionTextBytes

        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;
        Returns:
        The bytes for callToActionText.
      • hasPricePrefix

        boolean hasPricePrefix()
         Prefix before price. E.g. 'as low as'.
         
        optional string price_prefix = 22;
        Returns:
        Whether the pricePrefix field is set.
      • getPricePrefix

        java.lang.String getPricePrefix()
         Prefix before price. E.g. 'as low as'.
         
        optional string price_prefix = 22;
        Returns:
        The pricePrefix.
      • getPricePrefixBytes

        com.google.protobuf.ByteString getPricePrefixBytes()
         Prefix before price. E.g. 'as low as'.
         
        optional string price_prefix = 22;
        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 = 23;
        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 = 23;
        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 = 23;
        Returns:
        The bytes for promoText.
      • getFormatSettingValue

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

        boolean hasControlSpec()
         Specification for various creative controls.
         
        .google.ads.googleads.v10.common.ResponsiveDisplayAdControlSpec control_spec = 24;
        Returns:
        Whether the controlSpec field is set.
      • getControlSpec

        ResponsiveDisplayAdControlSpec getControlSpec()
         Specification for various creative controls.
         
        .google.ads.googleads.v10.common.ResponsiveDisplayAdControlSpec control_spec = 24;
        Returns:
        The controlSpec.
      • getControlSpecOrBuilder

        ResponsiveDisplayAdControlSpecOrBuilder getControlSpecOrBuilder()
         Specification for various creative controls.
         
        .google.ads.googleads.v10.common.ResponsiveDisplayAdControlSpec control_spec = 24;