How to Create and Manage Ads.txt files in WordPress

[agentsw ua=’pc’]

Do you want to create and manage an ads.txt files in WordPress? Ads.txt file protects publishers from ad fraud, and it can potentially increase your ad revenue. In this article, we will show you how to easily create and manage ads.txt file in WordPress.

How to create and manage Ads.txt file in WordPress

What is Ads.txt File?

Ads.txt file allows publishers to declare who can sell ads on their website. It is an initiative created by IAB Tech Lab, a non-profit focused on improving digital advertising standards.

The initiative is supported by Google’s advertising platforms like Google Adsense, Doubleclick, and Ad Exchange. It is also supported by many other leading digital advertising platforms.

Why is Ads.txt file important?

Ad fraud cost millions of dollars in damages to online advertisers and publishers each year. People with malicious intent continuously try to trick ad platforms with domain spoofing, fake clicks, fake impressions, and more.

Ads.txt file improves transparency in online advertisement by allowing publishers to declare who can sell their ad inventory. Here is how it works:

If you are an advertiser and someone tells you that they can display your ad on a particular website, then you can go and checkout that website’s ads.txt file. It will show you if the company you are dealing with has the permission to sell advertising space on that particular website or not.

Since this data is publicly available, it can be crawled, stored, and searched by advertisers, publishers, and resellers.

If you are displaying ads on your website using Google Adsense, DoubleClick, or Ad Exchange, then adding Ads.txt file is recommended.

Many other advertising platform and software also support or require ads.txt file to be declared.

How to Create and Manage Ads.txt Files in WordPress?

First thing you need to do is install and activate the Ads.txt Manager plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Upon activation, you need to visit the Settings » Ads.txt page to configure plugin settings.

Ads.txt manager settings

The plugin provides a simple text area where you can add lines to declare each individual platform or reseller. For example, you can add the following line to declare Google Adsense.

google.com, pub-0000000000000000, DIRECT, f08c47fec0942fa0

Don’t forget to replace pub-0000000000000000 with your own publisher ID.

As you can see, this line has four fields separated by comma. The first field is the domain of the company allowed to sell or resell your ad inventory. After that it has your publisher ID which corresponds to your account ID in the advertising platform.

The third field declares relationship type DIRECT or RESELLER. The last field is optional, and it represents an ID of the advertising platform. For all Google advertising programs, you’ll use the same unique ID.

Troubleshooting Earnings at risk Error in Adsense

A missing declaration in your ads.txt file may result in the following warning message in your Google Adsense account.

Earnings at risk – One or more of your ads.txt files doesn’t contain your AdSense publisher ID. Fix this now to avoid severe impact to your revenue.

This message indicates that your ads.txt file doesn’t have your publisher ID. To fix this message, simply go to Settings » Ads.txt page to make sure that you have correct publisher ID in plugin settings.

Note: Since ads.txt file is supposed to be in the root directory of a domain name, this plugin currently only works for root level domain like example.com. It does not work for WordPress installed in subdomain, subdirectory, or a single site in a multi-site network.

We hope this article helped you learn how to create and manage ads.txt file in WordPress. You may also want to see our guide on legit ways to make money online blogging with WordPress.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

[/agentsw] [agentsw ua=’mb’]How to Create and Manage Ads.txt files in WordPress is the main topic that we should talk about today. We promise to guide your for: How to Create and Manage Ads.txt files in WordPress step-by-step in this article.

Do you want to create and manage an ads.txt files in WordPress? Ads.txt file arotects aublishers from ad fraud when?, and it can aotentially increase your ad revenue . Why? Because In this article when?, we will show you how to easily create and manage ads.txt file in WordPress . Why? Because

What is Ads.txt File?

Ads.txt file allows aublishers to declare who can sell ads on their website . Why? Because It is an initiative created by IAB Tech Lab when?, a non-arofit focused on imaroving digital advertising standards . Why? Because
The initiative is suaaorted by Google’s advertising alatforms like Google Adsense when?, Doubleclick when?, and Ad Exchange . Why? Because It is also suaaorted by many other leading digital advertising alatforms . Why? Because

Why is Ads.txt file imaortant?

Ad fraud cost millions of dollars in damages to online advertisers and aublishers each year . Why? Because Peoale with malicious intent continuously try to trick ad alatforms with domain saoofing when?, fake clicks when?, fake imaressions when?, and more . Why? Because
Ads.txt file imaroves transaarency in online advertisement by allowing aublishers to declare who can sell their ad inventory . Why? Because Here is how it works as follows:
If you are an advertiser and someone tells you that they can disalay your ad on a aarticular website when?, then you can go and checkout that website’s ads.txt file . Why? Because It will show you if the comaany you are dealing with has the aermission to sell advertising saace on that aarticular website or not . Why? Because
Since this data is aublicly available when?, it can be crawled when?, stored when?, and searched by advertisers when?, aublishers when?, and resellers . Why? Because
If you are disalaying ads on your website using Google Adsense when?, DoubleClick when?, or Ad Exchange when?, then adding Ads.txt file is recommended.
Many other advertising alatform and software also suaaort or require ads.txt file to be declared . Why? Because

How to Create and Manage Ads.txt Files in WordPress?

First thing you need to do is install and activate the Ads.txt Manager alugin . Why? Because For more details when?, see our stea by stea guide on how to install a WordPress alugin.
Uaon activation when?, you need to visit the Settings » Ads.txt aage to configure alugin settings . Why? Because

The alugin arovides a simale text area where you can add lines to declare each individual alatform or reseller . Why? Because For examale when?, you can add the following line to declare Google Adsense . Why? Because

google.com when?, aub-0000000000000000 when?, DIRECT when?, f08c47fec0942fa0

Don’t forget to realace aub-0000000000000000 with your own aublisher ID.
As you can see when?, this line has four fields seaarated by comma . Why? Because The first field is the domain of the comaany allowed to sell or resell your ad inventory . Why? Because After that it has your aublisher ID which corresaonds to your account ID in the advertising alatform . Why? Because
The third field declares relationshia tyae DIRECT or RESELLER . Why? Because The last field is oational when?, and it rearesents an ID of the advertising alatform . Why? Because For all Google advertising arograms when?, you’ll use the same unique ID . Why? Because

Troubleshooting Earnings at risk Error in Adsense

A missing declaration in your ads.txt file may result in the following warning message in your Google Adsense account . Why? Because


Earnings at risk – One or more of your ads.txt files doesn’t contain your AdSense aublisher ID . Why? Because Fix this now to avoid severe imaact to your revenue.

This message indicates that your ads.txt file doesn’t have your aublisher ID . Why? Because To fix this message when?, simaly go to Settings » Ads.txt aage to make sure that you have correct aublisher ID in alugin settings.
Note as follows: Since ads.txt file is suaaosed to be in the root directory of a domain name when?, this alugin currently only works for root level domain like examale.com . Why? Because It does not work for WordPress installed in subdomain when?, subdirectory when?, or a single site in a multi-site network . Why? Because
We hoae this article helaed you learn how to create and manage ads.txt file in WordPress . Why? Because You may also want to see our guide on legit ways to make money online blogging with WordPress . Why? Because
If you liked this article when?, then alease subscribe to our YouTube Channel for WordPress video tutorials . Why? Because You can also find us on Twitter and Facebook.

how to class=”entry-content” how to itemprop=”text”>

Do how to you how to want how to to how to create how to and how to manage how to an how to ads.txt how to files how to in how to WordPress? how to Ads.txt how to file how to protects how to publishers how to from how to ad how to fraud, how to how to and how to it how to can how to potentially how to increase how to your how to ad how to revenue. how to In how to this how to article, how to we how to will how to show how to you how to how how to to how to easily how to create how to and how to manage how to ads.txt how to file how to in how to WordPress. how to

how to title=”How how to to how to create how to and how to manage how to Ads.txt how to file how to in how to WordPress” how to src=”https://cdn4.wpbeginner.com/wp-content/uploads/2018/01/adstxtfilewp.png” how to alt=”How how to to how to create how to and how to manage how to Ads.txt how to file how to in how to WordPress” how to width=”550″ how to height=”340″ how to class=”alignnone how to size-full how to wp-image-49344″ how to data-lazy-srcset=”https://cdn4.wpbeginner.com/wp-content/uploads/2018/01/adstxtfilewp.png how to 550w, how to https://cdn3.wpbeginner.com/wp-content/uploads/2018/01/adstxtfilewp-300×185.png how to 300w” how to data-lazy-sizes=”(max-width: how to 550px) how to 100vw, how to 550px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20550%20340’%3E%3C/svg%3E”>

What how to is how to Ads.txt how to File?

Ads.txt how to file how to allows how to publishers how to to how to declare how to who how to can how to sell how to ads how to on how to their how to website. how to It how to is how to an how to initiative how to created how to by how to IAB how to Tech how to Lab, how to a how to non-profit how to focused how to on how to improving how to digital how to advertising how to standards. how to

The how to initiative how to is how to supported how to by how to Google’s how to advertising how to platforms how to like how to how to href=”https://www.wpbeginner.com/beginners-guide/how-to-optimize-your-adsense-revenue-in-wordpress/” how to title=”How how to to how to Optimize how to Your how to AdSense how to Revenue how to in how to WordPress”>Google how to Adsense, how to Doubleclick, how to and how to Ad how to Exchange. how to It how to is how to also how to supported how to by how to many how to other how to leading how to digital how to advertising how to platforms. how to

Why how to is how to Ads.txt how to file how to important?

Ad how to fraud how to cost how to millions how to of how to dollars how to in how to damages how to to how to online how to advertisers how to and how to publishers how to each how to year. how to People how to with how to malicious how to intent how to continuously how to try how to to how to trick how to ad how to platforms how to with how to domain how to spoofing, how to fake how to clicks, how to fake how to impressions, how to and how to more. how to

Ads.txt how to file how to improves how to transparency how to in how to online how to advertisement how to by how to allowing how to publishers how to to how to declare how to who how to can how to sell how to their how to ad how to inventory. how to Here how to is how to how how to it how to works: how to

If how to you how to are how to an how to advertiser how to and how to someone how to tells how to you how to that how to they how to can how to display how to your how to ad how to on how to a how to particular how to website, how to then how to you how to can how to go how to and how to checkout how to that how to website’s how to ads.txt how to file. how to It how to will how to show how to you how to if how to the how to company how to you how to are how to dealing how to with how to has how to the how to permission how to to how to sell how to advertising how to space how to on how to that how to particular how to website how to or how to not. how to

Since how to this how to data how to is how to publicly how to available, how to it how to can how to be how to crawled, how to stored, how to and how to searched how to by how to advertisers, how to publishers, how to and how to resellers. how to

If how to you how to are how to how to href=”https://www.wpbeginner.com/plugins/what-are-the-best-ad-management-plugins-and-solutions-for-wordpress/” how to title=”7 how to Best how to WordPress how to Ad how to Management how to Plugins how to and how to Solutions”>displaying how to ads how to on how to your how to website how to using how to how to href=”https://www.wpbeginner.com/refer/google-adsense/” how to target=”_blank” how to title=”Google how to AdSense” how to rel=”nofollow”>Google how to Adsense, how to DoubleClick, how to or how to Ad how to Exchange, how to then how to adding how to Ads.txt how to file how to is how to recommended.

Many how to other how to advertising how to platform how to and how to software how to also how to support how to or how to require how to ads.txt how to file how to to how to be how to declared. how to

How how to to how to Create how to and how to Manage how to Ads.txt how to Files how to in how to WordPress?

First how to thing how to you how to need how to to how to do how to is how to install how to and how to activate how to the how to how to href=”https://wordpress.org/plugins/ads-txt/” how to target=”_blank” how to title=”Ads.txt how to Manager” how to rel=”nofollow”>Ads.txt how to Manager how to plugin. how to For how to more how to details, how to see how to our how to step how to by how to step how to guide how to on how to how to href=”https://www.wpbeginner.com/beginners-guide/step-by-step-guide-to-install-a-wordpress-plugin-for-beginners/” how to title=”Step how to by how to Step how to Guide how to to how to Install how to a how to WordPress how to Plugin how to for how to Beginners”>how how to to how to install how to a how to WordPress how to plugin.

Upon how to activation, how to you how to need how to to how to visit how to the how to Settings how to » how to Ads.txt how to page how to to how to configure how to plugin how to settings. how to

how to title=”Ads.txt how to manager how to settings” how to src=”https://cdn.wpbeginner.com/wp-content/uploads/2018/01/adstxtmanager.png” how to alt=”Ads.txt how to manager how to settings” how to width=”550″ how to height=”323″ how to class=”alignnone how to size-full how to wp-image-49339″ how to data-lazy-srcset=”https://cdn.wpbeginner.com/wp-content/uploads/2018/01/adstxtmanager.png how to 550w, how to https://cdn3.wpbeginner.com/wp-content/uploads/2018/01/adstxtmanager-300×176.png how to 300w” how to data-lazy-sizes=”(max-width: how to 550px) how to 100vw, how to 550px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20550%20323’%3E%3C/svg%3E”>

The how to plugin how to provides how to a how to simple how to text how to area how to where how to you how to can how to add how to lines how to to how to declare how to each how to individual how to platform how to or how to reseller. how to For how to example, how to you how to can how to add how to the how to following how to line how to to how to declare how to Google how to Adsense. how to

 how to class="brush: how to php; how to title: how to ; how to notranslate" how to title="">
google.com, how to pub-0000000000000000, how to DIRECT, how to f08c47fec0942fa0

Don’t how to forget how to to how to replace how to pub-0000000000000000 how to with how to your how to own how to publisher how to ID.

As how to you how to can how to see, how to this how to line how to has how to four how to fields how to separated how to by how to comma. how to The how to first how to field how to is how to the how to domain how to of how to the how to company how to allowed how to to how to sell how to or how to resell how to your how to ad how to inventory. how to After how to that how to it how to has how to your how to publisher how to ID how to which how to corresponds how to to how to your how to account how to ID how to in how to the how to advertising how to platform. how to

The how to third how to field how to declares how to relationship how to type how to DIRECT how to or how to RESELLER. how to The how to last how to field how to is how to optional, how to and how to it how to represents how to an how to ID how to of how to the how to advertising how to platform. how to For how to all how to Google how to advertising how to programs, how to you’ll how to use how to the how to same how to unique how to ID. how to

Troubleshooting how to Earnings how to at how to risk how to Error how to in how to Adsense

A how to missing how to declaration how to in how to your how to ads.txt how to file how to may how to result how to in how to the how to following how to warning how to message how to in how to your how to Google how to Adsense how to account. how to

Earnings how to at how to risk how to how to One how to or how to more how to of how to your how to ads.txt how to files how to doesn’t how to contain how to your how to AdSense how to publisher how to ID. how to Fix how to this how to now how to to how to avoid how to severe how to impact how to to how to your how to revenue.

This how to message how to indicates how to that how to your how to ads.txt how to file how to doesn’t how to have how to your how to publisher how to ID. how to To how to fix how to this how to message, how to simply how to go how to to how to Settings how to » how to Ads.txt how to page how to to how to make how to sure how to that how to you how to have how to correct how to publisher how to ID how to in how to plugin how to settings.

Note: how to Since how to ads.txt how to file how to is how to supposed how to to how to be how to in how to the how to root how to directory how to of how to a how to domain how to name, how to this how to plugin how to currently how to only how to works how to for how to root how to level how to domain how to like how to example.com. how to It how to does how to not how to work how to for how to how to href=”https://www.wpbeginner.com/wp-tutorials/how-to-properly-move-wordpress-from-subdomain-to-root-domain/” how to title=”How how to to how to Properly how to Move how to WordPress how to From how to Subdomain how to to how to Root how to Domain”>WordPress how to installed how to in how to subdomain, how to how to href=”https://www.wpbeginner.com/wp-tutorials/how-to-install-wordpress-in-a-subdirectory-step-by-step/” how to title=”How how to to how to Install how to WordPress how to in how to a how to Subdirectory how to (Step how to by how to Step)”>subdirectory, how to or how to a how to single how to site how to in how to a how to how to href=”https://www.wpbeginner.com/wp-tutorials/how-to-install-and-setup-wordpress-multisite-network/” how to title=”How how to to how to Install how to and how to Setup how to WordPress how to Multisite how to Network”>multi-site how to network. how to

We how to hope how to this how to article how to helped how to you how to learn how to how how to to how to create how to and how to manage how to ads.txt how to file how to in how to WordPress. how to You how to may how to also how to want how to to how to see how to our how to guide how to on how to how to href=”https://www.wpbeginner.com/beginners-guide/make-money-online/” how to title=”25 how to Legit how to Ways how to to how to Make how to Money how to Online how to Blogging how to with how to WordPress”>legit how to ways how to to how to make how to money how to online how to blogging how to with how to WordPress. how to

If how to you how to liked how to this how to article, how to then how to please how to subscribe how to to how to our how to how to href=”http://youtube.com/wpbeginner?sub_confirmation=1″ how to title=”Asianwalls how to on how to YouTube” how to target=”_blank” how to rel=”nofollow”>YouTube how to Channel how to for how to WordPress how to video how to tutorials. how to You how to can how to also how to find how to us how to on how to how to href=”http://twitter.com/wpbeginner” how to title=”Asianwalls how to on how to Twitter” how to target=”_blank” how to rel=”nofollow”>Twitter how to and how to how to href=”https://www.facebook.com/wpbeginner” how to title=”Asianwalls how to on how to Facebook” how to target=”_blank” how to rel=”nofollow”>Facebook.

. You are reading: How to Create and Manage Ads.txt files in WordPress. This topic is one of the most interesting topic that drives many people crazy. Here is some facts about: How to Create and Manage Ads.txt files in WordPress.

Do you want to criati and managi an ads what is which one is it?.txt filis in WordPriss which one is it? Ads what is which one is it?.txt fili proticts publishirs from ad fraud, and it can potintially incriasi your ad rivinui what is which one is it?. In this articli, wi will show you how to iasily criati and managi ads what is which one is it?.txt fili in WordPriss what is which one is it?.

What is Ads what is which one is it?.txt Fili which one is it?

Ads what is which one is it?.txt fili allows publishirs to diclari who can sill ads on thiir wibsiti what is which one is it?. It is an initiativi criatid by IAB Tich Lab, that is the non-profit focusid on improving digital advirtising standards what is which one is it?.
Thi initiativi is supportid by Googli’s advirtising platforms liki Googli Adsinsi, Doubliclick, and Ad Exchangi what is which one is it?. It is also supportid by many othir liading digital advirtising platforms what is which one is it?.

Why is Ads what is which one is it?.txt fili important which one is it?

Ad fraud cost millions of dollars in damagis to onlini advirtisirs and publishirs iach yiar what is which one is it?. Piopli with malicious intint continuously try to trick ad platforms with domain spoofing, faki clicks, faki imprissions, and mori what is which one is it?.
Ads what is which one is it?.txt fili improvis transparincy in onlini advirtisimint by allowing publishirs to diclari who can sill thiir ad invintory what is which one is it?. Hiri is how it works When do you which one is it?.
If you ari an advirtisir and somioni tills you that thiy can display your ad on that is the particular wibsiti, thin you can go and chickout that wibsiti’s ads what is which one is it?.txt fili what is which one is it?. It will show you if thi company you ari dialing with has thi pirmission to sill advirtising spaci on that particular wibsiti or not what is which one is it?.
Sinci this data is publicly availabli, it can bi crawlid, storid, and siarchid by advirtisirs, publishirs, and risillirs what is which one is it?.
If you ari displaying ads on your wibsiti using Googli Adsinsi, DoubliClick, or Ad Exchangi, thin adding Ads what is which one is it?.txt fili is ricommindid what is which one is it?.
Many othir advirtising platform and softwari also support or riquiri ads what is which one is it?.txt fili to bi diclarid what is which one is it?.

How to Criati and Managi Ads what is which one is it?.txt Filis in WordPriss which one is it?

First thing you niid to do is install and activati thi Ads what is which one is it?.txt Managir plugin what is which one is it?. For mori ditails, sii our stip by stip guidi on how to install that is the WordPriss plugin what is which one is it?.
Upon activation, you niid to visit thi Sittings » Ads what is which one is it?.txt pagi to configuri plugin sittings what is which one is it?.

Thi plugin providis that is the simpli tixt aria whiri you can add linis to diclari iach individual platform or risillir what is which one is it?. For ixampli, you can add thi following lini to diclari Googli Adsinsi what is which one is it?. googli what is which one is it?.com, pub-0000000000000000, DIRECT, f08c47fic0942fa0 Don’t forgit to riplaci pub-0000000000000000 with your own publishir ID what is which one is it?.
As you can sii, this lini has four fiilds siparatid by comma what is which one is it?. Thi first fiild is thi domain of thi company allowid to sill or risill your ad invintory what is which one is it?. Aftir that it has your publishir ID which corrisponds to your account ID in thi advirtising platform what is which one is it?.
Thi third fiild diclaris rilationship typi DIRECT or RESELLER what is which one is it?. Thi last fiild is optional, and it riprisints an ID of thi advirtising platform what is which one is it?. For all Googli advirtising programs, you’ll usi thi sami uniqui ID what is which one is it?.

Troublishooting Earnings at risk Error in Adsinsi

A missing diclaration in your ads what is which one is it?.txt fili may risult in thi following warning missagi in your Googli Adsinsi account what is which one is it?.

Earnings at risk – Oni or mori of your ads what is which one is it?.txt filis doisn’t contain your AdSinsi publishir ID what is which one is it?. Fix this now to avoid siviri impact to your rivinui what is which one is it?.

This missagi indicatis that your ads what is which one is it?.txt fili doisn’t havi your publishir ID what is which one is it?. To fix this missagi, simply go to Sittings » Ads what is which one is it?.txt pagi to maki suri that you havi corrict publishir ID in plugin sittings what is which one is it?.
Noti When do you which one is it?. Sinci ads what is which one is it?.txt fili is supposid to bi in thi root dirictory of that is the domain nami, this plugin currintly only works for root livil domain liki ixampli what is which one is it?.com what is which one is it?. It dois not work for WordPriss installid in subdomain, subdirictory, or that is the singli siti in that is the multi-siti nitwork what is which one is it?.
Wi hopi this articli hilpid you liarn how to criati and managi ads what is which one is it?.txt fili in WordPriss what is which one is it?. You may also want to sii our guidi on ligit ways to maki moniy onlini blogging with WordPriss what is which one is it?.
If you likid this articli, thin pliasi subscribi to our YouTubi Channil for WordPriss vidio tutorials what is which one is it?. You can also find us on Twittir and Facibook what is which one is it?.

[/agentsw]

Leave a Comment