WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
[resolved] Mobile ADS (17 posts)

  1. tokar86a
    Member
    Posted 1 year ago #

    Hi

    Is it not possibly to fix so we can add mobil ads to the theme?

    http://wordpress.org/extend/plugins/jetpack/

  2. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    You can add ads and other elements to the Mobile theme thanks to the hooks and filters used in the Mobile theme.

    For example, to insert an ad below the content, you could hook your ad function to the_content.

  3. tokar86a
    Member
    Posted 1 year ago #

    Can you give me some more info about how i should do this? Like a guide how i should do it.

    I dont find the theme that the mobile site use. Where is it?

  4. tokar86a
    Member
    Posted 1 year ago #

    I think the problem can be that it have some trouble to index my site or something.

  5. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    The Jetpack mobile theme is available under modules/minileven/theme/pub/minileven

    However, you do not need to edit the plugin files to insert the ads; you can hook into the theme using existing filters such as the_content

    You can find more information about filters here:
    http://codex.wordpress.org/Plugin_API/Filter_Reference

    Are you currently using a plugin to insert ads into your content?

  6. tokar86a
    Member
    Posted 1 year ago #

    I dont use any plugin. This theme have a place there i can put in some google ads: http://www.khairul-syahir.com/wordpress-dev#.UOab7HfwqAh

    Sorry but i dont find the theme.

  7. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    Try installing this small plugin to add Adsense ads into the Mobile theme, without having to edit theme files:
    http://wordpress.org/extend/plugins/jetpack-mobile-theme-ads/

    I hope this helps.

  8. tokar86a
    Member
    Posted 1 year ago #

    The plugin dont work. So what should i do? I wont the ads to be in the bottom of the page.

  9. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    Did you enter your Google Adsense information in Settings > Mobile Ads Settings in your dashboard?

    You'll want to create new banners for your Mobile visitors, and once you have created them in Adsense, you'll be able to add them to the Mobile Theme thanks to this plugin.

  10. Azubuike Ikedionu
    Member
    Posted 11 months ago #

    Hi, I tried the above steps and it didn't work. Immediately I installed and activated the Jetpack Mobile Theme Ad plugin on my Site, I started seeing the following errors:

    Invalid address
    You tried to access the
    address http://
    googleads.g.doubleclick.
    pagead/ads?
    format=0x0&output=ht
    %3A%2F
    %2Fsilvaniblog.com
    %2Fusing-line-chat-
    app-free-chat-and-free-
    calls&dt=136829814840
    %3A%2F
    %2Fsilvaniblog.com
    %2F&fu=0&ifi=2&dtd=7,
    which is currently
    unavailable. Please
    make sure that the
    Web address (URL) is
    correctly spelt and
    punctuated, then try
    reloading the page.
    Make sure your
    internet connection
    is active and check
    whether other
    applications that
    rely on the same
    connection are
    working.

    Even when I have not added my Adsense details to the plugin.

    Then I went on, installed and activated the Mobile Theme Featured Image plugin and set up the Mobile Theme Ad plugin with my Adsense account details. Still the same error continue to show up.

    What do I do next?

  11. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 11 months ago #

    @Azubuike Since the problem is not related to Jetpack, could you please start a new thread in the Ad plugin support forums?
    http://wordpress.org/support/plugin/jetpack-mobile-theme-ads

  12. Derek
    Member
    Posted 5 months ago #

    Is there any way to move the advert?
    I want to make it at the top of the post not the bottom.

  13. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 5 months ago #

    @shteca Do you use the Jetpack Mobile Theme ads plugin? If so, please post in the support forums here:
    http://wordpress.org/support/plugin/jetpack-mobile-theme-ads

  14. fantasyteamadvice
    Member
    Posted 4 months ago #

    As someone who doesn't use adsense, is there a brief tutorial about how to use the hooks you mentioned previously in the thread?

    Big time beginner, so any tips are much appreciated as I would like to get ads into the mobile version.

    Thanks,
    KJ
    http://fantasyteamadvice.com

  15. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 4 months ago #

    @fantasyteamadvice You can follow this tutorial to learn how to hook elements into your site's content:
    http://pippinsplugins.com/playing-nice-with-the-content-filter/

    Anther solution would be to use the plugin I mentioned earlier:
    http://wordpress.org/extend/plugins/jetpack-mobile-theme-ads/

  16. fantasyteamadvice
    Member
    Posted 4 months ago #

    Thanks Jeremy,

    I tried the mobile theme ads plugin, but that only seemed to be for adsense. I am currently displaying another ad network, so not sure that I can do anything with that plugin

  17. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 4 months ago #

    If you use another ad network, you'll need to build your own plugin to hook your ads into the Mobile Theme. You can follow the instructions here to do so:

    http://jetpack.me/2013/06/27/customize-mobile-theme/#throughactionsandfilters

    Of course in this case you'll need to replace jetpackme_author_image by your own function, returning your ads.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.