Got your PM too.
I'm not familiar with SOBI2 so I do not have a solution for you. However, I think most likely it's because there's no trigger in SOBI2. When there's no trigger, none of the plugin will be processed.
But I've done a quick research for you and found something.
Please refer to this first:
Re: SOBI 2 and Jumi - can't get them to play nicely
Note: Jumi is another plugin similar to DirectPHP. So whatever solution that work for Jumi will also work for DirectPHP, and most likely googleAds.
Then followed by this:
How to Execute Mambots in Templates
Hope this will solve your proble.