OrganizationsAnalyticsAccountLinks
class OrganizationsAnalyticsAccountLinks extends Resource (View source)
The "analyticsAccountLinks" collection of methods.
Typical usage is:
$marketingplatformadminService = new Google\Service\GoogleMarketingPlatformAdminAPI(...);
$analyticsAccountLinks = $marketingplatformadminService->organizations_analyticsAccountLinks;
Methods
Creates the link between the Analytics account and the Google Marketing Platform organization. User needs to be an org user, and admin on the Analytics account to create the link. If the account is already linked to an organization, user needs to unlink the account from the current organization, then try link again. (analyticsAccountLinks.create)
Deletes the AnalyticsAccountLink, which detaches the Analytics account from the Google Marketing Platform organization. User needs to be an org user, and admin on the Analytics account in order to delete the link.
Lists the Google Analytics accounts link to the specified Google Marketing Platform organization.
Updates the service level for an Analytics property.
Details
AnalyticsAccountLink
create(string $parent, AnalyticsAccountLink $postBody, array $optParams = [])
Creates the link between the Analytics account and the Google Marketing Platform organization. User needs to be an org user, and admin on the Analytics account to create the link. If the account is already linked to an organization, user needs to unlink the account from the current organization, then try link again. (analyticsAccountLinks.create)
MarketingplatformadminEmpty
delete(string $name, array $optParams = [])
Deletes the AnalyticsAccountLink, which detaches the Analytics account from the Google Marketing Platform organization. User needs to be an org user, and admin on the Analytics account in order to delete the link.
(analyticsAccountLinks.delete)
ListAnalyticsAccountLinksResponse
listOrganizationsAnalyticsAccountLinks(string $parent, array $optParams = [])
Lists the Google Analytics accounts link to the specified Google Marketing Platform organization.
(analyticsAccountLinks.listOrganizationsAnalyticsAccountLinks)
SetPropertyServiceLevelResponse
setPropertyServiceLevel(string $analyticsAccountLink, SetPropertyServiceLevelRequest $postBody, array $optParams = [])
Updates the service level for an Analytics property.
(analyticsAccountLinks.setPropertyServiceLevel)