Recently, Adsense users are seeing the create ads.txt file on their pages so that your ad revenue is not affected. So what is this ads.txt and how is it created? After that, we will call this file an ads file in our article. Google specifically wants you to upload this file to our class so that ad fraud is not possible.
He wants the sites to clearly identify advertisers to ensure advertisers receive proper information and prevent fraud.
In the ads file;
Your advertising identity,
How their ads run
Such information is included. The person who wants to advertise directly learns how to advertise on your site. In this way, the person who wants to advertise on your site can properly advertise on your site without having to deal with fraudsters.
How to create an ads file?
Create a txt file on your computer. Write the following information on the first line.
google.com, pub-0000000000000000, DIRECT,
All information is comma separated. The first information is the company that advertises. In the example here, the advertiser is Google, Adsense.
The second information is your advertiser identity. In the example, write your Adsense publisher ID.
The third information is how the ads are published. There are two options such as direct and reseller. Direct ads mean that they are published directly by the advertiser. Reseller means that the advertiser can sell the advertising space to someone else.
In this way, make and save your file. You can enter different advertiser information on each line. Put the file into your site's root folder, public html. In other words, put it into the folder where wordpress files are available for WordPress users.
Check it by entering yourdomain.com/ads.txt address.