MPNativeAdRequestTargeting

@interface MPNativeAdRequestTargeting : MPAdTargeting

The MPNativeAdRequestTargeting class is used to attach targeting information to MPNativeAdRequest objects.

Public Properties

NSSet/desiredAssets

  • Description: A set of defined strings that correspond to assets for the intended native ad object. This set should contain only those assets that will be displayed in the ad. The MoPub ad server will attempt to only return the assets in desiredAssets.

  • Declaration:

    @property (readwrite, strong, nonatomic) NSSet *desiredAssets;
    
  • Parameters: None.

Public Methods

+/targeting

  • Description: Creates and returns an empty MPNativeAdRequestTargeting object.

  • Declaration:

    + (MPNativeAdRequestTargeting *)targeting;
    
  • Parameters: None.

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.)