Skip to content

Google Analytics #16652

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
pipedream-component-development opened this issue May 13, 2025 · 1 comment
Open

Google Analytics #16652

pipedream-component-development opened this issue May 13, 2025 · 1 comment
Labels
bug Something isn't working user request

Comments

@pipedream-component-development
Copy link
Collaborator

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 (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:

  1. 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?
  2. Are there any other project-level settings or permissions we need to adjust in Pipedream to enable proxying for Google Analytics APIs?
  3. 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

@julianxlozano
Copy link

@pipedream-component-development
Hey Pipedream Team,
this could just be user error. Is there a special way to hit this endpoint that I'm missing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working user request
Projects
None yet
Development

No branches or pull requests

2 participants