I'm trying to use RevMob (Link to RevMob) as alternative for Admob.
Now it is working, but not quite well. I only want a banner on some views. But the [[Thing session] hideBanner] isn't working seems to me. Does anyone have this also?
Or eventually an other Ad network that has a high filtrate ?
Kind Regards
Related
I am building an app which will display AdMob banner ad, and when user successfully purchased an IAP item, the banner ad will never show up again, and the screen area originally occupied by the banner ad will be used by the app real functions.
The question is how to dismiss the bannerView or does not init it on the next launch up? And how to insure AdMob Sdk will never refresh the ad content in the background?
I think we cannot just hide the bannerView with just a statement:
bannerView.isHidden = true
And, as we know, AdMob SDK use IDFA. But Apple will deny an app which use IDFA but not showing Ads.
Google has guides on how to show up ads, but I cannot find information about how to stop showing ads from Google.
How to get this problem out?
The question is how to dismiss the bannerView or does not init it on
the next launch up? And how to insure AdMob Sdk will never refresh the
ad content in the background?
There are multiple ways to do this. One way I can think of is to add multiple targets in your Xcode project.
And the easier way, the more practical way - at least for me, is to prevent the requests for ads through GADRequest().
You can even do this even in AppDelegate, when setting Ids to your SDK.
That's it. You may also set nil to the delegate property of your bannerView.
And like what you've mentioned, just hide the bannerView's container, and everything should be perfect. I've worked on lots of applications with Admob, and I believe there should be no problem doing this approach.
iOS 9.3, Xcode 7.3, ARC enabled.
I am migrating away from iAd, and I have some general questions regarding best design patterns and how to properly use the Google Mobile Ads framework for banner style ads.
How do you control presentation on ad load and load failure?
My typical approach is to start with the banner view hidden, detect when the ad is loaded, then either animate the banner view in from the top or bottom, or fade in from a stand-in image.
I noticed that GADBannerView class, does not have some of the more convenient properties of an iAd banner, such as isLoaded.
a) Right now I take advantage of the two methods - (void)adViewDidReceiveAd:(GADBannerView *)bannerView and - (void)adView:(GADBannerView *)bannerView didFailToReceiveAdWithError:(GADRequestError *)error, set an instance variable bool for the view controller when either method gets a message, then use that variable for any additional UI changes else where. Is this a good design practice?
b) "deleted", animation works.
c) When the ad fails to load, what happens to the banner view? I notice that its alpha property is still 1.0 and that it is not hidden. In a production environment when an AdMob ad fails to load, is the banner clear? Or does it have a generic stand-in image? In other words, am I going to have to slide in an image to balance the view without the banner view there?
I've read from the basic AdMob tutorial that it doesn't really matter where the banner is, it can be in multiple view controllers, the framework will manage how these multiple banners will be filled. Could someone confirm this behavior? Say, I have two view controllers and I have two different banner views, I don't have to manage the ads? All I have to do is provide the banner view real estate?
Generally speaking, if I used to have iAd for ads and also in-app. purchases through iTunes, then what is the modern day trend? Am I supposed to have ads through AdMob and keep in-app. purchases as they are through Apple? Is that what people are doing now?
Thanks in advance for your answers. I know this maybe too general, but I really want some sort of a fundamental understanding where to head, before I submit anything to Apple.
--
Here is the code for animation I am using:
- (void)adViewDidReceiveAd:(GADBannerView *)bannerView
{
bannerDidLoad = true;
[UIView animateWithDuration:1.0 animations:^{
bannerView.alpha = 1.0;
bannerView.frame = CGRectMake(bannerView.frame.origin.x, bannerView.frame.size.height, bannerView.frame.size.width, bannerView.frame.size.height);
} completion:^(BOOL finished) {
nil;
}];
}
You should really narrow your question down. It's kind of vague. Anyways, yes GADBannerView's will be clear if they fail to receive an ad. Using the delegate methods to know what state the GADBannerView is in is the standard. Animating the alpha property should not be an issue. Not really sure what that last question is asking. You can use any ad network you'd like. If you're using in app purchases already just continue using them and remove the GADBannerView instead of the ADBannerView.
Hy there,
We have an application that is live and has numerous user world wide. We have added revmob few years ago, everything was fine in all that time, but recently various users from USA are complaining that full screens ads pop ups are not removing. and some users mentioned that there are various pop ups displayed. Some of them mentioned that there is no close button to hide the pop up.
We tested here with us, check others countries feedbacks no one complains about it.... All those users that faces this issue are from USA.
We are in a bit trouble. and thinking to remove and not to use ads any more. but if you people has any idea or any solution for that, please let us know asap.
here is my code I call to display ads:
RevMobFullscreen *fs = [[RevMobAds session] fullscreen];
fs.delegate = self;
[fs showAd];
Thanks
I am relatively new to objective-c but have built a few small apps. I implemented a revmob fullscreen ad in my app and would like to have a "remove ads" button next to the "X" to capture their attention at the right moment. Any suggestions on how to do this?
I doubt you can do that, as ad providers need to guarantee you're not hiding the ad from the customers. And if you could do it, it might be against your ad contract.
I've seen some games which have a More Games button, on clicking of which it redirects to a list of games where the user can download the games. I wanted to have the same functionality for my game too. Which framework, SDK or extension offers such kind of functionality. Of course I want to generate revenue per download.
The SDK I tried are Tapjoy and Revmob, but they do not give the exact solution I wanted. Tapjoy shows a single app at a time, and revmob just shows an alert, asking the user to download a random free app.
Note: I've deleted the previous question and created a new question, as the previous question was downvoted for no reason and I couldn't got any answer on that.
RevMob offers the functionality you describe, but only for a single game that they choose, and gives you the choice of a Banner Ad, Full Screen Ad, Popup Alert (as you mention) or a link that you can set to be called directly from a button press.
Create a 'More Games' button and in its action place a call to RevMob like this,
[RevMobAds openAdLink];
Other alternative with RevMob is an already configure UIButton:
RevMobAds *revmob = [RevMobAds revMobAds];
UIButton *button = [revmob button];
API documentation