I heard from the adsense forum, that it is allowed. As i am running a revenue sharing site, i have integrated old adsense codes.
As long as the code still works, you can use it. It's a good idea to migrate to the new code when you can, because eventually the old code will quit working though.