Adsense API data in local timezone - adsense-api

I'm working on an application to connect to the Google Adsense API. As I'm based in the UK, my reports on the Google Adsense web login are all set to UK local time. However, the API data all seems to be solely in Pacific Time, AKA Google Standard Time :-)
This isn't necessarily a huge issue, as it doesn't affect actual earnings. But it does make it harder to track things like CPC and CTR on a daily basis. It would be easier if I could drill down into the data to hourly level, as then I could easily reallocate out-of-zone hours to the adjacent day. But that doesn't seem to be an option either, unless I'm missing something.
I've searched the documentation, but can't seem to find any means of controlling the timezone of API data. Is there any way to get the APi to deliver the data in a local timezone, or do I just have to put up with getting my reports in Pacific time?

As a developer you can't define a time zone to use, but as a publisher you can change your local time zone in the AdSense web interface. After that, you can use useTimezoneReporting when requesting a report.
Read the full explanation and "Things to watch out for" in:
https://developers.google.com/adsense/management/timezone

Situated in the UK, I request a saved report from AdSense API and with "yesterdays" data.
When triggered after midnight our time it pulls data from the day before yesterday...
I didn't know the API was functioning on PST time and just believed it would follow the local timezone set on our account.
Even though the documentation in the comment above mentions reports will be done in "local time" when set in your account, the API will still operate calls based on its own timezone (PST). +8 hours GMT.
So if you need to get "yesterdays" report, be sure to set the date on your call or adjust your schedule to match the PST time zone.

Related

Google popular times in nodejs

Google provided the latest Api "Popular times" to get data regarding to the specific time a particular business or else is busy or popular. However it comes with python implementation.
Does anyone know a way to use the google popular times api inside a Node.js project?
https://github.com/m-wrzr/populartimes
this link gets you for a python code..how to include or how we can get api for node project
You could try the foot traffic API service BestTime.app, which also works with Node.JS. Unfortunately, it's paid, but they offer a free test account.
BestTime.app provides foot traffic data almost similar to Google Popular Times and Foursquare data, but with more functionality. You can also analyze and filter foot traffic data of multiple places in an area. So you can for example filter places and show only bars that are busy on Friday evening, or show only supermarkets that are quiet on Sunday morning.
You can view the data through their website tools (e.g. on a heatmap), or get the same data through their software API (Software API tutorial).
Integrating the API is really useful if you want to e.g. make consumer-focused apps/websites to inform people to which place they should and at what time.
In the picture above the BestTime.app Radar tool shows foot traffic data for popular attractions in New York City. On the left the a foot traffic prediction is shown for the whole day. The map is overlayed with a heatmap that indicates the predicted foot traffic intensity for current hour per place. Using the filters, in the right panel, you can narrow down your search by selecting for example only the quiet NYC attractions on Friday afternoon.
Disclosure: I work for BestTime.app

Maximo Control Desk (7.5.1.2) - Measuring business hours spent in a specific status

We're transitioning to a managed service provider for our IT service desk and deskside and we're working out the details of their SLAs. Many of the SLAs are based on ticket status. An example of this is the following:
"Measures the amount of time it takes to assess, schedule, test, and package application packages before they are available for User Acceptance Testing."
My first thought was to try using SLAs to measure this, as they neatly tie together calendars and priorities, but I'm having a really hard time finding any information about how I could do this.
Now I'm looking into using the TKSTATUS.STATUSTRACKING attribute on tickets, but I believe this just tracks straight 24/7 time instead of taking into consideration any calendars.
Has anyone tried this before? Any suggestions?
We are in a similar process, but we are measuring time on site of vendors for our work orders. Opposed to using any SLAs we have diffrent statuses which mark different events. Then when we want to know how long it took for an event to finish, we look to see the time required to change status in the wostatus table.

How to record user activity - Sharepoint 2013

I'm currently running Sharepoint 2013 Enterprise and would like to know the following:
Which pages each user has accessed over the last X Days
How much time each user has spent on each page (can't average, I need to know per user)
It is like a Google Analytics, but at a "user" level. Any clues on how to do that?
I searched a lot stackoverflow and found nothing. Maybe I'm using the wrong terminology.
Under the site collection administration "popularity and search report". You can find some of the information.
According to MSDN blog "Due to less than optimal performance running service at scale in large enterprises, web analytics has been discontinued and is not available in SharePoint 2013."
Web analytics was available in 2010.
If allowed you can choose Google analytics, its just java script reference , add it in your default master page
Definitely not web analytics, but user specific usage reporting based on sessions.
Assuming that this is cleared by your legal department (which at least in the EU most likely would not happen), what you need is a simple database with page views (with session info) and each action time stamped.
This would then be reported per user to contain a list of sessions, that each have a list of pages and calculate the time between first and last interaction per session.

Active Directory historical data

Is it possible to query historical data from Active Directory? Does it keep it?
Can I execute anything like this:
Get User's Direct Reports
http://msdn.microsoft.com/en-us/library/windowsazure/dn151686.aspx
to find out the list of the user’s direct reports for a day in the past?
No.
Currently (as of November the 6th 2013) there is no such option/feature in the WAAD.
The feature that I expect to see in the future releases (and is totally my speculation and expectation) is related more to auditing logs (such as who did what and when), which might eventually help you.

AggCat Account Data - Time required to refresh

I am using the Intuit AggCat Beta in a development environment and noticed that when I discover new accounts, they often don't include important information like balances, current interest rates, and other key pieces of data. This is true even after calling functions like getAccountTransactions or getCustomerAccounts (not simply discoverAndAddNewAccounts).
However, after a few hours, I refresh the accounts and this information shows up. It's very important that new accounts include this data during the discovery process, and I wanted to check if this is an issue of using the development environment (e.g. something that will go away in production?) or if other users are having this issue
This is how it works in both dev and prod environment. During the account discovering, it may not be able to get all information for some accounts for some financial institutions because of their website layout/data limitation.
The refresh call will get these information. So the best practice is to refresh the account before you try to get these information.

Resources