Ads returning error 0

253 views
Skip to first unread message

Criações Butzke

unread,
Jun 17, 2019, 8:04:48 AM6/17/19
to google-adm...@googlegroups.com
I've followed the docs to implement Rewarded Ads - New APIs (Beta) and Banner Ads.
I set up my App ID and thats ok, but once i change the banner unit id or rewarded unit id to the ones i've created, both ads return with error 0

2019-06-17 09:03:32.436 16444-16444 I/log(): onRewardedAdFailedToLoad(0)
2019-06-17 09:03:32.436 16444-16444 I/Ads: Ad failed to load : 0

I've already waited more than 48h to see if it was a recent created problem...


When using AdMob Banner Example from https://github.com/googleads/googleads-mobile-android-examples/releases, when i change the ad unit ID from strings.xml, same error

<!-- This is an ad unit ID for a test ad. Replace with your own banner ad unit id. -->
<string name="banner_ad_unit_id">My banner Ad unit ID</string>

2019-06-17 09:11:12.351 17641-17641/com.google.android.gms.example.bannerexample I/Ads: Ad failed to load : 0

Should i add the ad units ids here?

Mobile Ads SDK Forum Advisor Prod

unread,
Jun 17, 2019, 12:11:12 PM6/17/19
to criacoe...@gmail.com, google-adm...@googlegroups.com
Hello there,

Thanks for reaching out to us. Can you test your Ad unit Ids with our sample apps and see if you are able to load ads? Can you also share the complete device logs and your Ad unit Id for us to test it on our end as well?

Please use "Reply Privately to Author" option to send the Ad unit Ids privately.

Regards,
Deepika Uragayala
Mobile Ads SDK Team
 

ref:_00D1U1174p._5001UBniPr:ref

Criações Butzke

unread,
Jun 17, 2019, 12:54:13 PM6/17/19
to google-adm...@googlegroups.com
BannerExample without changes loads ok
BannerExample changing only banner_ad_unit_id in strings.xml

2019-06-17 13:52:50.553 12885-12885/? E/SchedPolicy: open of /dev/cpuctl/bg_non_interactive/tasks failed: No such file or directory
2019-06-17 13:52:50.558 12885-12885/? I/zygote: Late-enabling -Xcheck:jni
2019-06-17 13:52:51.190 12885-12885/com.google.android.gms.example.bannerexample I/InstantRun: starting instant run server: is main process
2019-06-17 13:52:51.300 12885-12890/com.google.android.gms.example.bannerexample I/zygote: Do partial code cache collection, code=30KB, data=27KB
2019-06-17 13:52:51.301 12885-12890/com.google.android.gms.example.bannerexample I/zygote: After code cache collection, code=30KB, data=27KB
2019-06-17 13:52:51.301 12885-12890/com.google.android.gms.example.bannerexample I/zygote: Increasing code cache capacity to 128KB
2019-06-17 13:52:51.465 12885-12913/com.google.android.gms.example.bannerexample W/DynamiteModule: Local module descriptor class for com.google.android.gms.measurement.dynamite not found.
2019-06-17 13:52:51.471 12885-12909/com.google.android.gms.example.bannerexample W/zygote: Unsupported class loader
2019-06-17 13:52:51.474 12885-12909/com.google.android.gms.example.bannerexample W/zygote: Skipping duplicate class check due to unsupported classloader
2019-06-17 13:52:51.478 12885-12909/com.google.android.gms.example.bannerexample I/DynamiteModule: Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:20290
2019-06-17 13:52:51.478 12885-12909/com.google.android.gms.example.bannerexample I/DynamiteModule: Selected remote version of com.google.android.gms.ads.dynamite, version >= 20290
2019-06-17 13:52:51.479 12885-12909/com.google.android.gms.example.bannerexample V/DynamiteModule: Dynamite loader version >= 2, using loadModule2NoCrashUtils
2019-06-17 13:52:51.483 12885-12913/com.google.android.gms.example.bannerexample I/DynamiteModule: Considering local module com.google.android.gms.measurement.dynamite:0 and remote module com.google.android.gms.measurement.dynamite:7
2019-06-17 13:52:51.484 12885-12913/com.google.android.gms.example.bannerexample I/DynamiteModule: Selected remote version of com.google.android.gms.measurement.dynamite, version >= 7
2019-06-17 13:52:51.484 12885-12913/com.google.android.gms.example.bannerexample V/DynamiteModule: Dynamite loader version >= 2, using loadModule2NoCrashUtils
2019-06-17 13:52:51.525 12885-12909/com.google.android.gms.example.bannerexample W/zygote: Unsupported class loader
2019-06-17 13:52:51.568 12885-12885/com.google.android.gms.example.bannerexample I/zygote: The ClassLoaderContext is a special shared library.
2019-06-17 13:52:51.570 12885-12885/com.google.android.gms.example.bannerexample I/zygote: The ClassLoaderContext is a special shared library.
2019-06-17 13:52:51.626 12885-12885/com.google.android.gms.example.bannerexample I/DynamiteModule: Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:20290
2019-06-17 13:52:51.626 12885-12885/com.google.android.gms.example.bannerexample I/DynamiteModule: Selected remote version of com.google.android.gms.ads.dynamite, version >= 20290
2019-06-17 13:52:51.720 12885-12913/com.google.android.gms.example.bannerexample W/zygote: Unsupported class loader
2019-06-17 13:52:51.728 12885-12913/com.google.android.gms.example.bannerexample W/zygote: Skipping duplicate class check due to unsupported classloader
2019-06-17 13:52:51.746 12885-12890/com.google.android.gms.example.bannerexample I/zygote: Do partial code cache collection, code=62KB, data=46KB
2019-06-17 13:52:51.747 12885-12890/com.google.android.gms.example.bannerexample I/zygote: After code cache collection, code=60KB, data=45KB
2019-06-17 13:52:51.747 12885-12890/com.google.android.gms.example.bannerexample I/zygote: Increasing code cache capacity to 256KB
2019-06-17 13:52:51.762 12885-12885/com.google.android.gms.example.bannerexample D/DynamitePackage: Instantiated singleton DynamitePackage.
2019-06-17 13:52:51.762 12885-12885/com.google.android.gms.example.bannerexample D/DynamitePackage: Instantiating com.google.android.gms.ads.ChimeraMobileAdsSettingManagerCreatorImpl
2019-06-17 13:52:51.767 12885-12913/com.google.android.gms.example.bannerexample W/DynamiteModule: Local module descriptor class for com.google.android.gms.measurement.dynamite not found.
2019-06-17 13:52:51.863 12885-12915/com.google.android.gms.example.bannerexample D/NetworkSecurityConfig: No Network Security Config specified, using platform default
2019-06-17 13:52:51.875 12885-12885/com.google.android.gms.example.bannerexample I/Ads: Updating ad debug logging enablement.
2019-06-17 13:52:51.906 12885-12914/com.google.android.gms.example.bannerexample I/Ads: App measurement is starting up, version: 16250
2019-06-17 13:52:51.906 12885-12914/com.google.android.gms.example.bannerexample I/Ads: To enable debug logging run: adb shell setprop log.tag.FA VERBOSE
2019-06-17 13:52:51.963 12885-12885/com.google.android.gms.example.bannerexample I/WebViewFactory: Loading com.android.chrome version 74.0.3729.157 (code 372915702)
2019-06-17 13:52:52.027 12885-12885/com.google.android.gms.example.bannerexample I/cr_LibraryLoader: Time to load native libraries: 6 ms (timestamps 7275-7281)
2019-06-17 13:52:52.088 12885-12885/com.google.android.gms.example.bannerexample I/chromium: [INFO:library_loader_hooks.cc(50)] Chromium logging enabled: level = 0, default verbosity = 0
2019-06-17 13:52:52.090 12885-12885/com.google.android.gms.example.bannerexample I/cr_LibraryLoader: Expected native library version number "74.0.3729.157", actual native library version number "74.0.3729.157"
2019-06-17 13:52:52.101 12885-12925/com.google.android.gms.example.bannerexample W/cr_ChildProcLH: Create a new ChildConnectionAllocator with package name = com.android.chrome, sandboxed = true
2019-06-17 13:52:52.108 12885-12885/com.google.android.gms.example.bannerexample I/cr_BrowserStartup: Initializing chromium process, singleProcess=false
2019-06-17 13:52:52.113 12885-12885/com.google.android.gms.example.bannerexample W/ResourceType: Failure getting entry for 0x7f13052a (t=18 e=1322) (error -2147483647)
2019-06-17 13:52:52.147 12885-12885/com.google.android.gms.example.bannerexample W/e.bannerexample: type=1400 audit(0.0:44443): avc: denied { read } for uid=10377 name="vmstat" dev="proc" ino=4026532378 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:proc:s0 tclass=file permissive=0
2019-06-17 13:52:52.296 12885-12956/com.google.android.gms.example.bannerexample I/Adreno: QUALCOMM build                   : 908a5ce, I77d3059488
    Build Date                       : 06/07/18
    OpenGL ES Shader Compiler Version: EV031.22.00.01_06
    Local Branch                     : 
    Remote Branch                    : refs/tags/AU_LINUX_ANDROID_LA.UM.6.5.R1.08.01.00.312.086
    Remote Branch                    : NONE
    Reconstruct Branch               : NOTHING
2019-06-17 13:52:52.296 12885-12947/com.google.android.gms.example.bannerexample W/cr_media: Requires BLUETOOTH permission
2019-06-17 13:52:52.297 12885-12956/com.google.android.gms.example.bannerexample D/vndksupport: Loading /vendor/lib/hw/gralloc.msm8953.so from current namespace instead of sphal namespace.
2019-06-17 13:52:52.304 12885-12956/com.google.android.gms.example.bannerexample I/Adreno: PFP: 0x005ff087, ME: 0x005ff063
2019-06-17 13:52:52.311 12885-12956/com.google.android.gms.example.bannerexample I/zygote: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
2019-06-17 13:52:52.325 12885-12885/com.google.android.gms.example.bannerexample D/DynamitePackage: Instantiating com.google.android.gms.ads.ChimeraAdManagerCreatorImpl
2019-06-17 13:52:52.366 12885-12885/com.google.android.gms.example.bannerexample I/Ads: Use AdRequest.Builder.addTestDevice("2B639F775C3842C38268640FFE09BAC9") to get test ads on this device.
2019-06-17 13:52:52.413 12885-12956/com.google.android.gms.example.bannerexample W/VideoCapabilities: Unrecognized profile 2130706433 for video/avc
2019-06-17 13:52:52.413 12885-12956/com.google.android.gms.example.bannerexample W/VideoCapabilities: Unrecognized profile 2130706434 for video/avc
2019-06-17 13:52:52.418 12885-12956/com.google.android.gms.example.bannerexample W/VideoCapabilities: Unrecognized profile 2130706433 for video/avc
2019-06-17 13:52:52.418 12885-12956/com.google.android.gms.example.bannerexample W/VideoCapabilities: Unrecognized profile 2130706434 for video/avc
2019-06-17 13:52:52.447 12885-12956/com.google.android.gms.example.bannerexample W/VideoCapabilities: Unrecognized profile/level 0/3 for video/mpeg2
2019-06-17 13:52:52.453 12885-12915/com.google.android.gms.example.bannerexample I/zygote: The ClassLoaderContext is a special shared library.
2019-06-17 13:52:52.461 12885-12974/com.google.android.gms.example.bannerexample W/Ads: Invoke Firebase method getInstance error.
2019-06-17 13:52:52.461 12885-12974/com.google.android.gms.example.bannerexample W/Ads: The Google Mobile Ads SDK will not integrate with Firebase. Admob/Firebase integration requires the latest Firebase SDK jar, but Firebase SDK is either missing or out of date
2019-06-17 13:52:52.463 12885-12978/com.google.android.gms.example.bannerexample I/AudioManager: In isSpeakerphoneOn(), calling application: com.google.android.gms.example.bannerexample
2019-06-17 13:52:52.470 12885-12975/com.google.android.gms.example.bannerexample I/DynamiteModule: Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:20290
2019-06-17 13:52:52.471 12885-12975/com.google.android.gms.example.bannerexample I/DynamiteModule: Selected remote version of com.google.android.gms.ads.dynamite, version >= 20290
2019-06-17 13:52:52.496 12885-12956/com.google.android.gms.example.bannerexample W/VideoCapabilities: Unrecognized profile 2130706433 for video/avc
2019-06-17 13:52:52.497 12885-12956/com.google.android.gms.example.bannerexample W/VideoCapabilities: Unrecognized profile 2130706434 for video/avc
2019-06-17 13:52:52.534 12885-12956/com.google.android.gms.example.bannerexample I/VideoCapabilities: Unsupported profile 4 for video/mp4v-es
2019-06-17 13:52:52.578 12885-13004/com.google.android.gms.example.bannerexample D/OpenGLRenderer: HWUI GL Pipeline
2019-06-17 13:52:52.646 12885-12917/com.google.android.gms.example.bannerexample W/Ads: Update ad debug logging enablement as false
2019-06-17 13:52:52.698 12885-13004/com.google.android.gms.example.bannerexample I/OpenGLRenderer: Initialized EGL, version 1.4
2019-06-17 13:52:52.698 12885-13004/com.google.android.gms.example.bannerexample D/OpenGLRenderer: Swap behavior 2
2019-06-17 13:52:52.733 12885-12917/com.google.android.gms.example.bannerexample W/Ads: Not retrying to fetch app settings
2019-06-17 13:52:52.815 12885-13004/com.google.android.gms.example.bannerexample D/vndksupport: Loading /vendor/lib/hw/android.hardware.graphics.mapper@2.0-impl.so from current namespace instead of sphal namespace.
2019-06-17 13:52:52.816 12885-13004/com.google.android.gms.example.bannerexample D/vndksupport: Loading /vendor/lib/hw/gralloc.msm8953.so from current namespace instead of sphal namespace.
2019-06-17 13:52:53.145 12885-12885/com.google.android.gms.example.bannerexample I/Ads: Ad failed to load : 0
2019-06-17 13:52:53.566 12885-12890/com.google.android.gms.example.bannerexample I/zygote: Do full code cache collection, code=125KB, data=99KB
2019-06-17 13:52:53.567 12885-12890/com.google.android.gms.example.bannerexample I/zygote: After code cache collection, code=124KB, data=78KB
2019-06-17 13:52:53.584 12885-12890/com.google.android.gms.example.bannerexample I/zygote: Do partial code cache collection, code=125KB, data=80KB
2019-06-17 13:52:53.586 12885-12890/com.google.android.gms.example.bannerexample I/zygote: After code cache collection, code=125KB, data=80KB
2019-06-17 13:52:53.586 12885-12890/com.google.android.gms.example.bannerexample I/zygote: Increasing code cache capacity to 512KB
Message has been deleted

Mobile Ads SDK Forum Advisor Prod

unread,
Jun 17, 2019, 5:23:39 PM6/17/19
to criacoe...@gmail.com, google-adm...@googlegroups.com
Hello there,

Thanks for sharing the details. I am not able to load ads with your Ad unit Id and seeing an error code 0 on our end as well. Can you make sure to update the Billing and Payments details on your account? Once you update these details, please note that it might take few hours for the changes to reflect on your account. I'd suggest that you wait for few hours and try loading the ads again. 

Regards,
Deepika Uragayala
Mobile Ads SDK Team

ref:_00D1U1174p._5001UBniPr:ref
Message has been deleted

Criações Butzke

unread,
Jun 18, 2019, 9:12:57 AM6/18/19
to Google Mobile Ads SDK Developers
After i set up the Payment information at admob site and wait a little bit, both ads are loading nice.

Just, since i've had this problem, it would be good if there was something about this in AdMob Get Started documentation...

It wasn't my first time with AdMob, but first time in this account, so i went direcly to making it work and forgot about that part...

Anyway, thanks. :)
Reply all
Reply to author
Forward
0 new messages