Google Publisher Plugin (beta) for WordPress Self-Hosted Blogs

0
117
views

Google has recently launched a Google Publisher Plugin (beta) for WordPress Self-Hosted blogs. Yes, this plugin currently is only available to self-hosted blogs and not for blogs on wordpress.com which are with wordpress.com sub-domain or with limited plugin features.

The best reason because of which I am posting this information on my website is, that you don’t have to be a wordpress guru or wordpress geek to Add Google Adsense code in special spots that are suggested by Google. Yes, this plugin helps you to install your Google Adsense code in the recommended spots by Google.

Furthermore another thing which I personally liked the most is that it shows responsive ads according to loaded screen width. This means that a user visiting your website from a PC or laptop will see respective ad and if same user view your website from a tablet, smartphone or mobile, the same ad will analyze its resolution and display the respective screen ad without changing the Adsense code.

 

Here is a single page guideline of how to install the Google Publisher Plugin for WordPress CMS websites that I copied from Google just for your information at a glance. The copyrights of the below mentioned content remains with Google and WordPress.

Google Publisher Plugin for WordPress Guidelines

The Google Publisher Plugin for WordPress makes it easier to use Google products with WordPress. You can download it from the WordPress plugin directory.

Please note that the Google Publisher Plugin is currently in beta. We are still fine-tuning the plugin to make sure it works well on the many WordPress sites out there. We’d love for you to try it and give us feedback on how well it works for you and your site.

Supported products are:

The Google Publisher Plugin cannot currently be used with blogs hosted on WordPress.com. WordPress.com only allows alimited number of plugins, and the Google Publisher Plugin is not currently on this list.

The plugin source code is GPL, however use of Google Services through the plugin is governed by Google’s Terms of Service and Privacy Policy. For products and services that can be used with the Google Publisher Plugin, such as AdSense, additional Terms of Service may also apply.

Install the Google Publisher Plugin

You can install the Google Publisher Plugin in one of two ways: automatic or manual. Depending on your WordPress configuration, automatic installation might not work for you. In this case, please use the manual installation process.

System requirements

Before you start using the Google Publisher Plugin, make sure you meet the following minimum requirements:

  • PHP version: minimum 5.2.0
  • WordPress: minimum 3.0
  • Ensure that you can install third-party WordPress plugins.

Automatic installation:

  1. In the WordPress administration screen, select Plugins in the sidebar, then click Add New.
  2. Search for “Google Publisher Plugin” and locate the Google Publisher Plugin in the list of results.
  3. Click the Install Now link.

Manual installation:

  1. Download the Google Publisher Plugin from the plugin page.
  2. Unzip the plugin to a folder.
  3. Upload the contents of the folder to the plugin directory of your WordPress site (wp-content/plugins).

For more information on installing WordPress plugins, please see Managing Plugins on WordPress.org.

Set up the Google Publisher Plugin

Once you’ve installed the plugin, you need to set it up to work with your site and your Google Account. To set up the plugin, follow these steps:

1. Activate the plugin

In the WordPress administration screen, select Plugins in the sidebar. Locate the Google Publisher Plugin and click theActivate link to activate the plugin.

2. Open the plugin

Click Settings to open the plugin. You’ll find this link below the title of the plugin on the Plugins page of the WordPress administration screen.

3. Get started

You must have a Google Account to use the plugin. If you do have a Google Account, click Get started to proceed. If you don’t have a Google Account, click the create one now link to create one.

4. Sign in to your Google Account

Sign in to the Google Account that you use for any Google products that are associated with your site. For example, if you have an AdSense account or an Analytics account that you use with this site, you should use the associated Google Account. If you’ve already verified your site using Webmaster Tools, use the Google Account that you used to verify the site.

5. Verify your site

Once you’ve signed in, you’ll need to verify your site. This helps to maintain the security of the plugin and your site.

Verification includes verifying your site with Webmaster Tools. If you’ve already verified your site with Webmaster Tools, this verification will simply confirm that you’re setting up the plugin with the correct domain.

If the domain is correct, verify your site by clicking the Verify button. Verification may take several seconds to complete. If the verification succeeds, you’ll be taken back to WordPress.

Setup is now complete.

Troubleshooting site verification

Site verification may fail. The most common causes for this are:

  • A WordPress cache plugin or other caching system interferes with the site verification process.
  • The WordPress configuration does not permit the operations necessary to verify your site.
  • A temporary error with one of the systems involved in verifying your site.

If verification fails, you can retry it. If you’re using a cache plugin or caching service, you might want to clear your cache before retrying. Alternatively, you can visit Webmaster Tools and verify your site manually, and then open the plugin again.

Check your AdSense account information

Google AdSense provides a free, flexible way to earn money from your websites with relevant and engaging ads. To use AdSense with the Google Publisher Plugin, you must have an AdSense account.

If you don’t have an AdSense account: Sign up for AdSense

If you don’t have an AdSense account, you can sign up for one:

  • Click the Sign up for AdSense button on the settings page of the plugin. You’ll be taken to the AdSense sign-up form. Complete the form to apply for an account.
Please note:

  • Before applying for AdSense, please read the AdSense program policies and ensure that you comply with them. In particular, your site must have content before you apply for AdSense.
  • It typically takes a few hours to process your application. You’ll receive an email when your account has been created.

To complete your AdSense application, you need to show ads on your site. Initially, the ads will be test ads, and these are used to help AdSense make certain that you control the site. Learn how to place ads on your site.

If you already have an AdSense account: Check your publisher information

If you already have an AdSense account, the plugin will detect this and show your AdSense publisher information. Please check that the publisher information shown matches what you expect.

If your AdSense publisher information is not shown, or is not what you expected, check that you’re using the same Google Account with the plugin that you use with AdSense. If you’re not, click the Sign out link to sign out of this account and then sign in to the plugin again using a different account.

If you already have AdSense ads on your site and you want to manage those ads through the plugin instead, you’ll need to remove the existing AdSense ads before you place ads on your site using the plugin.

Place AdSense ads on your site

Once you’ve set up the Google Publisher Plugin and checked your AdSense account information, you’re ready to place ads on your site.

To configure where ads are shown on your site:

  1. Open the Google Publisher Plugin.
  2. Click the Manage ads button under your AdSense publisher information. This will open a preview of your site, showing your home page.
  3. Select the part of your site you wish to place ads on (home page, single page, or single post).
  4. Click on a marker in the preview to place an ad in that location.
    You can place up to three ads on each page.
  5. Once you’ve placed an ad, you can change its settings. Click the gear icon in the bottom left corner of the ad to open the settings panel.There are four different ad formats available:
    • Automatic (use whichever size and shape is most appropriate)
    • Horizontal banner (a wide, thin ad such as 728×90)
    • Vertical banner (a narrow, tall ad such as 160×600)
    • Rectangle (an ad with similar width and height, such as 300×250).
  6. When you’ve finished placing ads on your site, click Save and activate to start showing ads on your site.
    If you don’t click Save and activate, any changes that you’ve made will be lost when you close this screen.

Frequently asked questions

I get a warning for “Admin on HTTPS, site on HTTP”. What does it mean?

Browsers generally prevent HTTPS pages, which are delivered using a secure connection, from loading HTTP content, which does not use a secure connection. This is often described as “mixed content” – a mix of secure and insecure content – and can constitute a security risk, especially when the insecure content comes from an untrusted source.

To allow you to place ads on your site, the Google Publisher Plugin loads a preview of your site inside the WordPress admin panel. However, if your WordPress admin panel is delivered over HTTPS and your site is delivered over HTTP, then the browser will treat this as mixed content. This will cause your browser to give a warning about mixed or insecure content, and the preview might not be displayed.

To enable the Google Publisher Plugin to work correctly with your site, either:

  • Configure your entire site to be delivered over HTTPS (recommended)
    or
  • Use the browser prompts or the shield icon in the address bar to enable insecure content on this page (for example, in Chrome you can click Load anyway).
What should I do if I’ve already got AdSense ads on my site?

If you already have AdSense ads on your site and you want to use the Google Publisher Plugin to manage your ads instead, you’ll need to remove your existing AdSense ads first. The Google Publisher Plugin can’t manage ads displayed by ad tags that you’ve put on your site using another plugin, in a widget, or directly in your theme code.

Which ad units are being used when I place an ad on my site?

The plugin will create AdSense ad units for each ad that you place on your site. You can see these ad units on theMy ads tab in AdSense, and any changes that you make to their settings in AdSense (such as changing colors) will be reflected in the plugin.

Why do I choose the ad format rather than the ad size?

The Google Publisher Plugin will automatically change the size of the ad for smaller screens. For example, if you choose to have a horizontal banner at the top of your home page, this banner can be shown as a 728×90 banner on a regular desktop screen and a 320×50 banner on a mobile.