This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Invite a Google account to manage a Business Profile location.
Primary caller (today): the Wix Ads campaign-creation wizard
(wix-private/promote-google-ads). It uses this RPC to invite
paidads@wix.com as a MANAGER of the merchant's location so Wix Ads
can run paid Google Ads campaigns referencing that location.
The service first calls Google's GetLocationAdmins to dedup (so the
same email is not invited twice), then calls Google's InviteAdmin
endpoint, then emits a LocationAdminInvited domain event consumed
internally by the auto-accept handler.
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.