Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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.

class MarketingPlatformAdmin {
constructor(client?: CredentialsClient, baseUrl?: string);
async organizationsAnalyticsAccountLinksCreate(parent: string, req: AnalyticsAccountLink): Promise<AnalyticsAccountLink>;
async organizationsAnalyticsAccountLinksDelete(name: string): Promise<Empty>;
async organizationsAnalyticsAccountLinksList(parent: string, opts?: OrganizationsAnalyticsAccountLinksListOptions): Promise<ListAnalyticsAccountLinksResponse>;
async organizationsAnalyticsAccountLinksSetPropertyServiceLevel(analyticsAccountLink: string, req: SetPropertyServiceLevelRequest): Promise<SetPropertyServiceLevelResponse>;
async organizationsGet(name: string): Promise<Organization>;
}

§Constructors

§
new MarketingPlatformAdmin(client?: CredentialsClient, baseUrl?: string)
[src]

§Methods

§
organizationsAnalyticsAccountLinksCreate(parent: string, req: AnalyticsAccountLink): Promise<AnalyticsAccountLink>
[src]

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.

@param parent

Required. The parent resource where this Analytics account link will be created. Format: organizations/{org_id}

§
organizationsAnalyticsAccountLinksDelete(name: string): Promise<Empty>
[src]

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.

@param name

Required. The name of the Analytics account link to delete. Format: organizations/{org_id}/analyticsAccountLinks/{analytics_account_link_id}

§
organizationsAnalyticsAccountLinksSetPropertyServiceLevel(analyticsAccountLink: string, req: SetPropertyServiceLevelRequest): Promise<SetPropertyServiceLevelResponse>
[src]

Updates the service level for an Analytics property.

@param analyticsAccountLink

Required. The parent AnalyticsAccountLink scope where this property is in. Format: organizations/{org_id}/analyticsAccountLinks/{analytics_account_link_id}

§
organizationsGet(name: string): Promise<Organization>
[src]

Lookup for a single organization.

@param name

Required. The name of the Organization to retrieve. Format: organizations/{org_id}