If you need to simply copy a Google Analytics report to Google Cloud SQL for PostgreSQL without mapping configuration, you can use Skyvia replication. It allows you to create a copy of Google Analytics report data in Google Cloud SQL for PostgreSQL and keep it up-to-date with little to no configuration efforts. You don’t even need to prepare the schema — Skyvia can automatically create a table for your report data.
All you need is to specify the connections to Google Analytics and Google Cloud SQL for PostgreSQL, select report dimensions and metrics, and set filters if needed, and Skyvia does the rest. It will copy the report composed from the selected metrics and dimensions to Google Cloud SQL for PostgreSQL and maintain this copy up-to-date automatically with incremental updates.