Skip to main content

Udacity Front-end Developer Challenge Daily Sprint Updates

As per the Next Generation Tech Booster Challenge Program, we are asked to submit a daily progress report on slack. We just need to answer these three questions in the post: • What did I work on today? • What I will work on tomorrow? • What issues are blocking my progress? I take this logging opportunity to also report on the progress I am making with my Coursera course “Server-side Development with NodeJS, Express, and MongoDB”; and my Linux Foundation course “LFS258 Kubernetes Fundamentals”.  To help with completing above, here are some links posted by the slack moderators that I try to use to get through my workload: How to Organize your Desk like a Pro Tips on how to achieve consistency Strategies we can employ to stop Procrastination Eliminate Time Wasting Activities by Using the Eisenhower Box Warren Buffett’s “2 List” Strategy The Ivy Lee Method The 15-Minute Routine Anthony Trollope Used to Write 40+ Books The instructor for the course is Daniel and is pure entertainment.  Ther

Fixing ads.txt error in AdSense for your websites hosted on Blogger

We were recently approved to setup Google Adsense for a few websites. I was so ecstatic because I hadn't been able to get this going for a while due to some accounting errors. I assume there was a time duration where that token expires and am now glad to be able use this product. During the setup on our blogger sites, I ran into some technical errors pointed at fixing ads.txt otherwise it may impact ad revenue, i.e. "earnings at risk you need to fix some ads.txt file issues to avoid severe impact to your revenue". 

To summarize the steps needed to enable Google Adsense on your site, you would simply need to do the following: 

1) Create an ads.txt file in the root of your Blogger site like by going to Settings > Moentization > Enable custom ads.txt slider; 

2) Add your publisher ID to the ads.txt file in Blogger using string ", pub-0000000000000000, DIRECT, f08c47fec0942fa0" where pub-0000000000000000 is your personal publisher ID; and 

3) Grab or create your ad code in AdSense and paste inside <head> tag if by domain or inside <body> tag if by ad unit respectively. 

I was able to successfully setup one domain where DNS zone is hosted on AWS Route 53 DNS service. The other two DNS domains were hosted with and I was consistently getting errors asking me to fix ads.txt otherwise revenue will be skewed. This error was particularly hard to troubleshoot because making changes to ads.txt in Blogger took some time to take effect and so did DNS changes. I found that did not work for the sites hosted on so I had a feeling it was DNS service related because the other site where DNS zone was hosted on AWS Route 53 was able to display correctly. 

Here are the 3 things I followed to fix this ads.txt error when using custom domains in Google Blogger: 

1) Re-validate your site using Google Webmaster Central. 

Go to I found that the two sites with issues displaying were missing DNS TXT records "google-site-verification=xxxx" while the other one hosted on AWS Route 53 had that record. To re-validate your site, add a property in Webmaster Central, type in your domain, and pick DNS TXT record as the method to prove ownership of the domain.

Make the DNS TXT record changes in DNS Manager at or whoever your DNS provider is. Wait at least 30-60 minutes for the DNS changes to propagate everywhere and then come back to Webmaster Central and click Verify. 

If you have different websites, make sure you login using the specific account prior to validating the domain using Google Webmaster Central.

2) Ensure the "redirect domain" setting is enabled in Publishing section of your blogger website.

From Blogger, go to Settings > Publishing section and disable the redirect domain slider. This setting redirects your custom domain to I already had this slider setting enable but I turned it off in order to test What I found was that I couldn't set the slider back to enabled. The reason was that it couldn't verify ownership of the domain because of the missing DNS TXT records. I must have verified domain DNS ownership a different way many years ago and that method is probably deprecated. After verifying DNS domain ownership in step #1, continue with this step to switch the "redirect domain" slider successfully gets enabled or re-enabled if you turned it off.

3) Re-test by going to If you still get and error displaying the ", pub-0000000000000000, DIRECT, f08c47fec0942fa0" string on the page, then wait 12-24 hours for the above changes to take effect. 

4) If step 3 correctly shows the string, login to AdSense and the red error bar at top asking you to fix ads.txt will no longer come up.


Popular posts from this blog

Wall of Graduates from the AI Product Manager Nanodegree

The "Wall of Graduates" is a Google sites page showing a profile list of students who graduated from the Udacity AI Product Manager nanodegree. We were asked two questions to include in our profile and there are those two questions.  What obstacles (big or small!) did you face during Phase 2 & how did you overcome them?    I think the biggest was time constraint. I was also doing my Georgia Tech course in the spring and this fell on the same timeline. The other obstacle is that the course material was not technical but more for product managers. This meant a lot of time was spent networking in slack participating community-driven initiatives. I did learn Artificial Intelligence concepts but it didn't need to last from December 2020-December 2021.  How are you making use of your newfound skills?  I don't use AI at work but it has allowed me to open my eyes to possibilities. We recently implemented MS Azure Cognitive service utilizing text translation. Although not

60 Days of Udacity: A Bertelsmann Technology Scholarship in AI

I applied and was recently awarded the Bertelsmann Technology scholarship where a group of students take part in an Artificial Intelligence track made up of 5 parts to be completed in 3.5 months.    As part of taking the class, we have to take part in a slack channel where we post our daily studies for 60 days reflecting on what we have learned. This is a transcription of those 60 days. The public github wiki is located here  Day 1:  I am in p3  (Datasets) doing the xray annotation project. I have created the appen job using the "Image Categorization" template. I uploaded the xray image data and modified the CML to make the  questions specific to checking for pnemonia. Also updated the Examples section. I am still working out the usage of conditional only-if in checkboxes to determine what other smarts to include when annotators go through the page. Created one Question so far and will continue working on the ot