public class

UBBid

extends Object
java.lang.Object
   ↳ com.smaato.sdk.ub.UBBid

Class Overview

The object which is provided with failed Prebid response as a parameter for onPrebidResult(UBBid, UBBidRequestError) callback

Summary

Fields
public final float bidPrice Adjusted bid price on the base of the chosen granularity of ad displaying
public final String mopubPrebidKeyword Optional helper method builds keyword for Mopub LineItem in a format "smaato_cpm:X.XX", where X.XX is adjusted bid price for LineItem.
Public Constructors
UBBid(float bidPrice, String mopubPrebidKeyword)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public final float bidPrice

Adjusted bid price on the base of the chosen granularity of ad displaying

public final String mopubPrebidKeyword

Optional helper method builds keyword for Mopub LineItem in a format "smaato_cpm:X.XX", where X.XX is adjusted bid price for LineItem. A publisher can use bidPrice to create own Prebid (target) keyword for Mopub.

Public Constructors

public UBBid (float bidPrice, String mopubPrebidKeyword)