You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using Pipedream's proxy API to interact with Google APIs. We have successfully configured it for the Google Ads API, and it's working as expected.
We are now trying to extend this to use the Google Analytics Admin API (specifically the /v1beta/accountSummaries endpoint) and the Google Analytics Data API (e.g., /v1beta/properties/{property_id}:runReport) through the same proxy mechanism.
However, when attempting to proxy a GET request to https://analyticsadmin.googleapis.com/v1beta/accountSummaries (via https://api.pipedream.com/v1/connect/[Your_Project_ID]/proxy/[encoded_target_url]), we receive the following error:
HTTP Status: 400
Response Body: {"error":{"domain":["not allowed for this app"]}}
Our Pipedream project ID is proj_gYsMPge, and the Client ID for our Pipedream app connection is gQ7HWTPYthbyfq-PTPu8Sc7xZ2m2qbprCavaQH_G2O8,
Could you please advise on the necessary configuration within our Pipedream app or project to allow proxying requests to the Google Analytics Admin and Data APIs? Specifically:
Are there specific Google Analytics scopes (e.g., https://www.googleapis.com/auth/analytics.readonly) that need to be explicitly enabled or configured for our Pipedream proxy app definition to successfully call these GA endpoints?
Are there any other project-level settings or permissions we need to adjust in Pipedream to enable proxying for Google Analytics APIs?
Does Pipedream maintain a specific target base URL for Google Analytics APIs that should be used for the proxy (similar to https://googleads.m.pipedream.net), or should we continue to use https://analyticsadmin.googleapis.com and https://analyticsdata.googleapis.com as the target URLs for encoding?
Screenshots:
No screenshots included
The text was updated successfully, but these errors were encountered:
App
Google Analytics
Summary:
Accounts endpoint not working via proxy
Details:
We are using Pipedream's proxy API to interact with Google APIs. We have successfully configured it for the Google Ads API, and it's working as expected.
We are now trying to extend this to use the Google Analytics Admin API (specifically the
/v1beta/accountSummaries
endpoint) and the Google Analytics Data API (e.g.,/v1beta/properties/{property_id}:runReport
) through the same proxy mechanism.However, when attempting to proxy a GET request to
https://analyticsadmin.googleapis.com/v1beta/accountSummaries
(viahttps://api.pipedream.com/v1/connect/[Your_Project_ID]/proxy/[encoded_target_url]
), we receive the following error:HTTP Status: 400
Response Body: {"error":{"domain":["not allowed for this app"]}}
Our Pipedream project ID is proj_gYsMPge, and the Client ID for our Pipedream app connection is gQ7HWTPYthbyfq-PTPu8Sc7xZ2m2qbprCavaQH_G2O8,
Could you please advise on the necessary configuration within our Pipedream app or project to allow proxying requests to the Google Analytics Admin and Data APIs? Specifically:
https://www.googleapis.com/auth/analytics.readonly
) that need to be explicitly enabled or configured for our Pipedream proxy app definition to successfully call these GA endpoints?https://googleads.m.pipedream.net
), or should we continue to usehttps://analyticsadmin.googleapis.com
andhttps://analyticsdata.googleapis.com
as the target URLs for encoding?Screenshots:
No screenshots included
The text was updated successfully, but these errors were encountered: