To fix the issue for your Blogspot (Blogger) site, follow these steps:
Sign in to Blogger: Log in to your Blogger account.
Access Settings: Go to the "Settings" section in your Blogger dashboard.
Enable Custom : Under "Monetization," find the option to enable the custom file and turn it on.
Add Code: Copy the code provided by your AdSense account. It typically looks like this:
google.com, pub-0000000000000000, DIRECT, f08c47fec0942fa0Replace
pub-0000000000000000with your AdSense publisher ID.Save Changes: Paste the code into the custom field and save your changes.
Verify: To ensure the file is working, visit
https://yourblogurl.com/ads.txtin your browser. You should see the code you added.
It might take a few days for the warning in your AdSense dashboard to disappear.
No comments:
Post a Comment