how to test all network in mediation?

1,181 views
Skip to first unread message

wrat...@gmail.com

unread,
Sep 12, 2016, 8:54:21 PM9/12/16
to Google Mobile Ads SDK Developers
hi ,i wanna ask how to check all network intergrated or working as expected?
i already intergrate facebook,unityads,chartboost,applovin but i want to test when i call reward video all network can show video?(for now i create many videoReward and fill only 1 network each,)
i try call adsID with all network buy always show unity reward test ads &did't show other ads( i try to pause unity ads network but still not show any other network test ads,work if i call admobID with only 1 network)
is there any way to stop or play ads network system like any other mediation?

Joshua Lagonera (Mobile Ads SDK Team)

unread,
Sep 13, 2016, 12:44:23 AM9/13/16
to google-adm...@googlegroups.com
Hi there,

Like you said, you can stop/pause an Ad Network through the Ad Review Center as shown below. Do note that when you pause an Ad Network, it will take some time before it updates so I would recommend waiting a few minutes to an hour before trying again.

Regards,
Joshua Lagonera
Mobile Ads SDK Team

wrat...@gmail.com

unread,
Sep 13, 2016, 7:11:55 AM9/13/16
to Google Mobile Ads SDK Developers
how to check interstitial & banner ?i can't  pause interstitial & banner from admob.
or we must use each network unity plugin for tes in unity called separately from admob mediation?(for now i just download android sdk without any unity plugin for test each network in admob mediation)
is add test device take effect in other network other admob so i don't need to set other network to  enable ads to true?(for now i just set enable test mode for all network)

Joshua Lagonera (Mobile Ads SDK Team)

unread,
Sep 13, 2016, 7:29:44 AM9/13/16
to Google Mobile Ads SDK Developers
Hi there,

You can pause other Mediated Ad Networks for Banner and Interstitial Ads in the same way. Do note that you can only pause mediated Ad Networks, and not the one from AdMob Network.

Additionally, you would need to add the necessary SDKs and Adapters for each Ad Network you are mediating with in order for them to be mediated properly.

For your other question, the AddTestDevice() method does not work for Rewarded Video Ads, and it is not recommended to add any test device when making an Ad Request for Rewarded Video Ads. You would have to set the option to serve Test Ads on the Ad Networks you mediated with. 

Regards,
Joshua Lagonera
Mobile Ads SDK Team

wrat...@gmail.com

unread,
Sep 13, 2016, 12:04:11 PM9/13/16
to Google Mobile Ads SDK Developers
hi there,
Thanks for reply ,but i know we can pause banner or interstitial,what i mean is how to force banner or interstitial to show specific ad network for only testing purpose only?

for network sdk i use unity & place all sdk network & adapter on admob(all network already show rewarded video on admob mediation as i told in 1st posting) folder in unity because it's not plugin i'can't open or use library from ads network android sdk so the question is ,should i try import all ads network plugin in unity to test specific network?

Joshua Lagonera (Mobile Ads SDK Team)

unread,
Sep 13, 2016, 11:35:33 PM9/13/16
to Google Mobile Ads SDK Developers
Hi there,

You can force Banner or Interstitial Ads to show from a specific network by pausing other Mediated Ad Networks. As previously stated, this does not include the AdMob Network so you may still receive ads from AdMob and you may have to try several times before ads from your specific Ad Network shows. You can call the getMediationAdapterClassName() method in the onAdLoaded() callback method to check which Ad Network the ad came from.

As for your other question, if you want to test Rewarded Ads from a specific Ad Network, you only need their respective SDK and Adapter for that Ad Network to test them.

Regards,
Joshua Lagonera
Mobile Ads SDK Team

Message has been deleted

wrat...@gmail.com

unread,
Sep 14, 2016, 7:23:28 AM9/14/16
to Google Mobile Ads SDK Developers
Hi there,
btw i try to search plugin unity3d firebase i can't find getMediationAdapterClassName() method in the onAdLoaded() callback can you give me the example it's available in unity scope?.

Joshua Lagonera (Mobile Ads SDK Team)

unread,
Sep 14, 2016, 7:39:58 AM9/14/16
to Google Mobile Ads SDK Developers
Hi there,

My apologies. That method is only supported for the Android and iOS SDK. Please disregard that information since you are using the AdMob Unity Plugin.
That said, please do update us if your test is successful. 

Regards,
Joshua Lagonera
Mobile Ads SDK Team

wrat...@gmail.com

unread,
Sep 14, 2016, 3:08:32 PM9/14/16
to Google Mobile Ads SDK Developers
hi,there,
so the conclusion there is no way for now  unity firebase plugin to check mediation adapter class name?
maybe i will try to build android jar to try to call that.

Joshua Lagonera (Mobile Ads SDK Team)

unread,
Sep 14, 2016, 11:22:17 PM9/14/16
to Google Mobile Ads SDK Developers
Hi there,

The method is only used to check which Ad Network the ad came from. Ads will still be served from Mediated Ad Networks regardless if the GetMediationAdapterClassName method is in your implementation.

Regards,
Joshua Lagonera
Mobile Ads SDK Team

Message has been deleted

wrat...@gmail.com

unread,
Sep 15, 2016, 6:32:36 AM9/15/16
to Google Mobile Ads SDK Developers
Hi there,
thank you for answer , can you test this Vungle ads almost 2 day i wait still can't show ads (the log cat say it's load ads but when i show reward ads video it call delegate OnAdClosedGoogleMobileAds  )
admobid = "ca-app-pub-9655353513223267/7762096032"

Joshua Lagonera (Mobile Ads SDK Team)

unread,
Sep 15, 2016, 7:12:27 AM9/15/16
to Google Mobile Ads SDK Developers
Hi there,

Thanks for providing me your Ad Unit ID.
Upon testing your Ad Unit ID, I was able to receive ads properly multiple times. Can you verify if you can recreate the issue on this sample app? The sample app is already set up for Mediation with Vungle so you would just have to add your Ad Unit ID on the implementation code.

Regards,
Joshua Lagonera
Mobile Ads SDK Team

wrat...@gmail.com

unread,
Sep 15, 2016, 8:46:22 AM9/15/16
to Google Mobile Ads SDK Developers
Hi there,
hmm i think because region problem i will check use vpn later & will tell you later?

Mohit Atray

unread,
May 6, 2018, 3:53:53 PM5/6/18
to Google Mobile Ads SDK Developers
Hello,
I understand that I can use method mRewardedVideoAd.getMediationAdapterClassName() to know which ad network the ad came from. But I cannot do it with test ad unit id. Because mediation won't work with test ad unit id (I think so). My question is how do I make sure that mediation for an ad network is implemented properly in my app while testing?

mobileadssdk-a...@google.com

unread,
May 8, 2018, 4:02:42 AM5/8/18
to Mohit Atray, Google Mobile Ads SDK Developers
Hi Mohit,

Using AdColony as an example, below are a number of ways you can test your mediation setup of the supported Ad network. 
  • Most of the supported Ad Networks have the option to enable Test mode on their end. You can usually find the instructions in the Step 5: Test your implementation section of the mediation guide of every supported Ad Network.
  • Most of the time, you can find in the device logs the server parameters for the Ad Networks mediated with the Ad Unit Id being loaded. The server parameters are usually the mediation settings you've configured for your Ad Unit Id. For AdColony, it will be the App Id and Zone Id you've defined. Below are sample logs that will appear if you were able to properly setup mediation for AdColony.
05-08 15:33:16.563 26693-26693/com.google.android.gms.example.interstitialexample I/Ads: Instantiating mediation adapter: com.jirbo.adcolony.AdColonyAdapter
05-08 15:33:16.594 26693-26693/com.google.android.gms.example.interstitialexample W/Ads: Server parameters: {"app_id":"<REDACTED>","gwhirl_share_location":"1","zone_ids":"<REDACTED>"}
05-08 15:33:16.689 26693-26784/com.google.android.gms.example.interstitialexample I/AdColony [INFO]: Configuring AdColony
  • You may also capture the Charles logs (here are setup instructions) when loading your Ad Unit Id that is mediated to supported Ad networks. These logs contains the Ad Networks that came along with your Ad request. 
Let me know if you have any other technical concerns about the Mobile Ads SDK and we'll be happy to assist you.

Regards,
Ivan Bautista
Mobile Ads SDK Team
Reply all
Reply to author
Forward
0 new messages