This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Retrieves whether a site can advertise with Wix, and which requirements it meets.
The site is taken from the request context, so the method takes no parameters.
To advertise with Wix, a site must be published, have a Premium plan, and have a custom domain connected. eligibilityInfo.eligible is true only when the site meets all of these requirements. eligibilityInfo.criterias lists each requirement with whether the site meets it, so you can tell the site owner what's missing.
The same requirements apply to every Wix ad platform, such as Google Ads and Facebook Ads, both for starting to advertise and for keeping ads running. If a site stops meeting a requirement, for example the site is unpublished or its Premium plan is canceled, its ads stop serving.
You can only call this method when authenticated as a Wix app or Wix user identity.
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.