WordPress.org

Ready to get started?Download WordPress

Forums

How to make responsive ads for responsive theme? (14 posts)

  1. COOLEVO
    Member
    Posted 1 year ago #

    I have a new responsive site COOLEVO that every user can stretch and minimize the site however they want, everything works great except the google ads.
    How i can make google ads be responsive too like the site?

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    Which page has the adverts?

  3. COOLEVO
    Member
    Posted 1 year ago #

    3 ads on every page
    728x90 on the top and footer and 336x280 in the sidebar.
    If you will try to minimize the explorer window you will see that the site will minimize to the right size but the ads will stay in the same size.

  4. Andrew
    Forum Moderator
    Posted 1 year ago #

    The only way I could see this happening is by using Media Queries to resize the <div>s containing the adverts, to a certain width. This might compromise the contract you have with adverts.

  5. COOLEVO
    Member
    Posted 1 year ago #

    Is there any mobile ads?

    For example if the width of the site is under 600px then show mobile ads...

    What so you think?

  6. Andrew
    Forum Moderator
    Posted 1 year ago #

  7. COOLEVO
    Member
    Posted 1 year ago #

    Great but its for advertisers not for publishers
    i cant find it in adsense

  8. crgrove
    Member
    Posted 8 months ago #

    I was curious about this and whether you found a solution?

  9. EVOgroup
    Member
    Posted 8 months ago #

  10. Andrew
    Forum Moderator
    Posted 8 months ago #

    What's so "official" about it?

    Please note that, according to the AdSense program policies , is not permitted to make changes to the AdSense code. This is the only recommended change of the code for responsive design websites. Any change that does not meet the above JavaScript code will be considered a violation of AdSense program policies.

  11. EVOgroup
    Member
    Posted 8 months ago #

    This is the only recommended change of the code for responsive design websites.

    This is official info from adsense-de i linked to the official page too...
    Iam using this code on 7 sites and its working perfect!

  12. Andrew
    Forum Moderator
    Posted 8 months ago #

  13. crgrove
    Member
    Posted 8 months ago #

    I think that what it comes down to is that a large corporation wants to bully people and tell them EXACTLY what THEY want (and to be fair, too many irons in the fire is hard to keep track of), even if it ends up giving their ads priority over your content, even if people won't get to their ads if they don't have access to your content.

    If someone teaks "their code" (heaven forbid that a techie,s code might be tweaked) and it makes both the blogger and google money because it makes more sense with the mobile layout, I suspect that they won't complain. (though, I'm not sure how it would even come to their attention. ??)

  14. Andrew
    Forum Moderator
    Posted 8 months ago #

    Can you discuss your intentions with Google http://groups.google.com ?

Topic Closed

This topic has been closed to new replies.

About this Topic