Is there DEVICE_PERFORMANCE_REPORT in Google AdWords API - php

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.

Related

how can I take the profit of the individual pages with google adsense or analytics api?

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.

Mailchimp API 3.0 How to retrieve statistics for an automation with a daterange

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

How to send a value in Database to Google analytics?

I manage web application which is made by Symfony2(PHP).
I measure some value in Database (for example, register User per a day) on management screen made by myself.
But I want to compare this value with data on Google analytics.
so I want to know how to send a value in database to Google analytics.
You could check the Data Import section on Property level, in Admin menu. You can find various range of data, that can be imported into Analytics, and applied to your reports.
It's not clear from your post, if any of these would be a solution for you. The detailed description of this feature is available here.
Personally, I'd do it reversed, and collect GA data for my management screen via GA API, if I had a management screen already.

Google analytics service provider leads

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.

Get all SMS from a particular number in inbox - Esendex

I am using the Esendex Rest API http://developers.esendex.com/APIs/REST-API/inbox and I am trying to get all the messages in the inbox from a particular phone number.
This is basically so if I do a send out of SMS's and someone replies I am able to retrieve the reply.
I can currently get all the messages in the inbox into an array and sort them, but this is too slow with over 4000 messages.
Does anyone know if I can filter by phone number, or at least date-received in my API requests? Even if I could get the last weeks worth of SMS's.
You can try to use the conversation API if you want to filter by a phone number. The drawback is that you can get only the latest 15 messages, also that there is no reliable way to detect if a reply has been received from a phone number other than the inbox API. Apart from this I wasn't able to find anything that can help you. Their API is very restrictive and minimal.
There's currently no way to do this via the REST API but I'll see if we can add it over the next couple of weeks (I work for Esendex). As you note the functionality already exists in the Conversations API albeit in a more minimal form.
In the meantime you could achieve this by checking all messages that arrive either by polling the Inbox or using Push Notifications.

Categories