Using Google mobile ads, Google play services with legacy Admob

292 views
Skip to first unread message

neuwit

unread,
Apr 16, 2014, 9:54:16 AM4/16/14
to google-adm...@googlegroups.com
Is it possible to use Google Mobile Ads SDK and Google Play services with legacy Admob available in India? As per the example given at https://developers.google.com/mobile-ads-sdk/docs/admob/fundamentals#play, one needs AD_UNIT_ID for displaying Adview. Legacy Admob has a link "Get Publisher Code" which gives me a Jar file. How can I get AD_UNIT_ID for Adview?

Kunal Verma

unread,
Apr 16, 2014, 10:10:28 AM4/16/14
to Google AdMob Ads Developers
Hi

You can see the AD_UNIT_ID( which is called Publisher Id for that specific app in legacy AdMob) in manage Settings which you can find hovering over that App.
The place where you are clicking Get Publisher Code, has the Publisher Id shown.

Best,
Kunal


On Wed, Apr 16, 2014 at 7:24 PM, neuwit <karune...@gmail.com> wrote:
Is it possible to use Google Mobile Ads SDK and Google Play services with legacy Admob available in India? As per the example given at https://developers.google.com/mobile-ads-sdk/docs/admob/fundamentals#play, one needs AD_UNIT_ID for displaying Adview. Legacy Admob has a link "Get Publisher Code" which gives me a Jar file. How can I get AD_UNIT_ID for Adview?

--

---
You received this message because you are subscribed to the Google Groups "Google AdMob Ads Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

neuwit

unread,
Apr 17, 2014, 7:42:24 AM4/17/14
to google-adm...@googlegroups.com
It is working fine for me. Thanks.


On Wednesday, 16 April 2014 19:40:28 UTC+5:30, Kunal Verma wrote:
Hi

You can see the AD_UNIT_ID( which is called Publisher Id for that specific app in legacy AdMob) in manage Settings which you can find hovering over that App.
The place where you are clicking Get Publisher Code, has the Publisher Id shown.

Best,
Kunal

neuwit

unread,
Apr 18, 2014, 12:37:59 AM4/18/14
to google-adm...@googlegroups.com
I am able to display ads and everything looks fine. But I get these warnings and errors in LogCat

04-18 09:57:07.618: W/ResourceType(16409): getEntry failing because entryIndex 14 is beyond type entryCount 1
04-18 09:57:07.618: W/ResourceType(16409): Failure getting entry for 0x7f0b000e (t=10 e=14) in package 0 (error -2147483647)
04-18 09:57:07.618: E/GooglePlayServicesUtil(16409): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
04-18 09:57:07.718: W/ResourceType(16409): getEntry failing because entryIndex 14 is beyond type entryCount 1
04-18 09:57:07.718: W/ResourceType(16409): Failure getting entry for 0x7f0b000e (t=10 e=14) in package 0 (error -2147483647)
04-18 09:57:07.718: E/GooglePlayServicesUtil(16409): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
04-18 09:57:07.738: W/ResourceType(16409): getEntry failing because entryIndex 14 is beyond type entryCount 1
04-18 09:57:07.738: W/ResourceType(16409): Failure getting entry for 0x7f0b000e (t=10 e=14) in package 0 (error -2147483647)
04-18 09:57:07.738: E/GooglePlayServicesUtil(16409): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
04-18 09:57:07.738: W/ResourceType(16409): getEntry failing because entryIndex 14 is beyond type entryCount 1
04-18 09:57:07.738: W/ResourceType(16409): Failure getting entry for 0x7f0b000e (t=10 e=14) in package 0 (error -2147483647)
04-18 09:57:07.738: E/GooglePlayServicesUtil(16409): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
04-18 09:57:07.848: I/chromium(16409): [INFO:async_pixel_transfer_manager_android.cc(56)] Async pixel transfers not supported
04-18 09:57:07.888: I/chromium(16409): [INFO:async_pixel_transfer_manager_android.cc(56)] Async pixel transfers not supported
04-18 09:57:07.898: E/qdutils(16409): FBIOGET_FSCREENINFO failed

My AndroidManifest.xml has got following entries:

        <meta-data android:name="com.google.android.gms.version"
           android:value="@integer/google_play_services_version" />

            <activity android:name="com.google.android.gms.ads.AdActivity"
             android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>

I have added the latest GooglePlayServices (Rev. 16) as a library. Any suggestions? Thanks in advance.

Amy Quispe (AdMob SDK Team)

unread,
Apr 18, 2014, 7:30:54 PM4/18/14
to google-adm...@googlegroups.com
Hi there,

These warnings are benign. You can safely ignore them.

Amy Quispe
Reply all
Reply to author
Forward
0 new messages