通过 HTTPS 投放广告
我知道不存在愚蠢的问题,但这是:您可以通过 adsense 或其他完全支持 https 的网站上的其他方式提供基于上下文的广告吗?
I know there is no such thing as a dumb question but this is: Can you serve contextual based ads via adsense or others on a site that is entirely behind https?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
更新:
Google 已意识到此问题,但未提供正确配置的 HTTPS此时他们的代码版本。 它可以通过将 http 替换为 https 来工作,但如上所述,您会在浏览器中遇到各种错误。
Update:
Google is aware of the issue but does not offer a properly configured HTTPS version of their code at this time. It'll work by swapping out http for https, but as mentioned above you'll get various errors in browsers.
AdSense 现在支持 HTTPS。 只需删除广告代码的“http:”部分即可。
AdSense now supports HTTPS. Just remove the "http:" portion of the ad code.
您可以,但访问者会收到一条消息,指出您的网站在 Internet Explorer 中包含安全数据和不安全数据。 大多数其他浏览器也有一种方法来传达这种状态。
You can but visitors will receive a message that your site contains secure and none secure data in internet explorer. Most other browsers have a way to communicate this state aswell.
是的,只要该网站不受 SSL 证书保护(即访问该网站的客户端需要拥有证书),Google 就完全能够为您的网站编制关键字索引,以便为您的网站提供合适的广告。
我不确定 Google 是否也通过 SSL 提供 adsense 代码,如果没有,浏览器将警告您的访问者该页面可能包含不安全元素。 我确实知道他们的分析代码(对于 Google 分析)确实包含 SSL 可能性。
如果您还有其他问题,Google 的 adsense 支持团队/常见问题解答将能够更好地回答您的问题,因为您可以让他们知道您正在谈论哪个网站!
Yes, as long as the website is not protected by SSL certificates (in that the client accessing the website needs to have a certificate) Google is perfectly capable of indexing your site for keywords to cater the right ads for your website.
I am not sure if Google makes the adsense code available over SSL as well, if not your visitors will be warned by the browser that the page may contain insecure elements. I do know that their analytics code (For Google analytics) does contain an SSL possibility.
In case you have any more questions, Google's adsense support team/faq will be able to better provide answers to your questions, since you can let them know what site you are talking about!