MarketingPlatformAdmin
import { MarketingPlatformAdmin } from "https://googleapis.deno.dev/v1/marketingplatformadmin:v1alpha.ts";
The Google Marketing Platform Admin API allows for programmatic access to the Google Marketing Platform configuration data. You can use the Google Marketing Platform Admin API to manage links between your Google Marketing Platform organization and Google Analytics accounts, set the service level of your GA4 properties.
§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.
Required. The parent resource where this Analytics account link will be created. Format: organizations/{org_id}
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.
Required. The name of the Analytics account link to delete. Format: organizations/{org_id}/analyticsAccountLinks/{analytics_account_link_id}
Lists the Google Analytics accounts link to the specified Google Marketing Platform organization.
Required. The parent organization, which owns this collection of Analytics account links. Format: organizations/{org_id}
Updates the service level for an Analytics property.
Required. The parent AnalyticsAccountLink scope where this property is in. Format: organizations/{org_id}/analyticsAccountLinks/{analytics_account_link_id}
Lookup for a single organization.
Required. The name of the Organization to retrieve. Format: organizations/{org_id}