Class AdGroupCriterion.PositionEstimates

  • All Implemented Interfaces:
    AdGroupCriterion.PositionEstimatesOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.io.Serializable
    Enclosing class:
    AdGroupCriterion

    public static final class AdGroupCriterion.PositionEstimates
    extends com.google.protobuf.GeneratedMessageV3
    implements AdGroupCriterion.PositionEstimatesOrBuilder
     Estimates for criterion bids at various positions.
     
    Protobuf type google.ads.googleads.v10.resources.AdGroupCriterion.PositionEstimates
    See Also:
    Serialized Form
    • Field Detail

      • FIRST_PAGE_CPC_MICROS_FIELD_NUMBER

        public static final int FIRST_PAGE_CPC_MICROS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • FIRST_POSITION_CPC_MICROS_FIELD_NUMBER

        public static final int FIRST_POSITION_CPC_MICROS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • TOP_OF_PAGE_CPC_MICROS_FIELD_NUMBER

        public static final int TOP_OF_PAGE_CPC_MICROS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ESTIMATED_ADD_CLICKS_AT_FIRST_POSITION_CPC_FIELD_NUMBER

        public static final int ESTIMATED_ADD_CLICKS_AT_FIRST_POSITION_CPC_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ESTIMATED_ADD_COST_AT_FIRST_POSITION_CPC_FIELD_NUMBER

        public static final int ESTIMATED_ADD_COST_AT_FIRST_POSITION_CPC_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
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields 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
      • hasFirstPageCpcMicros

        public boolean hasFirstPageCpcMicros()
         Output only. The estimate of the CPC bid required for ad to be shown on first
         page of search results.
         
        optional int64 first_page_cpc_micros = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasFirstPageCpcMicros in interface AdGroupCriterion.PositionEstimatesOrBuilder
        Returns:
        Whether the firstPageCpcMicros field is set.
      • getFirstPageCpcMicros

        public long getFirstPageCpcMicros()
         Output only. The estimate of the CPC bid required for ad to be shown on first
         page of search results.
         
        optional int64 first_page_cpc_micros = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getFirstPageCpcMicros in interface AdGroupCriterion.PositionEstimatesOrBuilder
        Returns:
        The firstPageCpcMicros.
      • hasFirstPositionCpcMicros

        public boolean hasFirstPositionCpcMicros()
         Output only. The estimate of the CPC bid required for ad to be displayed in first
         position, at the top of the first page of search results.
         
        optional int64 first_position_cpc_micros = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasFirstPositionCpcMicros in interface AdGroupCriterion.PositionEstimatesOrBuilder
        Returns:
        Whether the firstPositionCpcMicros field is set.
      • getFirstPositionCpcMicros

        public long getFirstPositionCpcMicros()
         Output only. The estimate of the CPC bid required for ad to be displayed in first
         position, at the top of the first page of search results.
         
        optional int64 first_position_cpc_micros = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getFirstPositionCpcMicros in interface AdGroupCriterion.PositionEstimatesOrBuilder
        Returns:
        The firstPositionCpcMicros.
      • hasTopOfPageCpcMicros

        public boolean hasTopOfPageCpcMicros()
         Output only. The estimate of the CPC bid required for ad to be displayed at the top
         of the first page of search results.
         
        optional int64 top_of_page_cpc_micros = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasTopOfPageCpcMicros in interface AdGroupCriterion.PositionEstimatesOrBuilder
        Returns:
        Whether the topOfPageCpcMicros field is set.
      • getTopOfPageCpcMicros

        public long getTopOfPageCpcMicros()
         Output only. The estimate of the CPC bid required for ad to be displayed at the top
         of the first page of search results.
         
        optional int64 top_of_page_cpc_micros = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getTopOfPageCpcMicros in interface AdGroupCriterion.PositionEstimatesOrBuilder
        Returns:
        The topOfPageCpcMicros.
      • hasEstimatedAddClicksAtFirstPositionCpc

        public boolean hasEstimatedAddClicksAtFirstPositionCpc()
         Output only. Estimate of how many clicks per week you might get by changing your
         keyword bid to the value in first_position_cpc_micros.
         
        optional int64 estimated_add_clicks_at_first_position_cpc = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasEstimatedAddClicksAtFirstPositionCpc in interface AdGroupCriterion.PositionEstimatesOrBuilder
        Returns:
        Whether the estimatedAddClicksAtFirstPositionCpc field is set.
      • getEstimatedAddClicksAtFirstPositionCpc

        public long getEstimatedAddClicksAtFirstPositionCpc()
         Output only. Estimate of how many clicks per week you might get by changing your
         keyword bid to the value in first_position_cpc_micros.
         
        optional int64 estimated_add_clicks_at_first_position_cpc = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getEstimatedAddClicksAtFirstPositionCpc in interface AdGroupCriterion.PositionEstimatesOrBuilder
        Returns:
        The estimatedAddClicksAtFirstPositionCpc.
      • hasEstimatedAddCostAtFirstPositionCpc

        public boolean hasEstimatedAddCostAtFirstPositionCpc()
         Output only. Estimate of how your cost per week might change when changing your
         keyword bid to the value in first_position_cpc_micros.
         
        optional int64 estimated_add_cost_at_first_position_cpc = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasEstimatedAddCostAtFirstPositionCpc in interface AdGroupCriterion.PositionEstimatesOrBuilder
        Returns:
        Whether the estimatedAddCostAtFirstPositionCpc field is set.
      • getEstimatedAddCostAtFirstPositionCpc

        public long getEstimatedAddCostAtFirstPositionCpc()
         Output only. Estimate of how your cost per week might change when changing your
         keyword bid to the value in first_position_cpc_micros.
         
        optional int64 estimated_add_cost_at_first_position_cpc = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getEstimatedAddCostAtFirstPositionCpc in interface AdGroupCriterion.PositionEstimatesOrBuilder
        Returns:
        The estimatedAddCostAtFirstPositionCpc.
      • 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 AdGroupCriterion.PositionEstimates parseFrom​(java.nio.ByteBuffer data)
                                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AdGroupCriterion.PositionEstimates parseFrom​(java.nio.ByteBuffer data,
                                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

        public static AdGroupCriterion.PositionEstimates parseFrom​(com.google.protobuf.ByteString data,
                                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AdGroupCriterion.PositionEstimates parseFrom​(byte[] data)
                                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

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

        protected AdGroupCriterion.PositionEstimates.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

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