getAdsTxt( )


Retrieves the Ads.txt file.

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.
Method Declaration
Copy
Method Parameters
optionsGetAdsTxtOptions

Options to use when retrieving the Ads.txt file.

Returns
Return Type:Promise<GetAdsTxtResponse>
Errors
428Failed Precondition

There is 1 error with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Did this help?