「Unity/GoogleMobileAds/Mediation/nend」の版間の差分
提供: 初心者エンジニアの簡易メモ
(ページの作成:「 ==nendの場合== こちらのunitypackage追加 https://developers.google.com/admob/unity/mediation/nend 以下Assets/GoogleMobileAds/Editor/NendMediationDependencies...」) |
|||
(同じ利用者による、間の3版が非表示) | |||
行1: | 行1: | ||
==nendの場合== | ==nendの場合== | ||
− | |||
− | https://developers.google.com/admob/unity/mediation/nend | + | https://developers.google.com/admob/unity/mediation/nend の |
+ | |||
+ | https://bintray.com/google/mobile-ads-adapters-unity/GoogleMobileAdsNendMediation#files/GoogleMobileAdsNendMediation | ||
+ | |||
+ | のfilesを選択してunitypackageを取得 | ||
+ | |||
+ | GoogleMobileAdsNendMediation-4.0.0の場合は、 | ||
以下Assets/GoogleMobileAds/Editor/NendMediationDependencies.xmlが追加されることを確認 | 以下Assets/GoogleMobileAds/Editor/NendMediationDependencies.xmlが追加されることを確認 | ||
行9: | 行14: | ||
<dependencies> | <dependencies> | ||
<androidPackages> | <androidPackages> | ||
− | <androidPackage spec="com.google.ads.mediation:nend: | + | <androidPackage spec="com.google.ads.mediation:nend:7.0.0.0"> |
<repositories> | <repositories> | ||
<repository>https://jcenter.bintray.com/</repository> | <repository>https://jcenter.bintray.com/</repository> | ||
行18: | 行23: | ||
<iosPods> | <iosPods> | ||
− | <iosPod name="GoogleMobileAdsMediationNend" version=" | + | <iosPod name="GoogleMobileAdsMediationNend" version="7.0.0.0"> |
<sources> | <sources> | ||
<source>https://github.com/CocoaPods/Specs</source> | <source>https://github.com/CocoaPods/Specs</source> |
2020年11月16日 (月) 15:39時点における最新版
nendの場合
https://developers.google.com/admob/unity/mediation/nend の
のfilesを選択してunitypackageを取得
GoogleMobileAdsNendMediation-4.0.0の場合は、
以下Assets/GoogleMobileAds/Editor/NendMediationDependencies.xmlが追加されることを確認
<dependencies> <androidPackages> <androidPackage spec="com.google.ads.mediation:nend:7.0.0.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="7.0.0.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 が追加されてるか確認
iosのnendのpodfileのバージョン競合が起きるとき
[!] CocoaPods could not find compatible versions for pod "NendSDK_iOS": In Podfile: GoogleMobileAdsMediationNend (= 5.4.1.0) was resolved to 5.4.1.0, which depends on NendSDK_iOS (= 5.4.1) NendSDK_iOS (~> 5.3.0) Specs satisfying the `NendSDK_iOS (~> 5.3.0), NendSDK_iOS (= 5.4.1)` dependency were found, but they required a higher minimum deployment target.
nendのバージョンを合わせる