How to Set Up app-ads.txt for Your Android App on Blogger

 If you're a mobile developer using AdMob, you’ve probably seen the warning:

"We couldn’t verify your app."
This usually means you haven’t correctly set up the app-ads.txt file.

In this post, I’ll walk you through how to set it up on Blogger in just a few steps.


🔧 What Is app-ads.txt?

The app-ads.txt file helps prevent unauthorized ad inventory from being sold, protecting your app’s revenue. Google requires it for proper app verification.

🧩 Steps to Set It Up on Blogger

  1. Go to your Blogger Dashboard.

  2. Navigate to Settings > Monetization.

  3. Enable “Enable custom ads.txt”.

  4. Paste this code (with your AdMob publisher ID):

    google.com, pub-XXXXXXXXXXXXXXXX, DIRECT, f08c47fec0942fa0
        
       5. Save and you're done!


✅ How to Verify It

After saving, go to:

https://your-blog-url.blogspot.com/app-ads.txt

You should see your code there. If yes, go back to AdMob > App Settings > Verify and click Check for updates.

It may take up to 48 hours for Google to recheck.


💡 Final Tips

  • Use the same app-ads.txt for other apps under the same AdMob account.

  • Always make sure the file is publicly accessible.

  • Don’t forget to update your Play Console developer website link to your blog.


Comments

Post a Comment