Parses 'lines' the IAB ads.txt 1.1 way — blank lines and # comments skipped, variables kept — and appends what it adds to the advertiser's lines, each line once: the lines a demand partner that resells or runs its own tag asks publishers to carry.
Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/advertisers/{advertiserId}/ads-txt.do
Parses 'lines' the IAB ads.txt 1.1 way — blank lines and # comments skipped, variables kept — and appends what it adds to the advertiser's lines, each line once: the lines a demand partner that resells or runs its own tag asks publishers to carry. OWNERDOMAIN and MANAGERDOMAIN describe the site owner and are set only on the White Label page; CONTACT and SUBDOMAIN belong to the publisher's own file; a line with any of them is refused. When a line is malformed or refused nothing is stored and the answer carries success=false, invalidLines (1-based line numbers) and msg. Returns the advertiser's lines. Requires ENABLED level on the ADVERTISER_ADS_TXT permission and UPDATE permission on the advertiser.
Path Params
advertiserIdintegerrequired
Unique numeric ID of the advertiser
1001
Form Params
linesstringrequired
The block as the partner gave it, one line per line