Title: Google AdSense for Responsive Design &#8211; GARD
Author: The Plugin Factory
Published: <strong>June 26, 2013</strong>
Last modified: April 25, 2016

---

Search plugins

![](https://ps.w.org/google-adsense-for-responsive-design-gard/assets/banner-772x250.
png?rev=731852)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/google-adsense-for-responsive-design-
gard_e4e4e3.svg)

# Google AdSense for Responsive Design – GARD

 By [The Plugin Factory](https://profiles.wordpress.org/the-plugin-factory/)

[Download](https://downloads.wordpress.org/plugin/google-adsense-for-responsive-design-gard.2.23.zip)

 * [Details](https://wordpress.org/plugins/google-adsense-for-responsive-design-gard/#description)
 * [Reviews](https://wordpress.org/plugins/google-adsense-for-responsive-design-gard/#reviews)
 *  [Installation](https://wordpress.org/plugins/google-adsense-for-responsive-design-gard/#installation)
 * [Development](https://wordpress.org/plugins/google-adsense-for-responsive-design-gard/#developers)

 [Support](https://wordpress.org/support/plugin/google-adsense-for-responsive-design-gard/)

## Description

GARD allows you to easily place responsive (asynchronous optional) Google AdSense
in your website’s content via the use of the shortcode [GARD]. GARD offers extreme
control over ad placement and features. With a super simple “BASIC MODE”, all you
need to do is drop in your AdSense publisher ID, check a few boxes, and you’re all
set with a fully responsive AdSense campaign.

GARD allows custom CSS styling, so you can customize the look of ads anytime you’d
like.

The inserted ads will never exceed the content area width, and will select the largest
available size ad to show depending on which ads you have provided GARD to pick 
from.

**GARD HIGHLIGHTS**

 * **WORKS ON ALL DEVICES**
    The driving force behind GARD is that it works on any
   device. No matter how your website visitors choose to access your website, rest
   assured that GARD will serve up the right sized AdSense ad.
 * **ADSENSE POLICY COMPLIANT**
    GARD enforces Google AdSense policies. We limit
   image/text ads to 3 per page, link units to 3 per page, and 300×600 ads to one
   per page. Never worry about being banned for misuse of AdSense!
 * **PERFECT FOR BEGINNERS AND ADVANCED USERS**
    GARD has two modes, BASIC and ADVANCED.
   Basic mode provides faster and easier setup, while Advanced mode offers better
   ad tracking, and more flexible styling.
 * **SUGGESTED SIZES**
    We label ad sizes which are best for certain areas, such
   as your sidebar, or header. If you use the BASIC Settings mode, then all you 
   have to do is check the boxes next to the size you want!
 * **SETS UP IN UNDER 2 MINUTES**
    With GARD, you can easily set up AdSense that
   fits every screen size possible. Just drop in your publisher ID, check a few 
   boxes, and you can b
 * **MOBILE CHECK**
    Optionally only show the mobile banner 320×50 ad size on mobile
   devices.

**GARD PRO HIGHLIGHTS**

 * **ALL GARD FEATURES**
    GARD Pro contains all the above mentioned highlights, 
   plus the following.
 * **5 AD GROUPS**
    Create ad groups. This allows you to have groups specific to
   links, banners, skyscrapers, etc.
 * **100% MONEY BACK GUARANTEE**
    180 day money back guarantee! If at anytime in
   the first 180 days after your purchase of GARD Pro, you decide that you want 
   a refund, just ask! No questions asked, 100% money back guarantee. We want you
   to be satisfied, with our product. If you want features added, please ask!
 * **WORKS ON ALL DEVICES**
    The driving force behind GARD Pro is that it works 
   on any device. No matter how your website visitors choose to access your website,
   rest assured that GARD Pro will serve up the right sized AdSense ad.
 * **5 AD GROUPS**
    Create ad groups. This allows you to have groups specific to
   links, banners, skyscrapers, etc.
 * **5 AD WIDGETS INCLUDED**
    GARD Pro includes 5 custom ad widgets! One for each
   custom group. You can have a widget for responsive banners, one for responsive
   skyscrapers, one for responsive squares, one for responsive rectangles, and one
   for link units.
 * **FREE UPGRADES FOR LIFE**
    Anytime we have an upgraded version of GARD Pro available,
   you’ll get it free! Forever! Updating is super easy. Update GARD Pro as you do
   any other WordPress plugin, right in your WordPress dashboard.
 * **AUTO INSERT**
    Auto insert responsive AdSense ads into user specified content
   types.
 * **MAGIC TOOL INCLUDED**
    With our Magic tool, you can simply paste your current
   AdSense code, and click a single button to insert it into the GARD Pro settings
   page.
 * **EASILY CLONE AD GROUPS**
    Every ad group has the ability to be cloned for ease
   of setup. Set up all your ads once, then clone that group for different styling,
   or anything else you can imagine!
 * **CUSTOM SHORTCODE**
    Define a custom shortcode for inserting each group into
   the content.
 * **FILTER OUT BAD THINGS**
    Have an article on gambling that you don’t want ads
   on? No problem. What about a website linking to you that you don’t want to show
   ads to the visitors of? Piece of cake. Want to block ads to your work and home
   computers? Easy peasy.
 * **ANYTIME UPGRADE**
    You can upgrade anytime with NO PENALTY. Just post in our
   support forums letting us know that you want to upgrade your license. We’ll send
   you a coupon good for the purchase price of your initial purchase. You can use
   this discount towards any package above the level you previously purchased.
 * **ALIGNMENT**
    Specify default alignment of ads: Float Left, Float Right, Centered
   or None.

[GARD Pro](http://thepluginfactory.co/warehouse/gard-pro) extends the capabilities
of GARD by allowing things like customizing the shortcode, auto insert GARD into
posts & pages, and a responsive widget.

[Click here to find out more about GARD Pro now](http://thepluginfactory.co/warehouse/gard-pro).

Support: [GARD Official WordPress Plugin Support Forum](http://thepluginfactory.co/community/forum/plugin-specific/gard-google-adsense-for-responsive-design/)

## Screenshots

[⌊Admin Options Page. Enter your AdSense publisher ID on the top line, and any ads
you want displayed below. (screenshot.png)⌉⌊Admin Options Page. Enter your AdSense
publisher ID on the top line, and any ads you want displayed below. (screenshot.
png)⌉[

Admin Options Page. Enter your AdSense publisher ID on the top line, and any ads
you want displayed below. (screenshot.png)

[⌊Pro Options Page. Pro options include custom shortcode, auto insert GARD into 
posts, and a responsive widget. (screenshot_pro.png)⌉⌊Pro Options Page. Pro options
include custom shortcode, auto insert GARD into posts, and a responsive widget. (
screenshot_pro.png)⌉[

Pro Options Page. Pro options include custom shortcode, auto insert GARD into posts,
and a responsive widget. (screenshot_pro.png)

[⌊Widget Setup. Enable the GARD widget for all users, or only guests, and give it
a title. (widget.png)⌉⌊Widget Setup. Enable the GARD widget for all users, or only
guests, and give it a title. (widget.png)⌉[

Widget Setup. Enable the GARD widget for all users, or only guests, and give it 
a title. (widget.png)

## Installation

 1. Install from WordPress admin dashboard or extract and upload the contents of ‘google-
    adsense-for-responsive-design-gard.zip’ to the ‘/wp-content/plugins/’ directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Place the shortcode [GARD] inside any posts and/or pages where you want your responsive
    AdSense ads to show
 4. Profit??? (Literally, it’s AdSense, so…. Profit!)

## FAQ

  Do I need my own AdSense account to make this work?

Yes.

  Will this work on my Multi User (MU) installation?

This has not been tested in a MU environment. We have reports of it crashing MU 
websites, so I would only test on a non live website.

  Can I make my ads align left or right?

Yes. If you would like your ads to align left, use the shortcode [GARD align=”left”].
The same is true for center and right.
 Samples: [GARD] will not center or wrap 
text. [GARD align=”left”] will make your ad align left and text wrap around it. [
GARD align=”center”] will make your ad centered and text wrap NOT around it. [GARD
align=”right”] will make your ad align right and text wrap around it.

  Do I have to create ads for every size?

No. You will only need to create an ad for each size that you want displayed. Feel
free to leave the field(s) blank to skip that size.

  How do you prevent GARD from displaying more than 3 ads on one page?

We check for three types of ads; link units, ad units, and the 300×600 ad size. 
If either the link units, or ad units already have 3 per page, we don’t output ads.
Same goes for the 300×600, if there is already one on the page, we don’t output 
a 2nd.

  What are the different versions of the plugin?

GARD (What you’re looking at now)
 [GARD Pro](http://thepluginfactory.co/warehouse/gard-pro)(
Offers many additional features to extend GARD) * GARD Pro costs $24.95, and is 
appropriate if you expect to make more than $24.95 in ad revenue from your site.
😛

  How do I contact the plugin developer for help?

Support is available on [GARD Official WordPress Plugin Support Forum](http://thepluginfactory.co/community/forum/plugin-specific/gard-google-adsense-for-responsive-design/).

## Reviews

![](https://secure.gravatar.com/avatar/ced3aaa859a3bbf9f73ca4a8e3314d7f4e4776771126a7ff1b2edd67b1731eea?
s=60&d=retro&r=g)

### 󠀁[NO SUPPORT – DON’T USE.](https://wordpress.org/support/topic/no-support-dont-use-2/)󠁿

 [](https://profiles.wordpress.org/barbours/) April 13, 2017

Update: Still nothing from this developer and now his actual site is down. I have
sent him messages on multiple platforms and received nothing back. DO NOT INSTALL
OR USE THIS PLUGIN. DOESN’T WORK, NO SUPPORT, NO FULFILLMENT OF THERE GUARANTESS.——————————
While this plugin seems to work for the most part, don’t expect to get any support.
I installed this version and then bought two licenses for the pro version. The ads
are not showing in my custom posts automatically and I have to do it manually. I
will end up with thousands of posts so manually doing it isn’t an option. I submitted
a request to the “thepluginfactory” and have gotten nothing back. It has been weeks
and weeks now. I also emailed them and got crickets. I wouldn’t recommend any use
this plugin until the developer awakens. I have no idea what the issue is, but this
is crazy. The lead developer is on linkedin, but again I have gotten cricket. I 
am not trying to be difficult. However, having paid for the pro version twice now
and expected more.

![](https://secure.gravatar.com/avatar/a6381d4a5c3e4e1a3c8ad265df115b3616e8efa730b35771e789a127b8de8de7?
s=60&d=retro&r=g)

### 󠀁[After delete plugin don deleted options in DB](https://wordpress.org/support/topic/after-delete-plugin-don-deleted-options-in-db/)󠁿

 [GalinaBublik](https://profiles.wordpress.org/galinabublik/) December 20, 2016

Written nearly 500 line in wp_options and not delete it after uninstall.

![](https://secure.gravatar.com/avatar/dca4811a3c50a9e7c0faec5c1405b0ebce09f61255e5656569940b6614ac6f95?
s=60&d=retro&r=g)

### 󠀁[Can you center the adds?](https://wordpress.org/support/topic/can-you-center-the-adds/)󠁿

 [mydreamshapecom](https://profiles.wordpress.org/mydreamshapecom/) February 7, 
2017

 [ Read all 18 reviews ](https://wordpress.org/support/plugin/google-adsense-for-responsive-design-gard/reviews/)

## Contributors & Developers

“Google AdSense for Responsive Design – GARD” is open source software. The following
people have contributed to this plugin.

Contributors

 *   [ The Plugin Factory ](https://profiles.wordpress.org/the-plugin-factory/)

[Translate “Google AdSense for Responsive Design – GARD” into your language.](https://translate.wordpress.org/projects/wp-plugins/google-adsense-for-responsive-design-gard)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/google-adsense-for-responsive-design-gard/),
check out the [SVN repository](https://plugins.svn.wordpress.org/google-adsense-for-responsive-design-gard/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/google-adsense-for-responsive-design-gard/)
by [RSS](https://plugins.trac.wordpress.org/log/google-adsense-for-responsive-design-gard/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.23

 * [FIXED] HTTP or HTTPS no longer throw an error when pulling google ads

#### 2.22

 * [REMOVED] Bitcoin donation option.
 * [ADDED] http://ConsultingWP.com link on options page.

#### 2.2

 * [ADDED] Ability to show ads to desktop only.
 * [ADDED] Help for every setting, just click on the setting title to see the help.
 * [ADDED] Bitcoin donate link
 * [FIXED] A few PHP warnings.

#### 2.1

 * [ADDED] ARD Pro Demo
 * [UPDATED] Some design changes to work with WordPress 3.8

#### 2.0.11

 * [REMOVED] Unused javascript from package

#### 2.0.10

 * [UPDATE] Removed heading for link unit type on options page.
 * [ADDED] Buy now button in sidebar.

#### 2.0.9

 * [FIXED] Mobile size wasn’t showing properly.

#### 2.0.8

 * [FIXED] Returning ads at the top of the page rather than where they belong in
   the content.

#### 2.0.7

 * [FIXED] Settings page not displaying on some websites.

#### 2.0.6

 * [ADDED] Large Skyscraper 300×600 ad size

#### 2.0.5

 * [UPDATE] Fixed styling of BASIC mode notice message.
 * [ADDED] Coupon code for GARD Pro

#### 2.0.4

 * Internal update, no official release.

#### 2.0.3

 * [FIX] Missing semi colon in async code causing ad blocks to be the wrong size.

#### 2.0.2

 * [FIX] Permissions issue on some themes.

#### 2.0.1

 * [FIX] Quick fix due to bad foreach loop.

#### 2.0

 * [NEW FEATURE] BASIC and ADVANCED Setup modes. Basic mode allows for super simple
   setup.
 * [NEW FEATURE] Remove yellow background from AdSense place holders.
 * [NEW FEATURE] Custom CSS – You may now enter custom CSS for GARD.
 * [NEW FEATURE] Show mobile ads of 320×50 to mobile devices only.
 * [NEW FUNCTION] GARD now counts the ads on the page before outputting any more.
   If the max number of allowed ads shows, then it stops outputting new ads.
 * [NEW AUTHOR] GARD is being transitioned to The Plugin Factory. This will be the
   plugin author going forward.

#### 1.3

 * [NEW FEATURE] GARD: Allow users to specify positioning of left, right, or center
   manually per ad.
 * [NEW FEATURE] GARD Pro: Insert ads randomly throughout content.
 * [NEW FEATURE] GARD Pro: Insert random number of ads in content.
 * [NEW FEATURE] GARD Pro: Default positioning of left, right, or center.
 * [NEW FEATURE] GARD Pro: Specify which custom post types to insert ads into.
 * [NEW BETA FEATURE] GARD & GARD Pro: Asynchronous AdSense

#### 1.2.1

 * Added 320×50 Mobile Banner Size

#### 1.2

 * Added a help page, complete with video setup guide.

#### 1.1

 * Prepared for integration with GARD Pro: http://thedigitalhippies.com/gardpro
 * Fixed icon on settings page

#### 1.0.1

 * Fixed incorrect admin icon code.

#### 1.0

 * Initial release.

## Meta

 *  Version **2.23**
 *  Last updated **10 years ago**
 *  Active installations **100+**
 *  WordPress version ** 3.0.1 or higher **
 *  Tested up to **3.7.41**
 * Tags
 * [adsense](https://wordpress.org/plugins/tags/adsense/)[google adsense](https://wordpress.org/plugins/tags/google-adsense/)
   [responsive](https://wordpress.org/plugins/tags/responsive/)[Responsive Ads](https://wordpress.org/plugins/tags/responsive-ads/)
   [responsive AdSense](https://wordpress.org/plugins/tags/responsive-adsense/)
 *  [Advanced View](https://wordpress.org/plugins/google-adsense-for-responsive-design-gard/advanced/)

## Ratings

 3.8 out of 5 stars.

 *  [  10 5-star reviews     ](https://wordpress.org/support/plugin/google-adsense-for-responsive-design-gard/reviews/?filter=5)
 *  [  2 4-star reviews     ](https://wordpress.org/support/plugin/google-adsense-for-responsive-design-gard/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/google-adsense-for-responsive-design-gard/reviews/?filter=3)
 *  [  1 2-star review     ](https://wordpress.org/support/plugin/google-adsense-for-responsive-design-gard/reviews/?filter=2)
 *  [  4 1-star reviews     ](https://wordpress.org/support/plugin/google-adsense-for-responsive-design-gard/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/google-adsense-for-responsive-design-gard/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/google-adsense-for-responsive-design-gard/reviews/)

## Contributors

 *   [ The Plugin Factory ](https://profiles.wordpress.org/the-plugin-factory/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/google-adsense-for-responsive-design-gard/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://thedigitalhippies.com/garddonate)