• Hi folks,

    I’m having an issue with people accessing my website from mobile devices. They appear to see the ads formatted as if they are using a PC web browser, thus getting big images and really intrusive ads.

    Is there a way to show special ads for those who access using iOS, Android or such? Or even better, is there a way to disable ad-injection for those who use a mobile device?

    Thanks.

    http://wordpress.org/extend/plugins/ad-injection/

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hi webospodridos,
    There is no current feature to disable ads for mobile devices. You could however do it by putting PHP in the ad box, but that wouldn’t be very tidy, and wouldn’t work with caching plugins.

    This is a feature that has been requested quite a few times, and is high up on my TODO list.

    Thread Starter webospodridos

    (@webospodridos)

    Thanks RML! In the meantime while you work on your TODO list, I’ve found a code snippet that would do some work detecting a mobile web browser (link here).

    Is there any place in the code I can apply a condition to stop running any more ad injection code? I guess there is a place where you check if the plugin is enabled. I can add an extra condition there for the mobile web browser.

    Thanks for your great work!

    Hi webospodridos, if you want to have a go adding the code to your own version of Ad Injection a good place would be the adshow_show_adverts function in adshow.php.

    Just return a string such as “mobile_blocked” if you detect a mobile browser and don’t want the ads to show.

    Good luck!

    Some kind of setting to exclude mobile devices would be most welcome.

    Why not do the simple thing and add a new section under “Ad insertion mode/dynamic restrictions” to enable blocking of ads for certain user-agents. Then the blog admin can setup the appropriate user-agents depending on what mobile theme or mobile plugin that is used.

    Hi LDTech, disabling ads for mobiles is my most requested new feature. It is top of my list for when I next find some time to do new work on the plugin (hopefully in this half of the year).

    jimmywhofan

    (@jimmywhofan)

    Any update here? Half my traffic is mobile, but they click on ads 90% less than desktop/laptop users. When I convert my site to a mobile site, the Ad Injection ads don’t show at all. Would really appreciate a solution.

    Thanks!

    reviewmylife

    (@reviewmylife)

    Hi jimmywhofan, This topic is about people wanting a feature to disable ads on mobile devices. I have no immediate plans to add this feature, but it is the next major feature on my TODO list. I hope I might get time during 2012 (maybe late 2012).

    >When I convert my site to a mobile site, the Ad Injection ads don’t show at all.

    This sounds like a separate issue to wanting to disable ads for mobile sites. Please raise this as a separate topic with more details. e.g. site URL, what you have done to convert to a mobile site, and turn on debug mode. Cheers.

    Hi rml,

    I just found this topic, could you please tell me if there is any news on this?
    Do you still plan to add the feature to disable the ads on mobile devices? Or has it been added already (can’t find it)?

    Thanks a lot for your work, awesome plugin you have here!

    Jambo

    Hi cyjambo, I do plan to add this feature, but it is not likely to be done soon. Right now it is more likely to be done next year than this year. Unless someone else did the work for me and sent me the code!

    How about instead of a feature that disables all ads on mobile, a way to choose which ones. Why would you not want mobile ads when it seems like more people are using mobile to view your site, thus clicking your ads?

    Anyway, for example, I have a Top ad 468×60 on every page, but it doesn’t work on mobile because displaying a 468×60 ad messes up the layout, making it really wide. Can I somehow change it to only display 300×250 ads on Mobile?

    thx for the awesome plugin, btw.

    Hi doland, thanks for your suggestion. Mobile related features are on my long range todo list. I can’t however give any estimate as to when I might get round to them.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘[Plugin: Ad Injection] Different behaviour when accessing from a mobile device’ is closed to new replies.