Class AccessibleBiddingStrategy

  • All Implemented Interfaces:
    AccessibleBiddingStrategyOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.io.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.v14.resources.AccessibleBiddingStrategy
    See Also:
    Serialized Form
    • Field Detail

      • RESOURCE_NAME_FIELD_NUMBER

        public static final int RESOURCE_NAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • OWNER_CUSTOMER_ID_FIELD_NUMBER

        public static final int OWNER_CUSTOMER_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
      • OWNER_DESCRIPTIVE_NAME_FIELD_NUMBER

        public static final int OWNER_DESCRIPTIVE_NAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • MAXIMIZE_CONVERSION_VALUE_FIELD_NUMBER

        public static final int MAXIMIZE_CONVERSION_VALUE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • MAXIMIZE_CONVERSIONS_FIELD_NUMBER

        public static final int MAXIMIZE_CONVERSIONS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • TARGET_CPA_FIELD_NUMBER

        public static final int TARGET_CPA_FIELD_NUMBER
        See Also:
        Constant Field Values
      • TARGET_IMPRESSION_SHARE_FIELD_NUMBER

        public static final int TARGET_IMPRESSION_SHARE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • TARGET_ROAS_FIELD_NUMBER

        public static final int TARGET_ROAS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • TARGET_SPEND_FIELD_NUMBER

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

        public java.lang.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 java.lang.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.v14.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.
      • 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 java.lang.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.v14.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.
      • 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.v14.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.
      • 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.v14.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.v14.resources.AccessibleBiddingStrategy.TargetCpa target_cpa = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getTargetCpa in interface AccessibleBiddingStrategyOrBuilder
        Returns:
        The targetCpa.
      • hasTargetImpressionShare

        public boolean hasTargetImpressionShare()
         Output only. A bidding strategy that automatically optimizes towards a
         chosen percentage of impressions.
         
        .google.ads.googleads.v14.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.
      • 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.v14.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.v14.resources.AccessibleBiddingStrategy.TargetRoas target_roas = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getTargetRoas in interface AccessibleBiddingStrategyOrBuilder
        Returns:
        The targetRoas.
      • 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.v14.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.v14.resources.AccessibleBiddingStrategy.TargetSpend target_spend = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getTargetSpend in interface AccessibleBiddingStrategyOrBuilder
        Returns:
        The targetSpend.
      • 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 AccessibleBiddingStrategy parseFrom​(java.nio.ByteBuffer data)
                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AccessibleBiddingStrategy parseFrom​(java.nio.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​(java.io.InputStream input)
                                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

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

        public static AccessibleBiddingStrategy parseDelimitedFrom​(java.io.InputStream input)
                                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

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

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

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

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

        public AccessibleBiddingStrategy.Builder 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
      • 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