Banner ads in collectionview admob ios - ios

I have successfully been able to add an admob banner ad to a collection view cell
I have 2 question
First one is :
-Are we allowed to use multiple banner ads in a collectionview
Second one is:
- are we allowed to use banner ads in collectionview cell
Becuase when the user scroll the ad stay at the index,and another ad is shown at different index

Yes, you can use multiple banner ads in a CollectionView! Here is a demo by Google how to implement it in a TableView (very similar):
BannerTableViewExample
I hope it helps! Please let me know if it works for you. I'm currently working on that as well.

Related

Google IMA-SDK and UITableViewCell in iOS

I am using the Google IMA SDK in the table view. The video ad will display within the video cell as expected. But the scroll won't work in video cell while the ad is playing. Are there any ways to resolve this issue?
It's not feasible to do ios UITavleViewCell as per your expectations.
I found this on the Google Forums from one of the IMA SDK Team:
The behavior in which the page is not scrollable when pressing the video player while the ad is playing is an intended behavior, and this is something that would be fixed on your own implementation. One workaround is that by adding an event listener on the container element passed to the AdDisplayContainer for “touchmove” events to trigger the scroll on your page.

Correct behaviour of Google ad in iOS

i am currently developing an app and i will need to implement google ad banner.
I am supposed to display the ad banner in the main view controller. But i have a side menu bar. Currently, when i open the side menu, the ad is blocked.
Is this a correct behaviour? Or is there any way that i can make the ad visible even when the side menu appears?
I know that for android, they would have a gap at the bottom to display the ad, so all the view controllers are shortened by the amount of the height the ad banner has?
Is that achievable in iOS as well?
Yes, you can achieve the Android like behavior very easily in iOS too.
Just create a Parent view controller and embed each controller in it.
Rest of the idea you can take from iADSuite below.
https://developer.apple.com/library/content/samplecode/iAdSuite_Storyboard/Listings/ContainerBanner_ContainerBanner_BannerViewController_m.html#//apple_ref/doc/uid/DTS40013458-ContainerBanner_ContainerBanner_BannerViewController_m-DontLinkElementID_11

Placing ads in an UICollectionView

I'm currently developing an app that requires ads placed within the cells or "tiles" of a grid. The grid is created using a view controller with an UICollectionView. It has two cells going across and is scrollable vertically. The fabric SDK I'm using gives users the option to implement mopub ads within apps and I would like these ads to appear randomly within the grid. Any suggestions? The app is also a basic RSS feed I'm experimenting with.

Ideal place for iAd Banner

I want to integrate iAd in my app. My app is tab based application. Most of my views have TableView in it. What can be the best place to display banner, should I display bottom of the TableView or top of the TableView?
Bottom of the tableview is a good place to place the ads, as there are more chances the use will click on the ads when he/she wants to tap on the tabs. Check Other apps also. The app "FindHrr" I have developed has a similar design where we have placed the app below the tableview.

iOS: Height of iAd banner view for universal app?

I want to make my app universal with one storyboard for all devices. I have now a view below my table view which should contain the iAd banner, unless the user has made the in app purchase to remove the ads. So now I want to place the iAd banner within this view, but I don't know how big this view must be? Very confused about all the information in the internet, since a lot of stuff has been deprecated with the universal storyboards...
Apple's own iAD Programming Guide does not cover the Adaptive Layout with Size Classes the last I checked. So, you may want to try and turn off Size Classes for your StoryBoard and use 2 StoryBoards. But, this will make defining Constraints more important to adjust for various device sizes.
iAd Programming Guide (check the Banner View Concepts section)
https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/iAd_Guide/Introduction/Introduction.html

Resources