Skip to main content

Getting a ReactJS app approved on Adsense

I developed a memory game called Kobadoo as a Single-Page Application (SPA) using ReactJS. Since the very beginning I tried to monetize the game by displaying ads, but it was not that easy. Despite the good traffic Kobadoo had, all my applications to Adsense were consistently rejected by Google with the cryptic argument "Valuable Inventory: No content". 


My first guess was that the landing page needed even more text. I had at that time two or three paragraphs describing the game, and I ended up adding two more with the hope that it would help Adsense find better contextual ads. However, this change made no effect and the application was rejected again.

Then, after reading some articles stating the poor SEO performance of ReactJS applications, I decided to implement Server-Side Rendering (SSR) with NextJS, which is a proven technique to rank better on search engines. Sadly, Google rejected once again my application with the same explanation.

Disappointed, I decided to use a different ad network with lightweight approval processes, but the CPM was so low that, after some months, I chose to make a final attempt to get approved on Adsense.

I created a blog on Blogger with three articles that helped Kobadoo improve its SEO. Two weeks later I submitted a new application on Adsense including both, kobadoo.com and blog.kobadoo.com. A few days later I got, finally, an approval email from Google.

So my best advice to anyone stuck with the same problem is: create a blog under the same domain and fill it with good content.

Popular posts from this blog

Microsoft will soon launch a feature to schedule chat messages on Teams

In 2021 I wrote an article  where I shared why I started scheduling my emails and the positive impact this easy action has had on the wellbeing of the recipients and on my own work-life balance . However, one of my frustrations is that, as of today, it is not possible to schedule chat messages or posts on Microsoft Teams. Have you ever received a push notification on a Friday evening  from a non-urgent message that could have easily waited until Monday? Yes, you know what I am talking about! The good news is that Microsoft is currently working on this feature, and it is expected to be released in July 2022 , as we can see on Microsoft's roadmap . It was back in June 2019 when this useful functionality was first proposed on Microsoft Tech Community . It soon gained many supporters that pushed it through the approval channels. I can't wait to start using this!

How to jump to time offsets in HTML5 video

Let's say that you have a 30-minute WEBM video file, from which you just want to play the following video segments , jumping from one to the other automatically  without interruptions : [00:01:25.00 - 00:02:25.00] -> from second 85 to 145 [00:11:40.00 - 00:11:55.00] -> from second 700 to 715 [00:20:26.00 - 00:21:07.00] -> from second 1226 to 1267 [00:26:11.00 - 00:28:01.00] -> from second 1571 to 1681 To increase the complexity, let's think that you have these video segments in a PHP variable $arrayVideoSegments  (normally the case if they were retrieved from the database).   $arrayVideoSegments[0]->startTime = 85   $arrayVideoSegments[0]->endTime = 145   $arrayVideoSegments[1]->startTime = 700   $arrayVideoSegments[1]->endTime = 715   $arrayVideoSegments[2]->startTime = 1226   $arrayVideoSegments[2]->endTime = 1267   $arrayVideoSegments[3]->startTime = 1571   $arrayVideoSegments[3]->endTime = 1681 The fo

How to disable cookies on Google Analytics so that you don't need a consent banner

The integration of Google Analytics into a website or blog is not GDPR-compliant by default . You must first obtain explicit consent of the end-users to store cookies, describing in your privacy policy how you intend to use collected personal data. This is the reason why most websites nowadays display an annoying (but necessary) consent banner. If you fail to do so or if you only ask for implicit consent, you are at risk of being fined. However, it is possible to disable cookies on Google Analytics (GA) respecting end-users privacy, so that you don't need to ask for consent. The downside is that you will not be able to distinguish the type of user (unique vs new vs returning) and you will miss some session insights. If these details are not relevant for you, here is how you do it. Disable Google Analytics cookies on a custom website If you have a custom website with full access to the source code, you can simply insert the script below between the <head>  and </head>