msfrest
Create a GA download task
post/gdc/projects/{projectId}/dataload/download/googleanalytics/downloadTasks
Request
- Base URLhttps://secure.gooddata.com
- Authnone declared
Request body
Example request
{
"googleAnalyticsDownloadTask": {
"credentials": {
"clientId": "{clientId}",
"clientSecret": "{clientSecret}",
"refreshToken": "{refreshToken}"
},
"definition": {
"ids": "ga:123abc",
"startDate": "2012-01-01",
"endDate": "2012-02-02",
"metrics": [
"ga:metric1",
"ga:metric2"
],
"dimensions": [
"ga:dimension1",
"ga:dimension2"
],
"filters": [
"ga:filter1",
"ga:filter2"
],
"segment": "sampleSegment",
"outputFile": "{outputFile}"
},
"timeout": 1000
}
}Response
Created - new GA download task created
Example response
{
"asyncTask": {
"link": {
"poll": "/gdc/uri/poll"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.