Class ForecastAdGroup
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.ads.googleads.v15.services.ForecastAdGroup
-
- All Implemented Interfaces:
ForecastAdGroupOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable
public final class ForecastAdGroup extends com.google.protobuf.GeneratedMessageV3 implements ForecastAdGroupOrBuilder
An ad group that is part of a campaign to be forecasted.
Protobuf typegoogle.ads.googleads.v15.services.ForecastAdGroup- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classForecastAdGroup.BuilderAn ad group that is part of a campaign to be forecasted.-
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
-
-
Field Summary
Fields Modifier and Type Field Description static intBIDDABLE_KEYWORDS_FIELD_NUMBERstatic intMAX_CPC_BID_MICROS_FIELD_NUMBERstatic intNEGATIVE_KEYWORDS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)BiddableKeywordgetBiddableKeywords(int index)Required.intgetBiddableKeywordsCount()Required.java.util.List<BiddableKeyword>getBiddableKeywordsList()Required.BiddableKeywordOrBuildergetBiddableKeywordsOrBuilder(int index)Required.java.util.List<? extends BiddableKeywordOrBuilder>getBiddableKeywordsOrBuilderList()Required.static ForecastAdGroupgetDefaultInstance()ForecastAdGroupgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()longgetMaxCpcBidMicros()The max cpc to use for the ad group when generating forecasted traffic.KeywordInfogetNegativeKeywords(int index)The details of the keyword.intgetNegativeKeywordsCount()The details of the keyword.java.util.List<KeywordInfo>getNegativeKeywordsList()The details of the keyword.KeywordInfoOrBuildergetNegativeKeywordsOrBuilder(int index)The details of the keyword.java.util.List<? extends KeywordInfoOrBuilder>getNegativeKeywordsOrBuilderList()The details of the keyword.com.google.protobuf.Parser<ForecastAdGroup>getParserForType()intgetSerializedSize()inthashCode()booleanhasMaxCpcBidMicros()The max cpc to use for the ad group when generating forecasted traffic.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ForecastAdGroup.BuildernewBuilder()static ForecastAdGroup.BuildernewBuilder(ForecastAdGroup prototype)ForecastAdGroup.BuildernewBuilderForType()protected ForecastAdGroup.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ForecastAdGroupparseDelimitedFrom(java.io.InputStream input)static ForecastAdGroupparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ForecastAdGroupparseFrom(byte[] data)static ForecastAdGroupparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ForecastAdGroupparseFrom(com.google.protobuf.ByteString data)static ForecastAdGroupparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ForecastAdGroupparseFrom(com.google.protobuf.CodedInputStream input)static ForecastAdGroupparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ForecastAdGroupparseFrom(java.io.InputStream input)static ForecastAdGroupparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ForecastAdGroupparseFrom(java.nio.ByteBuffer data)static ForecastAdGroupparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ForecastAdGroup>parser()ForecastAdGroup.BuildertoBuilder()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, 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
-
MAX_CPC_BID_MICROS_FIELD_NUMBER
public static final int MAX_CPC_BID_MICROS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BIDDABLE_KEYWORDS_FIELD_NUMBER
public static final int BIDDABLE_KEYWORDS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NEGATIVE_KEYWORDS_FIELD_NUMBER
public static final int NEGATIVE_KEYWORDS_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
-
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
-
hasMaxCpcBidMicros
public boolean hasMaxCpcBidMicros()
The max cpc to use for the ad group when generating forecasted traffic. This value will override the max cpc value set in the bidding strategy. Only specify this field for bidding strategies that max cpc values.
optional int64 max_cpc_bid_micros = 1;- Specified by:
hasMaxCpcBidMicrosin interfaceForecastAdGroupOrBuilder- Returns:
- Whether the maxCpcBidMicros field is set.
-
getMaxCpcBidMicros
public long getMaxCpcBidMicros()
The max cpc to use for the ad group when generating forecasted traffic. This value will override the max cpc value set in the bidding strategy. Only specify this field for bidding strategies that max cpc values.
optional int64 max_cpc_bid_micros = 1;- Specified by:
getMaxCpcBidMicrosin interfaceForecastAdGroupOrBuilder- Returns:
- The maxCpcBidMicros.
-
getBiddableKeywordsList
public java.util.List<BiddableKeyword> getBiddableKeywordsList()
Required. The list of biddable keywords to be used in the ad group when doing the forecast. Requires at least one keyword.
repeated .google.ads.googleads.v15.services.BiddableKeyword biddable_keywords = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getBiddableKeywordsListin interfaceForecastAdGroupOrBuilder
-
getBiddableKeywordsOrBuilderList
public java.util.List<? extends BiddableKeywordOrBuilder> getBiddableKeywordsOrBuilderList()
Required. The list of biddable keywords to be used in the ad group when doing the forecast. Requires at least one keyword.
repeated .google.ads.googleads.v15.services.BiddableKeyword biddable_keywords = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getBiddableKeywordsOrBuilderListin interfaceForecastAdGroupOrBuilder
-
getBiddableKeywordsCount
public int getBiddableKeywordsCount()
Required. The list of biddable keywords to be used in the ad group when doing the forecast. Requires at least one keyword.
repeated .google.ads.googleads.v15.services.BiddableKeyword biddable_keywords = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getBiddableKeywordsCountin interfaceForecastAdGroupOrBuilder
-
getBiddableKeywords
public BiddableKeyword getBiddableKeywords(int index)
Required. The list of biddable keywords to be used in the ad group when doing the forecast. Requires at least one keyword.
repeated .google.ads.googleads.v15.services.BiddableKeyword biddable_keywords = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getBiddableKeywordsin interfaceForecastAdGroupOrBuilder
-
getBiddableKeywordsOrBuilder
public BiddableKeywordOrBuilder getBiddableKeywordsOrBuilder(int index)
Required. The list of biddable keywords to be used in the ad group when doing the forecast. Requires at least one keyword.
repeated .google.ads.googleads.v15.services.BiddableKeyword biddable_keywords = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getBiddableKeywordsOrBuilderin interfaceForecastAdGroupOrBuilder
-
getNegativeKeywordsList
public java.util.List<KeywordInfo> getNegativeKeywordsList()
The details of the keyword. You should specify both the keyword text and match type.
repeated .google.ads.googleads.v15.common.KeywordInfo negative_keywords = 3;- Specified by:
getNegativeKeywordsListin interfaceForecastAdGroupOrBuilder
-
getNegativeKeywordsOrBuilderList
public java.util.List<? extends KeywordInfoOrBuilder> getNegativeKeywordsOrBuilderList()
The details of the keyword. You should specify both the keyword text and match type.
repeated .google.ads.googleads.v15.common.KeywordInfo negative_keywords = 3;- Specified by:
getNegativeKeywordsOrBuilderListin interfaceForecastAdGroupOrBuilder
-
getNegativeKeywordsCount
public int getNegativeKeywordsCount()
The details of the keyword. You should specify both the keyword text and match type.
repeated .google.ads.googleads.v15.common.KeywordInfo negative_keywords = 3;- Specified by:
getNegativeKeywordsCountin interfaceForecastAdGroupOrBuilder
-
getNegativeKeywords
public KeywordInfo getNegativeKeywords(int index)
The details of the keyword. You should specify both the keyword text and match type.
repeated .google.ads.googleads.v15.common.KeywordInfo negative_keywords = 3;- Specified by:
getNegativeKeywordsin interfaceForecastAdGroupOrBuilder
-
getNegativeKeywordsOrBuilder
public KeywordInfoOrBuilder getNegativeKeywordsOrBuilder(int index)
The details of the keyword. You should specify both the keyword text and match type.
repeated .google.ads.googleads.v15.common.KeywordInfo negative_keywords = 3;- Specified by:
getNegativeKeywordsOrBuilderin interfaceForecastAdGroupOrBuilder
-
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 ForecastAdGroup parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ForecastAdGroup parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ForecastAdGroup parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ForecastAdGroup parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ForecastAdGroup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ForecastAdGroup parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ForecastAdGroup parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ForecastAdGroup parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static ForecastAdGroup parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static ForecastAdGroup parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ForecastAdGroup parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ForecastAdGroup parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public ForecastAdGroup.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ForecastAdGroup.Builder newBuilder()
-
newBuilder
public static ForecastAdGroup.Builder newBuilder(ForecastAdGroup prototype)
-
toBuilder
public ForecastAdGroup.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ForecastAdGroup.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ForecastAdGroup getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ForecastAdGroup> parser()
-
getParserForType
public com.google.protobuf.Parser<ForecastAdGroup> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ForecastAdGroup getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-