Retrieves the Ads.txt file.
You can only call this method when authenticated as a Wix app or Wix user identity.
Subdomain of Ads.txt, for example www
, es
, fr
. Default is www
.
Ads txt object
curl GET https://www.wix.com/_api/promote-seo-txt-file-server/v2/ads \
-H 'Content-Type: application/json;charset=UTF-8' \
-H 'Authorization: <AUTH>' \
-H 'subdomain: www'
{
"adsTxt": {
"content": "google.com, pub-0000000000000000, DIRECT, f08c47fec0942fa0",
"default": false,
"subdomain": "www"
}
}
There is 1 error with this status code.
This method may also return standard errors. Learn more about standard Wix errors.