-
Notifications
You must be signed in to change notification settings - Fork 12
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
Add predefined reports to the curl examples repo #1
base: main
Are you sure you want to change the base?
Conversation
curl -X POST \ | ||
-H "Authorization: Bearer "$(gcloud auth application-default print-access-token) \ | ||
-H "Content-Type: application/json; charset=utf-8" \ | ||
https://analyticsdata.googleapis.com/v1beta/properties/$GA_PROPERTY_ID:runReport -d @traffic-acquisition-session-primary-channel-group.json |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://analyticsdata.googleapis.com/v1beta/properties/$GA_PROPERTY_ID:runReport -d @traffic-acquisition-session-primary-channel-group.json | |
https://analyticsdata.googleapis.com/v1beta/properties/${GA_PROPERTY_ID}:runReport -d @traffic-acquisition-session-primary-channel-group.json |
echo "Error: Failed to execute '$filename'." | ||
exit 1 | ||
fi | ||
Use code with caution. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this supposed to be a comment?
To run a query in your browser, open the [API Explorer](https://developers.google.com/analytics/devguides/reporting/data/v1/rest/v1beta/properties/runReport?apix=true) | ||
in your browser, populate the **property** field with your [property ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id) | ||
and copy the request body to the corresponding field in the API Explorer dialog, click **Execute**. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To run a query in your browser, open the [API Explorer](https://developers.google.com/analytics/devguides/reporting/data/v1/rest/v1beta/properties/runReport?apix=true) | |
in your browser, populate the **property** field with your [property ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id) | |
and copy the request body to the corresponding field in the API Explorer dialog, click **Execute**. | |
To run a query in your browser, open the [API Explorer](https://developers.google.com/analytics/devguides/reporting/data/v1/rest/v1beta/properties/runReport?apix=true) | |
in your browser, populate the **property** field with your [property ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id), | |
copy the request body to the corresponding field in the API Explorer dialog, | |
and click **Execute**. |
Co-authored-by: Josh Radcliff <[email protected]>
Co-authored-by: Josh Radcliff <[email protected]>
No description provided.