I've built a 'sliding billboard' snippet using javascript in which the ad shows the top 30x960 of an ad on page load and when the user clicks the Expand button it slides open to reveal the whole 300x960 ad. All works great when I integrated AdSense but (always a but!) when we have no ad to display it still shows the 30x960. This would be easy to not show using a conditional but I'm not quite sure how I can do that since it's java that's pulling in the ad. I'd be as happy as a fat kid in a candy store if I could do something like:
if (a google ad is ready to serve) { show the sliding billboard script }
Is something like this possible?