Advertising in JavaScript web applications turned out to be much more complicated than I thought. First of all, when I say "100% JavaScript web application," I mean a tiny HTML file that loads and runs a JavaScript file that draws all the content on the page. In other words, the website is completely empty until JavaScript executes.
Adsense is out of the question. They immediately reject your ad application based on an automatic crawl of a website where they “detect” that the page “has no content”. I sent a bunch of Adsense support letters trying to get someone to manually check the application, but they were all answered with the same automatically generated "no content" email.
I also tried using Chitika, but after I tried to display the ad, I refused. It just doesn't work when I add the ad code after that the page has opened, which I have to do in the JavaScript application. I also tried to place the ad code in an iframe that works, but the ad loses the page context, which is very important because it cannot find the Google search terms.
Do you have any experience with advertising in JavaScript applications? How do you do this?
source share