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, and to 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}
Returns a list of clients managed by the sales partner organization. User needs to be an OrgAdmin/BillingAdmin on the sales partner organization in order to view the end clients.
Required. The name of the sales partner organization. Format: organizations/{org_id}
Lookup for a single organization.
Required. The name of the Organization to retrieve. Format: organizations/{org_id}
Returns a list of organizations that the user has access to.
Get the usage and billing data for properties within the organization for the specified month. Per direct client org, user needs to be OrgAdmin/BillingAdmin on the organization in order to view the billing and usage data. Per sales partner client org, user needs to be OrgAdmin/BillingAdmin on the sales partner org in order to view the billing and usage data, or OrgAdmin/BillingAdmin on the sales partner client org in order to view the usage data only.
Required. Specifies the organization whose property usage will be listed. Format: organizations/{org_id}