• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Placement of Mobile Google Advertising Code

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Placement of Mobile Google Advertising Code

This topic is: not resolved

Tagged: adsense, Google Ads, mobile ads

  • This topic has 2 replies, 2 voices, and was last updated 13 years, 2 months ago by AnitaC.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • April 19, 2013 at 7:06 am #36349
    TheGift73
    Member

    Hi,

    I have 2 blogs that both use the Genesis framework and the News child theme.

    TechFleece.com
    MovieFleece.com

    I have Google ad's on both sites that look fine on the desktop, but I am also getting more and more traffic via mobile users.
    I know that Genesis is mobile friendly, (mobile responsive) as when I view my site using my mobile (Nexus 4) or friends devices there are no issues and it looks great.

    However, I would like to start running adverts for mobile visitors but I can't figure out where to place the code? The current adverts (aimed at desktop viewers I guess) are placed in a text widget in my Primary Side-bar + one in the header.

    I can generate the required code for mobile ad's on my Google Adsense page, but it really isn't clear as to where I should place the code? I have looked at the help files on the AdSense area, but they really aren't that clear. I would assume that I can add the code to a widget in the side bar and people's browsers would only show the mobile adverts as it would recognize that the person looking at the page is using a mobile browser/device. I am hoping that someone on here who has mobile ad's showing on their site would give me a few pointers as to where I should place the code?

    I also klnow that Google only allows for one advert per page which is good as I don't want to overload my page with adverts any way, but would like to know if it is also possible to have the mobile advert show in the header part as opposed to the side-bar?

    Kind regards,

    Richard

    http://www.techfleece.com/
    May 3, 2013 at 4:40 am #39054
    TheGift73
    Member

    Bump

    May 3, 2013 at 6:38 am #39071
    AnitaC
    Keymaster

    I did a search on Google and found this discussion which then points you to this plugin. Read both and try this to see if it helps you.


    Need help with customization or troubleshooting? Reach out to me.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble