How to detect admob SDK version

1,027 views
Skip to first unread message

Piergiorgio Pierani

unread,
Sep 12, 2016, 6:24:14 AM9/12/16
to Google Mobile Ads SDK Developers
Hi to all,
i have a phongap app that serve admob ADS with a plugin, but i really don't know how to find which SDK version it uses.

This is the manifest of the plugin, is there any info about?

<?xml version="1.0" encoding="UTF-8"?>
        xmlns:android="http://schemas.android.com/apk/res/android"
        id="com-admob-plugin-pgp"
        version="1.0.1">
    <engines>
        <engine name="cordova" version=">=3.0" />
    </engines>
    <js-module src="www/admob.js" name="admob">
        <clobbers target="window.admob"/>
    </js-module>
    <platform name="android">
        <config-file target="res/xml/config.xml" parent="/*">
            <feature name="admob" >
                <param name="android-package" value="com.admob.cordova.plugin.AdmobAdPlugin"/>
            </feature>
        </config-file>
        <config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity  android:name="com.google.android.gms.ads.AdActivity"  android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>
        </config-file>
        <config-file target="AndroidManifest.xml" parent="/*">
             <uses-permission android:name="android.permission.INTERNET"/>
   <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
   <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
        </config-file>
        
        <source-file src="src/android/libs/admobadplugin.jar" target-dir="libs/"/>
        <framework src="com.google.android.gms:play-services-ads:+" />

    </platform>
    <platform name="ios">
        <config-file target="config.xml" parent="/*">
            <feature name="admob">
                <param name="ios-package" value="AdmobAdPlugin"/>
            </feature>
        </config-file>
        <source-file  src="src/ios/AdmobAdPlugin.m"/>
        <header-file  src="src/ios/AdmobAdPlugin.h"/>
        <framework src="src/ios/AdmobAPI.framework" custom="true"/>
   <framework src="EventKit.framework"/>
        <framework src="EventKitUI.framework"/>
        <framework src="StoreKit.framework"/>
        <framework src="AdSupport.framework"/>
        <framework src="MessageUI.framework"/>
        <framework src="AVFoundation.framework"/>
        <framework src="Foundation.framework"/>
        <framework src="UIKit.framework"/>
        <framework src="CoreGraphics.framework"/>
        <framework src="SystemConfiguration.framework"/>
        <framework src="AudioToolbox.framework"/>
    </platform>
</plugin>


Thanks for any help

Veer Arjun Busani(Mobile Ads SDK Team)

unread,
Sep 12, 2016, 2:21:27 PM9/12/16
to Google Mobile Ads SDK Developers
Hi Piergiorgio,

Since this is PhoneGap, I would not be able to support you. However, one quick way to know your GMS version would be to run Charles Proxy and record a session while an AdRequest happens. The request in Charles would record the GMS version.

Thanks,
Arjun Busani
Mobile Ads SDK Team

Piergiorgio Pierani

unread,
Sep 15, 2016, 11:53:50 AM9/15/16
to Google Mobile Ads SDK Developers
Thanks, with charles proxy i see this 2 connect:

but i didnt find anything about the GMS version, can you please tell me what i must check inside charles?

Thank you for the help

Veer Arjun Busani(Mobile Ads SDK Team)

unread,
Sep 15, 2016, 12:19:59 PM9/15/16
to Google Mobile Ads SDK Developers
Hi Piergiorgio,

Can you attach your Charles session with us? Make sure that in your SSL Proxying Settings, you have Host: * and Port: *. Send us a session when you are making the AdRequest.

Thanks,
Arjun Busani
Mobile Ads SDK Team

Piergiorgio Pierani

unread,
Sep 16, 2016, 3:36:21 AM9/16/16
to Google Mobile Ads SDK Developers
Here is my Charles session, i noticed that when i activated ssl proxying i only get the "https://pagead2.googlesyndication.com" connection.
I aslo noticed this string at the end of the user agent: "afma-sdk-a-v9452440.8487000.2", maybe mean im using sdk 9.4?


Il giorno giovedì 15 settembre 2016 18:19:59 UTC+2, Veer Arjun Busani(Mobile Ads SDK Team) ha scritto:
Hi Piergiorgio,

mySession.chls

Veer Arjun Busani(Mobile Ads SDK Team)

unread,
Sep 16, 2016, 10:27:40 AM9/16/16
to Google Mobile Ads SDK Developers
Hi Piergiorgio,

It looks like it has not properly recorded the AdRequest. Can you instead link me to your app(s)? I have also attached a screenshot on where you can look for your version when the SDK makes an AdRequest.

Thanks,
Arjun Busani
Mobile Ads SDK Team

Ad Request SDK version.png

Piergiorgio Pierani

unread,
Sep 16, 2016, 10:35:04 AM9/16/16
to Google Mobile Ads SDK Developers
Sure, this is our app: https://play.google.com/store/apps/details?id=it.pgpsoftware.bimby1
Thanks again for the support


Il giorno venerdì 16 settembre 2016 16:27:40 UTC+2, Veer Arjun Busani(Mobile Ads SDK Team) ha scritto:
Hi Piergiorgio,

It looks like it has not properly recorded the AdRequest. Can you instead link me to your app(s)? I have also attached a screenshot on where you can look for your version when the SDK makes an AdRequest.

Thanks,

Veer Arjun Busani(Mobile Ads SDK Team)

unread,
Sep 19, 2016, 10:30:54 AM9/19/16
to Google Mobile Ads SDK Developers
Hi Piergiorgio,

The linked app seems to be running on Play Services v 9.4, which is the latest. It was even updated in PlayStore in this July. I do not see any issue with your app being affected by the deprecation. 

Thanks,
Arjun Busani
Mobile Ads SDK Team

Piergiorgio Pierani

unread,
Sep 19, 2016, 11:54:46 AM9/19/16
to Google Mobile Ads SDK Developers
Ok, thanks alot for the support!
One more thing just to be extra sure: can you confirm me that the admob deprecation issue dosen't involve the iOS version but only the andorid one?


Il giorno lunedì 19 settembre 2016 16:30:54 UTC+2, Veer Arjun Busani(Mobile Ads SDK Team) ha scritto:
Hi Piergiorgio,

Veer Arjun Busani(Mobile Ads SDK Team)

unread,
Sep 19, 2016, 11:58:22 AM9/19/16
to Google Mobile Ads SDK Developers
Hi Piergiorgio,

This again is correct. The current deprecation is only for the standalone Android versions.

Thanks,
Arjun Busani
Mobile Ads SDK Team

Reply all
Reply to author
Forward
0 new messages