RequestParameters (com.mopub.nativeads) /2.0

public class RequestParameters

Contains methods to set targeting data for native ad (com.mopub.nativeads.RequestParameters).

Public Methods

public String /getDesiredAssets() /+2.2

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

  • Parameters: None.

public String /getKeywords() /+2.0

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

  • Parameters: None.

public Location /getLocation() /+2.0-5.12.0

  • Description: Deprecated as of 5.12.0.

    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() /+5.0.0

  • 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 October 06, 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.)