Once the AdSense account is created, there are two types of ads that can be implemented on the website.
Very Important Note:
1. For any banners to display on the website it is required to have "Display Banner Advertisements" set to "Yes" on the "Banner Ad Design" tab.
2. Make sure to add the Ads.txt on the "Enter Ads.txt Content" Field, if the banners don't display it is because the site is missing this Google Verification.
1. Auto Ads
"With Auto ads, you place one piece of code on all pages across your site. Auto ads will then scan your site and automatically place ads where they’re likely to perform well and potentially generate more revenue."
To implement Auto Ads add the code inside the Custom HEAD/CSS section of the Design Settings:
» How To Add A Snippet Of Code To Every Page Of A Site In The HEAD Section
Example of the code that can be entered:
NOTE: The following code samples are not working examples.
2. Ad Units
"An ad unit is one or more Google ads displayed as a result of one piece of the AdSense ad code. You can create, customize and manage ad units on the Ads page in your AdSense account. Ad units give you control over where ads appear..."
When using Ad Units, the AdSense code will need to be added to the HEAD of the site:
Example of the code that can be entered:
To implement Ad Units add the code inside the Banner Ad slots:
» Settings » Design Settings » General » Banner Ads
NOTE: The following code samples are not working examples.
AdSense Tips
- Code Implementation Guide: Get and copy the AdSense code
- For Auto ads, only the AdSense code + ads.txt file is needed, but for ad units, the AdSense code + ads.txt file + the ad unit code is needed.
- To insert an ad on to a blog post or any other post please refer to: How to insert and embed Google Adsense code directly into blog articles and posts.
- There are a few things to know about AdSense before putting the code on the website: