Making money
app-ads.txt Verification
AdMob Publisher Verification (Required)
AppMintAppwrightBoth builders - the steps below are the same in each.
1Why app-ads.txt is Required#
Google AdMob now REQUIRES app-ads.txt file verification for all apps that show ads. Without this verification:
❌ Your ads may not serve properly
❌ You may lose potential revenue
❌ Your AdMob account may face restrictions
✅ With app-ads.txt: Higher ad fill rates and better CPM
2Get Your Publisher ID#
Your Publisher ID is the first part of your AdMob App ID:
- If your App ID is: ca-app-pub-1234567890123456~1234567890
- Your Publisher ID is: pub-1234567890123456
You need to enter this in the generator app.
Format:
pub-1234567890123456
Example:
ca-app-pub-1234567890123456~9876543210
↓
pub-12345678901234563Get Your Developer Website#
You must have a website URL where you'll host the app-ads.txt file. This can be:
- Your personal website
- Your company website
- A simple GitHub Pages site
- Any domain you own
Note: The website must be publicly accessible and use HTTPS.
Valid examples:
https://yourwebsite.com
https://yourdomain.com
https://username.github.ioIn Appwright
4Generate app-ads.txt in Generator#
In Appwright (Step 3 - AdMob section):
- Enter your AdMob Publisher ID (pub-XXXXXXXXXXXXXXXX)
- Enter your Developer Website URL
- Click 'Generate app-ads.txt' button
- The file content will be displayed in a dialog
- For premium users: File is automatically saved to Downloads/Appwright/{AppName}/app-ads.txt
In AppMint
4Generate app-ads.txt in Generator#
In the Web2APK Generator app (Step 3 - AdMob section):
- Enter your AdMob Publisher ID (pub-XXXXXXXXXXXXXXXX)
- Enter your Developer Website URL
- Click 'Generate app-ads.txt' button
- The file content will be displayed in a dialog
- For premium users: File is automatically saved to Downloads/WebToApk/{AppName}/app-ads.txt
5Upload to Your Website#
Upload the app-ads.txt file to your website's root directory:
- File must be at: https://yourdomain.com/app-ads.txt
- Not in a subdirectory
- Must be plain text file
- Must be publicly accessible (no login required)
Correct:
https://yoursite.com/app-ads.txt ✅
Incorrect:
https://yoursite.com/folder/app-ads.txt ❌
https://yoursite.com/files/app-ads.txt ❌6File Content Format#
Your app-ads.txt file should contain this exact format:
google.com, pub-1234567890123456, DIRECT, f08c47fec0942fa0
Replace 'pub-1234567890123456' with YOUR actual Publisher ID7Verify in AdMob Dashboard#
After uploading the file:
- Go to AdMob dashboard
- Navigate to Settings > Account Information
- Look for 'app-ads.txt' status
- It may take 24-48 hours for Google to verify
- Status should show 'Verified' when done
8Test Your File#
Before waiting for AdMob verification, test your file:
- Open browser and go to: https://yourdomain.com/app-ads.txt
- You should see the file content
- If you get 404 error, file is not in the correct location
- If you see HTML instead of text, wrong file type
9Common Issues & Solutions#
❌ File not found (404): Upload to root directory, not in a folder
❌ Wrong format: Use EXACTLY the format shown (comma-separated, no extra lines)
❌ Wrong Publisher ID: Double-check your AdMob Publisher ID
❌ Website not accessible: Ensure HTTPS and no password protection
✅ Multiple Publisher IDs: Add each on a new line in the file
✅ Subdomain: If using subdomain (app.yoursite.com), file must be there too
10GitHub Pages Example#
If you don't have a website, use GitHub Pages (FREE):
- Create a GitHub repository named: yourusername.github.io
- Upload app-ads.txt file to the root
- Enable GitHub Pages in repository settings
- Your file will be at: https://yourusername.github.io/app-ads.txt
- Use this URL as your Developer Website in the generator