Good-Loop API Documentation
Good-Data API - v0.1 alpha! This version of the API is ready for use, but parameters may change without warning.
Change Log
[0.1.2]
- Two new parameters for the
/report/new
endpoint:breakdown
- Optional. Specify a breakdown for the report by format, domain, countryq
- Optional. Query string for filtering reports. Useadid:X
whereX
is the id of a Green Tag you generated.
Authorization
An API Key is required inside of the request header for every API request.
Endpoints
The Good-Loop API provides two categories of endpoints:
Carbon Measurements of Your Own Data
Reporting of Green Ads Tag Data
Method | Endpoint | Type | You Provide | Returns | GAT Data? |
---|---|---|---|---|---|
POST | POST /score |
Measure | Report from DSP (json string) | Measured data | No |
POST | POST /csv |
Measure | Report from DSP (csv file) | Measured data | No |
POST | POST /csvpromise |
Measure | Report from DSP (csv file) | Measurement ID (Not data) | No |
GET | GET /csvpromise/{id} |
Measure | Measurement ID | Measured data | No |
POST | POST /report |
Report | Dimension and breakdown (What data to report) | Report ID (Not data) | Yes |
GET | GET /report/{id} |
Report | Report ID | Report data | Yes |