Sorry, you do not have permission to ask a question, You must login to ask a question.

Sorry, you do not have permission to ask a question.

brainchime.com

brainchime.com

brainchime.com Navigation

  • Home
  • About Us
  • Contact Us

Mobile menu

Close
  • Home
  • Categories
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags

brainchime.com Latest Questions

Admin
Admin
Asked: October 9, 20242024-10-09T15:55:25+05:30 2024-10-09T15:55:25+05:30In: Wordpress

How to resolve Ads.txt Status Not Found error reported by Google adsense for the wordpress site?

When I was adding  WordPress website to my existing Google AdSense account using the Site Kit plugin by Google. My site ownership was verified and the Google AdSense snippet code was automatically placed on my website header section. The code is as follows. I replaced my publisher ID with the zeros.

<!-- Google AdSense snippet added by Site Kit -->
<script type="text/javascript" async="async" src="https://pagead2.
googlesyndication.com/pagead/js/adsbygoogle.js?client=
ca-pub-0000000000000000&amp;host=ca-host-pub-0000000000000000"
 crossorigin="anonymous"></script>

<!-- End Google AdSense snippet added by Site Kit -->

After that, I was asked to request for review and I got the following message We will run some checks on your site. This usually takes a few days, but in some cases, it can take 2–4 weeks. Learn more about site approvals. Then I visited the Google Adsense Sites section where it shows my Site URL, Approval status as, and ads.txt status as Not found. Then I clicked on the question mark next to Ads.txt status and it showed me the possible status and its meanings.

Check the status of your ads.txt file:

Not found: No ads.txt file was found when the site was last crawled.
Authorised: Your publisher ID was found in the site’s ads.txt file.
Unauthorised: Your publisher ID wasn’t found in the ads.txt file, and AdSense can’t show ads.
Not applicable: Your publisher ID isn’t needed in the ads.txt file.

This makes me realize that I forgot to create a ads.txt file on my new WordPress website root directory. When I checked  ads.txt on the website using this URL https://mywebsitename.com/ads.txt, I found 404 pages opened.

how to Add or place an ads.txt File in the WordPress root directory.

google-adsense
  • 0
  • 0
  • 11
  • 1
  • Share
    • Share on Facebook
    • Share on Twitter
    • Share on LinkedIn
    • Share on WhatsApp

Related Questions

  • How do I disallow specific page from robots.txt
  • Should I no index category and tag pages wordpress?
  • how can i update last modification date in yoast generated sitemap.xml on all post at once?
  • How to disbale Yoast schema output for Q&A website?
  • Robots.txt file not getting updated in WordPress site using Advanced Crawl optimization setting in Yoast premium
  • Duplicate meta descriptions multiple tag errors reported by Bing Webmaster on my wordpress site
  • what is the difference between the two files ?robots=1 and robots.txt?
Leave an answer

Leave an answer
Cancel reply

Browse
Browse

Choose from here the video type.

Put Video ID here: https://www.youtube.com/watch?v=sdUUx5FdySs Ex: "sdUUx5FdySs".

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Admin
    Admin
    2024-10-09T16:13:59+05:30Added an answer on October 9, 2024 at 4:13 pm

    You can create an ads.txt file in your WordPress website root directory by following these steps.

    1. Go to your WordPress website Dashboard.
    2. Click on Plugins in the WordPress menu.
    3. Click the Add New Plugin button at the top of the Plugins page.
    4. Type Filester in the Search Plugins area at the top right corner. This will search the plugin and bring in the results of File Manager Pro -Filester, an advanced File Manager and code editor.
    5. Click on the Install Now button on the filester plugin.
    6. Once the plugin is installed, click on the Activate button. Your filester plugin will get activated on your WordPress website, and a new menu option File Managerwill appear in your WordPress website dashboard menu.
    7. Click on the File Manager option on the menu. This will open the Filester plugin page, and in that, you will notice the public_html folder in the left menu as a main option under other folders like .private, wp-admin, wp-content, and wp-includes and on the right side, you will see these folders and other files like .htaccess, index.php, robots.txt, and others.
    8. Right-click on the right side, where all the folders and files appear, and a dialog will appear. Select, and a new continuous dialog will appear next to the first dialog box. Select TXT: Plain text. This will create a NewFile.txt in your root directory.
    9. Rename the NewFile.txt to ads.txt during its creation or right-click on the NewFile.txt and select the option Rename on the appearing dialog box.
    10. Once the file is renamed to ads.txt, Right-click on the ads.txt file and open the file in edit mode by selecting the option Edit File, and then TextArea editor, the ads.txt will be opened in edit mode.
    11. Now, you can copy the default ads.txt code mentioned in point 5 by visiting the Ads.txt Guide page.
    12. For your convenience, I am writing that code here as well. Here, pub-0000000000000000 is your publisher ID. google.com, pub-0000000000000000, DIRECT, f08c47fec0942fa0
    13. Replace pub-0000000000000000 with your publisher ID, Therefore to find your publisher ID then go to your AdSense account. Click on the Account option on the left menu. The Account option will get expanded and you will see the Settings option under it, click on that, and the Setting option will further expand and you will see the Account Information option under it. Click on that option and the first thing you will see next to the menu options is your publisher-ID.
    14. Once the code is pasted to the ads.txt file. Click on Save. Now your ads.txt file is ready and the next time when Google bot crawls your website it will find the ads.txt file on your website and will change your ads.txt status.
    15. You can also verify the ads.txt presence on your website by just adding /ads.txt to your website URL on the browser and pressing enter. You will see the code that you added to the ads.txt file.https://mywebsitename.com/ads.txt
      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp

Sidebar

Statistics

  • Questions 143
  • Answers 177
  • Comments 0
  • Popular
  • Answers
  • Admin

    Why do we use OVERLAY keyword in data structure subfields ...

    • 12 Answers
  • Admin

    How to call sql stored procedure with output parameter from ...

    • 6 Answers
  • Admin

    How to use declare global temporary table statement in RPGLE?

    • 5 Answers
  • Admin
    Admin added an answer CPF4131 is a record format level check error. This indicates… October 18, 2024 at 1:58 am
  • Admin
    Admin added an answer To open the command prompt with administrator rights you can… October 17, 2024 at 12:27 am
  • Admin
    Admin added an answer In AS400, "AS" stands for Application system. This article discusses… October 13, 2024 at 12:49 pm

Related Questions

  • Admin

    How do I disallow specific page from robots.txt

    • 1 Answer
  • Admin

    Should I no index category and tag pages wordpress?

    • 0 Answers
  • Admin

    how can i update last modification date in yoast generated ...

    • 1 Answer
  • Admin

    How to disbale Yoast schema output for Q&A website?

    • 2 Answers
  • Admin

    Robots.txt file not getting updated in WordPress site using Advanced ...

    • 1 Answer

Trending Tags

.htaccess (1) as400 (123) bing-webmaster (2) control-language (12) db2 (33) ftp (8) google-adsense (1) google-search-console (3) https-redirect (1) iasp (4) ifs (22) jar (4) operations (3) php-my-admin (1) qshell (3) robots.txt (4) rpg (26) stored-procedure (3) stroed procedure (1) triggers (1) yoast (4)

Explore

  • Home
  • Categories
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags

Footer

BrainChime

BrainChime is a blog that posts question-and-answer-based format articles on diverse topics and engages in discussions by allowing people to provide answers/comments without the need to register and log in.

About Us

  • About Us
  • Contact Us

Legal Stuff

  • Terms of Use
  • Privacy Policy
  • Cookie Policy

Help

  • FAQs
  • Categories
  • Tags

© 2024 BrainChime. All Rights Reserved
by BrainChime.

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.