Class GenerateRecommendationsRequest.BiddingInfo

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableMessage<com.google.protobuf.GeneratedMessageV3>
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v21.services.GenerateRecommendationsRequest.BiddingInfo
All Implemented Interfaces:
GenerateRecommendationsRequest.BiddingInfoOrBuilder, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
GenerateRecommendationsRequest

public static final class GenerateRecommendationsRequest.BiddingInfo extends com.google.protobuf.GeneratedMessageV3 implements GenerateRecommendationsRequest.BiddingInfoOrBuilder
 Current bidding information of the campaign. Provides a wrapper for
 bidding-related signals that inform recommendations.
 
Protobuf type google.ads.googleads.v21.services.GenerateRecommendationsRequest.BiddingInfo
See Also:
  • Field Details

    • BIDDING_STRATEGY_TYPE_FIELD_NUMBER

      public static final int BIDDING_STRATEGY_TYPE_FIELD_NUMBER
      See Also:
    • TARGET_CPA_MICROS_FIELD_NUMBER

      public static final int TARGET_CPA_MICROS_FIELD_NUMBER
      See Also:
    • TARGET_ROAS_FIELD_NUMBER

      public static final int TARGET_ROAS_FIELD_NUMBER
      See Also:
    • TARGET_IMPRESSION_SHARE_INFO_FIELD_NUMBER

      public static final int TARGET_IMPRESSION_SHARE_INFO_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()
      Overrides:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getBiddingStrategyTargetInfoCase

      Specified by:
      getBiddingStrategyTargetInfoCase in interface GenerateRecommendationsRequest.BiddingInfoOrBuilder
    • hasBiddingStrategyType

      public boolean hasBiddingStrategyType()
       Current bidding strategy.
       This field is necessary for the following recommendation_types:
       CAMPAIGN_BUDGET, MAXIMIZE_CLICKS_OPT_IN, MAXIMIZE_CONVERSIONS_OPT_IN,
       MAXIMIZE_CONVERSION_VALUE_OPT_IN, SET_TARGET_CPA, SET_TARGET_ROAS,
       TARGET_CPA_OPT_IN, TARGET_ROAS_OPT_IN
       
      optional .google.ads.googleads.v21.enums.BiddingStrategyTypeEnum.BiddingStrategyType bidding_strategy_type = 1;
      Specified by:
      hasBiddingStrategyType in interface GenerateRecommendationsRequest.BiddingInfoOrBuilder
      Returns:
      Whether the biddingStrategyType field is set.
    • getBiddingStrategyTypeValue

      public int getBiddingStrategyTypeValue()
       Current bidding strategy.
       This field is necessary for the following recommendation_types:
       CAMPAIGN_BUDGET, MAXIMIZE_CLICKS_OPT_IN, MAXIMIZE_CONVERSIONS_OPT_IN,
       MAXIMIZE_CONVERSION_VALUE_OPT_IN, SET_TARGET_CPA, SET_TARGET_ROAS,
       TARGET_CPA_OPT_IN, TARGET_ROAS_OPT_IN
       
      optional .google.ads.googleads.v21.enums.BiddingStrategyTypeEnum.BiddingStrategyType bidding_strategy_type = 1;
      Specified by:
      getBiddingStrategyTypeValue in interface GenerateRecommendationsRequest.BiddingInfoOrBuilder
      Returns:
      The enum numeric value on the wire for biddingStrategyType.
    • getBiddingStrategyType

      public BiddingStrategyTypeEnum.BiddingStrategyType getBiddingStrategyType()
       Current bidding strategy.
       This field is necessary for the following recommendation_types:
       CAMPAIGN_BUDGET, MAXIMIZE_CLICKS_OPT_IN, MAXIMIZE_CONVERSIONS_OPT_IN,
       MAXIMIZE_CONVERSION_VALUE_OPT_IN, SET_TARGET_CPA, SET_TARGET_ROAS,
       TARGET_CPA_OPT_IN, TARGET_ROAS_OPT_IN
       
      optional .google.ads.googleads.v21.enums.BiddingStrategyTypeEnum.BiddingStrategyType bidding_strategy_type = 1;
      Specified by:
      getBiddingStrategyType in interface GenerateRecommendationsRequest.BiddingInfoOrBuilder
      Returns:
      The biddingStrategyType.
    • hasTargetCpaMicros

      public boolean hasTargetCpaMicros()
       Current target_cpa in micros.
       This can be populated for campaigns with a bidding strategy type of
       TARGET_CPA or MAXIMIZE_CONVERSIONS.
       
      int64 target_cpa_micros = 2;
      Specified by:
      hasTargetCpaMicros in interface GenerateRecommendationsRequest.BiddingInfoOrBuilder
      Returns:
      Whether the targetCpaMicros field is set.
    • getTargetCpaMicros

      public long getTargetCpaMicros()
       Current target_cpa in micros.
       This can be populated for campaigns with a bidding strategy type of
       TARGET_CPA or MAXIMIZE_CONVERSIONS.
       
      int64 target_cpa_micros = 2;
      Specified by:
      getTargetCpaMicros in interface GenerateRecommendationsRequest.BiddingInfoOrBuilder
      Returns:
      The targetCpaMicros.
    • hasTargetRoas

      public boolean hasTargetRoas()
       Current target_roas.
       This can be populated for campaigns with a bidding strategy type of
       TARGET_ROAS or MAXIMIZE_CONVERSION_VALUE.
       
      double target_roas = 3;
      Specified by:
      hasTargetRoas in interface GenerateRecommendationsRequest.BiddingInfoOrBuilder
      Returns:
      Whether the targetRoas field is set.
    • getTargetRoas

      public double getTargetRoas()
       Current target_roas.
       This can be populated for campaigns with a bidding strategy type of
       TARGET_ROAS or MAXIMIZE_CONVERSION_VALUE.
       
      double target_roas = 3;
      Specified by:
      getTargetRoas in interface GenerateRecommendationsRequest.BiddingInfoOrBuilder
      Returns:
      The targetRoas.
    • hasTargetImpressionShareInfo

      public boolean hasTargetImpressionShareInfo()
       Optional. Current Target Impression Share information of the campaign.
       This field is necessary for the following recommendation_types:
       CAMPAIGN_BUDGET
       
      .google.ads.googleads.v21.services.GenerateRecommendationsRequest.TargetImpressionShareInfo target_impression_share_info = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasTargetImpressionShareInfo in interface GenerateRecommendationsRequest.BiddingInfoOrBuilder
      Returns:
      Whether the targetImpressionShareInfo field is set.
    • getTargetImpressionShareInfo

      public GenerateRecommendationsRequest.TargetImpressionShareInfo getTargetImpressionShareInfo()
       Optional. Current Target Impression Share information of the campaign.
       This field is necessary for the following recommendation_types:
       CAMPAIGN_BUDGET
       
      .google.ads.googleads.v21.services.GenerateRecommendationsRequest.TargetImpressionShareInfo target_impression_share_info = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTargetImpressionShareInfo in interface GenerateRecommendationsRequest.BiddingInfoOrBuilder
      Returns:
      The targetImpressionShareInfo.
    • getTargetImpressionShareInfoOrBuilder

      public GenerateRecommendationsRequest.TargetImpressionShareInfoOrBuilder getTargetImpressionShareInfoOrBuilder()
       Optional. Current Target Impression Share information of the campaign.
       This field is necessary for the following recommendation_types:
       CAMPAIGN_BUDGET
       
      .google.ads.googleads.v21.services.GenerateRecommendationsRequest.TargetImpressionShareInfo target_impression_share_info = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTargetImpressionShareInfoOrBuilder in interface GenerateRecommendationsRequest.BiddingInfoOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.ExtendableMessage<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.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • 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 GenerateRecommendationsRequest.BiddingInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GenerateRecommendationsRequest.BiddingInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GenerateRecommendationsRequest.BiddingInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GenerateRecommendationsRequest.BiddingInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GenerateRecommendationsRequest.BiddingInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GenerateRecommendationsRequest.BiddingInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GenerateRecommendationsRequest.BiddingInfo parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static GenerateRecommendationsRequest.BiddingInfo parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected GenerateRecommendationsRequest.BiddingInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static GenerateRecommendationsRequest.BiddingInfo getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<GenerateRecommendationsRequest.BiddingInfo> 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.GeneratedMessage
    • getDefaultInstanceForType

      public GenerateRecommendationsRequest.BiddingInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder