Class ResponsiveSearchAdInfo
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.common.ResponsiveSearchAdInfo
- All Implemented Interfaces:
ResponsiveSearchAdInfoOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,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/7684791Protobuf type
google.ads.googleads.v18.common.ResponsiveSearchAdInfo- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA responsive search 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 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 TypeMethodDescriptionbooleanstatic ResponsiveSearchAdInfogetDescriptions(int index) List of text assets for descriptions.intList of text assets for descriptions.List of text assets for descriptions.getDescriptionsOrBuilder(int index) List of text assets for descriptions.List<? extends AdTextAssetOrBuilder>List of text assets for descriptions.static final com.google.protobuf.Descriptors.DescriptorgetHeadlines(int index) List of text assets for headlines.intList of text assets for headlines.List of text assets for headlines.getHeadlinesOrBuilder(int index) List of text assets for headlines.List<? extends AdTextAssetOrBuilder>List of text assets for headlines.com.google.protobuf.Parser<ResponsiveSearchAdInfo>getPath1()First part of text that can be appended to the URL in the ad.com.google.protobuf.ByteStringFirst part of text that can be appended to the URL in the ad.getPath2()Second part of text that can be appended to the URL in the ad.com.google.protobuf.ByteStringSecond part of text that can be appended to the URL in the ad.intinthashCode()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.FieldAccessorTablefinal booleannewBuilder(ResponsiveSearchAdInfo prototype) protected ResponsiveSearchAdInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static ResponsiveSearchAdInfoparseDelimitedFrom(InputStream input) static ResponsiveSearchAdInfoparseDelimitedFrom(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(InputStream input) static ResponsiveSearchAdInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ResponsiveSearchAdInfoparseFrom(ByteBuffer data) static ResponsiveSearchAdInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ResponsiveSearchAdInfo>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
-
HEADLINES_FIELD_NUMBER
public static final int HEADLINES_FIELD_NUMBER- See Also:
-
DESCRIPTIONS_FIELD_NUMBER
public static final int DESCRIPTIONS_FIELD_NUMBER- See Also:
-
PATH1_FIELD_NUMBER
public static final int PATH1_FIELD_NUMBER- See Also:
-
PATH2_FIELD_NUMBER
public static final int PATH2_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
-
getHeadlinesList
List of text assets for headlines. When the ad serves the headlines will be selected from this list.
repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 1;- Specified by:
getHeadlinesListin interfaceResponsiveSearchAdInfoOrBuilder
-
getHeadlinesOrBuilderList
List of text assets for headlines. When the ad serves the headlines will be selected from this list.
repeated .google.ads.googleads.v18.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.v18.common.AdTextAsset headlines = 1;- Specified by:
getHeadlinesCountin interfaceResponsiveSearchAdInfoOrBuilder
-
getHeadlines
List of text assets for headlines. When the ad serves the headlines will be selected from this list.
repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 1;- Specified by:
getHeadlinesin interfaceResponsiveSearchAdInfoOrBuilder
-
getHeadlinesOrBuilder
List of text assets for headlines. When the ad serves the headlines will be selected from this list.
repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 1;- Specified by:
getHeadlinesOrBuilderin interfaceResponsiveSearchAdInfoOrBuilder
-
getDescriptionsList
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list.
repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 2;- Specified by:
getDescriptionsListin interfaceResponsiveSearchAdInfoOrBuilder
-
getDescriptionsOrBuilderList
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list.
repeated .google.ads.googleads.v18.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.v18.common.AdTextAsset descriptions = 2;- Specified by:
getDescriptionsCountin interfaceResponsiveSearchAdInfoOrBuilder
-
getDescriptions
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list.
repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 2;- Specified by:
getDescriptionsin interfaceResponsiveSearchAdInfoOrBuilder
-
getDescriptionsOrBuilder
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list.
repeated .google.ads.googleads.v18.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
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
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
- 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 ResponsiveSearchAdInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ResponsiveSearchAdInfo parseFrom(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
- Throws:
IOException
-
parseFrom
public static ResponsiveSearchAdInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ResponsiveSearchAdInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ResponsiveSearchAdInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ResponsiveSearchAdInfo 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 ResponsiveSearchAdInfo.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
-