This page explains the most common AdSense errors and warnings and what you can do about them.

We are listing the warnings from your AdSense account or error console and the appropriate warning within Advanced Ads here.

User does not have an AdSense account. / Last AdSense account connection attempt failed.

Warning in Advanced Ads

User does not have an AdSense account.

or

Last AdSense account connection attempt failed.

This message shows up if your Google account does not have an AdSense account at all. You can create one here.

Your account was not approved by AdSense.

Warning in Advanced Ads

Your account was not approved by AdSense.

This message appears in Advanced Ads when you applied for an AdSense account, which was then disapproved by AdSense. You might be able to apply again later.

Missing ads.txt file

Warning in your AdSense account

Earnings at risk – One or more of your ads.txt files doesn’t contain your AdSense publisher ID. Fix this now to avoid severe impact to your revenue.

Warning in Advanced Ads

One of your sites is missing the AdSense publisher ID in the ads.txt file.

The ads.txt is a file containing information about the advertisers on your site. It allows external parties to verify who is allowed to sell ad space on your site and should prevent fraud.

You need to create this file in the root directory of your site with the following line in it

Replace pub-0000000000000000 with your own publisher ID.

This error might also appear in Advanced Ads on sites that already have an  ads.txt file. Go to Sites > Overview in your AdSense account to verify which sites still need one and dismiss the message in Advanced Ads when this was resolved.

For more information on ads.txt files see the Google manual.

Failed to load resource: the server responded with a status of 403 ()

This error can show up in your browser console, not in Advanced Ads or your AdSense account. It basically means that there is no valid AdSense account found for the publisher ID entered.

The reasons could be many:

  • a wrong publisher ID, which is unlikely, if you just copy & paste the code or used Advanced Ads to connect to your account.
  • your website was not added in AdSense under Account > Sites.
  • your account was not approved yet or rejected.
  • less than 48 hours after your account was approved.