此功能适用于付费用户等场景。不过,如果某些页面完全不需要展示广告,建议直接省略RevIQ脚本,而非通过此函数禁用。This can be useful for paid users, though it
is recommended to omit the RevIQ script entirely on pages where ads are not
desired.
boolean
必填
是否启用广告 Whether ads should be enabled
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
设置页面上广告的显示状态 Set visibility of ads on the page
reviq.setAdsEnabled(false);
// 仅在广告此前已被禁用的情况下需要调用 Only needed if ads were previously disabled
reviq.setAdsEnabled(true);