Ads.txt is a publicly accessible file which benefits publishers by protecting them from domain spoofing and securing ad revenue from advertisers. Overall, ads.txt created more transparency by identifying who can represent and sell ad inventory on publisher sites. In simple terms, it's a file that you can add to your site which verifies that you own it and shows who you authorize to market your ad inventory.
Google supports ads.txt to prevent bad actors from taking action in the digital ad ecosystem. Although domain spoofing currently exists mainly for larger sites, it's common for this sort of behavior to travel downwards and could potentially affect small to medium sized sites in the future.Google gives more info here.
Currently, Ads.txt is a requirement on all publisher sites. Your site will not be approved for Google MCM and you will not be able to monetize it with Ezoic unless you have a valid Ads.txt file.
Make sure your ads.txt file is up-to-date with all of your ad partners because Google will not allow them to be monetized unless they are included in your ads.txt file.
We recommend that you run the Ads.txt validation tool in your Ezoic dashboard. It’s available via the Ad Transparency tab in EzoicAds.
Please note that Ezoic will automatically append information associated with our network partners if you are integrated via nameservers or Cloudflare. Additional steps are required for sites that are integrated with the Ezoic WordPress plugin.
Automatic setup of ads.txt is a quick and straight-forward method to create and complete this process from your dashboard. In this case, you will be using an “Ezoic account” (Account ID: 19390) of Ads.txt Manager. Sites will have their ads.txt file managed under this account.
1. Firstly, you will need to navigate in your dashboard → EzoicAds:
Under the Ad Transparency tab, you will be able to locate the ads.txt app, where you will need to click on the AUTOMATIC SETUP option:
2. In this stage, you will be prompted to create your ads.txt file. Ezoic will auto create the file, import existing entries, and authorize Ezoic entries:
3. The instructions in the dashboard will guide you through previewing, adding/removing/editing entries, turning on ads.txt, and verifying the ads.txt file for wrong or missing entries.
When you finish this small procedure, it is expected that Google will take some time to be able to crawl and process the changes that have been made. The update may take up to 48 hours to appear in your dashboard.
IMPORTANT NOTE: If you are using our WordPress integration, you will need to complete an additional step to link the Ezoic account to your WordPress site. Please see the screenshot below:
In Ezoic's WordPress plugin you will need to set the Ads.txt Manager Account ID to: 19390
If you already have an ads.txt file and are nameserver or Cloudflare integrated, our system will detect that file and automatically append our authorized sellers. However, if you need to create an ads.txt file, or have one and are integrated with our Wordpress Plugin, you will need to use Ads.txt Manager (adstxtmanager.com, an Ezoic product) to get your ads.txt file up and running correctly.
Follow these Steps:
1. Click on "Get Started Now" and create an account:
2. Authorize Ezoic, Ezoic Owned and any other ad partners that you currently use to monetize your site (most likely Adsense):
3. Ezoic’s information will be automatically added when it is authorized. However, for all the other ad partners you use, you will need to add the information to sit alongside your existing ads.txt. For Adsense, you would click on ‘Google Adsense’ on the right hand side:
For "ad network domain" it would be Google.com. For ‘ad network account ID’ it would be your Adsense publisher ID. For "account type" it would be DIRECT and for "certification authority ID" you would put f08c47fec0942fa0. Here’s what it will look like all together:
Google.com, pub-0000000000000000, DIRECT, f08c47fec0942fa0
*For all other ad partners, you will need to contact those ad partners and ask what the format of the entry should be.
5. If you already have an existing ads.txt file, then you can import it. However, if you do not, just skip this step by clicking 'next':
6. Next, you will be given an Account ID.
If you already integrated with Ezoic via name servers or Cloudflare, you can skip to step 8.
7. Publishers who are not integrated via name servers or Cloudflare will need to set up an additional redirect before proceeding to step 8:
There are 4 different ways you can set up the redirect:
1. (Recommended) Use the Ezoic WordPress plugin. Go to the Ads.txt Manager tab and set the Ads.txt Manager Account ID to your ID:
2. .htaccess file redirect
3. Nginx redirect
4. PHP redirect (place in current ads.txt file if php)
9. Click on "Ads.txt Manager" button:
10. Remember the Account ID from earlier? Make sure you put that number in the ads.txt app and turn it on!
11. Now going back to ads.txt manager dashboard, you will then go back to ‘Get Started’ and at the last step, validate the file. This can take about 30 minutes!
12. You can view the ads.txt file by clicking on 'view ads.txt file'.