更新 ads.txt Updating ads.txt
为了在您的网站上投放RevIQ的广告资源,您需要将我们的卖家信息添加到您的ads.txt(授权数字卖家)文件中。 In order to run RevIQ’s demand on your site, you will need to add our sellers to your ads.txt (Authorized Digital Sellers). 简而言之 — 将your-domain.com/ads.txt301重定向至rev.iq/your-domain.com/ads.txt,或手动添加我们托管文件中的内容。 TL;DR - Redirect (301) your-domain.com/ads.txt to rev.iq/your-domain.com/ads.txt, or manually add the contents of our hosted file.使用重定向 Using redirect
我们推荐重定向到我们的ads.txt文件。这样,每当RevIQ新增需求合作伙伴时,该文件便可自动更新。 We recommend using a redirect to our ads.txt file. This way, the file can be automatically updated whenever RevIQ add new demand partners.如果您有现有的ads.txt条目,我们可以将其添加到托管文件中。您的RevIQ技术联系人(hi
;D)可能已在您初次接入时将其导入,但如果您现有的ads.txt内容未出现在托管文件中,请联系我们。
If you have existing ads.txt lines, we can add them to the hosted file. Your
RevIQ tech contact (hi ;D) probably imported these during your onboarding, but
if your existing ads.txt is not present in the hosted file, please reach out
to us.
Cloudflare
Cloudflare
- 登录 Cloudflare dashboard 并选择您的账户和域名。
- 前往 Rules > Redirect Rules。
- 在 Single Redirects 下,选择 Create Redirect Rule。
-
在 Rule name 中为规则输入一个描述性名称。
例如:Redirect to RevIQ ads.txt。 - 在 When incoming requests match 下,定义 Custom filter expression:
- Log in to the Cloudflare dashboard and select your account and domain.
- Go to Rules > Redirect Rules.
- Under Single Redirects, select Create Redirect Rule.
-
Enter a descriptive name for the rule in Rule name,
Example:Redirect to RevIQ ads.txt. - Under When incoming requests match, define the Custom filter expression:
- 在 Then 下,为匹配规则表达式的请求定义 URL 重定向设置:
- Under Then, define the URL redirect settings for requests matching the rule expression:
- 如需保存并部署规则,选择 Deploy。如果暂未准备好部署,选择 Save as Draft。
- To save and deploy your rule, select Deploy. If you are not ready to deploy your rule, select Save as Draft.
Apache
Apache
将以下代码添加到您的
.htaccess文件:
Add the following line to your .htaccess file:Redirect 302 /ads.txtNginx
Nginx
将以下代码添加到您的
nginx.conf文件:
Add the following line to your nginx.conf file:nginx.conf
手动设置 Manual setup
您也可以手动将我们托管文件中的条目添加到您自己的ads.txt文件中。
You can also manually add the lines from our hosted file to your own ads.txt file.
File
File
从托管文件 https://rev.iq/your-domain.com/ads.txt 中复制条目,并将其添加到您自己的
ads.txt文件中。Copy the lines from the hosted file at https://rev.iq/your-domain.com/ads.txt
and add them to your own ads.txt file.Wordpress - Advanced Ads
Wordpress - Advanced Ads
- 在您的 WordPress 后台 中前往 Advanced Ads > Settings。
- 下滑至 ads.txt 部分,将来自 https://rev.iq/your-domain.com/ads.txt 的条目粘贴进去。
- Go to Advanced Ads > Settings in your WordPress dashboard.
- Scroll down to ads.txt, paste the lines from the hosted file at https://rev.iq/your-domain.com/ads.txt.