by codeka · 14y ago · 0 comments
In the end, I had to take out my beautiful JavaScript-based gallery and present the "degraded" experience all the time because after it went live, pageviews dropped "dramatically" and the ad people didn't like that.
In retrospect, I probably could've just refreshed the ads via JavaScript when I transitioned to a different photo, but the potential drop in ad revenue meant I was having to work quickly...
Dynamically refreshing ads usually is not allowed with ad networks, since it can be abused to inflate adviews. For example, look at the AdSense policy:
https://support.google.com/adsense/bin/answer.py?hl=en&a...
"Any method that artificially generates clicks or impressions on your Google ads is strictly prohibited. These prohibited methods include, but are not limited to, repeated manual clicks or impressions, automated click and impression generating tools and the use of robots or deceptive software. "
Whether or not using javascript falls under the category of "impression generating tools" is probably open for discussion, but I wouldn't be surprised if Google didn't like this.
But obviously Google gets to call the shots with their own services. They only answer to their customers, who aren't whining about this.