Class 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 type google.ads.googleads.v15.services.ForecastAdGroup
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  ForecastAdGroup.Builder
      An 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
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • 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:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.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:
        hasMaxCpcBidMicros in interface ForecastAdGroupOrBuilder
        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:
        getMaxCpcBidMicros in interface ForecastAdGroupOrBuilder
        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:
        getBiddableKeywordsList in interface ForecastAdGroupOrBuilder
      • 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:
        getBiddableKeywordsOrBuilderList in interface ForecastAdGroupOrBuilder
      • 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:
        getBiddableKeywordsCount in interface ForecastAdGroupOrBuilder
      • 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:
        getBiddableKeywords in interface ForecastAdGroupOrBuilder
      • 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:
        getBiddableKeywordsOrBuilder in interface ForecastAdGroupOrBuilder
      • 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:
        getNegativeKeywordsList in interface ForecastAdGroupOrBuilder
      • 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:
        getNegativeKeywordsCount in interface ForecastAdGroupOrBuilder
      • 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:
        getNegativeKeywords in interface ForecastAdGroupOrBuilder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.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:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public ForecastAdGroup.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected ForecastAdGroup.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • parser

        public static com.google.protobuf.Parser<ForecastAdGroup> parser()
      • getParserForType

        public com.google.protobuf.Parser<ForecastAdGroup> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public ForecastAdGroup getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder