Native ads example not work

168 views
Skip to first unread message

N. Gomez

unread,
Jul 20, 2018, 3:42:16 AM7/20/18
to Google Mobile Ads SDK Developers
Hi!

I'm trying to show example DFP native ads (multimedia, with video) to reproduce a problem with audioSession. I tried with DFP ad unit "6499/example/native", but not work, always gives a "Code=1 Error: No ad to show". So I tried also with example app (https://github.com/googleads/googleads-mobile-ios-examples/tree/master/Objective-C/doubleclick/DFPCustomRenderingExample) and it does not work either, also gives an error. Is there any way to test this ads? Or any DFP test ad unit that works.

Thanks!

Regards,
N. Gomez.

mobileadssdk-a...@google.com

unread,
Jul 20, 2018, 4:54:28 AM7/20/18
to N. Gomez, Google Mobile Ads SDK Developers
Hi,

Testing the sample Custom Rendering Ad Unit Id should have worked on your end as expected. That said, I tested the sample Ad Unit Id with our DFPCustomRenderingExample app and I was able to load test ads consistently on my end.

Could you test loading the sample Custom Rendering Video Ad Unit Id (/6499/example/native-video) with our DFPCustomRenderingExample app and see if you get the same error?

For us to have a closer look on why it's not loading successfully on your end, is it possible for you to try and capture the Charles logs (here are the setup instructions) when the Error Code 1 was thrown? These logs will give us more details about the response data returned and help us narrow down the root cause of the issue encountered on your end.

Regards,
Ivan Bautista
Mobile Ads SDK Team

N. Gomez

unread,
Jul 20, 2018, 5:13:29 AM7/20/18
to Google Mobile Ads SDK Developers
I tried the sample app, and it's works, but works the Swift example app, not de objC example app. My project is in objC, i don't know if this affect.

I could try to get some log from Charles if needed.

Regards,
N. Gomez

mobileadssdk-a...@google.com

unread,
Jul 22, 2018, 11:49:25 PM7/22/18
to N. Gomez, Google Mobile Ads SDK Developers
Hi,

Thank you for testing with our sample app. It's indeed odd that it is working on your end using the Swift version but not with the Objective-C version. That said, I also tested with our Objective-C sample app and I still was able to load ads on my end.

If you can provide to us the Charles logs when test ads failed to load using our sample app, then that would really help us narrow down the root cause of the issue.

mobileadssdk-a...@google.com

unread,
Jul 30, 2018, 4:54:12 AM7/30/18
to N. Gomez, Google Mobile Ads SDK Developers
Hi,

I just want to check if you are still having issues displaying test Native Ads using our Objective-C sample app.

Regards,
Ivan Bautista
Mobile Ads SDK Team


--

---
You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this group and stop receiving emails from it, 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/8c2f897e-0596-432f-8a2c-2ed15c2c1f60%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages