facebook twitter hatena line email

Unity/GoogleMobileAds/Mediation

提供: 初心者エンジニアの簡易メモ
2020年6月19日 (金) 20:49時点におけるAdmin (トーク | 投稿記録)による版 (nendの場合)

移動: 案内検索

nendの場合

こちらのunitypackage追加

https://developers.google.com/admob/unity/mediation/nend

以下Assets/GoogleMobileAds/Editor/NendMediationDependencies.xmlが追加されることを確認

<dependencies>
  <androidPackages>
    <androidPackage spec="com.google.ads.mediation:nend:5.4.2.0">
      <repositories>
        <repository>https://jcenter.bintray.com/</repository>
        <repository>http://fan-adn.github.io/nendSDK-Android-lib/library</repository>
      </repositories>
    </androidPackage>
  </androidPackages>

  <iosPods>
    <iosPod name="GoogleMobileAdsMediationNend" version="5.4.1.0">
      <sources>
        <source>https://github.com/CocoaPods/Specs</source>
      </sources>
    </iosPod>
  </iosPods>
</dependencies>

iosでGADMAdapterNendエラーが出ると

以下エラーが出るとき

<Google> Cannot find an ad network adapter with the name(s): GADMAdapterNend. Remember to link all required ad network adapters and SDKs, and set -ObjC in the 'Other Linker Flags' setting of your build target.

https://developers.google.com/admob/unity/mediation/nend が追加されてるか確認