gzog / analytics-issues

Automatically exported from code.google.com/p/analytics-issues
0 stars 0 forks source link

function does not work -> management_dailyUploads (Analytics Daily Upload) #390

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Google APIs Client Library for PHP -> analytics
Analytics Management API - Daily Upload Developer Guide

such a request causes an error:
$Analytics_test = $service->management_dailyUploads->upload(
'123456789', // your accountID
'UA-123456789-1', // your web property ID
'xxxxxxxxxxxxxxxxxx', // your custom data source UID
'2014-01-05', // date
1, // append number
'cost', // type of data
array(
'reset' => true,
'data' => file_get_contents("reports/report_2013-12-23.csv"),
'mimeType' => 'application/octet-stream',
'uploadType' => 'media'));

at least incorrectly formed URL request...

more https://github.com/google/google-api-php-client/issues/51

Original issue reported on code.google.com by mywork...@gmail.com on 24 Jan 2014 at 6:52

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Works for me (current git master).

Original comment by mi...@medio.cz on 25 Feb 2014 at 10:31