How to create a GitHub Page to host the AdMob file app-ads.txt
AdMob requires to crawl your website to get the app-ads.txt content. When you add ads to your Android app, one Admob step is to add the file app-ads.txt to your website. For example abc.com/app-ads.txt. To achieve this we need to host our app-ads.txt on a public URL, luckily Github lets developers create free pages. Follow below steps to verified your app-ads.txt
Part 1. How to get app-ads.txt Admob content
- Login to AdMob account
- Go to page https://apps.admob.com/v2/apps/appadstxt
- Copy content and add to the file app-ads.txt
Part 2. How to create a GitHub Page to host the AdMob file app-ads.txt
- Create a GitHub page -> andresand.github.io
2. Create a new GitHub repo [https://github.com/AndreSand/AndreSand.github.io/]. Note: repo name *needs* to be your username. Github Page: username.github.io
3. Add the file README.md. It’s the home page of your GitHub page