How to fix the Google AdSense Ads.txt Not Found issue - Resolved

Описание к видео How to fix the Google AdSense Ads.txt Not Found issue - Resolved

I will show you how to resolve the Ads.txt file NOT FOUND issue in Google AdSense. In a previous video, we covered obtaining a free SSL certificate for your domain using Cloudflare. If you haven’t seen it yet, I recommend watching and learning it from that tutorial.

Issue Explanation:

"After enabling SSL with Cloudflare, some of you may have encountered a problem where Google cannot find your ads.txt file, even though it’s correctly placed in your site’s root folder. Here, you can see that Google couldn’t locate my ads.txt file on my site, despite it being properly placed and accessible."

"Let's proceed with the solution."

"First, log in to your Cloudflare account and ensure you’re on the dashboard for your site, Master2Teach, which we set up in the previous tutorial."
"Navigate to the Workers and Pages menu on the Cloudflare sidebar, then click Overview."
"Click the 'Create Worker' button. This will load the default 'Hello World' worker page."
"Provide the name for the worker, such as 'Master2Teach Ads txt'. We’ll edit the script shortly."
"Deploy the worker."
"Great!! Your project is deployed to Region Earth. let's edit the script code."
"Replace the default script with the provided script, which you can find in the description below."
"In the 'adstxt' constant, paste the Google AdSense-provided code. Verify the status by clicking the send button; you should see a status code 200, indicating success."

"Deploy the script to proceed further. Save and deploy."

"You can also check visitor details by clicking on your site name."

"Next, we need to manage the route. Navigate to the Workers Routes menu."

"Click on 'Add Route'"

"Paste your site’s ads.txt URL in the 'Route' field, for example, 'master2teach.com/ads.txt'"

"From the worker dropdown, select the worker we created earlier."

"Save the route."

"Excellent! The 'Master2Teach Ads txt' worker is now assigned to route 'master2teach.com/ads.txt'"

"Verify that you can access the ads.txt file from your browser."

Navigate to Google AdSense page, here I'm re-requesting to review my site contents where my ads.txt file will be auto-detected by the Google AdSense system. You can navigate to your site.

"Under the 'Verify site ownership' section, you’ll find a 'Check for updates' link where you can verify your site ownership promptly."


"This concludes our tutorial on verifying site ownership on Google AdSense using the ads.txt file when using Cloudflare.

Комментарии

Информация по комментариям в разработке