Monday, December 4, 2023

Started showing our own Ads using javascript on many of our websites

A few days ago, my Google Adsense account was disabled. I spent a significant amount of time exploring various alternative ad networks, but some didn't accept me, and the ad quality on those that did wasn't good enough. I didn't want to show my website viewers low-quality, potentially harmful ads. So, I decided to take control and show my own banner ads.

Initially, I looked for WordPress plugins to manage this, but couldn't find one that fit my needs. So, I rolled up my sleeves and wrote my own code to show the ads. This way, I can update ad images and links in one central location, and all my websites will automatically reflect the changes. It makes adding and removing ads a breeze!

Actually, I implemented a similar thing many years back when I was actively developing and promoting our products. That time it took a few hours to write that code. But this time I used ChatGPT and Bard to create the code within a minute. So, I need to test it properly.

I would like to know whether it is working properly on all browsers and devices. Let me know if you notice any issues with the ads which are being shown on this blog, and my other sites, TheQuotes.Net and Jone.Live

I'll keep exploring this approach and update you on how it goes. If it runs smoothly, I may not need any other ad networks, or I might keep both if they don't interfere with each other. But my long-term goal is to display banners from other businesses, once I've taken steps to boost traffic to my websites. Since I spent all my time and effort running my YouTube channel over the past many years, traffic to my websites has reduced. Now I am planning to focus on my website rather than my YouTube channel. After my AdSense account issue, I have various other options for my websites. But in the case of the YouTube channel, I don't have any other easy alternative. It made me decide that I need to give more priority to my own blog and website than my YouTube channel.

For my YouTube channel, I am planning to accept sponsored ads as I explained here.

If anyone wants me to do any kind of custom web development work, you can hire me based on affordable hourly charges.

No comments:

Search This Blog