Esta página ainda não foi traduzida para o português, por isso aparece em inglês.

ads.txt Generator

Build an IAB-compliant ads.txt that lists who is allowed to sell your ad inventory — with presets for common ad networks.

Atualizado em

Records

Optional variables

    Generated file

    Seus dados nunca saem do seu computador. Todo o processamento acontece localmente no navegador.

    Como usar: ads.txt Generator

    1. Add a record for each ad network — pick a preset or enter the ad system domain manually.
    2. Enter your publisher account ID exactly as your ad network shows it (for AdSense: pub- followed by 16 digits).
    3. Choose DIRECT if you have the account yourself, RESELLER if a partner sells on your behalf.
    4. Download and upload ads.txt to the root of your domain.

    What is ads.txt?

    ads.txt (Authorized Digital Sellers) is an IAB Tech Lab standard that lets website owners publicly declare which companies may sell their ad inventory. Advertisers’ platforms check the file before buying, which cuts off domain spoofing and fraudulent resellers. Google AdSense warns you in its dashboard when your ads.txt is missing or incomplete, and missing records can reduce your ad revenue.

    Record format

    google.com, pub-0000000000000000, DIRECT, f08c47fec0942fa0
    1. Ad system domain — the network’s canonical domain (google.com for AdSense and Ad Manager).
    2. Publisher account ID — your ID in that system.
    3. Relationship — DIRECT (you control the account) or RESELLER (an intermediary sells your inventory).
    4. Certification authority ID (optional) — the network’s TAG ID; Google’s is f08c47fec0942fa0.

    Variables

    contact= gives a contact for the file; OWNERDOMAIN= and MANAGERDOMAIN= (ads.txt 1.1) identify the business that owns the site and any manager that handles its inventory.

    Uploading and checking

    The file must be at the root of the domain — https://example.com/ads.txt — and return HTTP 200 as plain text. Crawlers may take a few days to pick up changes. Mobile and CTV apps use the same format in an app-ads.txt file on the developer’s website.

    Também pesquisado como: ads.txt, adsense ads.txt, authorized digital sellers, iab, reseller, direct, app-ads.txt.

    Ferramentas que combinam com: ads.txt Generator

    • ads.txt Checker — Fetch a site’s ads.txt or app-ads.txt the way ad crawlers do, validate every line, check that your publisher ID is authorized and download a corrected file.
    • security.txt Generator — Fill in a few fields to generate a standards-compliant /.well-known/security.txt that tells researchers how to report security issues to you.
    • humans.txt Generator — Create a humans.txt that credits the team, contributors and technology behind your website.
    • Robots.txt Generator — Build a correct robots.txt in seconds: choose a preset, add rules per user-agent, block AI training crawlers and list your sitemaps — with live warnings for mistakes that could de-list your site.

    Perguntas frequentes

    Where do I find my AdSense publisher ID?
    In AdSense under Account → Settings → Account information. It looks like pub-1234567890123456.
    Is ads.txt required?
    It’s not legally required, but Google and most ad exchanges strongly recommend it, and unauthorized inventory may receive fewer bids.
    How long until AdSense detects my ads.txt?
    Usually within a few days, sometimes longer for low-traffic sites. Make sure the file returns HTTP 200 at the domain root.
    What is the difference between DIRECT and RESELLER?
    DIRECT means you own and control the ad account. RESELLER means another company is authorized to sell your inventory through their account.
    Posso instalar o ads.txt Generator como um aplicativo da web e usá-lo offline?
    Sim. O ads.txt Generator é um aplicativo da web instalável (PWA) — instalado a partir do seu navegador, não baixado de uma loja de aplicativos. Clique em “Instalar aplicativo” na parte superior desta página no Chrome ou no Edge (Windows, macOS, Linux, ChromeOS) ou, no Android, use “Compartilhar” → “Adicionar à tela inicial” no iPhone e no iPad, ou “Arquivo” → “Adicionar ao Dock” no Safari 17+ em um Mac. Em seguida, ela se abre em uma janela própria com seu próprio ícone e, como é executada inteiramente no seu navegador, continua funcionando offline. O Firefox no desktop não permite a instalação de aplicativos da web. Como funciona a instalação.

    Ferramentas relacionadas