Class AdxExt.BidRequestExt.BidFeedback.Builder

    • Method Detail

      • 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.Builder<AdxExt.BidRequestExt.BidFeedback.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<AdxExt.BidRequestExt.BidFeedback.Builder>
      • getDefaultInstanceForType

        public AdxExt.BidRequestExt.BidFeedback getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public AdxExt.BidRequestExt.BidFeedback build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public AdxExt.BidRequestExt.BidFeedback buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AdxExt.BidRequestExt.BidFeedback.Builder>
      • setRequestId

        public AdxExt.BidRequestExt.BidFeedback.Builder setRequestId​(String value)
         The unique id from BidRequest.id.
         
        optional string request_id = 1;
        Parameters:
        value - The requestId to set.
        Returns:
        This builder for chaining.
      • setRequestIdBytes

        public AdxExt.BidRequestExt.BidFeedback.Builder setRequestIdBytes​(com.google.protobuf.ByteString value)
         The unique id from BidRequest.id.
         
        optional string request_id = 1;
        Parameters:
        value - The bytes for requestId to set.
        Returns:
        This builder for chaining.
      • hasCreativeStatusCode

        public boolean hasCreativeStatusCode()
         The status code for the ad. See creative-status-codes.txt in the
         technical documentation for a list of ids.
         
        optional int32 creative_status_code = 2;
        Specified by:
        hasCreativeStatusCode in interface AdxExt.BidRequestExt.BidFeedbackOrBuilder
        Returns:
        Whether the creativeStatusCode field is set.
      • getCreativeStatusCode

        public int getCreativeStatusCode()
         The status code for the ad. See creative-status-codes.txt in the
         technical documentation for a list of ids.
         
        optional int32 creative_status_code = 2;
        Specified by:
        getCreativeStatusCode in interface AdxExt.BidRequestExt.BidFeedbackOrBuilder
        Returns:
        The creativeStatusCode.
      • setCreativeStatusCode

        public AdxExt.BidRequestExt.BidFeedback.Builder setCreativeStatusCode​(int value)
         The status code for the ad. See creative-status-codes.txt in the
         technical documentation for a list of ids.
         
        optional int32 creative_status_code = 2;
        Parameters:
        value - The creativeStatusCode to set.
        Returns:
        This builder for chaining.
      • clearCreativeStatusCode

        public AdxExt.BidRequestExt.BidFeedback.Builder clearCreativeStatusCode()
         The status code for the ad. See creative-status-codes.txt in the
         technical documentation for a list of ids.
         
        optional int32 creative_status_code = 2;
        Returns:
        This builder for chaining.
      • hasPrice

        public boolean hasPrice()
         If the bid won the auction, this is the price paid in your account
         currency.  If the bid participated in the auction but was out-bid, this
         is the CPM that should have been exceeded in order to win.  This is not
         set if the bid was filtered prior to the auction, if the publisher or
         winning bidder has opted out of price feedback or if your account has
         opted out of sharing winning prices with other bidders. For first-price
         auctions, minimum_bid_to_win is populated instead of this field.
         
        optional double price = 3;
        Specified by:
        hasPrice in interface AdxExt.BidRequestExt.BidFeedbackOrBuilder
        Returns:
        Whether the price field is set.
      • getPrice

        public double getPrice()
         If the bid won the auction, this is the price paid in your account
         currency.  If the bid participated in the auction but was out-bid, this
         is the CPM that should have been exceeded in order to win.  This is not
         set if the bid was filtered prior to the auction, if the publisher or
         winning bidder has opted out of price feedback or if your account has
         opted out of sharing winning prices with other bidders. For first-price
         auctions, minimum_bid_to_win is populated instead of this field.
         
        optional double price = 3;
        Specified by:
        getPrice in interface AdxExt.BidRequestExt.BidFeedbackOrBuilder
        Returns:
        The price.
      • setPrice

        public AdxExt.BidRequestExt.BidFeedback.Builder setPrice​(double value)
         If the bid won the auction, this is the price paid in your account
         currency.  If the bid participated in the auction but was out-bid, this
         is the CPM that should have been exceeded in order to win.  This is not
         set if the bid was filtered prior to the auction, if the publisher or
         winning bidder has opted out of price feedback or if your account has
         opted out of sharing winning prices with other bidders. For first-price
         auctions, minimum_bid_to_win is populated instead of this field.
         
        optional double price = 3;
        Parameters:
        value - The price to set.
        Returns:
        This builder for chaining.
      • clearPrice

        public AdxExt.BidRequestExt.BidFeedback.Builder clearPrice()
         If the bid won the auction, this is the price paid in your account
         currency.  If the bid participated in the auction but was out-bid, this
         is the CPM that should have been exceeded in order to win.  This is not
         set if the bid was filtered prior to the auction, if the publisher or
         winning bidder has opted out of price feedback or if your account has
         opted out of sharing winning prices with other bidders. For first-price
         auctions, minimum_bid_to_win is populated instead of this field.
         
        optional double price = 3;
        Returns:
        This builder for chaining.
      • hasMinimumBidToWin

        public boolean hasMinimumBidToWin()
         The minimum bid value necessary to have the auction, in your account
         currency. If your bid won the auction, this is the second highest bid
         that was not filtered (including the floor price). If your bid did not
         win the auction, this is the winning candidate's bid. This field will
         only be populated if your bid participated in a first-price auction, and
         will not be populated if your bid was filtered prior to the auction.
         
        optional double minimum_bid_to_win = 6;
        Specified by:
        hasMinimumBidToWin in interface AdxExt.BidRequestExt.BidFeedbackOrBuilder
        Returns:
        Whether the minimumBidToWin field is set.
      • getMinimumBidToWin

        public double getMinimumBidToWin()
         The minimum bid value necessary to have the auction, in your account
         currency. If your bid won the auction, this is the second highest bid
         that was not filtered (including the floor price). If your bid did not
         win the auction, this is the winning candidate's bid. This field will
         only be populated if your bid participated in a first-price auction, and
         will not be populated if your bid was filtered prior to the auction.
         
        optional double minimum_bid_to_win = 6;
        Specified by:
        getMinimumBidToWin in interface AdxExt.BidRequestExt.BidFeedbackOrBuilder
        Returns:
        The minimumBidToWin.
      • setMinimumBidToWin

        public AdxExt.BidRequestExt.BidFeedback.Builder setMinimumBidToWin​(double value)
         The minimum bid value necessary to have the auction, in your account
         currency. If your bid won the auction, this is the second highest bid
         that was not filtered (including the floor price). If your bid did not
         win the auction, this is the winning candidate's bid. This field will
         only be populated if your bid participated in a first-price auction, and
         will not be populated if your bid was filtered prior to the auction.
         
        optional double minimum_bid_to_win = 6;
        Parameters:
        value - The minimumBidToWin to set.
        Returns:
        This builder for chaining.
      • clearMinimumBidToWin

        public AdxExt.BidRequestExt.BidFeedback.Builder clearMinimumBidToWin()
         The minimum bid value necessary to have the auction, in your account
         currency. If your bid won the auction, this is the second highest bid
         that was not filtered (including the floor price). If your bid did not
         win the auction, this is the winning candidate's bid. This field will
         only be populated if your bid participated in a first-price auction, and
         will not be populated if your bid was filtered prior to the auction.
         
        optional double minimum_bid_to_win = 6;
        Returns:
        This builder for chaining.
      • hasSampledMediationCpmAheadOfAuctionWinner

        public boolean hasSampledMediationCpmAheadOfAuctionWinner()
         When a publisher uses an RTB auction and waterfall-based SDK mediation on
         the same query, the winner of the real-time auction must also compete in
         a mediation waterfall (which is ordered by price) to win the impression.
         If the bid participated in the auction and there was no waterfall, the
         value of this field is 0. If the bid participated in the auction and
         there was a waterfall, the value of this field is a price representing a
         sample bid from the eligible mediation networks that were higher than the
         auction winner, weighted by expected fill rate.  This field can be used
         in conjunction with minimum_bid_to_win to train bidding models. The CPM
         is in your account currency.
         
        optional double sampled_mediation_cpm_ahead_of_auction_winner = 8;
        Specified by:
        hasSampledMediationCpmAheadOfAuctionWinner in interface AdxExt.BidRequestExt.BidFeedbackOrBuilder
        Returns:
        Whether the sampledMediationCpmAheadOfAuctionWinner field is set.
      • getSampledMediationCpmAheadOfAuctionWinner

        public double getSampledMediationCpmAheadOfAuctionWinner()
         When a publisher uses an RTB auction and waterfall-based SDK mediation on
         the same query, the winner of the real-time auction must also compete in
         a mediation waterfall (which is ordered by price) to win the impression.
         If the bid participated in the auction and there was no waterfall, the
         value of this field is 0. If the bid participated in the auction and
         there was a waterfall, the value of this field is a price representing a
         sample bid from the eligible mediation networks that were higher than the
         auction winner, weighted by expected fill rate.  This field can be used
         in conjunction with minimum_bid_to_win to train bidding models. The CPM
         is in your account currency.
         
        optional double sampled_mediation_cpm_ahead_of_auction_winner = 8;
        Specified by:
        getSampledMediationCpmAheadOfAuctionWinner in interface AdxExt.BidRequestExt.BidFeedbackOrBuilder
        Returns:
        The sampledMediationCpmAheadOfAuctionWinner.
      • setSampledMediationCpmAheadOfAuctionWinner

        public AdxExt.BidRequestExt.BidFeedback.Builder setSampledMediationCpmAheadOfAuctionWinner​(double value)
         When a publisher uses an RTB auction and waterfall-based SDK mediation on
         the same query, the winner of the real-time auction must also compete in
         a mediation waterfall (which is ordered by price) to win the impression.
         If the bid participated in the auction and there was no waterfall, the
         value of this field is 0. If the bid participated in the auction and
         there was a waterfall, the value of this field is a price representing a
         sample bid from the eligible mediation networks that were higher than the
         auction winner, weighted by expected fill rate.  This field can be used
         in conjunction with minimum_bid_to_win to train bidding models. The CPM
         is in your account currency.
         
        optional double sampled_mediation_cpm_ahead_of_auction_winner = 8;
        Parameters:
        value - The sampledMediationCpmAheadOfAuctionWinner to set.
        Returns:
        This builder for chaining.
      • clearSampledMediationCpmAheadOfAuctionWinner

        public AdxExt.BidRequestExt.BidFeedback.Builder clearSampledMediationCpmAheadOfAuctionWinner()
         When a publisher uses an RTB auction and waterfall-based SDK mediation on
         the same query, the winner of the real-time auction must also compete in
         a mediation waterfall (which is ordered by price) to win the impression.
         If the bid participated in the auction and there was no waterfall, the
         value of this field is 0. If the bid participated in the auction and
         there was a waterfall, the value of this field is a price representing a
         sample bid from the eligible mediation networks that were higher than the
         auction winner, weighted by expected fill rate.  This field can be used
         in conjunction with minimum_bid_to_win to train bidding models. The CPM
         is in your account currency.
         
        optional double sampled_mediation_cpm_ahead_of_auction_winner = 8;
        Returns:
        This builder for chaining.
      • hasEventNotificationToken

        public boolean hasEventNotificationToken()
         The token included in the corresponding bid.
         
        optional .com.google.doubleclick.BidRequestExt.BidFeedback.EventNotificationToken event_notification_token = 4;
        Specified by:
        hasEventNotificationToken in interface AdxExt.BidRequestExt.BidFeedbackOrBuilder
        Returns:
        Whether the eventNotificationToken field is set.
      • clearEventNotificationToken

        public AdxExt.BidRequestExt.BidFeedback.Builder clearEventNotificationToken()
         The token included in the corresponding bid.
         
        optional .com.google.doubleclick.BidRequestExt.BidFeedback.EventNotificationToken event_notification_token = 4;
      • setBuyerCreativeId

        public AdxExt.BidRequestExt.BidFeedback.Builder setBuyerCreativeId​(String value)
         The creative ID included in the corresponding bid.
         
        optional string buyer_creative_id = 5;
        Parameters:
        value - The buyerCreativeId to set.
        Returns:
        This builder for chaining.
      • clearBuyerCreativeId

        public AdxExt.BidRequestExt.BidFeedback.Builder clearBuyerCreativeId()
         The creative ID included in the corresponding bid.
         
        optional string buyer_creative_id = 5;
        Returns:
        This builder for chaining.
      • setBuyerCreativeIdBytes

        public AdxExt.BidRequestExt.BidFeedback.Builder setBuyerCreativeIdBytes​(com.google.protobuf.ByteString value)
         The creative ID included in the corresponding bid.
         
        optional string buyer_creative_id = 5;
        Parameters:
        value - The bytes for buyerCreativeId to set.
        Returns:
        This builder for chaining.