MoPubでは、iOSとAndroidの両方でネイティブ広告機能を使用できます。ネイティブ広告は通常ストリームコンテンツ内に表示されます。 広告主が用意したHTMLだけでなく、あなたアプリケーションと同じツールを使ってビルドされて表示されます。
Native Integration OverviewMoPub offers native ads capabilities on both iOS and Android. Native ads are typically shown in streams of content, aren’t limited to using HTML provided by the advertiser, and are shown and built using the same tools as your application. |
UITableView | UICollectionView | カスタムストリーム | 手動組み込み |
iOSIntegration Types
|
UICollectionViewを使用している場合は、MPTableViewAdPlacer が推奨される方式になります。 UICollectionViewを使用しているのであれば、別の組み込み方法を使う前にこの方式を考慮してみてください。
特徴
|
UITableViewMPTableViewAdPlacer is the recommended approach if you have a UICollectionView. If you have a UICollectionView, consider this before using a different type of integration.
|
UICollectionViewを使用している場合は、 MPCollectionViewAdPlacer が推奨される方式になります。 UICollectionViewを使用しているのであれば、別の組み込み方法を使う前にこの方式を考慮してみてください。
特徴
|
UICollectionViewMPCollectionViewAdPlacer is the recommended approach if you have a UICollectionView. If you have a UICollectionView, consider this before using a different type of integration.
|
MPTableViewAdPlacer とMPCollectionViewAdPlacerがサポートしていない種類のカスタムストリームを使用している場合は、MPStreamAdPlacerが推奨方式になります。 ストリーム画面のように組み込むこともできますが、他の方式よりも手間がかかります。
特徴
|
Custom StreamMPStreamAdPlacer is the recommended approach if you have a custom stream of a type that is not supported through MPTableViewAdPlacer and MPCollectionViewAdPlacer. It can be customized for any kind of stream-like integration, but takes more work to implement than the other ad placers.
|
ネイティブ広告をストリームコンテンツ外に表示する必要がある場合は、 MPNativeAdクラスと MPNativeAdRequestクラスを使って手動でネイティブ広告をリクエストする必要があります。
特徴
|
Manual IntegrationFor custom implementations where a native ad needs to be shown outside of the context of a stream, you should manually request native ads using the MPNativeAd and MPNativeAdRequest classes.
|
ListAdapter | Custom Stream | Ad View |
AndroidIntegration Types
|
MoPubAdAdapter 機能では Android Adapterを使ってListView やその他ウィジットに広告を設置します
特徴
|
ListAdapterMoPubAdAdapter facilitates placing ads into an Android ListView or other widgets that use an Android Adapter.
|
MoPubStreamAdPlacer 機能では、広告を読み込み、 広告アダプターが動作していない状況でもコンテンツストリームへ広告を設置できます。
特徴
|
Custom StreamMoPubStreamAdPlacer facilitates loading ads and placing them into a content stream for situations where the ad adapter doesn’t work.
|
ネイティブ広告をストリームコンテンツ外に表示する必要がある場合は、MoPubNative クラスを使って手動でネイティブ広告を組み込む必要があります。
特徴
|
Manual IntegrationFor custom implementations where a native ad needs to be shown outside of the context of a stream, you should manually integrate native ads using the MoPubNative class.
|