This is likely due to the ad company not working well with Single Page Applications. You should talk to them about it and see what they say about it...
How to add ads.txt ?
-
AdSense showing error that ads.txt not found
How to add ads.txt?AdSense want to get that like - https://domain.com/ads.txt
How to add like that?
In apache server its easy -
Add it in whatever you're using as a reverse proxy.
-
I do it this way.
### google ads.txt location /ads.txt { root PATH TO_/nginx/forum/public/; }
-
@FrankM Where to add this Code??? I hosted in heroku
-
This code is for nginx.
In your config for your forum you must add this code. Sry, i don't know heroku.