iOS Question Rewarded Ads (admob)

tufanv

Expert
Licensed User
Longtime User
Hello,

Rewarded ads tutorial was written by Erel before admob was offering rewarded ads so he says we need a 3rd party. But now admob offers rewarded ads , so can we use that tutorial with the admob the provider?

Thanks
 
tried it but it gives error: Failed to receive ad: Error Domain=com.google.ads Code=7 "Invalid mediation adtype returned." UserInfo={NSLocalizedDescription=Invalid mediation adtype returned., NSLocalizedFailureReason=Invalid mediation adtype returned.}

Can we make it work with admob as the provider not without mediation ?
 
Upvote 0
The code itself doesn't depend on mediation. You just need to pass the correct unit id and it should work.
I did like that, I have added a rewarded ad unit from admobg, and initailized with that app id. I get this error :
Code: Copy
Failed to receive ad: Error Domain=com.google.ads Code=7 "Invalid mediation adtype returned." UserInfo={NSLocalizedDescription=Invalid mediation adtype returned., NSLocalizedFailureReason=Invalid
 
Upvote 0
No, there is a problem with this. It only works if the device is added as test device with builder.addtestdevice, otherwise it always give an error below and I cant find anything about this error on the internet:

Code: Copy
Failed to receive ad: Error Domain=com.google.ads Code=7 "Invalid mediation adtype returned." UserInfo={NSLocalizedDescription=Invalid mediation adtype returned., NSLocalizedFailureReason=Invalid mediation adtype returned.}
 
Upvote 0

Similar Threads

  • Question Question
iOS Question AdMob Issues
Replies
3
Views
2K
Replies
8
Views
13K
  • Locked
  • Article Article
B4i Library iAdMob
Replies
108
Views
65K
Back
Top