Home > Paid Traffic Sources > Mobile

I have to diversify offers for Android and iOS with AdRotate Pro. I need help. :) (5)


07-18-2014 08:33 AM #1 alejandrox86 (Member)
I have to diversify offers for Android and iOS with AdRotate Pro. I need help. :)

Hi,

I have a viral video website. At the moment I'm testing banners with AdRotate Pro.

I have a download app offer for iOS and Android. I'm wondering if any of you know how to show the iOS app banner to the iOS devices and the Google Play app banner to the Android devices.

Which method do you suggest? Where should I go to modify the code? CSS or inside the div?

Thanks,

Alex


07-18-2014 10:42 AM #2 caurmen (Administrator)

Does AdRotate have any built-in device detection? If not you'll need to use a library like WURFL to parse the useragent string and determine whether the visitor is on Android or iOS.

CSS/HTML on their own won't do it - this is going to have to be a change at the programming logic level. Is Adrotate rotating with Javascript or PHP?


07-18-2014 11:41 AM #3 bbrock32 (Administrator)

I don't have any experience with AdRotate pro but here's how you would do it with a generic ad server.

You have to generate two different tags, one for the IOS ad and one for the Google Play ad.

Then use some custom PHP to detect the user agent and print the correct code on the page.


07-18-2014 02:40 PM #4 alejandrox86 (Member)

Unfortunately Adrotate doesn't have any bult-in device detection and it's rotating with php.

great, now I have an idea where should I look for. I'll google it and find out how to do it.

thanks for the info

Quote Originally Posted by caurmen View Post
Does AdRotate have any built-in device detection? If not you'll need to use a library like WURFL to parse the useragent string and determine whether the visitor is on Android or iOS.

CSS/HTML on their own won't do it - this is going to have to be a change at the programming logic level. Is Adrotate rotating with Javascript or PHP?
Ok, I'm just starting up with Revive as ad server. I hope it's fine for my purpose.

Just need to know how technically do all these stuff.

thanks

Quote Originally Posted by bbrock32 View Post
I don't have any experience with AdRotate pro but here's how you would do it with a generic ad server.

You have to generate two different tags, one for the IOS ad and one for the Google Play ad.

Then use some custom PHP to detect the user agent and print the correct code on the page.


07-21-2014 06:37 PM #5 zeno (Administrator)

Yeah I would just use an ad server with device detection... KISS and all.


Home > Paid Traffic Sources > Mobile