Back to Klazify in Google Sheets
SheetXAI logo
Klazify logo
Klazify · Google Sheets Guide

Bulk Classify Domains by IAB Category From a Google Sheet

2026-05-14
5 min read

The Scenario

You inherited the publisher whitelist from someone who left last quarter, and it's 1,500 rows of raw domains with no category labels attached. The campaign goes live Friday. You need every domain tagged with its IAB content category and a confidence score before the brand-safety team signs off — and right now the sheet has nothing in columns B or C.

The bad version:

  • Open Klazify's API console, paste domain one, copy the IAB label and confidence score, switch tabs, find row one, paste.
  • Repeat until your eyes glaze over somewhere around row thirty, at which point you've started making copy errors you won't catch until QA flags them tomorrow.
  • Try to write a Python script, get stuck on the authentication header format, find a Stack Overflow post from 2021 that partially works, debug it for two hours, and end up with a CSV that doesn't match the column order of the original sheet.

The brand-safety review happens Thursday. You are also supposed to finish the targeting brief by Thursday. Doing this by hand isn't a time problem — it's a math problem. The hours don't exist.

The Easy Way: One Prompt in SheetXAI

SheetXAI is an AI agent that lives inside your Google Sheet. It reads every domain in column A, calls Klazify's categorization endpoint for each one, and writes the results back — no script, no API console, no column re-mapping. You describe what you want; it does the work.

For every domain in column A of the "Publishers" sheet, call Klazify and write the top IAB category label into column B and the confidence score into column C

What You Get

  • Column B fills with IAB V3 category labels like "News and Politics > Politics" or "Shopping > Retail."
  • Column C fills with confidence scores between 0 and 1 — you can sort descending to find the high-confidence classifications first.
  • Domains that return a parked-page or no-content result get a label of "Uncategorized" so you can filter and review them separately.
  • The run is idempotent — running it again on the same column won't double-write rows that already have values, if you ask it to skip filled cells.

What If the Data Is Not Quite Ready

The domains have trailing slashes and mixed protocols

For every domain in column A of the "Publishers" sheet, strip any leading "http://", "https://", and trailing "/" before calling Klazify, then write the cleaned domain into column A, the IAB category into column B, and the confidence score into column C

Some domains in column A are actually full URLs, not bare domains

For every URL in column A, extract just the root domain — no path, no subdomain beyond "www" — then call Klazify on each extracted domain and write the IAB label into column B and confidence into column C

The whitelist has duplicates and you don't want to pay for the same API call twice

Remove duplicate domains from column A (keep first occurrence), then call Klazify for each unique domain and write the IAB category and confidence score into columns B and C

The brand-safety team needs sub-categories too, and you want a flag for anything below 0.8 confidence

For every domain in column A of the "Publishers" sheet, call Klazify and write the top IAB category into column B, the first sub-category into column C, and the confidence score into column D — then add "REVIEW" in column E for any row where the confidence score in column D is below 0.8

One prompt does the enrichment, the sub-category extraction, and the review flag. The brand-safety team gets a sheet they can sort without any post-processing from you.

Try It

Get the 7-day free trial of SheetXAI and open your publisher domain list. Ask it to classify every domain by IAB category and flag anything with a confidence score below your threshold. See also: Enrich Company Firmographics From Domain Names and the Klazify integration overview.

Stop memorizing formulas.
Tell your spreadsheet what to do.

Join 4,000+ professionals saving hours every week with SheetXAI.

Learn more