I have found on Google Analytics API page that there is an Ad Content field. However I am wondering whether there is an Ad Content ID field for the Google Analytics Reporting API as a dimension?
When it comes to pulling AdWords data via the Google Analytics Reporting API, some of the information is limited. For example, you cannot pull calls from ads using the Analytics Reporting API.
I've never pulled calls from ads data before using API's, but I believe you can use the AdWords API, so you may have to use the Adwords API to grab the data you need.
I live by Google's Dimensions and Metrics Explorer:
https://ga-dev-tools.appspot.com/dimensions-metrics-explorer/
If I ever need to grab a dimension or metric name, I look here.
Looking at AdWords data specifically, there are a number of different dimensions you can include into your object query when you ping the API. I'm a little out of my depth with Adwords so I could be wrong, but I don't believe I see an Ad Content ID available to be used as a dimension in the Analytics Reporting API.
Related
I am trying to set up a data extract in BigQuery to pull data from a Google Ads Account. But I keep getting Auth errors (AuthenticationError.NOT_ADS_USER) when the extract tries starting pulling data.
<ApiError><type>AuthenticationError.NOT_ADS_USER</type><trigge
What did I do?-
Set up Big Query and the data extract (as depicted here: https://cloud.google.com/bigquery-transfer/docs/adwords-transfer)
Invited and added the same email address that big query is using to the Google Ads account with read access level (at first) and then standard access level when the problem persisted.
Is there something that I missed, that I have to enable/accept/configure in order for Big query extract to be able to pull the data from Google Ads?
Thanks,
p.s I have another extract in the same big query account with a different Google Ads account that is working, I recall have followed the same steps.
I would recommend to remove and add the user account that you are using to access Google Ads. It's usually related to permissions related issue. Have you followed the steps mentioned here?
https://cloud.google.com/bigquery-transfer/docs/adwords-transfer#required_permissions
If yes, try remove and add again as suggested on both Google Ads and GCP. If it's not working, try creating a case with Google Cloud support team if you have that service enabled if not your marketing folks might have connections with Google to help you out.
I have been looking at Social Tables and Salesforce Integration. I did a thorough analysis of out-of-the-box (OOTB) integration capability of Social Tables for Salesforce, however the integration process does not seem to suit our needs.
I came across a post where I got some information about API integration. There, I saw that API endpoint required to get guests included the guestlist_id. The question is, how would the API endpoint look like if I plan to fetch the guestlist on the basis of a custom field on an event in Social Tables. If I pass the Campaign Id when importing guests from Salesforce to Social Tables as a custom field, can I use that field for fetching guests through API?
We currently don't have support for querying against custom/metadata fields. This is something I will pass to our product team. But unfortunately we don't currently support it.
I am using analytics API https://www.googleapis.com/analytics/v2.4/data to get the below mentioned metrics,
$metrics = array("sessions","avgSessionDuration","bounceRate","Pageviews","percentNewSessions","users","pageviewsPerSession","newUsers");
Can I get the pages indexed data thorugh this API? I want the number of pages indexed, also the pages list which indexed in google.
If possible via analytics API, please share me the metrics name to get the indexed pages data.
Google Analytics does not provide information about indexed pages. You will need to use the Google Search Console API instead.
Long time ago, I took and passed the Google Analytics IQ certification test. At the time, I don't believe there were such things as Core Reporting API, Management API, and Metadata API (and probably some other Google Analytics related API's that I don't know about). Now that I am going through the Google Analytics IQ certification training course again (provided by Google, presented by Justin Curtoni?? I believe that's his name), I found that they now have Core Reporting API, Management API, and Metadata API.
I am a computer programmer by trade; so, I have no problem with programming using these API's. However, what I don't understand is, what do these API's buy me that the Google Analytics UI cannot offer? There is no reason to write a program that utilizes these API's simply because I can do it. To me, the existing Google Analytics UI has a lot of tools, reports, and other features that quite extensive. I am hoping that some of you can help me see something that I am probably missing.
The APIs are primarily for programmatic access. For example, if you need to create 1000 accounts all with the same property/view structure and then maybe add a few view filters to each of those accounts, you'll probably want to use the Management API. Doing that by hand would be a nightmare.
The same thing is true for the reporting API. Maybe you want to set up task that runs every monday morning and reports on the previous weeks data. And maybe you want to display that data on an internal dashboard for your company using some fancy charting library. You'd have to use the API to get the data.
Dashboards (executive summaries; managers often want nice visualizations instead of boring drill-downs)
Custom reports for user groups that do not have a Google Account or are not supposed to have access to full reports (e.g. Affiliates)
advanced filtering and aggregation (GA report cannot do everything)
You can combine analytics data with external data (e.g. you are not allowed to store personally identifiable information within GA; but you might store a custom key that allows you to link analytics data to customer data from you CRM or fulfillment system)
Machine-to-machine communication; I once did tracking for an airline that needed trend data on what people where searching for and what they where actually booking; that data was used to allocate/withdraw resources from busy/lame flights, and part of this was done by hooking up GA to their backend system
Take a look at the GA Partner Page. I would say the primary reason is to "liberate" GA Data from outside of GA itself. As Eike mentions, you can create dashboards and combine this data with other sources for a complete "View" of your online presence.
HI I guess there is no definite answer. Here are some things you can do with the APIs:
Automating AdWords CRO based on keyword ad and campaign performance.
Scoring leads based on Analytics data (Engagement with different items) and external data from a CRM.
Collecting unsampled data using multiple daily queries
Filtering using several dimension.
Tracking conversions for periods longer than supported by AdWords.
Looking at a funnel via segments
Analyzing funnels with non-linear structures
Create more robust alerts
Export data to BigQuery and analyse it together with data from other systems.
Create Machine learning apps for behavioural customizing your site.
Create a dashboard with data from multiple views
Use product recommendation to implements "better together" in an online store.
Automate creation of accounts and properties + their integration in a Hosting provider's console.
Cheers!!
There are companies out there that claim to "integrate" data into GA. I know some phone call tracking companies in particular. Is there a way that they are uploading data to GA through the API or are they using some other method that doesn't require that?
There is no upload mechanism into Google Analytics besides manual __utm.gif calls like in the browser. Both Google Analytics APIs (Data Export and Management) are completely Read-Only.
There are a few ways these solutions work, but one of them is to generate a unique identifier for the person calling in to give the person on the other line. That code is linked to their referral information (grabbing from the cookies). Another solution is to have the customer manually input their phone number. That phone number is then dialed by the software and connected to the live person, and in the background the phone number is linked to the source information from the cookies.
Then, the person receiving the call either inputs the code it into the system, or automatically has the user's information, and at the completion of the call, depending on how it is resolved, can generate things like e-commerce transactions or particular pageviews for Goals, so it can generate __utm.gif calls with the relevant campaign and user data appended. As far as Google Analytics is concerned, the request formed is the same user. The only thing that will be different is the User Location (which is fairly inaccurate to begin with.)
ie, if I take the __utm.gif call from my computer, paste it to you, and you click it, Google will see that as an another pageview on this visit, and for most purposes ignore that the differing locations.
Well, Google Analytics works off the a tracking GIF with all kinds of data appended to it, so it can certainly be reproduced by these phone call tracking folks without a problem.
Phone call comes, request the 1x1.gif from google with tracking data suiting your needs, and the hit+data will soon register on GA.
http://www.google-analytics.com/__utm.gif?data-here&account=UA-blah&more-stuff
There are several options to send tracking data to Google analytics.
Use a library which implements the ga.js script server-side
When you use Google Analytics in the way described by Google, you include a script on your website. This script sends data from the visitors browser to the Google Analytics server.
This script has been reverse engineered and implemented in server-side libraries. Now you can send the same data from the server to the Google Analytics server. You can use PHP-GA for PHP or pyga for Python.
Use the Google Analytics measurement protocol
The Google Analytics measurement protocol is a new API to send data to Google Analytics. You can send data by sending POST requests to the API.