How can I add app-ads.txt to my discourse web site?

I have a website for my app and my app has Admob. They suggest to upload a file app-ads.txt to the root of the website. for example,
I have the access to the my hosting space, but don’t know how to do it…is this even allowed…?

I believe you’ll need to create an Admob plugin to add a route with whatever you need to be in the file. Ah, but if you search for admob there are some topics; perhaps something in one of those can help you make admob work without a plugin. (If it needs only javascript then you might do it in a theme component.)

1 Like