Android SDK Version
  • java.lang.Object
    • com.facebook.ads.BidderTokenProvider

public final class BidderTokenProvider
extends java.lang.Object
Provides tokens for use with the Audience Network server-side bidder
Constructor Summary
Constructor and Description
BidderTokenProvider() 
Method Summary
Modifier and TypeMethod and Description
static java.lang.StringgetBidderToken(Context context)
Get the Audience Network Identity Token for ORTB bidding (user.buyeruid).
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail

BidderTokenProvider

public BidderTokenProvider()
Method Detail

getBidderToken

public static java.lang.String getBidderToken(Context context)
Get the Audience Network Identity Token for ORTB bidding (user.buyeruid). Do not call on the main thread. Use a background thread.
Parameters:
context - Android context
Returns:
Identity Token
Since:
4.28