Skip to main content

Search

Type a word or a question to search the help articles.

How do I add my ads.txt lines?

In this story

Where: Settings → Readers & money → Ads (ads.txt section)

Open this page: admin.<your-site>/settings/ads#ads-txt (replace <your-site> with your site address)

Before you start

  • You must be the site owner.
  • If you use Google AdSense, Keynate adds its line for you. See Connect AdSense.

Steps

  1. Ask your ad network for your ads.txt lines. Each line has the network's name, your ID and the word DIRECT or RESELLER.
  2. In Keynate open Settings → Readers & money → Ads.
  3. Find the box ads.txt.
  4. Paste the lines. Put one line on each row.
  5. Look at the message under the box. It says No problems found or how many lines look wrong.
  6. Fix any line that looks wrong. Copy it again from your ad network.
  7. Save. It shows ads.txt saved.
  8. Open yoursite.com/ads.txt to see the file as the ad network sees it.

Good to know

  • Your text is served exactly as you type it.
  • Keep the lines the ad network gave you. Do not remove a line unless the network tells you to.
  • Mobile apps need their own list. See app-ads.txt.

Common problems

  • "1 line looks wrong". Check for a missing comma, a space in the ID or a typo.
  • The ad network cannot find the file. Wait a few hours. Open the address above to check it shows.

Questions

Frequently asked questions

What if I add nothing?

Many networks then show fewer ads or none.

Where can I see my ads.txt?

Open yoursite.com/ads.txt in a browser. That is the file the ad network sees.

Do I need ads.txt for AdSense?

Keynate adds the AdSense line for you. Other networks give you their own lines to paste.

Can I break something by pasting a wrong line?

The message under the box tells you how many lines look wrong. Fix them before you save, and keep the lines your ad network gave you.

Feedback

Was this helpful?

Also available in

Still need help?