Troubleshooting Ads.txt For Google Adsense


arif21.com  - Maybe this time I use Indonesian. Do you want to discuss about the kiya text ads also hit Ads text, it turns out that I did not get a lot of adsense publishers receiving notifications related to Ads.txt, the contents of which are similar to site authorization namely: "Your income is at risk - One or more ads.txt files do not contain ID adsense publishers. Fix this problem now to avoid a serious impact on your income. "

The message is like this

Dear Publisher,
We’ve noticed that the ads.txt file on one or more of your sites that you monetise through this AdSense account (pub-xxxxxxxxxxxxxxxx) is missing the correct publisher code.
From mid-October, Google will stop buying ads on sites with ads.txt files which don’t include the correct publisher IDs. We recommend you update your ads.txt files immediately to prevent impact to your earnings. Make sure that the ads.txt file for each site you want to monetise through this account contains the snippet below:
google.com, pub-xxxxxxxxxxxxxxxx, DIRECT, f08c47fec0942fa0
It may take up to 24 hours for AdSense to process your updated ads.txt files.
You can learn more about ads.txt, how buyers will use it and how to implement it on your sites in our Help Centre.

Actually what is Ads.txt?

Ads stands for Authorized Digital Sellers or official digital sellers, namely projects developed by the IAB Tech Lab to increase transparency in advertising programs, especially online advertising. Ads.txt uses a simple, flexible and safe method that publishers and distributors can use to state that they have the authority to sell their digital inventory publicly.

With publishers creating ads.txt, buyers (advertisers) will be able to more easily identify an Authorized Digital Seller so that they have confidence that the buyer has purchased an inventory of genuine publishers and not fake publishers who might be harmful.

Ads.txt Problem For Google Adsense
Actually using ads.txt is still not mandatory, but it is recommended. The ads.txt file can help buyers identify fake inventory and help you receive more advertiser spending, which in other cases may lead to fake inventory.


Thus if you receive a warning about ads.txt as above but the adsense ad is still showing, can be ignored, it will disappear later. But if the ad does not appear, then making ads.txt must be done. If not, then the ad will still not appear so the revenue is clearly not present (such as ads posted on sites that have not been authorized.

How do I create Ads.txt?

Simply create a text file with the name ads.txt placed in the root domain that contains: the publisher's ad code, publisher ID code, status code and unique code. Suppose for google adsense: google.com, pub-00000000000000, DIRECT, f08c47fec0942fa0.

Please note that ads.txt must be placed in the root of the main domain and cannot be placed in the root subdomain. Suppose that it must be on namadomain.com/ads.txt and not on the blog.namadomain.com/ads.txt. If a subdomain is installed an adsense ad with the same ID ID, no need to create ads.txt again.

What if the subdomain is installed with different adsense ads from the ID with the main domain?

I have experienced, publisher ID adsense is different between domains and subdomains. Ads do not appear in the subdirectory even though ads.txt has been created at the root of the subdomain (different blogs).

Problem solving is quite simple. Add the ads code again for another ID. Thus in the ads.txt file there will be several publisher codes. Also for other ad publishers. Suppose:

google.com, pub-0000000000000001, DIRECT, f08c47fec0942fa0.
google.com, pub-0000000000000002, DIRECT, f08c47fec0942fa0.
google.com, pub-0000000000000003, DIRECT, f08c47fec0942fa0.
facebook.com, 1325898517502065, DIRECT #video, banner, app
liveintent.com, 87, DIRECT #banner
taboola.com, 688168, DIRECT #native
To test see: domain-name-main / ads.txt

What about blogger.com (blogspot)


If you still use subdomain.blogspot.com, it is not necessary because ads.txt has been created by blogger.com and we cannot enter the root of blogspot.com. Ignore if you get a warning.

However, what if blogspot has used a special domain or custom domain?

There has been no official statement from the blogger to overcome this, because the domain leads to the google server so that it still cannot enter.


There are tricks that are reviewed on Wikitrik.com and successfully implemented at http://qposter.com/ads.txt. But there is still an error for https that uses cloudflare. If you want to try, see the next review.

This requires a little trick because generally the domain is only set leading to blogger.com at the domain registrar. For that, you must have your own hosting and not necessarily expensive.

Choose the cheapest because only the file manager and DNS manager are needed and do not need large diskspace for site files. We recommend that you first contact CS webhosting for this facility. If you already have hosting, just add the domain (addon) to your web hosting.


Login to cPanel> File manager> select the root (folder) domain that will be added ads.txt.

Search or open the .htaccess file (if it hasn't been created yet) and fill in:

RewriteCond% {REQUEST_URI}! ^ / Ads.txt $
RewriteCond% {HTTP_HOST} ^ namadomain \ .com [NC]
RewriteRule ^ (. *) $ Http://www.namadomain.com/$1 [L, R = 301]

Note: Change the domain name with yours and save it

After that, make ads.txt in the root (folder) of the domain that contains adsense code, namely:

google.com, pub-0000000000000001, DIRECT, f08c47fec0942fa0.

Change your pub ID, then save it.

The ads.txt file will function 24 hours after it was created.

The next step is to go to the registrar or the place where you bought the domain.


Enter DNS RECORD and add the A record to your hosting IP


menambah DNS record


Another alternative is to direct the domain to our IP hosting, then in cPanel create a DNS record for the custom blogspot domain.

The final step (if not already) goes to the blogger.com dashboard and uncheck the redirection option.


Note: Again, the steps above can be done for a custom blogspot domain if the ad does not appear and requires creating ads.txt. If the ad continues to appear, just ignore it because ads.txt is not mandatory, only recommended and not an adsense account violation.

Serious problem for Ads.txt at free Subdomain.

For adsense publishers who have blogs using free subdomains such as tumblr, weebly, or other subdomains, it might be a hassle. If there is a warning, of course it cannot overcome it because it cannot enter the root domain. Especially if the subdomain provider installs the pub ID on its main domain, then the ad won't appear because of the ID difference with ours. However, even though there was a warning but the advertisement still appeared, just ignore it.

Postingan terkait:

Belum ada tanggapan untuk " Troubleshooting Ads.txt For Google Adsense"

Post a Comment