-
- All Implemented Interfaces:
-
org.bidon.sdk.stats.StatisticsCollector
public final class StatisticsCollectorImpl implements StatisticsCollector
Created by Bidon Team on 06/02/2023.
-
-
Constructor Summary
Constructors Constructor Description StatisticsCollectorImpl()
-
Method Summary
-
-
Method Detail
-
getDemandAd
DemandAd getDemandAd()
-
getDemandId
DemandId getDemandId()
-
getAuctionId
String getAuctionId()
-
addDemandId
Unit addDemandId(DemandId demandId)
-
addRoundInfo
Unit addRoundInfo(String auctionId, DemandAd demandAd, Double auctionPricefloor)
-
sendShowImpression
Unit sendShowImpression()
-
sendClickImpression
Unit sendClickImpression()
-
sendRewardImpression
Unit sendRewardImpression()
-
setStatisticAdType
Unit setStatisticAdType(StatisticsCollector.AdType adType)
-
addAuctionConfigurationId
Unit addAuctionConfigurationId(Long auctionConfigurationId)
-
addAuctionConfigurationUid
Unit addAuctionConfigurationUid(String auctionConfigurationUid)
-
addExternalWinNotificationsEnabled
Unit addExternalWinNotificationsEnabled(Boolean enabled)
-
markFillStarted
Unit markFillStarted(AdUnit adUnit, Double pricefloor)
-
markFillFinished
Unit markFillFinished(RoundStatus roundStatus, Double price)
-
setPrice
Unit setPrice(Double price)
Some adapters don't use AdUnits (BidMachine), so we need to set price manually after ad is loaded. Need to be used before AdEvent.Fill is exposed
-
setDsp
Unit setDsp(String dspSource)
Set DSP source name (actually for BidMachine, DTExchange) if it's possible. Need to be used before AdEvent.Fill is exposed
-
setTokenInfo
Unit setTokenInfo(TokenInfo tokenInfo)
-
markBelowPricefloor
Unit markBelowPricefloor()
-
canSendWinLoseNotifications
Boolean canSendWinLoseNotifications()
Checks if win/lose external notifications can be sent
-
markWinLoseNotificationsSent
Unit markWinLoseNotificationsSent()
Marks win/lose notifications as sent to prevent duplicate notifications
-
-
-
-