簡體   English   中英

將 GA4 連接添加到 AWS AppFlow

[英]Adding GA4 connection to AWS AppFlow

我正在嘗試將 AppFlow 連接添加到現有的 GA4 帳戶,GA4 已經啟動並正在運行,甚至將數據推送到 BigQuery。

但是,當我嘗試在 Appflow 中創建連接以啟動從 GA4 到 Redshift 的流程時。 我收到此錯誤消息

An error occured while creating the connection ga4.
Error authenticating to connector: Failed to validate Connection while attempting "ValidateCredentials with CustomConnector" with connector failure The request failed because the service Source Google Analytics 4 returned the following error: Details: Google Analytics 4 returned error message - Request failed with Status Code: 403, Error Reason: Forbidden. (Service: null; Status Code: 400; Error Code: Client; Request ID: null; Proxy: null)

在此處輸入圖像描述

我已遵循此文檔。 https://docs.aws.amazon.com/appflow/latest/userguide/connectors-google-analytics-4.html

我能夠創建一個 GA UA 連接,但它使用了稍微不同的 OAuth 配置。

我的 GCP 應用程序設置為生產並且是外部的,我的 Google Analytics API 已啟用並創建了 OAuth Web 應用程序信用, Authorized redirect URIs設置為https://us-east-1.console.aws.amazon.com/appflow/oauth按照文檔的建議。

當我將 clientID 和 clientSecret 添加到 AppFlow 的連接並單擊連接時,我會彈出一個谷歌登錄提示,當我登錄時,它會要求我允許 amazon.com 訪問我的數據並提取數據等,我允許,然后彈出窗口消失,並在 AWS 中彈出上述錯誤。

在此處輸入圖像描述

我們遇到了這個問題並收到了來自亞馬遜的回復 - 在啟用 GA Admin API 之后連接正常

我想通知您,用戶必須啟用對“Google Analytics API”和“Google Analytics ADMIN API”的訪問權限才能通過 GA4 連接器成功連接。

因此,我懇請您驗證並啟用上述兩個 API(如果尚未完成)。

我知道使用 AppFlow 設置 GA4 的 AWS 文檔只提到啟用“Google Analytics API”而不是“Google Analytics Admin API”。 因此,我會要求內部團隊對其進行更新。 對於因此問題給您帶來的不便,我們深表歉意。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM