currently working with Google analytics to get a list of companies based on GA's Service providers (which after a filter of "default ones" I can determine the leads). Now I would like to be able to get an overview of urls visited per lead. I can't find any way to get those service providers linked to visited urls in the API.
P.S. only interested in results of last 24 hours so I don't need full histories.
I would just request ga:pagePath, ga:networkLocation dimensions ga:pageViews metric then add a filter on with ga:date = today. The filter will ensure that you only get data back for today.
This should give you a list of the Network domans and what pages they viewed today.
There is a problem with this it can take a while for google to process the data i have read any where from 4 - 8 hours. I normaly filter on yesterday that way i'm almost always sure that all the data was processed. You could try with the realTime api but then there isnt much data there and there are a limited number of dimensions and metrics you can select from it. I'm not even sure that what you are looking for is available.
Related
I would like to get the revenue from the google bees for every single item on my website to create a control panel on my website where I can see how much each item makes
You can use the AdSense Management API to generate reports on your website's ads. You can specify dimensions to break down your data by (for example, using the AD_UNIT_ID dimension will generate a report with a row for each Ad Unit), and you can use metrics to specify what data you want to retrieve (there are a number of metrics associated with revenue).
For a more detailed walkthrough, there are several Reporting guides that you might find useful.
I've been searching information about devices at least 2 days, and still havent found it.
All reports are listed there.
https://developers.google.com/adwords/api/docs/appendix/reports/all-reports
Is there a way to get device report somehow?
There is no DEVICE_PERFORMANCE_REPORT, but your can add the Device field to pretty much every existing report to segment your data by device.
If all you care about is overall numbers per device type, just create an ACCOUNT_PERFORMANCE_REPORT, define the metrics you are interested in and add the Device field. You'll receive a report with 3 rows, one for every device type.
Hi I need to build a dashboard which shows stats for our automation campaigns such as sends, opens, bounces etc.
The Mailchimp api only returns for the entire period the automation has been active. I want to see the stats for a particulier date, however I can't find an API method that accepts a date range or groups results per date. The lists/activity method is exactly what I need, but it doesn't include e-mails sent using an automation :(
I have emailed the Mailchimp support team and they recommend me to use the /reports/email-activity method. This returns a long list of all open and bounce activities for an automation. I have tried to use this, but this is also not a good solution. This means I would have to store thousands of events in MySQL and run complicated group by and where queries to get my data. Furthermore this only includes the open, click and bounce events, thus this data is worthless without knowing how much e-mails were sent on the date of an event because you can't calculate open rates.
Does anyone know a way the retrieve stats for just one date? What I am looking for is a Mailchimp version of Mandrill method: https://mandrillapp.com/api/docs/messages.JSON.html#method=search-time-series.
Thank you for you time and help
for the campaigns exist "Response body parameters"
before_send_time
since_send_time
campaigns?since_send_time=2016-02-21T15:41:36+00:00&before_send_time=2017-03-10T15:41:36+00:00
I'm using the Google Plus API for a project that I'm working on. I'm hoping to be able to get information about shared circles in which a particular user has been included.
I've seen this active on Circle Count. For example, half way down Guy Kawasaki's profile page (http://www.circlecount.com/p/+GuyKawasaki), you can see the number of circles in which he has been shared. It also includes information about each circle like the date it was shared, the number of users that were included in it and a few more details.
I'm using PHP and am hoping to do this through the API, but I don't see any options for this type of information in the API. When I use the API to get information about activities, I don't see any field that seems to identify a shared circle post as anything different from any other post.
If you know a way to workaround the lack of support for this in the API through some form of a hack, please feel free to let me know.
Try looking over here: https://developers.google.com/+/domains/getting-started
Read the names of a user's circles and the membership of each circle
Google+ API v1 NO
Google+ Domains API YES
So I get on this url (Google+ Domains API): https://developers.google.com/+/domains/api/#Circles
Where the information about circles can be retreived. With this call:
/people/{userId}/circles
I'm looking for a way to retrieve and then display (with some Highcharts - like library) the current traffic we have on the website. The same way google analytics displays it on the gioogle analytics admin dashboard, but I'd like to retrieve with some API and display it directly on our custom dashboard.
After reading through the complete google analytics documentation, I've understood that
"Google Analytics API doesn’t support real-time stats yet… but this is
still useful if you want to display pageviews or number of visits on
your site and have it automatically update."
So my question is, is there another API to retrieve and display the current/instant traffic on a website on our custom admin dashboard. Or, is there a workaround (with AJAX ?) to do so with the google analytics API ? ( i've seen that you can retrieve the amount visitors on a given perido, so even if this is not real time, fo now it gets as close as I can to my goal)
I'm working with php and javscript
Thanks
No - the current API doesn't currently support true real-time statistics. It is the most highly requested feature though:
Google Analytics developer issues and feature requests
Access to Real Time Data
We develop services which integrate with the API. On average I estimate the latency is about 1-3 hours. I believe the larger your dataset it the longer the latency.