Updating 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). 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
We recommend using a redirect to our ads.txt file. This way, the file can be automatically updated whenever RevIQ add new demand partners.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.
Using a 302 (temporary) redirect is recommended, as it allows you to easily
update or remove the redirect in the future.
Cloudflare
Cloudflare
- 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:
Field
URI Path
Operator
Equals
Value
/ads.txt
- Under Then, define the URL redirect settings for requests matching the
rule expression:
Type
Static
URL
https://rev.iq/your-domain.com/ads.txt
Status code
302
- To save and deploy your rule, select Deploy. If you are not ready to deploy your rule, select Save as Draft.
Apache
Apache
Add the following line to your
.htaccess
file:Redirect 302 /ads.txt https://rev.iq/your-domain.com/ads.txt
Nginx
Nginx
Add the following line to your
nginx.conf
file:nginx.conf
Manual setup
You can also manually add the lines from our hosted file to your ownads.txt
file.
If you choose to do this manually, keep in mind that you will need to manually update your
ads.txt
file whenever
we add new demand partners.File
File
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
- 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.