BaseAdapterConfiguration

public abstract class BaseAdapterConfiguration implements AdapterConfiguration

A collection of methods that apply to the SDK as a whole. Publishers can subclass this class to initialize the network SDK, return SDK adapter versions, return the Advanced Bidding token, and return the network name.

Public Methods

public void /setCachedInitializationParameters(Context context, String initializationParameters)

  • Description: Save initialization parameters after the first ad request for future use. Adapters should call this method in passing a map containing the network parameters.

  • Parameters:

    • context: Current context.
    • initializationParameters: A map containing key-value pairs of the network’s initialization IDs. Typically this is the serverExtras map in the adapter.

public void /setMoPubRequestOptions(String moPubRequestOptions)

  • Description: Sets a map of request options to send to the MoPub ad server.

  • Parameters:

    • moPubRequestOptions: A map of key-value pairs containing request options.

Last updated March 03, 2020

TWITTER, MOPUB, and the Bird logo are trademarks of Twitter, Inc. or its affiliates. All third party logos and trademarks included are the property of their respective owners.

© 2020 MoPub (a division of Twitter, Inc.)