This text is a comprehensive tutorial by Ferdy on how to set up and optimize Google AdSense for a website. Here’s a recap:
Introduction to Google AdSense
Ferdy introduces the concept of monetizing a website using Google AdSense and offers a step-by-step guide on how to do it.
Signing Up for AdSense
The process starts with creating a Google AdSense account, which requires a Gmail account. Ferdy uses his website, Ferdy Corp, as an example for setting up AdSense.
Terms and Conditions Compliance
Emphasis is placed on understanding and complying with Google AdSense’s terms and conditions to avoid account termination.
Connecting AdSense to Your Website
Ferdy explains how to link your AdSense account to your website. This includes inserting HTML code into the website’s header, with a reminder about maintaining this code during theme updates.
Ad Placement Strategies
The tutorial covers how to let Google automatically place ads on your site and how to manually select and place ad units for better integration with the site’s design.
Account Activation for Payments
Ferdy shows how to activate the AdSense account for payments, involving adding bank details and verifying your address with a pin received from Google.
Adding More Websites and YouTube Integration
The guide also covers how to add multiple websites to your AdSense account and how to link it with a YouTube channel.
Compliance with Privacy Laws
Ferdy stresses the importance of GDPR and CCPA compliance, demonstrating how to implement consent messages on your site using WordPress plugins.
Creating a Privacy Policy
A privacy policy is crucial for compliance. Ferdy shows how to create one using online generators.
Monitoring and Adjusting Ads
The tutorial includes information on reading AdSense reports and adjusting ad settings, including automated ad placements and mobile ad settings.
- Final Steps and Earnings Report
Ferdy concludes by discussing additional settings like ads.txt files and transparency settings for seller information. He shares his initial earnings and plans to provide more tips on creating and adjusting ads.
Overall, the guide is a thorough resource for anyone looking to monetize their website with Google AdSense, covering everything from setup to optimization and compliance.
Related: Learn more about WordPress
How to make money with your website using Google AdSense, step by step
Google AdSense lets you show ads on your website and earn money when visitors see or click them. In this tutorial I start from a Gmail account that has never used AdSense, and I take you through every step: signing up, connecting AdSense to a WordPress website, letting Google place ads, making the website compliant with privacy rules, and fixing the extra tasks Google gives you after approval.
Good to know: this video was recorded in 2021. The AdSense dashboard and the privacy settings may look different today, so follow the steps by their names rather than their exact position on the screen.
What you need
- A free Gmail account
- A live website with your own domain (mine runs on WordPress)
- The free Site Kit by Google plugin and a cookie consent plugin
Step 1: Sign up and read the rules
Go to adsense.google.com, click Get started and sign in with your Gmail account. Fill in your website address and your payment country, then read the terms. Please really read them, because if you break them your account can be closed and you don’t get your money. The highlights:
- You need to be at least 18.
- Never click on your own ads, and never ask other people to click on them.
- No adult content and no copyrighted material on your website.
- Don’t create a second AdSense account if you already have one.
Then fill in whether you are an individual or a business, your name and your address, and click Submit.
Step 2: Connect AdSense to your website
AdSense gives you a piece of code that needs to go in the head of your website. I show two ways.
The quick way: go to the theme editor under Appearance, open header.php and paste the code in the head section. It works, but when your theme updates, the code is removed. So I removed it again later.
The better way: install the free Site Kit by Google plugin. Sign in with the same Gmail account you use for AdSense, click Connect service next to AdSense, and Site Kit places the code for you. A nice bonus: you can see your AdSense revenue inside WordPress, and Site Kit also connects Analytics and Search Console. My Site Kit tutorial goes deeper.
After connecting, request a review. Google says it can take a few days, and in some cases up to two weeks. My website was approved in two days.
Step 3: Make your website privacy compliant
While you wait, make sure you follow the privacy rules, GDPR for most of Europe and CCPA for California. Visitors need to know that you place ads and cookies.
- Install a free GDPR cookie consent plugin. I searched for “GDPR” in Plugins, Add New and used the free basic version of a GDPR Cookie Consent plugin.
- In its settings, turn on both GDPR and CCPA and enable the cookie bar.
- Make sure your privacy policy mentions that you show ads. I used a free privacy policy generator, then pasted the result into my privacy policy page with the code editor in WordPress.
AdSense also has its own GDPR and CCPA messages under Ads, Edit, More features. I found the CCPA “Do not sell my information” message looked a bit suspicious to visitors, so I preferred the plugin. A generator is a good start, but if you take it seriously, ask a lawyer. You can also use my legal pages and cookie banner prompt.
Step 4: After approval, fix ads.txt and seller information
When your site is approved, AdSense may show a warning about revenue. Two things to fix:
- ads.txt: download the ads.txt file from AdSense and upload it to the root directory of every website you use with AdSense, for example with the file manager of your web hosting. Check it by visiting yourdomain.com/ads.txt.
- Seller information: change the visibility from confidential to transparent and fill in your business domain without https, www or slashes.
Also fill in your payment settings with the same name as on your passport. To receive payments, Google sends you a letter with a PIN to verify your address.
Step 5: Adjust auto ads so they are not spammy
With auto ads, Google decides where ads go. When I turned it on, I got ads above my header and between almost every section, and full screen ads when visitors clicked to another page. That felt too spammy for my visitors. Under Ads, Edit you can change this:
- In the preview, remove ad spots you don’t like, on mobile and desktop.
- Turn on optimize existing ad units and match content so ads look more like your website.
- Decide on anchor ads, the sticky ads that stay on screen while you scroll.
- Turn off vignette ads, the ones between page loads. For me those are the most frustrating.
Changes can take up to an hour to show on your website. In my first two days I earned around eight euros. Not a fortune, but it shows it works. If you want to earn more from your content, also look at my affiliate marketing tutorial.
Frequently asked questions
Is Google AdSense free?
Yes. Signing up is free, and so is the Gmail account you need.
How long does AdSense approval take?
Google says a few days, sometimes up to two weeks. You don’t need to resubmit, just be patient. Mine took two days.
How much of the ad revenue do I get?
For ads on your content, AdSense showed that you get 68% of the revenue at the time of the video. So if an advertiser pays one dollar, you get about 68 cents.
Where do I put the ads.txt file?
In the root directory of your website, the same folder where WordPress is installed. You should be able to open it at yourdomain.com/ads.txt.



Outstanding Touturial
Thanks Ferdy for your Tutorials.
Outstanding Tutorial
Thank you Ferdy, your tutorial on Google AdSense was really helpful.