Download Report Exports CSV
The file method is used to download You can download the export file. the report exports The export file is the .csv file resulting from the report export operation. in CSV format. It uses the OrganizationId
for the specific organization In Broadsign Ads, an Organization is a client account that contains one or several users. and the reportId
of the specific report The report contains all the dimensions and metrics information that you need to see. for which you want a list of exports An export represents one version of a generated report..
This will return the report in CSV format.
If the endpoint returns a 302 status code, make sure that your HTTP client supports redirection. You can also retrieve the export URL from the content of the returning header (see Reports API Integration with Google Data Studio).
https://api.buy.broadsign.com/v1/organizations/{organizationId}/reports/{reportId}/exports/{exportId}/file
GET
Authorization: [my token]
Response Body Example
OrganizationId,Ads Played,Total Media Cost,Media Cost,Impressions
123,3535000,596019,719053,121651000
"/organizations/{organizationId}/reports/{reportId}/exports/{exportId}/file" : {
"get" : {
"consumes" : [ "application/json" ],
"parameters" : [ {
"name" : "reportId",
"in" : "path",
"required" : true,
"type" : "string"
}, {
"name" : "exportId",
"in" : "path",
"required" : true,
"type" : "string"
}, {
"name" : "Authorization",
"in" : "header",
"required" : true,
"type" : "string"
}, {
"name" : "organizationId",
"in" : "path",
"required" : true,
"type" : "string"
} ],
"responses" : {
"200" : {
"description" : "200 response"
},
"400" : {
"description" : "400 response"
}
},
"security" : [ {
"PublicApiLambdaAuthorizer" : [ ]
}, {
"api_key" : [ ]
} ]
}
}
}
OrganizationId,Ads Played,Total Media Cost,Media Cost,Impressions
123,3535000,596019,719053,121651000