Browse the help center

Remove an advertiser ads.txt line

Removes one stored line by its id and returns the advertiser's lines.

Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/advertisers/{advertiserId}/ads-txt/{lineId}/delete.do

Removes one stored line by its id and returns the advertiser's lines. Requires ENABLED level on the ADVERTISER_ADS_TXT permission and UPDATE permission on the advertiser.

Path Params

advertiserId integer required

Unique numeric ID of the advertiser

1001

lineId integer required

ID of the line, as the GET returns it

42

Responses

200

Line removed

400

Bad request — invalid or missing parameters

401

Authentication error

403

No ADVERTISER_ADS_TXT permission, or the advertiser is outside the caller's shares

404

Advertiser not found, or the advertiser has no line with that id

Please disable Adblock
Are you using adblock? Disable it and reload the page to proceed to the destination page.

A registration has already been submitted from this page. Please try again in 10 minutes.