Tuesday, August 6, 2013

Google Ads Developer Blog

Google Ads Developer Blog


Local time zone reporting in the AdSense Management API

Posted: 05 Aug 2013 09:05 AM PDT

You may have heard that we launched local time zone reporting for AdSense, a fantastic feature for publishers far from the Pacific Time Zone (PTZ)! On the API side we've been asked some questions about it, as in some cases this may lead to the AdSense web interface and the AdSense Management API showing different data.

In Version 1.3 of the AdSense Management API, the report.generate call has a new, optional parameter called useTimezoneReporting. If set to true, the report will be generated in the local time zone configured in the web interface. Note that billing is still based on PTZ, so if you want to fetch actual earnings you may want to make sure that useTimezoneReporting is set to false or you might see small discrepancies.

The default value for this parameter is false resulting in PTZ being respected, as it was before the feature was added. If an AdSense user doesn't choose a local time zone it will default to PTZ, so this parameter won't make a difference.

Our recommendation is that developers let users choose if they want reports in their "Billing time zone" or their "Local time zone" (to match AdSense's terminology).

Bear in mind that users changing their local time zones can generate spikes or dips in the local time zone reports, as it makes the day of the change longer or shorter.

You can read more about this in the AdSense blog, and the AdSense help center has instructions on how to enable the feature.

Retiring AdSense Management API v1 and v1.1

Posted: 05 Aug 2013 07:33 AM PDT

With the release of v1.2 (and the subsequent v1.3) of the AdSense Management API, older versions became deprecated, and we announced we would be retiring them later this year. The turnoff date will be August 12, 2013.

If your application is still using v1 or v1.1, please be sure to update it to use v1.2 ‒ or preferably, v1.3. The new versions build on top of the old ones, so all previous functionality will still be available and work exactly the same, which should make for an easy upgrade.

If you have any questions or need any help, be sure to join us in the forum!

, AdSense Management API Team

No comments:

Post a Comment

//SEO SCRIPT POWERED BY www.alltechbuzz.in