有什么可以帮助吗?我实际上看到一个网站看起来像是在一个较小的屏幕上调整大小的广告…我不知道这是可能的,因为它是java脚本,对吧?
任何反馈将是非常有帮助的。谢谢!
解决方法
5. Prohibited Uses. You shall not,and shall not authorize or encourage any third party to: (i) […] (ii) edit,modify,filter,truncate or change the order of the information contained in any Ad,Link,Ad Unit,Search Result,or Referral Button,or remove,obscure or minimize any Ad,or Referral Button in any way without authorization from Google; 07001
另一种解决方案是通过JavaScript在有条件的基础上提供广告。例如,当页面加载时,retrieve the size of the browser’s viewport,如果浏览器的视口宽度小于首选广告的宽度,则会投放较小的广告。它应该类似于CSS媒体查询,除非用户调整浏览器的大小,否则不会投放新广告,因为这会产生错误的展示(单个页面上的多次展示,而不会刷新),这也是针对他们的Terms of Service:
5. Prohibited Uses. You shall not,and shall not authorize or encourage any third party to: (i) directly or indirectly generate queries,Referral Events,or impressions of or clicks on any Ad,or Referral Button (including without limitation by clicking on “play” for any video Ad) through any automated,deceptive,fraudulent or other invalid means,including but not limited to through repeated manual clicks,the use of robots or other automated query tools and/or computer generated search requests,and/or the unauthorized use of other search engine optimization services and/or software; 07001