我有点困惑interstitialAd和PublisherInterstitialAd以及DoubleClick for Publishers (DFP)之间的区别。
DFP可以在https://developers.google.com/mobile-ads-sdk/找到。
如https://developers.google.com/mobile-ads-sdk/download所述,它说:“2014年8月1日,Google Play将停止接受使用旧版独立Google Mobile Ads SDK v6.4.1或更低版本的新应用程序或更新的应用程序。您必须升级到Mobile Ads SDK的Google Play版本。”
因此,我按照说明导入了
虽然我不知道它们之间的区别,但我已经按照https://developer.android.com/reference/com/google/android/gms/ads/doubleclick/PublisherInterstitialAd.html的说明将所有以前的interstitialAd更改为PublisherInterstitialAd,并且全屏广告已经出现,我认为这很好。
那么:
DFP可以在https://developers.google.com/mobile-ads-sdk/找到。
如https://developers.google.com/mobile-ads-sdk/download所述,它说:“2014年8月1日,Google Play将停止接受使用旧版独立Google Mobile Ads SDK v6.4.1或更低版本的新应用程序或更新的应用程序。您必须升级到Mobile Ads SDK的Google Play版本。”
因此,我按照说明导入了
google-play-services_lib
作为工作区中的库,并将其作为库引用到我的应用程序中。我还删除了GoogleAdMobAdsSdk-6.4.1.jar
,因为它将在未来不再受支持。虽然我不知道它们之间的区别,但我已经按照https://developer.android.com/reference/com/google/android/gms/ads/doubleclick/PublisherInterstitialAd.html的说明将所有以前的interstitialAd更改为PublisherInterstitialAd,并且全屏广告已经出现,我认为这很好。
那么:
interstitialAd和PublisherInterstitialAd之间有什么区别? PublisherInterstitialAd只是interstitialAd的新版本吗?
DoubleClick for Publishers是什么?