GoogleMobileAdsMediationTestSuite.unitypackage is too old and needs an upgrade to work with GoogleMobileAds-v6.0.0.unitypackage
Assets\GoogleMobileAdsMediationTestSuite\Platforms\Android\MediationTestClient.cs(146,53): error CS1061: 'AdRequest' does not contain a definition for 'TestDevices' and no accessible extension method 'TestDevices' accepting a first argument of type 'AdRequest' could be found (are you missing a using directive or an assembly reference?)

And even if those lines are commented out, iOS still can not be built with a bunch of "Undefined symbols for architecture arm64" errors.
@Ommand @jasons-codes
If you are trying to fix this you can use requestConfiguration.TestDeviceIds(you can also add it in your google mobile ads script where you initialize google mobile ads and reference it here), however, even by fixing this issue, when I try to load ads in mediation test suite environment my app crashes. IDK what to do afterwards to fix this issue.
@Ommand @jasons-codes
I have also updated the mediation test suite dependency version in its xml file named "GoogleMobileAdsMediationTestSuiteDependencies" to use version 2.0.0:
androidPackage spec="com.google.android.ads:mediation-test-suite:2.0.0"
If you check the maven repository for this package you will find its upgraded version (v2.0.0) that had been released but admob haven't updated its dependency. Now if you do as above your mediation test suit will work.
https://mvnrepository.com/artifact/com.google.android.ads/mediation-test-suite/2.0.0
And even if those lines are commented out, iOS still can not be built with a bunch of "Undefined symbols for architecture arm64" errors.
I have checked it out again on iOS it is still having this problem. However, on Android if you do as I said it is going to work.
Same issue here. Version 2.0.0 solved problem for the Android. Unfortunately, iOS builds fail.
Undefined symbols for architecture armv7:
"_kGADAdLoaderAdTypeUnifiedNative", referenced from:
-[GMTSNativeAdLoader initWithAdUnitId:rootViewController:] in GoogleMobileAdsMediationTestSuite(GMTSNativeAdLoader.o)
"_OBJC_CLASS_$_DFPInterstitial", referenced from:
objc-class-ref in GoogleMobileAdsMediationTestSuite(GMTSProductTheme.o)
"_OBJC_CLASS_$_DFPRequest", referenced from:
objc-class-ref in GoogleMobileAdsMediationTestSuite(GMTSProductTheme.o)
"_OBJC_CLASS_$_DFPBannerView", referenced from:
objc-class-ref in GoogleMobileAdsMediationTestSuite(GMTSProductTheme.o)
"_OBJC_CLASS_$_GADRewardBasedVideoAd", referenced from:
objc-class-ref in GoogleMobileAdsMediationTestSuite(GMTSAdSourceCollectionViewController.o)
"_OBJC_CLASS_$_GADInterstitial", referenced from:
objc-class-ref in GoogleMobileAdsMediationTestSuite(GMTSAdSourceCollectionViewController.o)
(maybe you meant: _OBJC_CLASS_$_GADInterstitialAd)
"_OBJC_CLASS_$_GADRequestError", referenced from:
objc-class-ref in GoogleMobileAdsMediationTestSuite(GMTSMediationHelper.o)
"_OBJC_CLASS_$_GADUnifiedNativeAd", referenced from:
objc-class-ref in GoogleMobileAdsMediationTestSuite(GMTSAdSourceCollectionViewController.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Any progress on this? This is a pretty important tool, shouldn't be incompatible with 6.0.0+
Still working on updating the iOS build which will unblock creating a new .unitypackage. Timeline for this is a few weeks.
+1 this is important tool and we need it fixed sooner rather than later. Is the code for this open? We can perhaps do so ourselves?
You can use Ad inspector feature form Admob (https://support.google.com/admob/answer/10159602).
It work fine for me.
You can use Ad inspector feature form Admob (https://support.google.com/admob/answer/10159602).
It work fine for me.
Are there a package for unity?
In IOS,
GoogleMobileAdsMediationTestSuiteDependencies.xml
changed
iosPod name="GoogleMobileAdsMediationTestSuite" version="1.4.0"
to
iosPod name="GoogleMobileAdsMediationTestSuite" version="2.0.0"
build success.
Any update on this? Suggested workarounds do not work in Unity.
You can use Ad inspector feature form Admob (https://support.google.com/admob/answer/10159602).
It work fine for me.Are there a package for unity?
No, you just follow the instructions on the support documents. But honestly, its not as handy as the Mediation test suite.
@gayanW nope, nothing that is officially accepted.
It's November and the unity version of the test suite still hasn't been updated for Google Mobile Ads v6 for android or iOS
@ericleich Any updates on when the unitypackage will be updated?
Most helpful comment
And even if those lines are commented out, iOS still can not be built with a bunch of "Undefined symbols for architecture arm64" errors.