Msg#: 4473447 posted 8:17 am on Jul 7, 2012 (gmt 0)
Against the policy, and appending Adsense code wouldn't work.
How does embedding dynamically vs. static embedding violate the policy?
It shouldn't be a problem that I'm aware of but it probably bears re-reading the policies to make sure, but as long as you aren't altering the code or doing anything forbidden like pop-ups, floating ads, etc. it should be fine.
The only way to really be sure is to ask an AdSense rep.
Msg#: 4473447 posted 4:22 am on Jul 8, 2012 (gmt 0)
jQuery is client-side. Appending the code itself won't even work. You can append an iframe that has the adsense code, but using iframe is against policy. Also you can switch to the DFP async code and call 'gpt.js' after appending the ad code, but as always best thing to do is to contact Adsense first..
Msg#: 4473447 posted 4:58 am on Jul 8, 2012 (gmt 0)
You may want to translate the German if you can't read it, but here's one supposed solution to using jQuery with AdSense which is a year old so who knows if it still works: [software-solutions-juergens.com...]
Whether it's permitted or not is another question, but it seems technically doable.