I wrote in a Google Ads forum to be sure that this plugin does not violates the license of the Google code, and the only answer that I received agrees with me that this code is legally correct.
This is the answer in the forum http://www.google.com/support/forum/p/adsense/thread?fid=79d86b8c4e65ba900004a2e12c05834a&hl=es