How to stop showing Ads from AdMob and force use other networks to test them properly ?

370 views
Skip to first unread message

ala slipknot

unread,
Mar 11, 2018, 3:22:02 AM3/11/18
to Google Mobile Ads SDK Developers

Hi,
Am making a game with Unity and the client said that when he get a reward Ad from UnityAds the reward callback are not executing properly, i need to test that but i can't because i am exclusively getting Ads from AdMob even thought that our mediation group contain UnityAds, Vungle and Nend, is there a way to force another network to show ? i tried lowering the eCPM of AdMob to $0.01 and keeping others in $10 but i still get AdMob only.


me and my clients are in different countries, probably this is why he get unityAds and i almost never did.


This is really important  and i must find a way to force-test all networks.


Thank you.



mobileadssdk-a...@google.com

unread,
Mar 12, 2018, 2:12:11 AM3/12/18
to ala slipknot, Google Mobile Ads SDK Developers
Hi,

I'm afraid, by default, the AdMob Network will always be included as one of your Ad sources and the Mobile Ads SDK doesn't allow you to disable it. On the other hand, one way to help prioritize a particular Ad source from the other is by setting a higher eCPM value which you've already implemented as described. 

Given that your client were able to load UnityAds on their end suggests that your implementation and mediation setup is working properly. There are a lot of factors that could affect Ad serving on your end and on your client's end which is why you have different scenarios. It could be possible that there are just no available ads from those Ad networks on your end at those times.

Seeing that the main original issue that you are trying to solve is that the "reward callback are not executing properly", let's try to figure this one out first. That said, could you provide to me the following information privately using Reply privately to author option?
  • Ad Unit Id in question
  • Is the reward callback also not executing properly on your end even with the AdMob Ads?
  • Could you test with our sample app and see if the reward callback is also not working on your end?
  • If possible, could you capture the Charles logs (here are setup intructions) when trying to load the Rewarded Ads of which the reward callback is not executing properly? These logs will really give us a deeper look into this and possibly help us narrow down the root cause of the issue.
Regards,
Ivan Bautista
Mobile Ads SDK Team
Message has been deleted

ala slipknot

unread,
Mar 12, 2018, 5:41:36 AM3/12/18
to Google Mobile Ads SDK Developers
Hi, 
 
I downloaded your HelloWorld app, added Vungle source and i can't seems to find this required part anywhere, am i missing something ?

On Mon, Mar 12, 2018 at 10:16 AM, ala slipknot <alasl...@gmail.com> wrote:
Hi,

Can this be somehow related to the Nend network ? they just recently had the rewardAds implemented using AdMob Mediation, and since we added their Adapters to our build, the amounts of time for Ads to become ready became HUGE (up to 2 minutes) and we only get AdMob and UnityAds (i get only AdMob) but no Vungle nor Nend and when my client get UnityAds, sometimes the callback never get called.


  • APP ID : ca-app-pub-4059037174817190~4590039449 
  • Ad Unit : ca-app-pub-4059037174817190/3713616636
  • No the reward callback is always fine for me, but i never got UnityAds though, 
NOTE:  the game used to crash when calling the reward method within the Callback methods provided by AdMob giving me this error : 

"can only be called from the main thread"

I had to use Boolean variables and then check them in the Update method in unity to verify if the ad is finished or closed, problem is better described here.

  • Does your simple App has Nend & Vungle ? and can i delete all other Adapters so it matches ours ?
  • Not sure if the client is ready to go through all that, so my main priority now is that i must get Ads from other Networks.
Thanks!

--

---
You received this message because you are subscribed to a topic in the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-admob-ads-sdk/rO19UkjJjFE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.
To post to this group, send email to google-admob-ads-sdk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-admob-ads-sdk/84c104ee-5e03-49e4-9529-2ebc0d0a14ff%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Message has been deleted

mobileadssdk-a...@google.com

unread,
Mar 13, 2018, 4:00:21 AM3/13/18
to ala slipknot, Google Mobile Ads SDK Developers
Hi,

I have to delete one of your follow up response as it contains your Ad Unit Id and App Id. Please refrain from posting confidential information in the public forum. Moving forward, you may share the information to us privately using Reply privately to author option.

That said, below is a copy of your deleted follow up with the masked information.

Hi,

Can this be somehow related to the Nend network ? they just recently had the rewardAds implemented using AdMob Mediation, and since we added their Adapters to our build, the amounts of time for Ads to become ready became HUGE (up to 2 minutes) and we only get AdMob and UnityAds (i get only AdMob) but no Vungle nor Nend and when my client get UnityAds, sometimes the callback never get called.


  • APP ID : ca-app-pub-XXXXXXXXXXXXXXXX~XXXXXXXXXX
  • Ad Unit : ca-app-pub-XXXXXXXXXXXXXXXX/XXXXXXXXXX
  • No the reward callback is always fine for me, but i never got UnityAds though, 
NOTE:  the game used to crash when calling the reward method within the Callback methods provided by AdMob giving me this error : 

"can only be called from the main thread"

I had to use Boolean variables and then check them in the Update method in unity to verify if the ad is finished or closed, problem is better described here.

  • Does your simple App has Nend & Vungle ? and can i delete all other Adapters so it matches ours ?
  • Not sure if the client is ready to go through all that, so my main priority now is that i must get Ads from other Networks.
Thanks!

mobileadssdk-a...@google.com

unread,
Mar 13, 2018, 4:06:53 AM3/13/18
to ala slipknot, Google Mobile Ads SDK Developers
Hi, 

Thank you for your patience.

Below are my responses to your concerns.

NOTE:  the game used to crash when calling the reward method within the Callback methods provided by AdMob giving me this error : 

"can only be called from the main thread"

I had to use Boolean variables and then check them in the Update method in unity to verify if the ad is finished or closed, problem is better described here.
The error suggests that you are calling a function outside of the main thread but should not be. Make sure that you are following this guide when implementing the Ad events and when getting the rewards from the OnAdRewarded event. For us to check on our end, could you provide to us code snippets of your implementation privately?

Does your simple App has Nend & Vungle ? and can i delete all other Adapters so it matches ours ?
The sample app is just basic implementation of sending Ad requests to all supported Ad formats without any mediation to 3rd party Ad Networks. I initially wanted to just check if the callback methods are not working on your end even with our sample app. Given that the callback is working on your end, it supposedly should also work on your client's end since it's the same implementation. 

Not sure if the client is ready to go through all that, so my main priority now is that i must get Ads from other Networks.
Please note that the Mobile Ads SDK cannot control from which Ad Network the Ads will be served from.

I downloaded your HelloWorld app, added Vungle source and i can't seems to find this required part anywhere, am i missing something ?
You may follow this section on how you can obtain the Placement Id from your Vungle dashboard. Also, make sure that you have properly added the corresponding "using" directive for VungleRewardedVideoMediationExtras at the top of the CS file.

mobileadssdk-a...@google.com

unread,
Mar 13, 2018, 7:07:22 AM3/13/18
to ala slipknot, Google Mobile Ads SDK Developers
Hi,

I just want to get back to you to inform you that I created this modified HelloWorld sample app which is mediated with Vungle and UnityAds and I was able to successfully load ads from UnityAds using your Ad Unit Id. However, please note that there is still no guarantee that you will be able to load ads from your preferred Network on your end as the Mobile Ads SDK has no control over this. Nevertheless, feel free to test out the modified sample app by setting your own Vungle Placement Ids and Rewarded Ad Unit Ids.

ala slipknot

unread,
Mar 13, 2018, 3:29:50 PM3/13/18
to Google Mobile Ads SDK Developers
Thanks a lot for the effort, i managed to get Unity & Vungle working, i also found the reason behind the Reward callback problem and was able to reproduce it, 
it was because of the way i did Ad Request (pre loading ads), i had a coroutine that checks every 0.5f if Ads are ready or not, if not, it requests for an Ad (i know that requests are ignored and only the 1st one do the work, but i just feel more comfortable doing so), and this was causing the problem, because showing an Ad will turn the "Ad Ready" variable to false immediately, which will trigger the Ad Request, and for some reason that causes the Reward callback not to work properly, i've tested it and tried it and am sure that's the problem, so i just had to make sure the game don't request for an Ad while the current one is not closed yet.





Reply all
Reply to author
Forward
0 new messages