How to set up AdSense Page-level ads on WordPress site using Advanced Ads

Set up AdSense page level ads on WordPress site using Advanced Ads AdSense
0
(0)

To set up Page-level ads, you need to place ad code in the <head> tag of each page on your WordPress site. In this article, we will show you how to set up AdSense Page-level ads using Advanced Ads plugin.

Install Advanced Ads to your WordPress site

  1. From WordPress Dashboard, click [Plugins] and then click [Add New]
  2. Enter “Advanced Ads” in plugin search box
  3. Press [Install Now] button, and activate.

Install Advanced Ads

Get and copy AdSense Publisher ID

To set up Page-level ads using Advanced Ads, you need to get AdSense Publisher ID.

  1. Log in your AdSense account.
  2. Click “Settings”, and then select “Account Information”
  3. Publisher ID is displayed. (AdSense Publisher ID is “pub-xxxxxxxxxxxxxxxx” )
  4. Copy publisher ID.

Copy AdSense Publisher ID

Set up Page-level ads using Advanced Ads

From WordPress Dashboard, click “Advanced Ads” and then select “Settings”.

Click Advanced Ads Settings

Click “AdSense” tab on Advanced Ads setting page.

Click AdSense tab on Advanced Ads setting page

On the AdSense Advanced Ads Settings page, paste Publisher ID in the AdSense ID box. (①)

Put check mark in the box of Activate Page-level ads.(②)

Press “Save settings on this page” button.(③)

Setting up AdSense Page-level ads on Advanced Ads

 

Advanced Ads will automatically generate AdSense Page-level ad code, and insert within the <head> tag on each of your WordPress pages.

Check ad code is placed correctly

Test Page-level ads on your site

On a mobile device, visit your page and add #googleads to the end o the URL, and then reload the page. (example: https://www.example.com#googleads )

If the test is working, you are done.

Congratulations!

For more information, please visit “Guide to testing Page-level ads” on AdSense Help.

View the page source of site on browser

Visit your page on PC, and view the HTML source code. Right click and select “View Page Source”.

View page source on browser

Search “</head>”. The Page-level ad code is located near above the closing head tag (</head>: ). If the ad code is located in the <head> tag, it means the code is placed correctly.

Please see the following image as an example. The </head> is underlined and pointed by arrow. The Page-level ad is highlighted as in the red rectangle.

Page-level ads code is located in the <head> tag.

 

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

Sponsored Links


Comments

Copied title and URL