How to Find and Fix Broken YouTube Affiliate Links

An affiliate link in a video description is not a set-and-forget asset. Products sell out, listings get removed, short links expire, and a tag can get mangled the day you paste it. The viewer who clicks does not tell you the page was dead. They just leave, and you earn nothing from a video that did its job.

The older the video, the more likely this has happened. Here is a practical way to find the damage and fix it.

What "broken" actually means

A link can fail in several different ways, and they need different fixes.

  • Dead page. The link returns an error or a "page not found" screen. The product was removed or the address changed.
  • Unavailable product. The page loads but says the item is out of stock or no longer sold. Viewers cannot buy, so nothing is earned.
  • Wrong destination. The link works but sends people to a different product than the one in the video, often after a redirect or a retailer re-using an address.
  • Missing or broken tag. The page loads but your affiliate ID is gone, so purchases are not credited to you. This is the hardest to spot because everything looks fine.
  • Wrong store for the viewer. The link works, but sends a viewer in another country to a store that will not ship to them. See sending international viewers to their local Amazon store.
  • Expired short link. A third-party link shortener you stopped paying for, or a service that shut down.

Step 1: Build an inventory

You cannot fix links you cannot list. For each video you care about, record the video URL and every link in the description. If you only have a few dozen videos, a spreadsheet and a morning is enough. Start with the videos that still get views, using YouTube Studio to sort by the last 90 days.

If you code, the YouTube Data API can read descriptions in bulk. Reading is cheap: a videos.list call costs 1 quota unit against a default daily quota of 10,000, so you can read many videos in a day. Writing is much more expensive, which we get to below.

You can also skip the manual list: the free affiliate link checker scans your channel for product videos that have no affiliate links at all, which is the other half of the problem.

Step 2: Test each link like a viewer

Open each link in a private browser window, ideally on a phone, since that is where many viewers will tap. Ask four questions.

  1. Does the page load?
  2. Is it the right product?
  3. Can it be bought right now?
  4. Is your affiliate tag in the address, or otherwise still attached?

Write the result next to the link. Anything that fails any of the four goes on the fix list. Do not guess that a link is fine because it looks normal.

Step 3: Decide what to replace it with

  • Same product, new address. Search the retailer for the current listing and make a fresh tagged link.
  • Discontinued product. Link the successor model if there is one, and say so in the description, for example "Newer version of the camera I use in this video". If there is no successor, link a close alternative or remove the link. A dead link is worse than no link.
  • Out of stock. Wait a few days if it is temporary. If it is still gone after a couple of weeks, treat it as discontinued.
  • Missing tag. Rebuild the link from your affiliate dashboard. Do not hand-edit tags into addresses, because that is how typos happen.

Step 4: Edit safely

For a handful of videos, edit in YouTube Studio and keep the original text in a note. For many videos, be careful with automation. The Data API's update method costs 50 quota units per call, and the documentation warns that any field you omit from a snippet update that already has a value is deleted. Read first, change only the links, and write back everything else exactly as it was.

Whatever you change, keep your affiliate disclosure in the description. Amazon's operating agreement requires the Associates statement to be displayed clearly, and our guide to YouTube affiliate disclosure covers the FTC side.

Step 5: Make it a routine

Links decay at a steady rate, so check them on a schedule rather than when you remember.

  • Re-test your top 10 videos every month. Those carry the most traffic.
  • Re-test the rest of your catalog every quarter.
  • Re-test after any retailer announces a big change to its links or program, since those are the moments when links break in bulk.
  • Keep one master list of links so a single fix can be applied everywhere the product appears.

Rule of thumb: the more a video earns, the more often it deserves a link check. A dead link on a video with 50,000 monthly views costs far more than one on a video nobody watches.

Do not forget the videos with no links

Fixing broken links recovers what you already tried to earn. The bigger gap is often videos with no affiliate links at all. Work through those next with adding affiliate links to old videos, and use the earnings calculator to see whether a video is worth the effort.

An hour of link maintenance a month is a small price for traffic you have already earned.

Sources

Programs, policies and quotas change. Check the linked page before you rely on a detail. This is general information, not legal or financial advice.

Keep reading