Monetization for a website is essential. You can add an ads.txt file to your website and easily advertise websites like AdSense, PropellersAds, or any other ad network.
In this article, we will have look at How to Add ads.txt File in WordPress.
What is ads.txt File?
The text file ads.txt offers a list of approved digital merchants. It is used by publishers to identify reliable partners who have the authorization to sell their inventory. The goal of such a file is to allow potential media buyers to authenticate ad sellers and ensure that their money is being spent on a high-quality impression. Advertisers may prevent fraud in this manner. The IAB Tech Lab created this project as part of its transparency mission to combat domain spoofing.
As an advertiser or media buyer, you may use an ads.txt file to determine whether the SSP can sell the ad space at the specific web location. In addition, you may fine-tune your DSP’s algorithms for working with webmaster traders who operate automatically. This eliminates any concerns associated with dealing with an unlicensed representative.
It is not required to use an ads.txt file, but it might assist protect your brand against spoofing efforts and fraudulent inventory consumption. This feature is increasingly being used by advertisers to assess the publisher’s dependability. More and more people are rejecting to do business with people who are a mismatch by this criterion.
How to Add ads.txt File in WordPress
These are the steps you need to follow:
- Login to WordPress Dashboard.
- Navigate to Plugins >> Add New.
- Search for “Ads.txt Manager“
- Install and Activate the plugin.
- After activation, visit Settings >> Ads.txt to view the plugin settings.
The plugin has a basic text box where you can enter lines to indicate each platform or reseller. To declare Google Adsense, for example, add the following line.
google.com, pub-0000000000000000, DIRECT, f08c47fec0942fa0
Remember to modify pub-0000000000000000 with your unique publisher ID.
This line, as you can see, contains four fields separated by a comma. The first field contains the domain of the firm that is authorized to sell or resell your ad inventory. Following that, it provides your publisher ID, which relates to your advertising platform account ID.
The third field specifies whether the connection is DIRECT or RESELLER. The final area is optional and indicates an advertising platform ID. You will use the same unique ID for all Google advertising programs.
Note: Due to the fact that the ads.txt file is expected to be in the root directory of a domain name, this plugin currently only works for root-level domains such as example.com. It is not compatible with WordPress deployed in a subdomain, subfolder, or single site in a multi-site network.
That’s it, we hope you learned everything about How to Add ads.txt File in WordPress, And for the visitor who asked us to write an article on How to Add PDF to WordPress Elementor. we have a dedicated article on this.
We accept all kinds of visitor suggestions, as they continuously motivate us to improve. Feel free to comment below.