Class ForecastAdGroup

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.services.ForecastAdGroup
All Implemented Interfaces:
ForecastAdGroupOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, 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.v18.services.ForecastAdGroup
See Also:
  • Field Details

    • MAX_CPC_BID_MICROS_FIELD_NUMBER

      public static final int MAX_CPC_BID_MICROS_FIELD_NUMBER
      See Also:
    • BIDDABLE_KEYWORDS_FIELD_NUMBER

      public static final int BIDDABLE_KEYWORDS_FIELD_NUMBER
      See Also:
    • NEGATIVE_KEYWORDS_FIELD_NUMBER

      public static final int NEGATIVE_KEYWORDS_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected 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 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.v18.services.BiddableKeyword biddable_keywords = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getBiddableKeywordsList in interface ForecastAdGroupOrBuilder
    • getBiddableKeywordsOrBuilderList

      public 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.v18.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.v18.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.v18.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.v18.services.BiddableKeyword biddable_keywords = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getBiddableKeywordsOrBuilder in interface ForecastAdGroupOrBuilder
    • getNegativeKeywordsList

      public List<KeywordInfo> getNegativeKeywordsList()
       The details of the keyword. You should specify both the keyword text and
       match type.
       
      repeated .google.ads.googleads.v18.common.KeywordInfo negative_keywords = 3;
      Specified by:
      getNegativeKeywordsList in interface ForecastAdGroupOrBuilder
    • getNegativeKeywordsOrBuilderList

      public List<? extends KeywordInfoOrBuilder> getNegativeKeywordsOrBuilderList()
       The details of the keyword. You should specify both the keyword text and
       match type.
       
      repeated .google.ads.googleads.v18.common.KeywordInfo negative_keywords = 3;
      Specified by:
      getNegativeKeywordsOrBuilderList 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.v18.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.v18.common.KeywordInfo negative_keywords = 3;
      Specified by:
      getNegativeKeywords in interface ForecastAdGroupOrBuilder
    • 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.v18.common.KeywordInfo negative_keywords = 3;
      Specified by:
      getNegativeKeywordsOrBuilder 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 IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      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(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(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ForecastAdGroup parseFrom(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(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ForecastAdGroup parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ForecastAdGroup parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ForecastAdGroup parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ForecastAdGroup parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ForecastAdGroup parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static ForecastAdGroup.Builder newBuilder()
    • newBuilder

      public static ForecastAdGroup.Builder newBuilder(ForecastAdGroup prototype)
    • 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
    • getDefaultInstance

      public static ForecastAdGroup getDefaultInstance()
    • 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