Class AccessibleBiddingStrategy.TargetRoas

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.resources.AccessibleBiddingStrategy.TargetRoas
All Implemented Interfaces:
AccessibleBiddingStrategy.TargetRoasOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
AccessibleBiddingStrategy

public static final class AccessibleBiddingStrategy.TargetRoas extends com.google.protobuf.GeneratedMessageV3 implements AccessibleBiddingStrategy.TargetRoasOrBuilder
 An automated bidding strategy that helps you maximize revenue while
 averaging a specific target return on ad spend (ROAS).
 
Protobuf type google.ads.googleads.v18.resources.AccessibleBiddingStrategy.TargetRoas
See Also:
  • Field Details

    • TARGET_ROAS_FIELD_NUMBER

      public static final int TARGET_ROAS_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
    • hasTargetRoas

      public boolean hasTargetRoas()
       Output only. The chosen revenue (based on conversion data) per unit of
       spend.
       
      optional double target_roas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasTargetRoas in interface AccessibleBiddingStrategy.TargetRoasOrBuilder
      Returns:
      Whether the targetRoas field is set.
    • getTargetRoas

      public double getTargetRoas()
       Output only. The chosen revenue (based on conversion data) per unit of
       spend.
       
      optional double target_roas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTargetRoas in interface AccessibleBiddingStrategy.TargetRoasOrBuilder
      Returns:
      The targetRoas.
    • 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 AccessibleBiddingStrategy.TargetRoas parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static AccessibleBiddingStrategy.TargetRoas parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static AccessibleBiddingStrategy.TargetRoas parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

      public static AccessibleBiddingStrategy.TargetRoas 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 AccessibleBiddingStrategy.TargetRoas.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static AccessibleBiddingStrategy.TargetRoas getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<AccessibleBiddingStrategy.TargetRoas> 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 AccessibleBiddingStrategy.TargetRoas getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder