How do I test iAds?
According to this answer iAds can only get enabled when submitting the App to Apple.
How do I test its placement first, where should it be placed?
Does this new 1.4 version only show when the ad is available?
8 Answers
-
Accepted Answer
Ok… got it.
iads = Ti.UI.iOS.createAdView({ width: 'auto', height: 'auto'}); Titanium.UI.currentWindow.add(iads);
I still don't know if it will show even if no ads are ready to be displayed, in case it does show:
iads = Ti.UI.iOS.createAdView({ width: 'auto', height: 'auto', bottom: -100, borderColor: '#000000', backgroundColor: '#000000'}); t1 = Titanium.UI.createAnimation({bottom:0, duration:750}); iads.addEventListener('load', function(){ iads.animate(t1); }); Titanium.UI.currentWindow.add(iads);
This should take care of it.
-
Ok… got it.
iads = Ti.UI.iOS.createAdView({ width: 'auto', height: 'auto'}); Titanium.UI.currentWindow.add(iads);
I still don't know if it will show even if no ads are ready to be displayed, in case it does show:
iads = Ti.UI.iOS.createAdView({ width: 'auto', height: 'auto', bottom: -100, borderColor: '#000000', backgroundColor: '#000000'}); t1 = Titanium.UI.createAnimation({bottom:0, duration:750}); iads.addEventListener('load', function(){ iads.animate(t1); }); Titanium.UI.currentWindow.add(iads);
This should take care of it.
-
Caio, do you think your approach will address the Apple submission issue mentioned here: http://developer.appcelerator.com/question/37511/iad-integration ?
-
Yes, this iw what I need too. Thanks, ti!
-
Caio, do you think your approach will address the Apple submission issue mentioned here: http://developer.appcelerator.com/question/37511/iad-integration ?
-
1.3.3 forward hide the ad if not available. Mine was built with 1.3.2 with patch. It's very hard on testing phase as 99% of the "tested ad" show up on request. On live? about 8-10 views per device. The placement is all in your design, put your ad where it's not annoying to your users, and not taking out too much space.
I posted the stats here after a week in store.
http://developer.appcelerator.com/question/47841/info–the-iad-experience
-
Caio, do you think your approach will address the Apple submission issue mentioned here: http://developer.appcelerator.com/question/37511/iad-integration ?
-
Caio, do you think your approach will address the Apple submission issue mentioned here: http://developer.appcelerator.com/question/37511/iad-integration ?