Link AdWords + Google Analytics + BigQuery - google-analytics

We have connected AdWords to our Google Analytics views and it works: AdWords campaigns are shown in Google Analytics. For deeper analysis we would like to analyze the data also in BigQuery.
We have setup the import from Google Analytics to BigQuery using a data view which is linked to AdWords. The import itself works, but if we search in BigQuery for TrafficCampaigns with TrafficMedium = cpc (AdWords-Campaigns), the campaigns are missing (null).
We are also importing all AdWords data directly to BigQuery, but we could not find how to relate this data to the Google Analytics data.
Does anybody know how this works? What do we have to do to link the AdWords campaigns with the Google Analytics data in BigQuery?
Thanks for your help!
Kind regards,
Al
Screenshot of GA-Export in BQ

Related

Difference between the 3+ Google Analytics APIs

What is the difference between Google Analytics Reporting API, Google Analytics API, and Google Analytics Data API? What I need is to report on the data for a 3rd party site/account, but it sounds like all 3 of these APIs are for reporting on data. Could you advise? I've been looking through their docs and they all still sound the same.
Analytics hub is for big query.
Google analytics reporting api - Gives access to extract data from Universal analytics accounts
Google analytics api - is a little harder to nail down. It almost sounds like it gives access to extract data and and configure google analytics data. Which would imply that its management api for for universal analytics Google analytics admin api and possibly the reporting api as well.
Google analytics data api - used to extract data from Google analytics ga4 accounts
What I need is to report on the data for a 3rd party site/account
Im not sure what you mean by this. None of those are for sending data to google analytics. To send data to google analytics. you would use one of the collection options.

How much can I get with reporting on Google Adwords API as compared to Google Analytics API linked to a Google Adwords account?

I'm currently working on a reporting module using Google Analytics API (v4) linked to a Google Adwords account.
While it does manage to query data based on a selection of criteria from the Google Dimension and Metrics Explorer from a linked Google Adwords account, I am unable to query data such as Click Type Performance (the one that shows Headline, Sitelink, etc) or Ad Extension Performance from Adwords through the GA API.
I do know that Google Adwords API is able to provide reporting functionality as well but is the API thorough enough to pull data such as Click Type Performance and Ad Extension Performance?
In other words, what does Google Adwords reporting API provide that GA API linked to a Google Adwords account can't do?
The Google Analytics is a website for displaying analytics about web and mobile applications. Google Adwords is is an online advertising website. they are two different systems.
The Google Analytics API can only return to you Google Analitcs data. That being limited to the dimensions and metrics found in the Google Dimension and Metrics Explorer.
The Adwords API can only return to you data for adwords.
What does Google Adwords reporting API provide that GA API linked to a Google Adwords account can't do?
Adwords returns analitics based upon the ads you are currently running. Google analytics api returns your website analytics data.

Google analytics - using events as convertion goals

I have some google analytics events on my site, and have now started using Google Adwords. Adwords normally uses goals not events to show conversion rates, but can I somehow use my events instead to see conversions?
Yes. You need to make two simple steps to use Google Analytics events as conversions in AdWords :
Create Goal in analytics for your events. You need to use custom
goal and event as Goal Type. Check the Google Analytics guide.
Import your goals to AdWords. That's pretty easy process and AdWords
has a manual for this. You'll just need your AdWords and
Analytics accounts to be linked.

Getting deleted adwords ads statistic via analytics

I'm using analytics reporting api, to get ga:sessions,ga:bounces,ga:sessionDuration,ga:pageviews,ga:adClicks,ga:adCost,ga:impressions
for every ad, day and phrase. I found that adwords api don't return deleted or paused ads statitcs in reports, so you need to add that ads/campaigns/groups types in your report query. Now i see, that now all my results from adwords have analytics results. I suppose that the problem is the same, but dont see any ads/campaigns/groups dimensions.
How can i include deleted ads/campaigns/groups in my analytics report result?
In your case I would consider Google Data import to get from the API the campaigns you require and then upload them manualy to GA. I haven't tried it for deleted campaigns but it might be possible. Also be advised that you cannot import past data if you don't have Google Analytics 360 enabled property

Is there any api for dashboard analytics data?

Is there any way i can query in my app for data from the analytics tab of dashboard?
For example:
ref.on("value", function(dashboard) {
console.log(dashboard.concurrentUsers)
});
From the "dashboard.concurrentUsers" in your question, it looks like you're trying to get the data from the Analytics tab of your dashboard.
As of Oct/Nov 2020 there is an Analytics Data API that you can use to run Analytics reports and retrieve data
You can also enable the BigQuery integration. Doing this means that all Google Analytics for Firebase events from that moment on will be written to BigQuery, where you can query them. This is the raw data, the events written by your apps, and not the aggregated data that you find in the dashboard.

Resources