Skip to main content

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.
  1. Log in to the Cloudflare dashboard and select your account and domain.
  2. Go to Rules > Redirect Rules.
  3. Under Single Redirects, select Create Redirect Rule.
  4. Enter a descriptive name for the rule in Rule name,
    Example: Redirect to RevIQ ads.txt.
  5. Under When incoming requests match, define the Custom filter expression:
Field
URI Path
Operator
Equals
Value
/ads.txt
  1. 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
  1. To save and deploy your rule, select Deploy. If you are not ready to deploy your rule, select Save as Draft.
Add the following line to your .htaccess file:
Redirect 302 /ads.txt https://rev.iq/your-domain.com/ads.txt
Add the following line to your nginx.conf file:
nginx.conf
location = /ads.txt {
    return 302 https://rev.iq/your-domain.com/ads.txt;
}

Manual setup

You can also manually add the lines from our hosted file to your own ads.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.
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.
  1. Go to Advanced Ads > Settings in your WordPress dashboard.
  2. Scroll down to ads.txt, paste the lines from the hosted file at https://rev.iq/your-domain.com/ads.txt.

Verifying ads.txt

To verify your ads.txt is correctly set up, visit https://your-domain.com/ads.txt