I used server side codes to hide div from googlebot
public static function isNotGoogleBot()
{
$ua = strtolower($_SERVER['HTTP_USER_AGENT']);
if(strpos($ua,'googlebot') === false && strpos($ua,'mediapartners-google') === false)return true;
return false;
}