Can we serve Googlebot a different page with no ads?

Vic in Utah asks a question, can we feed Googlebot a version of a page that does not contain any advertising code, JavaScript or otherwise.

Same exact contact, which I think means content navigation, images, et cetera.

But just no ad code.

Thanks, Vic.

No, I would not do that because that's cloaking that's serving different content to Googlebot than to users.

And it's okay to serve up advertising code because typically that stuff that Googlebot knows not to execute, and even if it doesn't know about it, it will typically fetch the page, and then that page will be blocked by robots text.

So anytime you're doing something different for users versus Google bot, that's where you're running into a high risk range, or if your code has.

If user agent equals Googlebot, that's where you should start to put up a yellow flag and think about that very carefully.

So just serve us up the exact same page that a regular user would see.

We'll know not to execute the advertising code.

It won't make a major difference whether you have one JavaScript call on the whole page as far as how your rankings migh change.

And so don't do all that special work just to shoot yourself in the foot.

Instead, show us the exact same page that a typical user would see.