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

Nested Classes
class UBBid.MetadataKeys  
Fields
public final double bidPrice Adjusted bid price on the base of the chosen granularity of ad displaying
public final Map<String, Object> metadata
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(double bidPrice, String mopubPrebidKeyword, Map<String, Object> metadata)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public final double bidPrice

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

public final Map<String, Object> metadata

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 (double bidPrice, String mopubPrebidKeyword, Map<String, Object> metadata)