PUT

Update Ads Txt


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Updates the Ads.txt file. When setting the content object to an empty string, an empty Ads.txt file will be created. In order to reset Ads.txt to Wix's default, send default: true without a content object.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Ads.txt
Learn more about app permissions.
Endpoint
PUT
https://www.wixapis.com/promote-seo-txt-file-server/v2/ads

Errors
428Failed Precondition

There is 1 error with this status code:

See the entire list and learn more about Wix errors.

Event TriggersThis method triggers the following events:
Did this help?