A documented ads.txt workflow should capture the source of every seller record, the exact input used, the reviewed output, and the verified root-domain publication.

Use a short runbook rather than a collection of disconnected notes. The runbook should let another person understand where each authorized seller came from, reproduce the records, review the resulting file, and confirm that the correct version is live. The generator handles record formatting and validation; your documentation supplies the evidence that the records are authorized and correctly interpreted.

how do i document the steps i use to generate ads txt
How Do I Document the Steps I Use to Generate ads.txt?

Choose a repeatable ads.txt record structure

A practical runbook separates the process into four evidence blocks: the source instructions, the values entered, the output review, and the publication check. This structure also makes updates easier because a changed account can be traced back to its source instead of being added as an unexplained line.

  • Source: Record the advertising platform, the location of its instructions, and the date you checked them.
  • Input: Preserve the exact domain, publisher account identifier, relationship, and optional authority identifier supplied for each seller.
  • Output: Save the reviewed file and note any corrections or rejected entries.
  • Publication: Record the root-domain URL, deployment date, and result of comparing the public file with your approved records.

The IAB Tech Lab ads.txt 1.1 specification provides a useful format reference, but platform instructions remain the authority for the seller values assigned to your accounts.

Capture the source data before generating records

Copy each record from the advertising platform’s own account instructions or setup guidance. Do not guess a publisher ID, convert an identifier into another format, or reuse an authority ID from a different exchange. Each authorized account becomes one comma-separated line with three required fields and one optional field.

Field Requirement What your documentation should capture
Advertising system domain Required bare domain The canonical domain of the advertising system where buyers connect, such as google.com. It is not necessarily your website domain.
Publisher account ID Required platform-specific identifier The exact seller or publisher identifier assigned by that system. Google seller accounts use a pub- prefix followed by account digits; other exchanges can use different forms.
Relationship DIRECT or RESELLER Whether you directly control and contract with the listed account, or another authorized entity controls and resells that inventory.
Certification authority ID Optional Leave it blank unless the platform provides the exact value for that seller record. Do not transfer an authority identifier from another exchange.

Your source notes should identify who supplied each value and why the relationship is accurate. A correctly formatted DIRECT record can still be wrong if the site owner does not directly control the listed account. Likewise, a RESELLER record requires evidence that the named entity is authorized to resell that inventory.

Save the current ads.txt file before making changes, if one already exists. Do not remove existing valid sellers merely to add a new platform. A missing authorized account and an obsolete account are different problems, and both need to be checked against current partner instructions.

Document the generation workflow

  1. Identify the inventory and preserve the current state. Write down the root domain that owns the web inventory and the location where ads.txt will be published. Save the previous public file or deployment copy so you can compare it with the proposed version.
  2. Collect the platform-provided values. For every authorized seller, copy the advertising system domain, publisher account identifier, relationship, and optional certification authority identifier from the platform’s own instructions. Record the source location beside each entry in your worksheet.
  3. Enter one verified record in the Ads Txt Generator. Open the Ads Txt Generator and enter the domain as a bare host, such as google.com, without https://, a path, port, username, or password. The generator validates and lowercases the domain instead of extracting a host from a pasted URL.
  4. Add every authorized account to the visible list. Select DIRECT or RESELLER according to the source information, and include the optional authority identifier only when the platform supplied it. The generator supports up to 200 records; treat a larger list as outside this documented single-file workflow.
  5. Review every generated line against the worksheet. Confirm the domain, account ID, relationship, and authority field character by character. Remove obsolete records and correct any transcription mistakes before download. Exact duplicate formatted rows are rejected, but duplicate protection does not decide whether an existing record is still authorized.
  6. Copy or download the completed file. The output is newline-terminated, and the finished text can be copied or downloaded locally without sending your account details to the server. Save the reviewed version with a dated filename and attach or link it to your run log.
  7. Publish and perform the final comparison. Deploy the reviewed text file at /ads.txt on the inventory’s root domain. Open the public URL as plain text and compare every line with the current platform instructions and your approved worksheet.

Document what happened when a record was rejected. Keep the original source value, the rejected input, and the correction in your notes. This creates an audit trail without implying that the generator decided whether the seller was authorized.

Build a reusable run log

Keep the run log outside the generator because the tool produces the ads.txt text. A simple table or structured note is enough for a solo publisher, while a team can add operator and reviewer fields without changing the underlying workflow.

Workflow stage Evidence to retain Completion condition
Source collection Platform name, instruction location, check date, and exact assigned values Every value has a traceable platform source
Input preparation Worksheet, prior ads.txt copy, and notes about authorized relationships No obsolete or unverified account remains in the intended set
Generation and review Generated text, downloaded file, corrections, and rejected-entry notes Each output line matches the reviewed worksheet
Deployment Publication date, root-domain URL, and deployment record The file is publicly reachable as plain text at /ads.txt
Post-publication check Live-file copy or comparison notes Public lines match the reviewed file and current account records

Include enough context to distinguish a formatting change from a business change. A new reseller, a revised publisher ID, and a corrected relationship are different events and should not be grouped under one vague “ads.txt updated” note.

Deploy and verify the root-domain file

Publish the file on the root domain that owns the inventory. For example, the expected public location for example.com is https://example.com/ads.txt. Use your hosting provider’s documented file-upload or deployment process to place the text file at that exact path.

  • A copy stored at /files/ads.txt is not the same root resource.
  • Content displayed inside an HTML page does not satisfy the plain-text root-file requirement.
  • A resource behind authentication is not the same crawler-visible location.
  • After deployment, open the public URL and check the displayed text rather than assuming the upload succeeded.
  • Compare the public lines with both the reviewed output and the platform instructions, then save the check date and result.

Account ownership, seller relationships, and network arrangements can change. When any of those details change, revisit the source instructions, generate a reviewed replacement, preserve valid sellers, and repeat the public-file comparison.

Record the generator’s boundaries and limits

Your documentation should state what the formatting tool did and what still required human verification. The Ads Txt Generator validates syntax; it does not validate authorization.

  • It cannot sign into an advertising account, confirm that a publisher ID belongs to you, prove that a reseller is permitted, or discover every platform selling your inventory.
  • The domain must be a bare domain without a scheme, path, port, username, or password. Surrounding whitespace is trimmed, but commas or whitespace inside fields are rejected.
  • Publisher account identifiers are platform-specific. Copy the exact assigned value instead of inventing or converting it.
  • Only DIRECT and RESELLER are accepted. The relationship must describe who controls the listed account and the applicable business arrangement.
  • The authority identifier remains optional and should be populated only when the advertising platform provides the exact value for that seller record.
  • Exact duplicate formatted rows are rejected, while obsolete but distinct records still need a manual review.
  • The tool supports up to 200 records and produces a newline-terminated file.

A syntactically valid file can still contain an unauthorized, incomplete, or inaccurately labeled seller. Treat platform instructions and your verification notes as separate evidence from the generator’s syntax checks.

Keep the runbook current

Review the documentation whenever an advertising platform changes an account ID, ownership relationship, seller authorization, or network arrangement. Store the previous and current files together so a reviewer can identify what changed and why.

  • Date each source check and generation run.
  • Preserve the prior file before replacing or extending it.
  • Add one verified record for each authorized account across different advertising systems.
  • Retain valid sellers when adding a new one, but remove records that are no longer authorized.
  • Record the public verification result after every deployment.

The completed runbook should allow another person to trace every seller line to a platform source, reproduce the file, review the validation decisions, and confirm that the published /ads.txt resource matches the intended records.