Method: organizations.analyticsAccountLinks.create

建立 Analytics 帳戶與 Google Marketing Platform 機構組織之間的連結。

使用者必須是機構組織使用者,且 Analytics 帳戶的管理員才能建立連結。如果帳戶已連結至某個機構組織,使用者必須取消帳戶與目前機構組織的連結,然後再次嘗試連結。

HTTP 要求

POST https://marketingplatformadmin.googleapis.com/v1alpha/{parent=organizations/*}/analyticsAccountLinks

這個網址使用 gRPC 轉碼語法。

路徑參數

參數
parent

string

必要欄位。表示將建立這個 Analytics 帳戶連結的父項資源。格式:organizations/{org_id}

要求主體

要求主體包含 AnalyticsAccountLink 的例項。

回應主體

如果成功,回應主體會包含新建立的 AnalyticsAccountLink 例項。

授權範圍

需要下列 OAuth 範圍:

  • https://www.googleapis.com/auth/marketingplatformadmin.analytics.update