What to use now instead of DFPSwipeableBannerView?

362 views
Skip to first unread message

Ricky D'Amelio

unread,
Aug 18, 2014, 7:05:53 PM8/18/14
to google-adm...@googlegroups.com
I noticed in one of the recent updates to the iOS SDK that DFPSwipeableBannerView has been deprecated in favour of its superclass. Have the features of the Swipeable Banner View been moved somewhere else? If I put DFPBannerView in a UITableViewCell it interrupts scrolling, which is an issue the old view solved.

Eric Leichtenschlag

unread,
Aug 18, 2014, 10:11:03 PM8/18/14
to google-adm...@googlegroups.com
There is an open bug filed on how to make DFPBannerView exhibit the same behavior as DFPSwipeableBannerView. If this is a deal breaker for you, then I'd suggest using 6.9.3 for now until a better workaround is available.

Thanks,
Eric

Eric Leichtenschlag

unread,
Aug 18, 2014, 10:13:32 PM8/18/14
to google-adm...@googlegroups.com
I should also add that you aren't the only one with this issue, and we do plan to address it in either the next or following release.

kriz poon

unread,
Oct 28, 2014, 5:38:15 AM10/28/14
to google-adm...@googlegroups.com
Disabling the panGestureRecognizer in the underlying UIWebView works for me (SDK version 6.12.0):



@interface GADBannerView (SwipeableWorkaround)


- (void) setSwipeable:(BOOL)swipeable;


@end



@implementation GADBannerView(SwipeableWorkaround)


- (void) setSwipeable:(BOOL)swipeable;

{

for (UIView * sv in self.subviews)

{

for (UIView * ssv in sv.subviews)

{

if ([ssv isKindOfClass:[UIWebView class]])

{

UIWebView * wv = (id)ssv;

wv.scrollView.panGestureRecognizer.enabled = !swipeable;

}

}

}

}


@end

Eric Leichtenschlag

unread,
Oct 28, 2014, 10:09:57 AM10/28/14
to google-adm...@googlegroups.com
Just an update here, we're hoping to have a server-side fix available soon (by next week if not this week) that will make DFPBannerView exhibit the same behavior that DFPSwipeableBannerView did. It won't require an SDK change, and will work for all SDKs, including 6.12.0.

Thanks,
Eric

Richard Baker

unread,
Jan 6, 2015, 5:29:23 AM1/6/15
to google-adm...@googlegroups.com, eleich...@google.com
Morning,

Has this server side fix been made available yet ?

Thanks

Richard

Eric Leichtenschlag (Mobile Ads SDK Team)

unread,
Jan 6, 2015, 1:44:50 PM1/6/15
to google-adm...@googlegroups.com, eleich...@google.com
Yep, the fix happened back in November. DFPBannerView now operates the same as DFPSwipeableBannerView did, and on all SDK versions.

Thanks,
Eric

Mark Salm

unread,
Apr 18, 2015, 9:18:47 PM4/18/15
to google-adm...@googlegroups.com, eleich...@google.com, Andrew Aziz
Hi Eric,

Has there been any new server-side updates? Admob ads using DFPBannerView are no longer scrollable like before within a UITableView, and as you know, DFPSwipeableBannerView is no longer available. We're using the latest SDK (7.0.0), but this is also happening with SDK 6.12.2.  A screenshot of the non-scrollable ad attached.

This has just happened recently, Admob ads via DFPBannerView were scrolling fine in a UITableView for quite some time..  Something -very recently- happened and now DFPBannerView ads are not scrollable. I suspect this is server-side.

Any support would be appreciated, Eric.

Thanks in advance.
non-scrollable.png

Eric Leichtenschlag (Mobile Ads SDK Team)

unread,
Apr 21, 2015, 1:43:51 AM4/21/15
to google-adm...@googlegroups.com, a.a...@yabila.com, eleich...@google.com
Hi Mark,

I've been able to reproduce, and have filed a bug for this issue. I suspect it's a change in the html of the AdMob creatives being served that are now consuming swipe gestures.

Just to clarify any misconceptions about the behavior of the SDK, all banner views in all SDK versions, even the DFPSwipeableBannerView when it used to exist, are susceptible to this behavior if an ad eats swipe events. I'm inquiring about any AdMob ad formats changes that may have changed recently, and will advocate for any such changes to be reverted so that the familiar app install ad you see there behaves nicely. However, if any ads from 3rd party advertisers or your mediation networks have html that consumes swipe gestures, there's nothing the SDK can do about it.

And here's my obligatory reminder that Apple does not recommend putting a UIWebView inside a UIScrollView. Of course, the SDK's banner view includes a UIWebVIew inside of it. I do realize lots of devs do it anyways, but this really boils down to a problem at the OS level.

Thanks,
Eric

Mark Salm

unread,
Apr 21, 2015, 12:44:14 PM4/21/15
to google-adm...@googlegroups.com, a.a...@yabila.com, eleich...@google.com
Hi Eric,

Thanks for your feedback and for filing the bug. Really appreciate it.

I absolutely understand your point on ads that listen to swipe events, they are however very rare and mostly relevant to rich media executions. That's why it wasn't an issue for us.

The bulk of the ads were Admob's App Install ads, which never listened to swipe events till this recent change. What's strange is that these ads do not require any swipe gestures, as they simply have a clickable "Install" button. 

Once again, thanks for your support. We'll hold off the ads for now and look forward to having the issue resolved.

Best,
Mark

Mark Salm

unread,
May 4, 2015, 8:00:24 AM5/4/15
to google-adm...@googlegroups.com, a.a...@yabila.com, eleich...@google.com

Hi Eric,

Just wondering if there was any feedback on this bug from AdMob's team?

It would be highly appreciated.

Thanks in advance.

Eric Leichtenschlag (Mobile Ads SDK Team)

unread,
May 4, 2015, 6:59:54 PM5/4/15
to google-adm...@googlegroups.com, a.a...@yabila.com, eleich...@google.com
Hey Mark,

Unfortunately no updates on this yet, but I am convinced it was due to a change in the AdMob format and I'll still push to get this fixed.

Thanks,
Eric

Eric Leichtenschlag (Mobile Ads SDK Team)

unread,
May 6, 2015, 2:26:34 PM5/6/15
to google-adm...@googlegroups.com, a.a...@yabila.com, eleich...@google.com
I've gotten some traction on this issue, and I expect to have something more actionable to report next week.

Thanks,
Eric

Eric Leichtenschlag (Mobile Ads SDK Team)

unread,
May 29, 2015, 2:56:42 PM5/29/15
to google-adm...@googlegroups.com, mobileadssdk...@google.com, eleich...@google.com, a.a...@yabila.com
Just checking in again. As of a full week ago, those AdMob app install ads no longer steal swipes.

Thanks,
Eric

Mark Salm

unread,
May 29, 2015, 5:02:22 PM5/29/15
to google-adm...@googlegroups.com, eleich...@google.com, a.a...@yabila.com
Hi Eric,

We can now confirm that these ads no longer steal swipes. Many thanks Eric for your support on this matter, we highly appreciate it.

Thanks,
Mark
Reply all
Reply to author
Forward
0 new messages