Where to upoad ads.txt for adsense in a nextjs project hosted in vercel #79181
-
SummaryGoogle ads are showing correctly in my nextjs application, but i have one issue where can i place ads.txt file which one is the root directory i tried putting the file inside my project and in app folder but nothing is working any help. ADS.TXT has inside a code like this: Additional information"Copy and paste the following code into your ads.txt file and upload to your site's root directory. If you have an existing ads.txt file, paste the code there. Changes may take a few days to update. If you're not sure where to add your ads.txt file, go to your site's help page for specific instructions, or see the ads.txt guide for more details." ExampleNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
IIRC, it should just be under |
Beta Was this translation helpful? Give feedback.
IIRC, it should just be under
public
, as inpublic/ads.txt
. Make sure you can reach that file after you re-deploy your app. It might happen that the AdSense dashboard claims to not see it for some time.