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 Summary
Modifier and TypeMethodDescriptionThe accent color of the ad in hexadecimal, for example, #ffffff for white.com.google.protobuf.ByteStringThe accent color of the ad in hexadecimal, for example, #ffffff for white.booleanAdvertiser's consent to allow flexible color.The advertiser/brand name.com.google.protobuf.ByteStringThe advertiser/brand name.The call-to-action text for the ad.com.google.protobuf.ByteStringThe call-to-action text for the ad.Specification for various creative controls.Specification for various creative controls.getDescriptions(int index) Descriptive texts for the ad.intDescriptive texts for the ad.Descriptive texts for the ad.getDescriptionsOrBuilder(int index) Descriptive texts for the ad.List<? extends AdTextAssetOrBuilder>Descriptive texts for the ad.Specifies which format the ad will be served in.intSpecifies which format the ad will be served in.getHeadlines(int index) Short format headlines for the ad.intShort format headlines for the ad.Short format headlines for the ad.getHeadlinesOrBuilder(int index) Short format headlines for the ad.List<? extends AdTextAssetOrBuilder>Short format headlines for the ad.getLogoImages(int index) Logo images to be used in the ad.intLogo images to be used in the ad.Logo images to be used in the ad.getLogoImagesOrBuilder(int index) Logo images to be used in the ad.List<? extends AdImageAssetOrBuilder>Logo images to be used in the ad.A required long format headline.A required long format headline.The main color of the ad in hexadecimal, for example, #ffffff for white.com.google.protobuf.ByteStringThe main color of the ad in hexadecimal, for example, #ffffff for white.getMarketingImages(int index) Marketing images to be used in the ad.intMarketing images to be used in the ad.Marketing images to be used in the ad.getMarketingImagesOrBuilder(int index) Marketing images to be used in the ad.List<? extends AdImageAssetOrBuilder>Marketing images to be used in the ad.Prefix before price.com.google.protobuf.ByteStringPrefix before price.Promotion text used for dynamic formats of responsive ads.com.google.protobuf.ByteStringPromotion text used for dynamic formats of responsive ads.getSquareLogoImages(int index) Square logo images to be used in the ad.intSquare logo images to be used in the ad.Square logo images to be used in the ad.getSquareLogoImagesOrBuilder(int index) Square logo images to be used in the ad.List<? extends AdImageAssetOrBuilder>Square logo images to be used in the ad.getSquareMarketingImages(int index) Square marketing images to be used in the ad.intSquare marketing images to be used in the ad.Square marketing images to be used in the ad.getSquareMarketingImagesOrBuilder(int index) Square marketing images to be used in the ad.List<? extends AdImageAssetOrBuilder>Square marketing images to be used in the ad.getYoutubeVideos(int index) Optional YouTube videos for the ad.intOptional YouTube videos for the ad.Optional YouTube videos for the ad.getYoutubeVideosOrBuilder(int index) Optional YouTube videos for the ad.List<? extends AdVideoAssetOrBuilder>Optional YouTube videos for the ad.booleanThe accent color of the ad in hexadecimal, for example, #ffffff for white.booleanAdvertiser's consent to allow flexible color.booleanThe advertiser/brand name.booleanThe call-to-action text for the ad.booleanSpecification for various creative controls.booleanA required long format headline.booleanThe main color of the ad in hexadecimal, for example, #ffffff for white.booleanPrefix before price.booleanPromotion text used for dynamic formats of responsive ads.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getMarketingImagesList
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; -
getMarketingImages
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; -
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.v18.common.AdImageAsset marketing_images = 1; -
getMarketingImagesOrBuilderList
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; -
getMarketingImagesOrBuilder
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; -
getSquareMarketingImagesList
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; -
getSquareMarketingImages
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; -
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.v18.common.AdImageAsset square_marketing_images = 2; -
getSquareMarketingImagesOrBuilderList
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; -
getSquareMarketingImagesOrBuilder
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; -
getLogoImagesList
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; -
getLogoImages
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; -
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.v18.common.AdImageAsset logo_images = 3; -
getLogoImagesOrBuilderList
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; -
getLogoImagesOrBuilder
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; -
getSquareLogoImagesList
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; -
getSquareLogoImages
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; -
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 `logo_images`, the maximum is 5.
repeated .google.ads.googleads.v18.common.AdImageAsset square_logo_images = 4; -
getSquareLogoImagesOrBuilderList
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; -
getSquareLogoImagesOrBuilder
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; -
getHeadlinesList
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; -
getHeadlines
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; -
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.v18.common.AdTextAsset headlines = 5; -
getHeadlinesOrBuilderList
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; -
getHeadlinesOrBuilder
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; -
hasLongHeadline
boolean hasLongHeadline()A required long format headline. The maximum length is 90 characters.
.google.ads.googleads.v18.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.v18.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.v18.common.AdTextAsset long_headline = 6; -
getDescriptionsList
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; -
getDescriptions
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; -
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.v18.common.AdTextAsset descriptions = 7; -
getDescriptionsOrBuilderList
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; -
getDescriptionsOrBuilder
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; -
getYoutubeVideosList
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; -
getYoutubeVideos
Optional YouTube videos for the ad. A maximum of 5 videos can be specified.
repeated .google.ads.googleads.v18.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.v18.common.AdVideoAsset youtube_videos = 8; -
getYoutubeVideosOrBuilderList
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; -
getYoutubeVideosOrBuilder
Optional YouTube videos for the ad. A maximum of 5 videos can be specified.
repeated .google.ads.googleads.v18.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
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, 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;- 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 = 18;- 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 = 18;- Returns:
- The bytes for mainColor.
-
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 = 19;- 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 = 19;- 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 = 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
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. For example, 'as low as'.
optional string price_prefix = 22;- Returns:
- Whether the pricePrefix field is set.
-
getPricePrefix
String getPricePrefix()Prefix before price. For example, 'as low as'.
optional string price_prefix = 22;- Returns:
- The pricePrefix.
-
getPricePrefixBytes
com.google.protobuf.ByteString getPricePrefixBytes()Prefix before price. For example, '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
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.v18.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.v18.enums.DisplayAdFormatSettingEnum.DisplayAdFormatSetting format_setting = 16;- Returns:
- The formatSetting.
-
hasControlSpec
boolean hasControlSpec()Specification for various creative controls.
.google.ads.googleads.v18.common.ResponsiveDisplayAdControlSpec control_spec = 24;- Returns:
- Whether the controlSpec field is set.
-
getControlSpec
ResponsiveDisplayAdControlSpec getControlSpec()Specification for various creative controls.
.google.ads.googleads.v18.common.ResponsiveDisplayAdControlSpec control_spec = 24;- Returns:
- The controlSpec.
-
getControlSpecOrBuilder
ResponsiveDisplayAdControlSpecOrBuilder getControlSpecOrBuilder()Specification for various creative controls.
.google.ads.googleads.v18.common.ResponsiveDisplayAdControlSpec control_spec = 24;
-