MPNativeAdRequestTargeting /5.0.0

@interface MPNativeAdRequestTargeting : MPAdTargeting

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

Public Properties

NSSet/desiredAssets /+5.0.0

  • 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 /+5.0.0

  • Description: Creates and returns an empty MPNativeAdRequestTargeting object.

  • Declaration:

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

Last updated August 28, 2021

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.

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