Chris J
Chris J

Reputation: 1029

How to set up app-ads.txt for your apps for Free

I got a message:

Add or update app-ads.txt

Your app-ads.txt file is either missing or not valid. To prevent a significant loss in ad revenue, add or update your app-ads.txt.

Publish your app-ads.txt on the root of your developer website (for example, sampledomain.com/app-ads.txt). Make sure that the domain is entered exactly as listed on Google Play or the App Store.

I don't have a developer website.

My Requirement: How to setup this app-ads.txt file for free? (I've no domain or website)

Upvotes: 4

Views: 5057

Answers (4)

android developer
android developer

Reputation: 116412

After trying with some website that offered it (here), I've noticed they have no support (I can't communicate with anyone there) and that when the content becomes too large, it removes items.

So, I've found out it's possible via Github itself.

Steps, where "username" is your user-name on Github:

  1. Create a new repository, as such username.github.io .
  2. Put there the file with the content you need.
  3. Validate that indeed your new page exists : https://username.github.io/ , and also try to reach https://username.github.io/app-ads.txt .
  4. On Play Store console, set your app's page to be of the Github page, of https://username.github.io/ .
  5. Wait a few hours, and check on Admob's console (here). It should get updated eventually.

Now each time you want to change the file, you can do it via Github itself. You can also edit the README.md file to have a nice introduction to your apps.

Found out about this from here:

https://medium.com/@dewturk/how-to-fix-google-admob-app-ads-txt-with-free-host-e9cac77852e8

Upvotes: 2

Tayan
Tayan

Reputation: 2317

Just as a clarification to Waqar Khan answer

  1. In your blog (from Blogger), go to settings.

  2. In Monetization section, switch on enable custom ads.txt

  3. Then in Errors and redirects section, click on Custom redirects ---> add ---> In the following dialog, input these:

    From: /app-ads.txt To: /ads.txt Permanent: Yes

  4. Click save. And that's set.

  5. Try now going to your_blog_domin/app-ads.txt

Upvotes: 7

Ozgur Sahin
Ozgur Sahin

Reputation: 1453

Firebase also offers a free way to host your app-ads.txt file https://support.google.com/admob/answer/9820295?hl=en

Upvotes: 2

waqar khan
waqar khan

Reputation: 166

Create a Blog in https://www.blogger.com/

click on settings and then in Monetization switch on Enable custom ads.txt

In Errors and redirects click on Custom redirects and add app-ads.txt and then click save

Upvotes: 12

Related Questions