Cette page n’est pas encore traduite en français : elle s’affiche en anglais.

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.

Mis à jour le

Records

Optional variables

    Generated file

    Vos données ne quittent jamais votre ordinateur. Tout le traitement se fait localement dans votre navigateur.

    Comment utiliser : 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.

    Aussi recherché comme : ads.txt, adsense ads.txt, authorized digital sellers, iab, reseller, direct, app-ads.txt.

    Outils complémentaires : 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.

    Questions fréquentes

    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.
    Puis-je installer ads.txt Generator en tant qu’application web et l’utiliser hors ligne ?
    Oui. ads.txt Generator est une application web installable (PWA) : elle s’installe depuis votre navigateur, sans passer par une boutique d’applications. Cliquez sur « Installer l’application » en haut de cette page dans Chrome ou Edge (Windows, macOS, Linux, ChromeOS) ; sur Android, utilisez « Partager » → « Ajouter à l’écran d’accueil » sur iPhone et iPad ; ou « Fichier » → « Ajouter au Dock » dans Safari 17+ sur Mac. L’application s’ouvre alors dans sa propre fenêtre avec sa propre icône, et comme elle s’exécute entièrement dans votre navigateur, elle continue de fonctionner hors ligne. Firefox sur ordinateur de bureau ne permet pas d’installer d’applications web. Comment fonctionne l’installation.

    Outils similaires