MoPubNativeAdPositioning

public final class MoPubNativeAdPositioning

Provides factory methods for setting up native ad positions. This class supports two types of positioning to use when placing ads into your stream:

  • Server positioning: The SDK connects to the MoPub server to determine the optimal positions for ads. These positions can also be configured using the MoPub Publisher UI. We recommend using server positioning, and it is the default if positioning is not specified when loading ads.

  • Client positioning: Requires positions to be hard-coded into the app. Fixed positions can be specified for ads, as well as at repeating intervals.

Public Methods

public static MoPubClientPositioning /clientPositioning()

public static MoPubServerPositioning /serverPositioning()

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