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
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?
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.
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

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