Forums

Ad Injection
Different behaviour when accessing from a mobile device (12 posts)

  1. webospodridos
    Member
    Posted 1 year ago #

    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/

  2. reviewmylife
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  3. webospodridos
    Member
    Posted 1 year ago #

    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!

  4. reviewmylife
    Member
    Plugin Author

    Posted 1 year ago #

    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!

  5. LDTech
    Member
    Posted 1 year ago #

    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.

  6. reviewmylife
    Member
    Plugin Author

    Posted 1 year ago #

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

  7. jimmywhofan
    Member
    Posted 1 year ago #

    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!

  8. reviewmylife
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  9. cyjambo
    Member
    Posted 9 months ago #

    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

  10. reviewmylife
    Member
    Plugin Author

    Posted 9 months ago #

    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!

  11. doland
    Member
    Posted 8 months ago #

    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 468x60 on every page, but it doesn't work on mobile because displaying a 468x60 ad messes up the layout, making it really wide. Can I somehow change it to only display 300x250 ads on Mobile?

    thx for the awesome plugin, btw.

  12. reviewmylife
    Member
    Plugin Author

    Posted 8 months ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic