I'm using the Google Analytics API, querying AdWords though an associated GA account.
AdWords seems to have deprecated "Destination URL", replacing it with "Final URL". However, the GA API does not have a dimension for "Final URL"; only "destinationUrl".
It seems like "destinationUrl", queried through GA, provides different statistics to the "Final URL" statistics available on the AdWords dashboard.
So, it this a gap in the API? Am I required to go directly to the AdWords API to achieve what I want? (This would be cumbersome for me, as there's no official AdWords library for Node.js.)
You should use the AdWords API as it provides more data than the Analytics API.
I had the same issue when I tried to access Search Console data via Analytics. Although Analytics displays various Search Console data in the UI, it is only possible to access this data via Search Console API.
Related
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.
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.
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
I am going to export those dashboards into my web using google analytics api.
Does google analytics api have any methods to get the data of the dashboards?
Or I have to create one by one myself using google analytics api?
The Google Analytics API us used for extracting data from Google Analytics. In the case of the Reporting API its dimensions and metric data. In the Case of the management API its information about the account itself.
Dashboards are UI data from the Google Analytics website. There is no way to export that information.
So no you are not going to be extracting dashboard info using any of the Google analytics APIs.
Is it possible to get a visitor flow associated with a given ga:transactionId through the Google Analytics API?
There's limited availability in ga:landingPagePath, ga:secondPagePath, ga:exitPagePath and ga:pageDepth
but a more complete path would be desirable
Thanks!
You can access the flow with the ga:previousPagePath and ga:pagePath dimensions and the ga:visits metric. You can play around with the output in the Query Explorer. For what its worth, here are a few of other related questions:
Get Google Analytics "Visitors Flow" data from API
Accessing Google Analytics Reports using the API
How to extract engagement flow data using google analytics reporting api