How to implement app-ads.txt?
then Paste the following line into the text file:
google.com, pub-XXXXXXXXXXXXXXXX, DIRECT, f08c47fec0942fa0
Replace pub-XXXXXXXXXXXXXXXX with your actual AdMob Publisher ID.
Save the file with the name app-ads.txt. Ensure that the file extension is .txt and not .txt.txt.
3- Host the app-ads.txt File:
Upload the app-ads.txt file to your website's root directory. If your website is example.com, the file should be accessible at https://example.com/app-ads.txt.
Make sure you can access the file through a web browser to verify its availability.
Now you have created and hosted your app-ads.txt file with the necessary information.
4- Go to the google console and choose your app that you need to add file to it . then Grow -> Store Presence -> Store listing . and add the link in the website.