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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA responsive display ad.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe 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.static ResponsiveDisplayAdInfogetDescriptions(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.static final com.google.protobuf.Descriptors.DescriptorSpecifies 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.com.google.protobuf.Parser<ResponsiveDisplayAdInfo>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.intgetSquareLogoImages(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.inthashCode()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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(ResponsiveDisplayAdInfo prototype) protected ResponsiveDisplayAdInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static ResponsiveDisplayAdInfoparseDelimitedFrom(InputStream input) static ResponsiveDisplayAdInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ResponsiveDisplayAdInfoparseFrom(byte[] data) static ResponsiveDisplayAdInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ResponsiveDisplayAdInfoparseFrom(com.google.protobuf.ByteString data) static ResponsiveDisplayAdInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ResponsiveDisplayAdInfoparseFrom(com.google.protobuf.CodedInputStream input) static ResponsiveDisplayAdInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ResponsiveDisplayAdInfoparseFrom(InputStream input) static ResponsiveDisplayAdInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ResponsiveDisplayAdInfoparseFrom(ByteBuffer data) static ResponsiveDisplayAdInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ResponsiveDisplayAdInfo>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
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:
getMarketingImagesListin interfaceResponsiveDisplayAdInfoOrBuilder
-
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:
getMarketingImagesOrBuilderListin interfaceResponsiveDisplayAdInfoOrBuilder
-
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:
getMarketingImagesCountin interfaceResponsiveDisplayAdInfoOrBuilder
-
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;- Specified by:
getMarketingImagesin interfaceResponsiveDisplayAdInfoOrBuilder
-
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;- Specified by:
getMarketingImagesOrBuilderin interfaceResponsiveDisplayAdInfoOrBuilder
-
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:
getSquareMarketingImagesListin interfaceResponsiveDisplayAdInfoOrBuilder
-
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:
getSquareMarketingImagesOrBuilderListin interfaceResponsiveDisplayAdInfoOrBuilder
-
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:
getSquareMarketingImagesCountin interfaceResponsiveDisplayAdInfoOrBuilder
-
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;- Specified by:
getSquareMarketingImagesin interfaceResponsiveDisplayAdInfoOrBuilder
-
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;- Specified by:
getSquareMarketingImagesOrBuilderin interfaceResponsiveDisplayAdInfoOrBuilder
-
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:
getLogoImagesListin interfaceResponsiveDisplayAdInfoOrBuilder
-
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:
getLogoImagesOrBuilderListin interfaceResponsiveDisplayAdInfoOrBuilder
-
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:
getLogoImagesCountin interfaceResponsiveDisplayAdInfoOrBuilder
-
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;- Specified by:
getLogoImagesin interfaceResponsiveDisplayAdInfoOrBuilder
-
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;- Specified by:
getLogoImagesOrBuilderin interfaceResponsiveDisplayAdInfoOrBuilder
-
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:
getSquareLogoImagesListin interfaceResponsiveDisplayAdInfoOrBuilder
-
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:
getSquareLogoImagesOrBuilderListin interfaceResponsiveDisplayAdInfoOrBuilder
-
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:
getSquareLogoImagesCountin interfaceResponsiveDisplayAdInfoOrBuilder
-
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;- Specified by:
getSquareLogoImagesin interfaceResponsiveDisplayAdInfoOrBuilder
-
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;- Specified by:
getSquareLogoImagesOrBuilderin interfaceResponsiveDisplayAdInfoOrBuilder
-
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:
getHeadlinesListin interfaceResponsiveDisplayAdInfoOrBuilder
-
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:
getHeadlinesOrBuilderListin interfaceResponsiveDisplayAdInfoOrBuilder
-
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:
getHeadlinesCountin interfaceResponsiveDisplayAdInfoOrBuilder
-
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;- Specified by:
getHeadlinesin interfaceResponsiveDisplayAdInfoOrBuilder
-
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;- Specified by:
getHeadlinesOrBuilderin interfaceResponsiveDisplayAdInfoOrBuilder
-
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:
hasLongHeadlinein interfaceResponsiveDisplayAdInfoOrBuilder- Returns:
- Whether the longHeadline field is set.
-
getLongHeadline
A required long format headline. The maximum length is 90 characters.
.google.ads.googleads.v18.common.AdTextAsset long_headline = 6;- Specified by:
getLongHeadlinein interfaceResponsiveDisplayAdInfoOrBuilder- Returns:
- The longHeadline.
-
getLongHeadlineOrBuilder
A required long format headline. The maximum length is 90 characters.
.google.ads.googleads.v18.common.AdTextAsset long_headline = 6;- Specified by:
getLongHeadlineOrBuilderin interfaceResponsiveDisplayAdInfoOrBuilder
-
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:
getDescriptionsListin interfaceResponsiveDisplayAdInfoOrBuilder
-
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:
getDescriptionsOrBuilderListin interfaceResponsiveDisplayAdInfoOrBuilder
-
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:
getDescriptionsCountin interfaceResponsiveDisplayAdInfoOrBuilder
-
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;- Specified by:
getDescriptionsin interfaceResponsiveDisplayAdInfoOrBuilder
-
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;- Specified by:
getDescriptionsOrBuilderin interfaceResponsiveDisplayAdInfoOrBuilder
-
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:
getYoutubeVideosListin interfaceResponsiveDisplayAdInfoOrBuilder
-
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:
getYoutubeVideosOrBuilderListin interfaceResponsiveDisplayAdInfoOrBuilder
-
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:
getYoutubeVideosCountin interfaceResponsiveDisplayAdInfoOrBuilder
-
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;- Specified by:
getYoutubeVideosin interfaceResponsiveDisplayAdInfoOrBuilder
-
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;- Specified by:
getYoutubeVideosOrBuilderin interfaceResponsiveDisplayAdInfoOrBuilder
-
hasBusinessName
public boolean hasBusinessName()The advertiser/brand name. Maximum display width is 25.
optional string business_name = 17;- Specified by:
hasBusinessNamein interfaceResponsiveDisplayAdInfoOrBuilder- Returns:
- Whether the businessName field is set.
-
getBusinessName
The advertiser/brand name. Maximum display width is 25.
optional string business_name = 17;- Specified by:
getBusinessNamein interfaceResponsiveDisplayAdInfoOrBuilder- 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:
getBusinessNameBytesin interfaceResponsiveDisplayAdInfoOrBuilder- 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:
hasMainColorin interfaceResponsiveDisplayAdInfoOrBuilder- Returns:
- Whether the mainColor field is set.
-
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:
getMainColorin interfaceResponsiveDisplayAdInfoOrBuilder- 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:
getMainColorBytesin interfaceResponsiveDisplayAdInfoOrBuilder- 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:
hasAccentColorin interfaceResponsiveDisplayAdInfoOrBuilder- Returns:
- Whether the accentColor field is set.
-
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:
getAccentColorin interfaceResponsiveDisplayAdInfoOrBuilder- 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:
getAccentColorBytesin interfaceResponsiveDisplayAdInfoOrBuilder- 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:
hasAllowFlexibleColorin interfaceResponsiveDisplayAdInfoOrBuilder- 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:
getAllowFlexibleColorin interfaceResponsiveDisplayAdInfoOrBuilder- 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:
hasCallToActionTextin interfaceResponsiveDisplayAdInfoOrBuilder- Returns:
- Whether the callToActionText field is set.
-
getCallToActionText
The call-to-action text for the ad. Maximum display width is 30.
optional string call_to_action_text = 21;- Specified by:
getCallToActionTextin interfaceResponsiveDisplayAdInfoOrBuilder- 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:
getCallToActionTextBytesin interfaceResponsiveDisplayAdInfoOrBuilder- Returns:
- The bytes for callToActionText.
-
hasPricePrefix
public boolean hasPricePrefix()Prefix before price. For example, 'as low as'.
optional string price_prefix = 22;- Specified by:
hasPricePrefixin interfaceResponsiveDisplayAdInfoOrBuilder- Returns:
- Whether the pricePrefix field is set.
-
getPricePrefix
Prefix before price. For example, 'as low as'.
optional string price_prefix = 22;- Specified by:
getPricePrefixin interfaceResponsiveDisplayAdInfoOrBuilder- 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:
getPricePrefixBytesin interfaceResponsiveDisplayAdInfoOrBuilder- 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:
hasPromoTextin interfaceResponsiveDisplayAdInfoOrBuilder- Returns:
- Whether the promoText field is set.
-
getPromoText
Promotion text used for dynamic formats of responsive ads. For example 'Free two-day shipping'.
optional string promo_text = 23;- Specified by:
getPromoTextin interfaceResponsiveDisplayAdInfoOrBuilder- 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:
getPromoTextBytesin interfaceResponsiveDisplayAdInfoOrBuilder- 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:
getFormatSettingValuein interfaceResponsiveDisplayAdInfoOrBuilder- 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:
getFormatSettingin interfaceResponsiveDisplayAdInfoOrBuilder- Returns:
- The formatSetting.
-
hasControlSpec
public boolean hasControlSpec()Specification for various creative controls.
.google.ads.googleads.v18.common.ResponsiveDisplayAdControlSpec control_spec = 24;- Specified by:
hasControlSpecin interfaceResponsiveDisplayAdInfoOrBuilder- Returns:
- Whether the controlSpec field is set.
-
getControlSpec
Specification for various creative controls.
.google.ads.googleads.v18.common.ResponsiveDisplayAdControlSpec control_spec = 24;- Specified by:
getControlSpecin interfaceResponsiveDisplayAdInfoOrBuilder- Returns:
- The controlSpec.
-
getControlSpecOrBuilder
Specification for various creative controls.
.google.ads.googleads.v18.common.ResponsiveDisplayAdControlSpec control_spec = 24;- Specified by:
getControlSpecOrBuilderin interfaceResponsiveDisplayAdInfoOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static ResponsiveDisplayAdInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ResponsiveDisplayAdInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-