|
DemoGwtAdsene
Demo GWT Adsense Integration
Plan B Due to No Ads IframingSince I can't advertise Google in iframe, I setup Affiliate Banner Rotator. More about that here How I Integrated AdsenseMy goal is to integrate Adsense into Java code so I coud draw or render the ad into the area I would like it and when the application state changes like a page loads or reloads I would like to redraw or refresh the ad like a page would. ReferenceIFrame MethodIts easy to do a iframe method for adsense. I load up the page with the script in it and it works fine.
Script IncludeI can't seem to get this to work yet b/c ad will erase the page and put it self on it. Google teams need to make for better Adsense integration for Applications! Below works although has bad side effect.
|
► Sign in to add a comment
cccc
Adsense policy now forbids iframe:
"AdSense? code may not be altered, nor may the standard behavior, targeting or delivery of ads be manipulated in any way that is not explicitly permitted by Google. This includes but is not limited to the following: clicking Google ads may not result in a new browser window being launched, nor may Google ads be placed in an IFRAME."
https://www.google.com/adsense/support/bin/answer.py?answer=48182
Can't seem to find a solution to get GWT and Adsense to play together.
Here is Plan B, since I can't use adsense in an Iframe. http://code.google.com/p/gwt-examples/wiki/DemoAdvertisingAffiliate