Custom ads.txt For Blogger
Explanation:
google.com, pub-XXXXXXXXXXXXXXXX, DIRECT, f08c47fec0942fa0: This line authorizes Google AdSense to serve ads. Replacepub-XXXXXXXXXXXXXXXXwith your AdSense publisher ID andf08c47fec0942fa0with the correct certification ID (this might not be necessary for all networks).example-ad-network.com, 123456, DIRECT, abcdef1234567890: Replaceexample-ad-network.comwith the domain of the ad network,123456with your account ID, andabcdef1234567890with their certification ID if applicable.another-network.com, 987654, RESELLER, fedcba0987654321: Replaceanother-network.comwith the domain of another ad network,987654with your account ID, andfedcba0987654321with their certification ID if applicable. TheRESELLERvalue indicates that this network resells inventory on your behalf.
Steps to Implement:
- Create the File: Save the content as
ads.txt. - Upload to Blogger: Since Blogger doesn’t allow direct uploading of
ads.txt, you need to use a workaround:- Go to your Blogger dashboard.
- Navigate to
Settings>Search preferences. - Under the
Monetizationsection, you’ll find an option to addads.txtcontent. - Paste the contents of your
ads.txtfile into the provided text box and save.
This setup ensures that only the authorized ad networks can place ads on your Blogger site, protecting you from unauthorized ad placements.

No comments:
Post a Comment