Class ResponsiveDisplayAdInfo
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.ads.googleads.v10.common.ResponsiveDisplayAdInfo
-
- All Implemented Interfaces:
ResponsiveDisplayAdInfoOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable
public final class ResponsiveDisplayAdInfo extends com.google.protobuf.GeneratedMessageV3 implements ResponsiveDisplayAdInfoOrBuilder
A responsive display ad.
Protobuf typegoogle.ads.googleads.v10.common.ResponsiveDisplayAdInfo- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResponsiveDisplayAdInfo.BuilderA responsive display ad.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intACCENT_COLOR_FIELD_NUMBERstatic intALLOW_FLEXIBLE_COLOR_FIELD_NUMBERstatic intBUSINESS_NAME_FIELD_NUMBERstatic intCALL_TO_ACTION_TEXT_FIELD_NUMBERstatic intCONTROL_SPEC_FIELD_NUMBERstatic intDESCRIPTIONS_FIELD_NUMBERstatic intFORMAT_SETTING_FIELD_NUMBERstatic intHEADLINES_FIELD_NUMBERstatic intLOGO_IMAGES_FIELD_NUMBERstatic intLONG_HEADLINE_FIELD_NUMBERstatic intMAIN_COLOR_FIELD_NUMBERstatic intMARKETING_IMAGES_FIELD_NUMBERstatic intPRICE_PREFIX_FIELD_NUMBERstatic intPROMO_TEXT_FIELD_NUMBERstatic intSQUARE_LOGO_IMAGES_FIELD_NUMBERstatic intSQUARE_MARKETING_IMAGES_FIELD_NUMBERstatic intYOUTUBE_VIDEOS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetAccentColor()The accent color of the ad in hexadecimal, e.g.com.google.protobuf.ByteStringgetAccentColorBytes()The accent color of the ad in hexadecimal, e.g.booleangetAllowFlexibleColor()Advertiser's consent to allow flexible color.java.lang.StringgetBusinessName()The advertiser/brand name.com.google.protobuf.ByteStringgetBusinessNameBytes()The advertiser/brand name.java.lang.StringgetCallToActionText()The call-to-action text for the ad.com.google.protobuf.ByteStringgetCallToActionTextBytes()The call-to-action text for the ad.ResponsiveDisplayAdControlSpecgetControlSpec()Specification for various creative controls.ResponsiveDisplayAdControlSpecOrBuildergetControlSpecOrBuilder()Specification for various creative controls.static ResponsiveDisplayAdInfogetDefaultInstance()ResponsiveDisplayAdInfogetDefaultInstanceForType()AdTextAssetgetDescriptions(int index)Descriptive texts for the ad.intgetDescriptionsCount()Descriptive texts for the ad.java.util.List<AdTextAsset>getDescriptionsList()Descriptive texts for the ad.AdTextAssetOrBuildergetDescriptionsOrBuilder(int index)Descriptive texts for the ad.java.util.List<? extends AdTextAssetOrBuilder>getDescriptionsOrBuilderList()Descriptive texts for the ad.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()DisplayAdFormatSettingEnum.DisplayAdFormatSettinggetFormatSetting()Specifies which format the ad will be served in.intgetFormatSettingValue()Specifies which format the ad will be served in.AdTextAssetgetHeadlines(int index)Short format headlines for the ad.intgetHeadlinesCount()Short format headlines for the ad.java.util.List<AdTextAsset>getHeadlinesList()Short format headlines for the ad.AdTextAssetOrBuildergetHeadlinesOrBuilder(int index)Short format headlines for the ad.java.util.List<? extends AdTextAssetOrBuilder>getHeadlinesOrBuilderList()Short format headlines for the ad.AdImageAssetgetLogoImages(int index)Logo images to be used in the ad.intgetLogoImagesCount()Logo images to be used in the ad.java.util.List<AdImageAsset>getLogoImagesList()Logo images to be used in the ad.AdImageAssetOrBuildergetLogoImagesOrBuilder(int index)Logo images to be used in the ad.java.util.List<? extends AdImageAssetOrBuilder>getLogoImagesOrBuilderList()Logo images to be used in the ad.AdTextAssetgetLongHeadline()A required long format headline.AdTextAssetOrBuildergetLongHeadlineOrBuilder()A required long format headline.java.lang.StringgetMainColor()The main color of the ad in hexadecimal, e.g.com.google.protobuf.ByteStringgetMainColorBytes()The main color of the ad in hexadecimal, e.g.AdImageAssetgetMarketingImages(int index)Marketing images to be used in the ad.intgetMarketingImagesCount()Marketing images to be used in the ad.java.util.List<AdImageAsset>getMarketingImagesList()Marketing images to be used in the ad.AdImageAssetOrBuildergetMarketingImagesOrBuilder(int index)Marketing images to be used in the ad.java.util.List<? extends AdImageAssetOrBuilder>getMarketingImagesOrBuilderList()Marketing images to be used in the ad.com.google.protobuf.Parser<ResponsiveDisplayAdInfo>getParserForType()java.lang.StringgetPricePrefix()Prefix before price.com.google.protobuf.ByteStringgetPricePrefixBytes()Prefix before price.java.lang.StringgetPromoText()Promotion text used for dynamic formats of responsive ads.com.google.protobuf.ByteStringgetPromoTextBytes()Promotion text used for dynamic formats of responsive ads.intgetSerializedSize()AdImageAssetgetSquareLogoImages(int index)Square logo images to be used in the ad.intgetSquareLogoImagesCount()Square logo images to be used in the ad.java.util.List<AdImageAsset>getSquareLogoImagesList()Square logo images to be used in the ad.AdImageAssetOrBuildergetSquareLogoImagesOrBuilder(int index)Square logo images to be used in the ad.java.util.List<? extends AdImageAssetOrBuilder>getSquareLogoImagesOrBuilderList()Square logo images to be used in the ad.AdImageAssetgetSquareMarketingImages(int index)Square marketing images to be used in the ad.intgetSquareMarketingImagesCount()Square marketing images to be used in the ad.java.util.List<AdImageAsset>getSquareMarketingImagesList()Square marketing images to be used in the ad.AdImageAssetOrBuildergetSquareMarketingImagesOrBuilder(int index)Square marketing images to be used in the ad.java.util.List<? extends AdImageAssetOrBuilder>getSquareMarketingImagesOrBuilderList()Square marketing images to be used in the ad.com.google.protobuf.UnknownFieldSetgetUnknownFields()AdVideoAssetgetYoutubeVideos(int index)Optional YouTube videos for the ad.intgetYoutubeVideosCount()Optional YouTube videos for the ad.java.util.List<AdVideoAsset>getYoutubeVideosList()Optional YouTube videos for the ad.AdVideoAssetOrBuildergetYoutubeVideosOrBuilder(int index)Optional YouTube videos for the ad.java.util.List<? extends AdVideoAssetOrBuilder>getYoutubeVideosOrBuilderList()Optional YouTube videos for the ad.booleanhasAccentColor()The accent color of the ad in hexadecimal, e.g.booleanhasAllowFlexibleColor()Advertiser's consent to allow flexible color.booleanhasBusinessName()The advertiser/brand name.booleanhasCallToActionText()The call-to-action text for the ad.booleanhasControlSpec()Specification for various creative controls.inthashCode()booleanhasLongHeadline()A required long format headline.booleanhasMainColor()The main color of the ad in hexadecimal, e.g.booleanhasPricePrefix()Prefix before price.booleanhasPromoText()Promotion text used for dynamic formats of responsive ads.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ResponsiveDisplayAdInfo.BuildernewBuilder()static ResponsiveDisplayAdInfo.BuildernewBuilder(ResponsiveDisplayAdInfo prototype)ResponsiveDisplayAdInfo.BuildernewBuilderForType()protected ResponsiveDisplayAdInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ResponsiveDisplayAdInfoparseDelimitedFrom(java.io.InputStream input)static ResponsiveDisplayAdInfoparseDelimitedFrom(java.io.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(java.io.InputStream input)static ResponsiveDisplayAdInfoparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ResponsiveDisplayAdInfoparseFrom(java.nio.ByteBuffer data)static ResponsiveDisplayAdInfoparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ResponsiveDisplayAdInfo>parser()ResponsiveDisplayAdInfo.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
MARKETING_IMAGES_FIELD_NUMBER
public static final int MARKETING_IMAGES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SQUARE_MARKETING_IMAGES_FIELD_NUMBER
public static final int SQUARE_MARKETING_IMAGES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOGO_IMAGES_FIELD_NUMBER
public static final int LOGO_IMAGES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SQUARE_LOGO_IMAGES_FIELD_NUMBER
public static final int SQUARE_LOGO_IMAGES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HEADLINES_FIELD_NUMBER
public static final int HEADLINES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LONG_HEADLINE_FIELD_NUMBER
public static final int LONG_HEADLINE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTIONS_FIELD_NUMBER
public static final int DESCRIPTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
YOUTUBE_VIDEOS_FIELD_NUMBER
public static final int YOUTUBE_VIDEOS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BUSINESS_NAME_FIELD_NUMBER
public static final int BUSINESS_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAIN_COLOR_FIELD_NUMBER
public static final int MAIN_COLOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACCENT_COLOR_FIELD_NUMBER
public static final int ACCENT_COLOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ALLOW_FLEXIBLE_COLOR_FIELD_NUMBER
public static final int ALLOW_FLEXIBLE_COLOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CALL_TO_ACTION_TEXT_FIELD_NUMBER
public static final int CALL_TO_ACTION_TEXT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRICE_PREFIX_FIELD_NUMBER
public static final int PRICE_PREFIX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROMO_TEXT_FIELD_NUMBER
public static final int PROMO_TEXT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FORMAT_SETTING_FIELD_NUMBER
public static final int FORMAT_SETTING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONTROL_SPEC_FIELD_NUMBER
public static final int CONTROL_SPEC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin 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
public 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;- Specified by:
getMarketingImagesListin interfaceResponsiveDisplayAdInfoOrBuilder
-
getMarketingImagesOrBuilderList
public 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;- 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.v10.common.AdImageAsset marketing_images = 1;- Specified by:
getMarketingImagesCountin interfaceResponsiveDisplayAdInfoOrBuilder
-
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.v10.common.AdImageAsset marketing_images = 1;- Specified by:
getMarketingImagesin interfaceResponsiveDisplayAdInfoOrBuilder
-
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.v10.common.AdImageAsset marketing_images = 1;- Specified by:
getMarketingImagesOrBuilderin interfaceResponsiveDisplayAdInfoOrBuilder
-
getSquareMarketingImagesList
public 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;- Specified by:
getSquareMarketingImagesListin interfaceResponsiveDisplayAdInfoOrBuilder
-
getSquareMarketingImagesOrBuilderList
public 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;- 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.v10.common.AdImageAsset square_marketing_images = 2;- Specified by:
getSquareMarketingImagesCountin interfaceResponsiveDisplayAdInfoOrBuilder
-
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.v10.common.AdImageAsset square_marketing_images = 2;- Specified by:
getSquareMarketingImagesin interfaceResponsiveDisplayAdInfoOrBuilder
-
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.v10.common.AdImageAsset square_marketing_images = 2;- Specified by:
getSquareMarketingImagesOrBuilderin interfaceResponsiveDisplayAdInfoOrBuilder
-
getLogoImagesList
public 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;- Specified by:
getLogoImagesListin interfaceResponsiveDisplayAdInfoOrBuilder
-
getLogoImagesOrBuilderList
public 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;- 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.v10.common.AdImageAsset logo_images = 3;- Specified by:
getLogoImagesCountin interfaceResponsiveDisplayAdInfoOrBuilder
-
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.v10.common.AdImageAsset logo_images = 3;- Specified by:
getLogoImagesin interfaceResponsiveDisplayAdInfoOrBuilder
-
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.v10.common.AdImageAsset logo_images = 3;- Specified by:
getLogoImagesOrBuilderin interfaceResponsiveDisplayAdInfoOrBuilder
-
getSquareLogoImagesList
public 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;- Specified by:
getSquareLogoImagesListin interfaceResponsiveDisplayAdInfoOrBuilder
-
getSquareLogoImagesOrBuilderList
public 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;- 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 `square_logo_images`, the maximum is 5.
repeated .google.ads.googleads.v10.common.AdImageAsset square_logo_images = 4;- Specified by:
getSquareLogoImagesCountin interfaceResponsiveDisplayAdInfoOrBuilder
-
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 `square_logo_images`, the maximum is 5.
repeated .google.ads.googleads.v10.common.AdImageAsset square_logo_images = 4;- Specified by:
getSquareLogoImagesin interfaceResponsiveDisplayAdInfoOrBuilder
-
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 `square_logo_images`, the maximum is 5.
repeated .google.ads.googleads.v10.common.AdImageAsset square_logo_images = 4;- Specified by:
getSquareLogoImagesOrBuilderin interfaceResponsiveDisplayAdInfoOrBuilder
-
getHeadlinesList
public 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;- Specified by:
getHeadlinesListin interfaceResponsiveDisplayAdInfoOrBuilder
-
getHeadlinesOrBuilderList
public 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;- 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.v10.common.AdTextAsset headlines = 5;- Specified by:
getHeadlinesCountin interfaceResponsiveDisplayAdInfoOrBuilder
-
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.v10.common.AdTextAsset headlines = 5;- Specified by:
getHeadlinesin interfaceResponsiveDisplayAdInfoOrBuilder
-
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.v10.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.v10.common.AdTextAsset long_headline = 6;- Specified by:
hasLongHeadlinein interfaceResponsiveDisplayAdInfoOrBuilder- 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.v10.common.AdTextAsset long_headline = 6;- Specified by:
getLongHeadlinein interfaceResponsiveDisplayAdInfoOrBuilder- Returns:
- The longHeadline.
-
getLongHeadlineOrBuilder
public AdTextAssetOrBuilder getLongHeadlineOrBuilder()
A required long format headline. The maximum length is 90 characters.
.google.ads.googleads.v10.common.AdTextAsset long_headline = 6;- Specified by:
getLongHeadlineOrBuilderin interfaceResponsiveDisplayAdInfoOrBuilder
-
getDescriptionsList
public 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;- Specified by:
getDescriptionsListin interfaceResponsiveDisplayAdInfoOrBuilder
-
getDescriptionsOrBuilderList
public 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;- 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.v10.common.AdTextAsset descriptions = 7;- Specified by:
getDescriptionsCountin interfaceResponsiveDisplayAdInfoOrBuilder
-
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.v10.common.AdTextAsset descriptions = 7;- Specified by:
getDescriptionsin interfaceResponsiveDisplayAdInfoOrBuilder
-
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.v10.common.AdTextAsset descriptions = 7;- Specified by:
getDescriptionsOrBuilderin interfaceResponsiveDisplayAdInfoOrBuilder
-
getYoutubeVideosList
public 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;- Specified by:
getYoutubeVideosListin interfaceResponsiveDisplayAdInfoOrBuilder
-
getYoutubeVideosOrBuilderList
public 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;- 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.v10.common.AdVideoAsset youtube_videos = 8;- Specified by:
getYoutubeVideosCountin interfaceResponsiveDisplayAdInfoOrBuilder
-
getYoutubeVideos
public 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;- Specified by:
getYoutubeVideosin interfaceResponsiveDisplayAdInfoOrBuilder
-
getYoutubeVideosOrBuilder
public 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;- 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
public java.lang.String 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, 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;- Specified by:
hasMainColorin interfaceResponsiveDisplayAdInfoOrBuilder- Returns:
- Whether the mainColor field is set.
-
getMainColor
public 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;- Specified by:
getMainColorin interfaceResponsiveDisplayAdInfoOrBuilder- Returns:
- The mainColor.
-
getMainColorBytes
public 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;- Specified by:
getMainColorBytesin interfaceResponsiveDisplayAdInfoOrBuilder- Returns:
- The bytes for mainColor.
-
hasAccentColor
public 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;- Specified by:
hasAccentColorin interfaceResponsiveDisplayAdInfoOrBuilder- Returns:
- Whether the accentColor field is set.
-
getAccentColor
public 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;- Specified by:
getAccentColorin interfaceResponsiveDisplayAdInfoOrBuilder- Returns:
- The accentColor.
-
getAccentColorBytes
public 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;- 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
public java.lang.String 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. E.g. 'as low as'.
optional string price_prefix = 22;- Specified by:
hasPricePrefixin interfaceResponsiveDisplayAdInfoOrBuilder- Returns:
- Whether the pricePrefix field is set.
-
getPricePrefix
public java.lang.String getPricePrefix()
Prefix before price. E.g. '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. E.g. '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
public java.lang.String 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.v10.enums.DisplayAdFormatSettingEnum.DisplayAdFormatSetting format_setting = 16;- Specified by:
getFormatSettingValuein interfaceResponsiveDisplayAdInfoOrBuilder- Returns:
- The enum numeric value on the wire for formatSetting.
-
getFormatSetting
public 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;- Specified by:
getFormatSettingin interfaceResponsiveDisplayAdInfoOrBuilder- Returns:
- The formatSetting.
-
hasControlSpec
public boolean hasControlSpec()
Specification for various creative controls.
.google.ads.googleads.v10.common.ResponsiveDisplayAdControlSpec control_spec = 24;- Specified by:
hasControlSpecin interfaceResponsiveDisplayAdInfoOrBuilder- Returns:
- Whether the controlSpec field is set.
-
getControlSpec
public ResponsiveDisplayAdControlSpec getControlSpec()
Specification for various creative controls.
.google.ads.googleads.v10.common.ResponsiveDisplayAdControlSpec control_spec = 24;- Specified by:
getControlSpecin interfaceResponsiveDisplayAdInfoOrBuilder- Returns:
- The controlSpec.
-
getControlSpecOrBuilder
public ResponsiveDisplayAdControlSpecOrBuilder getControlSpecOrBuilder()
Specification for various creative controls.
.google.ads.googleads.v10.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
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- 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(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ResponsiveDisplayAdInfo parseFrom(java.nio.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(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ResponsiveDisplayAdInfo parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static ResponsiveDisplayAdInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static ResponsiveDisplayAdInfo parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ResponsiveDisplayAdInfo parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ResponsiveDisplayAdInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public ResponsiveDisplayAdInfo.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ResponsiveDisplayAdInfo.Builder newBuilder()
-
newBuilder
public static ResponsiveDisplayAdInfo.Builder newBuilder(ResponsiveDisplayAdInfo prototype)
-
toBuilder
public ResponsiveDisplayAdInfo.Builder 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
public static ResponsiveDisplayAdInfo getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ResponsiveDisplayAdInfo> parser()
-
getParserForType
public com.google.protobuf.Parser<ResponsiveDisplayAdInfo> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ResponsiveDisplayAdInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-