RequestParameters

public class RequestParameters

Contains methods to set targeting data for native ad (com.mopub.nativeads.RequestParameters) and rewarded video (com.mopub.mobileads.MoPubRewardedVideoManager.RequestParameters).

Public Methods

public String /getDesiredAssets()

  • Description: Returns a String containing the assets marked as desired by publishers at the time of the ad request.

  • Parameters: None.

public String /getKeywords()

  • Description: Returns a String containing keywords that have been set on the current ad object. Null if not set.

  • Parameters: None.

public Location /getLocation()

  • Description: Returns a Location object containing latitude and longitude data that have been set on the current ad object. Null if not set.

  • Parameters: None.

public String /getUserDataKeywords()

  • Description: Returns a String containing user-identifiable keywords that have been set on the current ad object. Null if not set.

  • Parameters: None.

Last updated February 27, 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.)