Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 25    Views: 420

Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
11/14/12 02:06 AM (13 years ago)

Attention iOS Revmob users changes.

For iOS users who integrate Revmob there has been a change to the calls to Revmob. If you use my tutorial <a href="http://youtu.be/whSdvXVvW1w" target="_blank" rel="nofollow">http://youtu.be/whSdvXVvW1w</a> everything is the same other than the calls below. It still remains the simplest integration I have done. instead of: [RevMobAds showFullscreenAd]; it's [[RevMobAds session] showFullscreen]; [RevMobAds hideFullscreenAd]; it's [[RevMobAds session] hideFullscreen]; instead of: [RevMobAds showBannerAd];]; it's [[RevMobAds session] showBanner]; [RevMobAds hideBannerAd]; it's [[RevMobAds session] hideBanner]; I have updated the cheat sheet also for your copy and paste convenience Thanks to Sheri for the heads up
 
Mackimack
Apple Fan
Profile
Posts: 481
Reg: Dec 30, 2010
Sweden
14,310
like
11/14/12 02:50 AM (13 years ago)
Nice!!
 
Mike the App Guy
Lost but trying
Profile
Posts: 435
Reg: Sep 19, 2011
Birmingham, Ala...
5,900
like
11/14/12 06:32 AM (13 years ago)
You rock man! I am about to put RevMob into an app, haven't integrated RevMob since the latest XCode update, so I'll report back on how it goes. If my dumb self can do this (which I did last time), anyone can. I think the tutorial you made is fantastic, I'm looking at it now, and will look at the docs and follow along. I have a system where I have your tutorial up on YouTube on my Windows laptop, and have my Mac fired up with XCode so I can do these at the same time. Will report back later today when I do this. Thank you SO MUCH for taking the time to help folks like me. This is what's so fantastic about the Buzztouch community! :) Love the accent too - where are you from? I wonder if you'd think I was a hillbilly if I made a video - I'm from Alabama.
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
11/14/12 06:33 AM (13 years ago)
Thanks, I'm from Liverpool so the accent is scouse. Glad I can be of help. As long as you haven't got duelling banjos in the background music I'm sure it would be great.
 
Mike the App Guy
Lost but trying
Profile
Posts: 435
Reg: Sep 19, 2011
Birmingham, Ala...
5,900
like
11/14/12 06:41 AM (13 years ago)
:) That is a GREAT tutorial! I can't believe how easy you make it. A MILLION thanks to you! I won't have deuling banjos, but maybe the Alabama Crimson Tide fight song - Yea Alabama! :) We love our college football around here. I do have a question for you. In your tutorial, you did both the full screen ads and the banner ads. Has your experience been that using the RevMob banner ads gets you a better revenue than iAds? If you put those lines in the code like you did, would it put the banner ads at the bottom of every screen? I can play around with it to see how it looks like on that end, but I'm more curious about your experience with revenue from RevMob banner ads vs iAds banner ads. I have to say, I've been extremely happy with RevMob so far, with iAds, not so much.
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
11/14/12 06:44 AM (13 years ago)
I don't really have any experience with actual revenue as Apple keep knocking back my apps. But the feedback is that they are 100% petter than iAds. The revmob banner will just float over the bottom, which isn't too good for tab views. You can hide the banner on whatever screens you want though.
 
elaine
buzztouch Evangelist
Profile
Posts: 385
Reg: Dec 26, 2010
Ireland
3,850
like
11/14/12 09:18 AM (13 years ago)
Definitely better than iAds (which have an eCPM of less that $2 for me). Just got banner, fullsceen & popups ads with placements integrated into my first app yay! Trying now to get adlink to work but its proving difficult. Here is the part of the code for placements in case its of any use, just replace the placement IDs. RevMobFullscreen *fullscreen = [[RevMobAds session] fullscreenWithPlacementId:@"PUT IN PLACEMENT ID HERE"]; [fullscreen showAd]; RevMobPopup *popup = [[RevMobAds session] popupWithPlacementId:@"PUT IN PLACEMENT ID HERE"]; [popup showAd]; RevMobBanner *banner = [[RevMobAds session] bannerWithPlacementId:@"PUT IN PLACEMENT ID HERE"]; [banner showAd]; Elaine.
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
11/14/12 09:21 AM (13 years ago)
what is a placement ID
 
elaine
buzztouch Evangelist
Profile
Posts: 385
Reg: Dec 26, 2010
Ireland
3,850
like
11/14/12 09:35 AM (13 years ago)
In revmob, now as well as an app ID, you can break it down further and have a specific placement ID for each ad type. So 1 app has 1 main Id, but can also have 1 placement ID for each of: banner, fullscreen, adlink, popup, etc. You can then turn each type of ad in that app on & off seperately. Very handy, I'm just stuck at the adlink 'make a button' :) Elaine.
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
11/14/12 09:51 AM (13 years ago)
Cool I've implemented that with the control panel
 
Mike the App Guy
Lost but trying
Profile
Posts: 435
Reg: Sep 19, 2011
Birmingham, Ala...
5,900
like
11/14/12 11:37 AM (13 years ago)
Holy moly that is easy. I remember the first time I did this a couple of months ago, it was sort of a pain in the neck. But this is amazingly easy to do, and looks great in the app. Even with the new code to put in, I set up RevMob in my app in about 5 minutes. I can't say thank you enough to @Kittsy!! Great tutorial brother! Now, if signing the app was only as easy as implementing RevMob, I'd be cooking with gas! :)
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
11/14/12 11:52 AM (13 years ago)
Haha man RevMob changes so fast - they rolled out those placements a few weeks ago and now I see they just updated the whole placement system and the ones I made are now deprecated - Definitely an awesome way to go for ads though, especially since they are so responsive to Emails and questions @Elaine - have you seen the "How to make a button do anything" tutorial in the how-to's? If you use that you can make any menu button open the RevMob adLink. It also helps if you call [appDelegate showProgress] so that the user knows an ad is actually loading. This can also be done with a list menu, but the process is a little different than in the tutorial. post back if you want further clarification
 
elaine
buzztouch Evangelist
Profile
Posts: 385
Reg: Dec 26, 2010
Ireland
3,850
like
11/14/12 11:53 AM (13 years ago)
aha - thanks Absentia - will check now: https://www.buzztouch.com/files/howtos/make-a-button-do-anything.pdf Elaine
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
11/14/12 12:22 PM (13 years ago)
no problem - if you do call [appDelegate showProgress] then you should also paste the following method in your appDelegate.m - (void)applicationWillResignActive:(UIApplication *)application{ [self hideProgress]; } that way, then the app is closes and the app store loads, the loading animation wont still be going when you re-launch the app. I paste that code directly above the applicationDidBecomeActive method (line 470)
 
baywebnz
Aspiring developer
Profile
Posts: 92
Reg: Oct 25, 2010
location unknow...
920
like
11/14/12 01:58 PM (13 years ago)
Thanks for this Kittsy. Does anyone know how/if this affects existing apps using previous code/versions of sdk? I just had an update approved for one of my apps yesterday and also submitted a new app both with Revmob. I would rather not have to change them right away if I can help it! Both still seem to be working ok at the moment. Cheers. Ps awesome news on the 1million downloads Absentia! So is this your full time gig?
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
11/14/12 02:13 PM (13 years ago)
no it will still work for a while anyway. If the ads stop working time for an update. Revmobs update and fix bugs constantly
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
11/16/12 11:38 AM (13 years ago)
Thx for the tutorial, works like a charm. 1 question as you said, you can control on which screen the ad should show and where it shouldn't? How do you do that?
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
11/19/12 08:55 AM (13 years ago)
Any chance to get an answer on this?
 
elaine
buzztouch Evangelist
Profile
Posts: 385
Reg: Dec 26, 2010
Ireland
3,850
like
11/19/12 09:05 AM (13 years ago)
Best idea is to read the revmob SDK instructions.
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
11/19/12 09:11 AM (13 years ago)
Well, see for yourself, but that is not in the revmob instructions.
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
11/19/12 11:22 AM (13 years ago)
Sorry Leon thought I replied. I made my own code changes and integrated into a control panel thing what it does though is. In each screen type I want a banner ad to show I include In the view did load section of the code Add the first show banner as in the video then [RevMobAds showBannerAd];]; it's [[RevMobAds session] hideBanner]; everytime a screen lads the class the banner will not be shown Then under -(void)navRightTap{ in the BTviewController.m insert [RevMobAds hideBannerAd]; it's [[RevMobAds session] showBanner]; everytime someone goes back it adds the banner Thus say you quiz have the quiz plug in you don't want a banner as it hides the timer when view did load hit it, it will remove the banner. When they finish and go back the banner will load again. Hope that makes a little sense
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
11/19/12 12:26 PM (13 years ago)
Very nice thanks that works perfectly. For me it was the navLeftTap but it works as expected.
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
11/19/12 12:31 PM (13 years ago)
sorry it was meant to be left, you knew what I meant ha
 
Red Dog
buzztouch Evangelist
Profile
Posts: 805
Reg: Jun 16, 2011
Southern Califo...
18,800
like
11/21/12 03:47 PM (13 years ago)
Answered my own question. ;-/
 
Kahuna
Apple Fan
Profile
Posts: 137
Reg: Nov 18, 2011
Milan
4,670
like
12/11/12 10:11 AM (13 years ago)
Thank you @Kittsy, I followed your tutorial and I managed to get Revmob working. However I've an issue with one of my page. The page is a web page containing a menu and a text input cell (I'm not sure if it should be called a UITextfield) which don't work anymore. I tested the app and removed the showBanner line and it works, so the issue should be in the Revmob showBanner. I found someone else http://stackoverflow.com/questions/12447875/keyboard-and-cursor-show-but-i-cant-type-inside-uitextfields-and-uitextviews having the same problem but I couldn't get the right solution. Thanks for any help you may give.
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
01/03/13 03:08 PM (13 years ago)
wheres the viewcontroller.m ? i got it to not show when u click on the quiz, but when i go back to the main screen it doesnt come back
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.