TPP - Smart Adserver

 

{ "tppProviderId": 8, "accountId": "123456", "username": "api@customer", "password": "xxxwwwyyyzzzz" }

Authentication

base 64 encode “username:password” and add it as a header as

'Authorization' => "Basic $authorization"

to https://reporting.smartadserverapis.com/[accountID]/reports

use get method to list the generated reports or download previously generated report using '/[taskId]' in the path (https://reporting.smartadserverapis.com/[accountID]/reports/[taskID])

use post method to generate new report as described in API report tutorial

Docs

API report tutorial