I have integrated new AdMob SDK 6.12.2 in my application. After integrating when I try to Build the application, it throws the following error,
" Multiple methods named 'refresh' found with mismatched result, parameter type or attributes "
This new SDK requires linking against two new frameworks: EventKit and EventKitUI. In EventKit framework there is method -(BOOL) refresh and also in my application there are method named refresh in different controllers. So it throws the error and its very difficult to rename all methods named 'refresh' in my application. When I try to call,
[_viewController performSelector:@selector(refresh) withObject:nil];
I think it will also referring to the same method name inside EventKit.framework. How can i resolve this?
This is working fine in Older SDKs.
Thanks in advance.
--
---
You received this message because you are subscribed to a topic in the Google Groups "Google AdMob Ads Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-admob-ads-sdk/VuF3oSLgnaI/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.
Christi JohnRegards,If I use the standard 320*480 then no issues. Please help me as soon as possible, because this is affecting lot of users, because in larger display devices ads view is rendering only half of the screen.One more issue : When I try to call ads from iPhone 6/6+ it always throws the "Ad request failed" error. In that documentation there is no specific sizes for iPhone 6 and iPhone 6+. Please find below the code,Hi Eric,Thanks for your replay. I will check the same in my code.
GADAdSize customAdSize = GADAdSizeFullWidthPortraitWithHeight(50);
if(!_bannerView){
_bannerView = [[DFPBannerView alloc]initWithAdSize:customAdSize];
_bannerView.rootViewController = APP_DELEGATE.viewController;
_bannerView.delegate = self;
//[APP_DELEGATE.viewController.adHolderView addSubview:_bannerView];
}
On Sun, Nov 16, 2014 at 6:59 AM, Eric Leichtenschlag (Mobile Ads SDK Team) <mobileadssdk-advisor+eric@google.com> wrote:
Hello,I couldn't reproduce by creating a refresh method in a view controller and calling performSelector. At first glance, I also don't think the EventKit refresh method is relevant, since you're calling performSelector on a view controller. Maybe you have two conflicting refresh methods in two classes where one is a child of another?Could you perhaps share a sample app that exhibits the problem?Thanks,
Eric
On Friday, November 14, 2014 6:44:55 AM UTC-8, chriZJK wrote:I have integrated new AdMob SDK 6.12.2 in my application. After integrating when I try to Build the application, it throws the following error,
" Multiple methods named 'refresh' found with mismatched result, parameter type or attributes "
This new SDK requires linking against two new frameworks: EventKit and EventKitUI. In EventKit framework there is method -(BOOL) refresh and also in my application there are method named refresh in different controllers. So it throws the error and its very difficult to rename all methods named 'refresh' in my application. When I try to call,
[_viewController performSelector:@selector(refresh) withObject:nil];
I think it will also referring to the same method name inside EventKit.framework. How can i resolve this?
This is working fine in Older SDKs.
Thanks in advance.
--
---
You received this message because you are subscribed to a topic in the Google Groups "Google AdMob Ads Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-admob-ads-sdk/VuF3oSLgnaI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to google-admob-ads...@googlegroups.com.
Eric
To unsubscribe from this group and all its topics, send an email to google-admob-ads-sdk+unsubscrib...@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to google-admob-ads...@googlegroups.com.
GADRequest *request = [GADRequest request];
request.testDevices = @[GAD_SIMULATOR_ID];
[dfpBannerView_ loadRequest:request];
Hi Eric,Thanks for the reply.
I checked the code that you shared, the one difference I noticed is in my case I am not using auto resizing.
I have attached my sample code for your reference.
Can you please have look at the same.
Regards,Christi John
To unsubscribe from this group and all its topics, send an email to google-admob-ads...@googlegroups.com.
Hi Eric,Thanks for the reply.
One more thing : Is there any support for native ads in DFP? Because my client is asking to implement DFP native ads and I didn't find any documents related to DFP native ads from the below link:
https://developers.google.com/mobile-ads-sdk/
Can you please share any links/Docs related to native ads, if which is present.
Regards,Christi John
--
---
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/VuF3oSLgnaI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-admob-ads...@googlegroups.com.
Hi Eric,
Thanks for your reply. We got invitation for private Native Beta.
So to integrate native DFP ads we need to add latest AdMob SDK 6.12.2 to our application. After adding these SDK the app is throwing two warnings. Could you please help me to sort this out.
1. idfa class missing, won't collect idfa - ?
2. <Google> Warning: mediated ad type is unknown or invalid. Resetting type to GADAdType banner with size: kGADAdSizeBanner.
Below is my code to fetch banner ads, I am using kGADAdSizeBanner.
_bannerView = [[DFPBannerView alloc]initWithAdSize:kGADAdSizeBanner];
_bannerView.rootViewController = self;
_bannerView.delegate = self;
_bannerView.adUnitID = defaultBannerId;
GADRequest *request = [GADRequest request];
if(_contentUrl.length)
request.contentURL = _contentUrl;[_bannerView loadRequest:request];Regards,Christi John
--
---
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/VuF3oSLgnaI/unsubscribe.