Class AccessibleBiddingStrategy

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

public final class AccessibleBiddingStrategy extends com.google.protobuf.GeneratedMessageV3 implements AccessibleBiddingStrategyOrBuilder
 Represents a view of BiddingStrategies owned by and shared with the customer.

 In contrast to BiddingStrategy, this resource includes strategies owned by
 managers of the customer and shared with this customer - in addition to
 strategies owned by this customer. This resource does not provide metrics and
 only exposes a limited subset of the BiddingStrategy attributes.
 
Protobuf type google.ads.googleads.v18.resources.AccessibleBiddingStrategy
See Also:
  • Field Details

    • RESOURCE_NAME_FIELD_NUMBER

      public static final int RESOURCE_NAME_FIELD_NUMBER
      See Also:
    • ID_FIELD_NUMBER

      public static final int ID_FIELD_NUMBER
      See Also:
    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • TYPE_FIELD_NUMBER

      public static final int TYPE_FIELD_NUMBER
      See Also:
    • OWNER_CUSTOMER_ID_FIELD_NUMBER

      public static final int OWNER_CUSTOMER_ID_FIELD_NUMBER
      See Also:
    • OWNER_DESCRIPTIVE_NAME_FIELD_NUMBER

      public static final int OWNER_DESCRIPTIVE_NAME_FIELD_NUMBER
      See Also:
    • MAXIMIZE_CONVERSION_VALUE_FIELD_NUMBER

      public static final int MAXIMIZE_CONVERSION_VALUE_FIELD_NUMBER
      See Also:
    • MAXIMIZE_CONVERSIONS_FIELD_NUMBER

      public static final int MAXIMIZE_CONVERSIONS_FIELD_NUMBER
      See Also:
    • TARGET_CPA_FIELD_NUMBER

      public static final int TARGET_CPA_FIELD_NUMBER
      See Also:
    • TARGET_IMPRESSION_SHARE_FIELD_NUMBER

      public static final int TARGET_IMPRESSION_SHARE_FIELD_NUMBER
      See Also:
    • TARGET_ROAS_FIELD_NUMBER

      public static final int TARGET_ROAS_FIELD_NUMBER
      See Also:
    • TARGET_SPEND_FIELD_NUMBER

      public static final int TARGET_SPEND_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
    • getSchemeCase

      public AccessibleBiddingStrategy.SchemeCase getSchemeCase()
      Specified by:
      getSchemeCase in interface AccessibleBiddingStrategyOrBuilder
    • getResourceName

      public String getResourceName()
       Output only. The resource name of the accessible bidding strategy.
       AccessibleBiddingStrategy resource names have the form:
      
       `customers/{customer_id}/accessibleBiddingStrategies/{bidding_strategy_id}`
       
      string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getResourceName in interface AccessibleBiddingStrategyOrBuilder
      Returns:
      The resourceName.
    • getResourceNameBytes

      public com.google.protobuf.ByteString getResourceNameBytes()
       Output only. The resource name of the accessible bidding strategy.
       AccessibleBiddingStrategy resource names have the form:
      
       `customers/{customer_id}/accessibleBiddingStrategies/{bidding_strategy_id}`
       
      string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getResourceNameBytes in interface AccessibleBiddingStrategyOrBuilder
      Returns:
      The bytes for resourceName.
    • getId

      public long getId()
       Output only. The ID of the bidding strategy.
       
      int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getId in interface AccessibleBiddingStrategyOrBuilder
      Returns:
      The id.
    • getName

      public String getName()
       Output only. The name of the bidding strategy.
       
      string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getName in interface AccessibleBiddingStrategyOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Output only. The name of the bidding strategy.
       
      string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNameBytes in interface AccessibleBiddingStrategyOrBuilder
      Returns:
      The bytes for name.
    • getTypeValue

      public int getTypeValue()
       Output only. The type of the bidding strategy.
       
      .google.ads.googleads.v18.enums.BiddingStrategyTypeEnum.BiddingStrategyType type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTypeValue in interface AccessibleBiddingStrategyOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • getType

       Output only. The type of the bidding strategy.
       
      .google.ads.googleads.v18.enums.BiddingStrategyTypeEnum.BiddingStrategyType type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getType in interface AccessibleBiddingStrategyOrBuilder
      Returns:
      The type.
    • getOwnerCustomerId

      public long getOwnerCustomerId()
       Output only. The ID of the Customer which owns the bidding strategy.
       
      int64 owner_customer_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOwnerCustomerId in interface AccessibleBiddingStrategyOrBuilder
      Returns:
      The ownerCustomerId.
    • getOwnerDescriptiveName

      public String getOwnerDescriptiveName()
       Output only. descriptive_name of the Customer which owns the bidding
       strategy.
       
      string owner_descriptive_name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOwnerDescriptiveName in interface AccessibleBiddingStrategyOrBuilder
      Returns:
      The ownerDescriptiveName.
    • getOwnerDescriptiveNameBytes

      public com.google.protobuf.ByteString getOwnerDescriptiveNameBytes()
       Output only. descriptive_name of the Customer which owns the bidding
       strategy.
       
      string owner_descriptive_name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOwnerDescriptiveNameBytes in interface AccessibleBiddingStrategyOrBuilder
      Returns:
      The bytes for ownerDescriptiveName.
    • hasMaximizeConversionValue

      public boolean hasMaximizeConversionValue()
       Output only. An automated bidding strategy to help get the most
       conversion value for your campaigns while spending your budget.
       
      .google.ads.googleads.v18.resources.AccessibleBiddingStrategy.MaximizeConversionValue maximize_conversion_value = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasMaximizeConversionValue in interface AccessibleBiddingStrategyOrBuilder
      Returns:
      Whether the maximizeConversionValue field is set.
    • getMaximizeConversionValue

      public AccessibleBiddingStrategy.MaximizeConversionValue getMaximizeConversionValue()
       Output only. An automated bidding strategy to help get the most
       conversion value for your campaigns while spending your budget.
       
      .google.ads.googleads.v18.resources.AccessibleBiddingStrategy.MaximizeConversionValue maximize_conversion_value = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMaximizeConversionValue in interface AccessibleBiddingStrategyOrBuilder
      Returns:
      The maximizeConversionValue.
    • getMaximizeConversionValueOrBuilder

      public AccessibleBiddingStrategy.MaximizeConversionValueOrBuilder getMaximizeConversionValueOrBuilder()
       Output only. An automated bidding strategy to help get the most
       conversion value for your campaigns while spending your budget.
       
      .google.ads.googleads.v18.resources.AccessibleBiddingStrategy.MaximizeConversionValue maximize_conversion_value = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMaximizeConversionValueOrBuilder in interface AccessibleBiddingStrategyOrBuilder
    • hasMaximizeConversions

      public boolean hasMaximizeConversions()
       Output only. An automated bidding strategy to help get the most
       conversions for your campaigns while spending your budget.
       
      .google.ads.googleads.v18.resources.AccessibleBiddingStrategy.MaximizeConversions maximize_conversions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasMaximizeConversions in interface AccessibleBiddingStrategyOrBuilder
      Returns:
      Whether the maximizeConversions field is set.
    • getMaximizeConversions

      public AccessibleBiddingStrategy.MaximizeConversions getMaximizeConversions()
       Output only. An automated bidding strategy to help get the most
       conversions for your campaigns while spending your budget.
       
      .google.ads.googleads.v18.resources.AccessibleBiddingStrategy.MaximizeConversions maximize_conversions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMaximizeConversions in interface AccessibleBiddingStrategyOrBuilder
      Returns:
      The maximizeConversions.
    • getMaximizeConversionsOrBuilder

      public AccessibleBiddingStrategy.MaximizeConversionsOrBuilder getMaximizeConversionsOrBuilder()
       Output only. An automated bidding strategy to help get the most
       conversions for your campaigns while spending your budget.
       
      .google.ads.googleads.v18.resources.AccessibleBiddingStrategy.MaximizeConversions maximize_conversions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMaximizeConversionsOrBuilder in interface AccessibleBiddingStrategyOrBuilder
    • hasTargetCpa

      public boolean hasTargetCpa()
       Output only. A bidding strategy that sets bids to help get as many
       conversions as possible at the target cost-per-acquisition (CPA) you set.
       
      .google.ads.googleads.v18.resources.AccessibleBiddingStrategy.TargetCpa target_cpa = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasTargetCpa in interface AccessibleBiddingStrategyOrBuilder
      Returns:
      Whether the targetCpa field is set.
    • getTargetCpa

      public AccessibleBiddingStrategy.TargetCpa getTargetCpa()
       Output only. A bidding strategy that sets bids to help get as many
       conversions as possible at the target cost-per-acquisition (CPA) you set.
       
      .google.ads.googleads.v18.resources.AccessibleBiddingStrategy.TargetCpa target_cpa = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTargetCpa in interface AccessibleBiddingStrategyOrBuilder
      Returns:
      The targetCpa.
    • getTargetCpaOrBuilder

      public AccessibleBiddingStrategy.TargetCpaOrBuilder getTargetCpaOrBuilder()
       Output only. A bidding strategy that sets bids to help get as many
       conversions as possible at the target cost-per-acquisition (CPA) you set.
       
      .google.ads.googleads.v18.resources.AccessibleBiddingStrategy.TargetCpa target_cpa = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTargetCpaOrBuilder in interface AccessibleBiddingStrategyOrBuilder
    • hasTargetImpressionShare

      public boolean hasTargetImpressionShare()
       Output only. A bidding strategy that automatically optimizes towards a
       chosen percentage of impressions.
       
      .google.ads.googleads.v18.resources.AccessibleBiddingStrategy.TargetImpressionShare target_impression_share = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasTargetImpressionShare in interface AccessibleBiddingStrategyOrBuilder
      Returns:
      Whether the targetImpressionShare field is set.
    • getTargetImpressionShare

      public AccessibleBiddingStrategy.TargetImpressionShare getTargetImpressionShare()
       Output only. A bidding strategy that automatically optimizes towards a
       chosen percentage of impressions.
       
      .google.ads.googleads.v18.resources.AccessibleBiddingStrategy.TargetImpressionShare target_impression_share = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTargetImpressionShare in interface AccessibleBiddingStrategyOrBuilder
      Returns:
      The targetImpressionShare.
    • getTargetImpressionShareOrBuilder

      public AccessibleBiddingStrategy.TargetImpressionShareOrBuilder getTargetImpressionShareOrBuilder()
       Output only. A bidding strategy that automatically optimizes towards a
       chosen percentage of impressions.
       
      .google.ads.googleads.v18.resources.AccessibleBiddingStrategy.TargetImpressionShare target_impression_share = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTargetImpressionShareOrBuilder in interface AccessibleBiddingStrategyOrBuilder
    • hasTargetRoas

      public boolean hasTargetRoas()
       Output only. A bidding strategy that helps you maximize revenue while
       averaging a specific target Return On Ad Spend (ROAS).
       
      .google.ads.googleads.v18.resources.AccessibleBiddingStrategy.TargetRoas target_roas = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasTargetRoas in interface AccessibleBiddingStrategyOrBuilder
      Returns:
      Whether the targetRoas field is set.
    • getTargetRoas

      public AccessibleBiddingStrategy.TargetRoas getTargetRoas()
       Output only. A bidding strategy that helps you maximize revenue while
       averaging a specific target Return On Ad Spend (ROAS).
       
      .google.ads.googleads.v18.resources.AccessibleBiddingStrategy.TargetRoas target_roas = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTargetRoas in interface AccessibleBiddingStrategyOrBuilder
      Returns:
      The targetRoas.
    • getTargetRoasOrBuilder

      public AccessibleBiddingStrategy.TargetRoasOrBuilder getTargetRoasOrBuilder()
       Output only. A bidding strategy that helps you maximize revenue while
       averaging a specific target Return On Ad Spend (ROAS).
       
      .google.ads.googleads.v18.resources.AccessibleBiddingStrategy.TargetRoas target_roas = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTargetRoasOrBuilder in interface AccessibleBiddingStrategyOrBuilder
    • hasTargetSpend

      public boolean hasTargetSpend()
       Output only. A bid strategy that sets your bids to help get as many
       clicks as possible within your budget.
       
      .google.ads.googleads.v18.resources.AccessibleBiddingStrategy.TargetSpend target_spend = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasTargetSpend in interface AccessibleBiddingStrategyOrBuilder
      Returns:
      Whether the targetSpend field is set.
    • getTargetSpend

      public AccessibleBiddingStrategy.TargetSpend getTargetSpend()
       Output only. A bid strategy that sets your bids to help get as many
       clicks as possible within your budget.
       
      .google.ads.googleads.v18.resources.AccessibleBiddingStrategy.TargetSpend target_spend = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTargetSpend in interface AccessibleBiddingStrategyOrBuilder
      Returns:
      The targetSpend.
    • getTargetSpendOrBuilder

      public AccessibleBiddingStrategy.TargetSpendOrBuilder getTargetSpendOrBuilder()
       Output only. A bid strategy that sets your bids to help get as many
       clicks as possible within your budget.
       
      .google.ads.googleads.v18.resources.AccessibleBiddingStrategy.TargetSpend target_spend = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTargetSpendOrBuilder in interface AccessibleBiddingStrategyOrBuilder
    • 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 parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static AccessibleBiddingStrategy 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 parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

      public static AccessibleBiddingStrategy.Builder newBuilder()
    • newBuilder

      public static AccessibleBiddingStrategy.Builder newBuilder(AccessibleBiddingStrategy prototype)
    • toBuilder

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

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

      public static AccessibleBiddingStrategy getDefaultInstance()
    • parser

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

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