Class ResponsiveSearchAdInfo
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.ads.googleads.v10.common.ResponsiveSearchAdInfo
-
- All Implemented Interfaces:
ResponsiveSearchAdInfoOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable
public final class ResponsiveSearchAdInfo extends com.google.protobuf.GeneratedMessageV3 implements ResponsiveSearchAdInfoOrBuilder
A responsive search ad. Responsive search ads let you create an ad that adapts to show more text, and more relevant messages, to your customers. Enter multiple headlines and descriptions when creating a responsive search ad, and over time, Google Ads will automatically test different combinations and learn which combinations perform best. By adapting your ad's content to more closely match potential customers' search terms, responsive search ads may improve your campaign's performance. More information at https://support.google.com/google-ads/answer/7684791
Protobuf typegoogle.ads.googleads.v10.common.ResponsiveSearchAdInfo- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResponsiveSearchAdInfo.BuilderA responsive search 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 intDESCRIPTIONS_FIELD_NUMBERstatic intHEADLINES_FIELD_NUMBERstatic intPATH1_FIELD_NUMBERstatic intPATH2_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)static ResponsiveSearchAdInfogetDefaultInstance()ResponsiveSearchAdInfogetDefaultInstanceForType()AdTextAssetgetDescriptions(int index)List of text assets for descriptions.intgetDescriptionsCount()List of text assets for descriptions.java.util.List<AdTextAsset>getDescriptionsList()List of text assets for descriptions.AdTextAssetOrBuildergetDescriptionsOrBuilder(int index)List of text assets for descriptions.java.util.List<? extends AdTextAssetOrBuilder>getDescriptionsOrBuilderList()List of text assets for descriptions.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()AdTextAssetgetHeadlines(int index)List of text assets for headlines.intgetHeadlinesCount()List of text assets for headlines.java.util.List<AdTextAsset>getHeadlinesList()List of text assets for headlines.AdTextAssetOrBuildergetHeadlinesOrBuilder(int index)List of text assets for headlines.java.util.List<? extends AdTextAssetOrBuilder>getHeadlinesOrBuilderList()List of text assets for headlines.com.google.protobuf.Parser<ResponsiveSearchAdInfo>getParserForType()java.lang.StringgetPath1()First part of text that can be appended to the URL in the ad.com.google.protobuf.ByteStringgetPath1Bytes()First part of text that can be appended to the URL in the ad.java.lang.StringgetPath2()Second part of text that can be appended to the URL in the ad.com.google.protobuf.ByteStringgetPath2Bytes()Second part of text that can be appended to the URL in the ad.intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()booleanhasPath1()First part of text that can be appended to the URL in the ad.booleanhasPath2()Second part of text that can be appended to the URL in the ad.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ResponsiveSearchAdInfo.BuildernewBuilder()static ResponsiveSearchAdInfo.BuildernewBuilder(ResponsiveSearchAdInfo prototype)ResponsiveSearchAdInfo.BuildernewBuilderForType()protected ResponsiveSearchAdInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ResponsiveSearchAdInfoparseDelimitedFrom(java.io.InputStream input)static ResponsiveSearchAdInfoparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ResponsiveSearchAdInfoparseFrom(byte[] data)static ResponsiveSearchAdInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ResponsiveSearchAdInfoparseFrom(com.google.protobuf.ByteString data)static ResponsiveSearchAdInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ResponsiveSearchAdInfoparseFrom(com.google.protobuf.CodedInputStream input)static ResponsiveSearchAdInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ResponsiveSearchAdInfoparseFrom(java.io.InputStream input)static ResponsiveSearchAdInfoparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ResponsiveSearchAdInfoparseFrom(java.nio.ByteBuffer data)static ResponsiveSearchAdInfoparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ResponsiveSearchAdInfo>parser()ResponsiveSearchAdInfo.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
-
HEADLINES_FIELD_NUMBER
public static final int HEADLINES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTIONS_FIELD_NUMBER
public static final int DESCRIPTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PATH1_FIELD_NUMBER
public static final int PATH1_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PATH2_FIELD_NUMBER
public static final int PATH2_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
-
getHeadlinesList
public java.util.List<AdTextAsset> getHeadlinesList()
List of text assets for headlines. When the ad serves the headlines will be selected from this list.
repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;- Specified by:
getHeadlinesListin interfaceResponsiveSearchAdInfoOrBuilder
-
getHeadlinesOrBuilderList
public java.util.List<? extends AdTextAssetOrBuilder> getHeadlinesOrBuilderList()
List of text assets for headlines. When the ad serves the headlines will be selected from this list.
repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;- Specified by:
getHeadlinesOrBuilderListin interfaceResponsiveSearchAdInfoOrBuilder
-
getHeadlinesCount
public int getHeadlinesCount()
List of text assets for headlines. When the ad serves the headlines will be selected from this list.
repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;- Specified by:
getHeadlinesCountin interfaceResponsiveSearchAdInfoOrBuilder
-
getHeadlines
public AdTextAsset getHeadlines(int index)
List of text assets for headlines. When the ad serves the headlines will be selected from this list.
repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;- Specified by:
getHeadlinesin interfaceResponsiveSearchAdInfoOrBuilder
-
getHeadlinesOrBuilder
public AdTextAssetOrBuilder getHeadlinesOrBuilder(int index)
List of text assets for headlines. When the ad serves the headlines will be selected from this list.
repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;- Specified by:
getHeadlinesOrBuilderin interfaceResponsiveSearchAdInfoOrBuilder
-
getDescriptionsList
public java.util.List<AdTextAsset> getDescriptionsList()
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list.
repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;- Specified by:
getDescriptionsListin interfaceResponsiveSearchAdInfoOrBuilder
-
getDescriptionsOrBuilderList
public java.util.List<? extends AdTextAssetOrBuilder> getDescriptionsOrBuilderList()
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list.
repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;- Specified by:
getDescriptionsOrBuilderListin interfaceResponsiveSearchAdInfoOrBuilder
-
getDescriptionsCount
public int getDescriptionsCount()
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list.
repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;- Specified by:
getDescriptionsCountin interfaceResponsiveSearchAdInfoOrBuilder
-
getDescriptions
public AdTextAsset getDescriptions(int index)
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list.
repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;- Specified by:
getDescriptionsin interfaceResponsiveSearchAdInfoOrBuilder
-
getDescriptionsOrBuilder
public AdTextAssetOrBuilder getDescriptionsOrBuilder(int index)
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list.
repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;- Specified by:
getDescriptionsOrBuilderin interfaceResponsiveSearchAdInfoOrBuilder
-
hasPath1
public boolean hasPath1()
First part of text that can be appended to the URL in the ad.
optional string path1 = 5;- Specified by:
hasPath1in interfaceResponsiveSearchAdInfoOrBuilder- Returns:
- Whether the path1 field is set.
-
getPath1
public java.lang.String getPath1()
First part of text that can be appended to the URL in the ad.
optional string path1 = 5;- Specified by:
getPath1in interfaceResponsiveSearchAdInfoOrBuilder- Returns:
- The path1.
-
getPath1Bytes
public com.google.protobuf.ByteString getPath1Bytes()
First part of text that can be appended to the URL in the ad.
optional string path1 = 5;- Specified by:
getPath1Bytesin interfaceResponsiveSearchAdInfoOrBuilder- Returns:
- The bytes for path1.
-
hasPath2
public boolean hasPath2()
Second part of text that can be appended to the URL in the ad. This field can only be set when `path1` is also set.
optional string path2 = 6;- Specified by:
hasPath2in interfaceResponsiveSearchAdInfoOrBuilder- Returns:
- Whether the path2 field is set.
-
getPath2
public java.lang.String getPath2()
Second part of text that can be appended to the URL in the ad. This field can only be set when `path1` is also set.
optional string path2 = 6;- Specified by:
getPath2in interfaceResponsiveSearchAdInfoOrBuilder- Returns:
- The path2.
-
getPath2Bytes
public com.google.protobuf.ByteString getPath2Bytes()
Second part of text that can be appended to the URL in the ad. This field can only be set when `path1` is also set.
optional string path2 = 6;- Specified by:
getPath2Bytesin interfaceResponsiveSearchAdInfoOrBuilder- Returns:
- The bytes for path2.
-
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 ResponsiveSearchAdInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ResponsiveSearchAdInfo parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ResponsiveSearchAdInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ResponsiveSearchAdInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ResponsiveSearchAdInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ResponsiveSearchAdInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ResponsiveSearchAdInfo parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ResponsiveSearchAdInfo parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static ResponsiveSearchAdInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static ResponsiveSearchAdInfo parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ResponsiveSearchAdInfo parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ResponsiveSearchAdInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public ResponsiveSearchAdInfo.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ResponsiveSearchAdInfo.Builder newBuilder()
-
newBuilder
public static ResponsiveSearchAdInfo.Builder newBuilder(ResponsiveSearchAdInfo prototype)
-
toBuilder
public ResponsiveSearchAdInfo.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ResponsiveSearchAdInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ResponsiveSearchAdInfo getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ResponsiveSearchAdInfo> parser()
-
getParserForType
public com.google.protobuf.Parser<ResponsiveSearchAdInfo> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ResponsiveSearchAdInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-