Sign Up / Log In
Need help?
1300 210 210
Online Support Web Hosting

How to Add Google AdSense Verification Code

Most bloggers desire the same goal – to become Google AdSense approved. Aside from the fact that it is very reliable, the pay is enough to keep bloggers busy just to qualify for AdSense. In this article, we’ll guide you on how to add Google AdSense Verification Code in:

But first, here's what you need to do before adding Google Adsense:

  1. Sign Up for a Google Adsense account. Before going through the steps in this article.
  2. Back up your original header.php file before making any changes.

Unlike most websites, Google AdSense's verification requires more than an email confirmation or a mobile validation. A unique code has to be pasted on header.php of your website’s theme folder to confirm ownership. Though it appears tricky, verifying ownership is simple. You can add code via admin section or FTP. Both ways are provided below.

How to Add Google AdSense to Your WordPress

Here's a step-by-step guide to adding verification code in the admin section.

  1. Copy unique code given to you after signing up.
  2. Enter YourDomainName/wp-admin on a browser:

    Important Note: Replace YourDomainName with your actual website.

  3. Enter username and password, and click Log In.
  4. On the left-hand corner, click Appearance, then select Editor.
  5. On the right-hand corner, click Theme Header (header.php).
  6. Look for the header end tag which is as follows:
    </header>
  7. Before the header end tag, insert your verification code.
  8. Click Update File.

How to Add Verification Code in FTP

Here's a step-by-step guide to add verification code using FTP.

  1. Register a Google AdSense account.
  2. Copy unique code given to you after signing up.
  3. Access your FTP client, and provide the following on the necessary fields:
    Hostname ftp.yourdomain.com
    Username Hosting Username
    Password Hosting Password
    Port 21
  4. Follow the given path to open your theme folder:
    /public_html/wp-content/themes/ThemeName

    Important Note: Replace ThemeName with your current WordPress theme.

  5. Right click on header.php file, and select Edit.
  6. Look for the header end tag which is as follows:
    </header>
  7. Before the header end tag, insert your verification code.
  8. Click Save.

There is no definite time allotted for each application. It could take days up to months. You don't have to worry if you won't hear from Google within a few days. For further assistance in adding your Google AdSense verification code, please let us know. We’d love to help!

Was this helpful? Yes No 61% of people found this helpful.
we're
online
Need Help? Chat Now