Linking Google Analytics 4 to Bigquery - google-bigquery

I am trying to link GA4 to a bigquery project. I already have universal analytics data being exported into the bigquery project. Can I also link GA4 to the same bigquery project?
Thanks,
Sriram

Yes, you can connect a GA4 property to export to the same GCP project as a GA3 property. You'll need to set up your data stream, then go into the admin panel of your GA4 property and look under "Product links" for "BigQuery Links":
In this screen you can select the data stream you want to sync, the BigQuery project you want to send it too and the frequency of data export.

Related

Is it possible to link multiple google analytics properties in a single Bigquery project?

I want to know if it is possible to link multiple different google analytics properties in a single Bigquery project by separating the property datasets by properties.
I checked the acceptance message that the linking is going well, but I have no idea that the data will be saved in a dataset or different datasets.
Yes. It is possible to link multiple GA properties to a single GCP Project but in different BigQuery datasets. In case of Universal Analytics, the ID of each BQ dataset will be same as that of GA View ID. And in case of GA4 the ID of each BQ dataset will be analytics_<property_id>.

Is it possible to automate the extract of Apple News / iCloud News Publisher analytics data?

I'm trying to set up a dashboard in Google Data Studio with Apple News analytics data as one of the sources.
I can see you can download this analytics data manually as a CSV - does anyone know a way of automating this extract? Automatically appending the data weekly to a BigQuery table would be ideal, or Google Sheets or directly into Data Studio if not.
Thanks.
You can load your CSV into BigQuery [1], or schedule a load job, and then use it in datastudio through a BigQuery reader package. Otherwise, if you do not need to append the data you can simply import it with other packages as "Custom JSON/CSV/XML" By Supermetrics.
[1] https://cloud.google.com/bigquery/docs/loading-data#supported_data_formats

Can we import data from BigQuery into Google Sheets?

I'm only seeing how to load data to my bigquery database but i don't see any wiki or post to help me on my question : Is it possible to load data to an external source like google sheet from a bigquery database (that can go thought the cloud storage plateforme)
you can export data from BigQuery, yes. One way to bring BigQuery data into Google Sheets is with the new Google Sheets Data Connector, see the screenshot below for where you'll find this on the GS interface:
Once connected, you can then write an SQL query and pull this data directly into a Google Sheet.
Here's a link to some official documentation on this data connector: https://support.google.com/docs/answer/9077536

Is there a way to repopulate specific date of Google BigQuery data from Google Firebase Analytics?

I have setup link between Firebase Analytics and BigQuery. Today I accidentally deleted rows of data from yesterday (tablename_20190926). Is there a way to restore the data, if not, how do I repopulate the data from Firebase Analytics again for a specific date?
Firebase streams its analytics data to BigQuery from the moment you enable the integration. There is no way to repopulate BigQuery with Analytics data from Firebase outside of that stream.
You may be able to recover the data from within BigQuery though. See Restoring deleted tables in the documentation, and How can I undelete a BigQuery table?

Does Google Cloud Dataprep support importing Google Drive Sheets as data sources?

I'm importing datasets in Google Cloud Dataprep (by Trifacta) to perform transformations on my data sources. But I can't see Google Drive Sheets in the list after connecting them to Big Query Console. I'm about to use them as rules for my transformations.
I've already created another dataset and the problem persists.
Is it possible to import them or not supported yet?
Thanks,
You are right. According to the documentation Dataprep only supports native BigQuery tables and views as BigQuery sources.
You could try downloading your Drive sheets as csv and then creating a BigQuery table from it, or maybe you could create a load job from your external table into a new native table using:
SELECT * FROM my_dataset.my_external_table