AdMob SDK 7.0.0 gives warning for extras

310 views
Skip to first unread message

Ankur Diyora

unread,
Feb 18, 2015, 6:30:46 AM2/18/15
to google-adm...@googlegroups.com
Hello,
I am using admob sdk version 7.0.0. For load banner i am using GADBannerView. Now after loadRequest banner ads are serving but on console there is one log for extras there. What is this?
Here is log like, <Google> Must specify extras for registerAdNetworkExtras:.

Thanks,

Ram Parameswaran (Mobile SDK Team)

unread,
Feb 19, 2015, 8:38:42 PM2/19/15
to google-adm...@googlegroups.com
Hi Ankur,

That log message is a result of calling registerAdNetworkExtras on a GADRequest with a nil object. The object passed to registerAdNetworkExtras cannot be nil.

- Ram

Ankur Diyora

unread,
Feb 20, 2015, 1:28:07 AM2/20/15
to google-adm...@googlegroups.com
Hello Ram,
Actually i don't required registerAdNetworkExtras thats why i am not pass it. By the way how to pass registerAdNetworkExtras parameters & what is use for it? Even in your example also it is not passed.

Thanks,
Ankur

--

---
You received this message because you are subscribed to a topic in the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-admob-ads-sdk/UQfS_htdQ4c/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-admob-ads...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Message has been deleted

Ram Parameswaran (Mobile SDK Team)

unread,
Feb 23, 2015, 10:59:49 PM2/23/15
to google-adm...@googlegroups.com

Ad networks may have additional parameters they accept. To pass these parameters to them, you can attach ad network extras object for that network to an ad request.  


Would you be able to attach the code you are using to make a request for a banner ad? This would help debug why you are seeing that log message.


On Friday, February 20, 2015 at 1:28:07 AM UTC-5, Ankur Diyora wrote:
Hello Ram,
Actually i don't required registerAdNetworkExtras thats why i am not pass it. By the way how to pass registerAdNetworkExtras parameters & what is use for it? Even in your example also it is not passed.

Thanks,
Ankur
On Fri, Feb 20, 2015 at 7:08 AM, Ram Parameswaran (Mobile SDK Team) <mobileadssdk-advisor+ram@google.com> wrote:
Hi Ankur,

That log message is a result of calling registerAdNetworkExtras on a GADRequest with a nil object. The object passed to registerAdNetworkExtras cannot be nil.

- Ram

On Wednesday, February 18, 2015 at 3:30:46 AM UTC-8, Ankur Diyora wrote:
Hello,
I am using admob sdk version 7.0.0. For load banner i am using GADBannerView. Now after loadRequest banner ads are serving but on console there is one log for extras there. What is this?
Here is log like, <Google> Must specify extras for registerAdNetworkExtras:.

Thanks,

--

---
You received this message because you are subscribed to a topic in the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-admob-ads-sdk/UQfS_htdQ4c/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.

Ankur Diyora

unread,
Feb 24, 2015, 2:27:44 AM2/24/15
to google-adm...@googlegroups.com
Hello,
One thing i noticed is, this warning comes when i added inmobi or other networks ON in mediation. If only admob ads then its not come.

Here is code,
GADBannerView  *bannerView = [[GADBannerView alloc] initWithAdSize:kGADAdSizeBanner];
bannerView.frame = CGRectMake(0,0, kGADAdSizeBanner.size.width, kGADAdSizeBanner.size.height);
bannerView.adUnitID = @"XXXXXXXX";
bannerView.rootViewController = self;
GADRequest *request = [GADRequest request];
[bannerView loadRequest:request];

Thanks,


To unsubscribe from this group and all its topics, send an email to google-admob-ads...@googlegroups.com.

Ram Parameswaran (Mobile SDK Team)

unread,
Feb 24, 2015, 10:10:03 AM2/24/15
to google-adm...@googlegroups.com
We are having trouble reproducing this issue. Would you be able to provide a sample project with an ad request with inmobi that produces the log message?


On Tuesday, February 24, 2015 at 2:27:44 AM UTC-5, Ankur Diyora wrote:
Hello,
One thing i noticed is, this warning comes when i added inmobi or other networks ON in mediation. If only admob ads then its not come.

Here is code,
GADBannerView  *bannerView = [[GADBannerView alloc] initWithAdSize:kGADAdSizeBanner];
bannerView.frame = CGRectMake(0,0, kGADAdSizeBanner.size.width, kGADAdSizeBanner.size.height);
bannerView.adUnitID = @"XXXXXXXX";
bannerView.rootViewController = self;
GADRequest *request = [GADRequest request];
[bannerView loadRequest:request];

Thanks,

On Tue, Feb 24, 2015 at 9:29 AM, Ram Parameswaran (Mobile SDK Team) <mobileadssdk-advisor+ram@google.com> wrote:

Ad networks may have additional parameters they accept. To pass these parameters to them, you can attach ad network extras object for that network to an ad request.  


Would you be able to attach the code you are using to make a request for a banner ad? This would help debug why you are seeing that log message.


On Friday, February 20, 2015 at 1:28:07 AM UTC-5, Ankur Diyora wrote:
Hello Ram,
Actually i don't required registerAdNetworkExtras thats why i am not pass it. By the way how to pass registerAdNetworkExtras parameters & what is use for it? Even in your example also it is not passed.

Thanks,
Ankur
On Fri, Feb 20, 2015 at 7:08 AM, Ram Parameswaran (Mobile SDK Team) <mobileadssdk-advisor+ram@google.com> wrote:
Hi Ankur,

That log message is a result of calling registerAdNetworkExtras on a GADRequest with a nil object. The object passed to registerAdNetworkExtras cannot be nil.

- Ram

On Wednesday, February 18, 2015 at 3:30:46 AM UTC-8, Ankur Diyora wrote:
Hello,
I am using admob sdk version 7.0.0. For load banner i am using GADBannerView. Now after loadRequest banner ads are serving but on console there is one log for extras there. What is this?
Here is log like, <Google> Must specify extras for registerAdNetworkExtras:.

Thanks,

--

---
You received this message because you are subscribed to a topic in the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-admob-ads-sdk/UQfS_htdQ4c/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-admob-ads-sdk+unsubscrib...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Ankur Diyora

unread,
Feb 25, 2015, 3:42:55 AM2/25/15
to google-adm...@googlegroups.com
Hello Ram,
Here i attached sample xcode project. Run this code on device only not on simulator.
Currently i am enabled admob & iAd ads.
Also attached screenshot of log messages.

Thanks,

To unsubscribe from this group and all its topics, send an email to google-admob-ads...@googlegroups.com.
BannerExample.zip
Log_ScreenShot.png

Ram Parameswaran (Mobile SDK Team)

unread,
Feb 25, 2015, 2:04:19 PM2/25/15
to google-adm...@googlegroups.com
I was able to replicate the issue and it is the result of incorrect logging from the ads SDK. This issue does not affect functionality and can be ignored for the time being. Changes will be made to address the issue and pushed out in a future release.

- Ram


On Wednesday, February 25, 2015 at 3:42:55 AM UTC-5, Ankur Diyora wrote:
Hello Ram,
Here i attached sample xcode project. Run this code on device only not on simulator.
Currently i am enabled admob & iAd ads.
Also attached screenshot of log messages.

Thanks,
Reply all
Reply to author
Forward
0 new messages