| java.lang.Object | |
| ↳ | com.smaato.sdk.ub.UnifiedBidding |
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| interface | UnifiedBidding.PrebidListener | A listener for Prebid requests. | |||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| static KeyValuePairs | getKeyValuePairs() | ||||||||||
| static void |
prebidBanner(String adSpaceId, UBBannerSize bannerSize, UnifiedBidding.PrebidListener listener)
Requests a prebid data for Banner Ads.
| ||||||||||
| static void |
prebidInterstitial(String adSpaceId, UnifiedBidding.PrebidListener listener)
Requests a prebid data for Interstitial Ads.
| ||||||||||
| static void |
prebidRewardedInterstitial(String adSpaceId, UnifiedBidding.PrebidListener listener)
Requests a prebid data for Rewarded Interstitial Ads.
| ||||||||||
| static void |
setKeyValuePairs(KeyValuePairs keyValuePairs)
Sets an KeyValuePairs object to target more specific ads.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
setKeyValuePairs(KeyValuePairs)
Requests a prebid data for Banner Ads.
| adSpaceId | AdSpace ID (assigned by Smaato). Can not be null. If null is passed, then
onPrebidResult(UBBid, UBBidRequestError) will be called with INVALID_REQUEST error.
Unified Bidding support should be enabled for this adSpaceId in Smaato SPX |
|---|---|
| bannerSize | UBBannerSize for this request. |
| listener | UnifiedBidding.PrebidListener for this request.
SmaatoSdk keeps java.lang.ref.WeakReference on listener to prevent memory leaks.
It's responsibility of SmaatoSdk's user to keep instances from being collected by garbage collector.
|
Requests a prebid data for Interstitial Ads.
| adSpaceId | AdSpace ID (assigned by Smaato). Can not be null. If null is passed, then
onPrebidResult(UBBid, UBBidRequestError) will be called with INVALID_REQUEST error.
Unified Bidding support should be enabled for this adSpaceId in Smaato SPX |
|---|---|
| listener | UnifiedBidding.PrebidListener for this request.
SmaatoSdk keeps java.lang.ref.WeakReference on listener to prevent memory leaks.
It's responsibility of SmaatoSdk's user to keep instances from being collected by garbage collector.
|
Requests a prebid data for Rewarded Interstitial Ads.
| adSpaceId | AdSpace ID (assigned by Smaato). Can not be null. If null is passed, then
onPrebidResult(UBBid, UBBidRequestError) will be called with INVALID_REQUEST error.
Unified Bidding support should be enabled for this adSpaceId in Smaato SPX |
|---|---|
| listener | UnifiedBidding.PrebidListener for this request.
SmaatoSdk keeps java.lang.ref.WeakReference on listener to prevent memory leaks.
It's responsibility of SmaatoSdk's user to keep instances from being collected by garbage collector.
|
Sets an KeyValuePairs object to target more specific ads.
| keyValuePairs | to be set |
|---|