This Snap has at most one document error view and produces zero or more documents in the view.
Note: The Google Analytics API gets some of the data with some Malformed format. When you use the Analytics Snap with Metrics and Dimensions, attach an Error view so that the Malformed data goes to the Error view with the message, Query Execution Failed. All of the good data is then passed through normally. Go to https://ga-dev-tools.appspot.com/explorer/ to see the number of Dimensions and Metrics that are supported.
Required. The name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your pipeline.
Required. Google Analytics Core Reporting API ids parameter.
Required. The unique table ID in the format: ga:XXXX, where XXXX is the View ID for which the query will retrieve the data. The View ID is found on the View Settings page under Admin in Google Analytics.
Select one of the three modes in which the Snap executes. Available options are:
Validate & Execute: Performs limited execution of the Snap, and generates a data preview during Pipeline validation. Subsequently, performs full execution of the Snap (unlimited records) during Pipeline runtime.
Execute only: Performs full execution of the Snap during Pipeline execution without generating preview data.
Disabled: Disables the Snap and all Snaps that are downstream from it.
For all examples below, supply your Account id and Table id, then the appropriate Start date and End date for your query.
Unless otherwise noted, these pipelines follow this layout.
The Structure Snap is used just to relabel the columns (such as ga:sessions to Sessions) to make the data more user friendly. It is then sent to an Email Sender Snap configured with Email type as HTML Table.