a54394d57c9aaf0f9cb57458ff5a0a08
Menu
© 2024 Publish Knowledge Base

How do I add a Google Ads ‘ads.txt’ file to my website?

1 min read

Applies to: All themes


Google AdSense may require an ads.txt file to be added to the root level domain of your website. Here's how: 

  • Go to Sites > Theme > Theme config. If your user level doesn't allow access to the config, contact support@pagemasters.com.au
  • In the config, paste it above 'logo' as shown here
  • It should be formatted like this: "ads_txt": "google.com, pub-[YourCodeHere], DIRECT, [YourCodeHere]"
  • If you're unsure about adding code, contact support@pagemasters.com.au