Reports API Version 2 Attribution

Introduction

The attribution section of the report API allows you to read the active attribution models that have been set for the given IGRP.

List Attribution Models

Returns a list of all attribution models that are active for the given IGRP.

Request:

GET /reports/v2/igrps/{IGRP SPECIFIER}/attribution

URL Path Params

GET Params

Filter Types

Sort Types

Same as Filter Types

Response:

All active attribution models for the given IGRP spec.

{"modelId":"1","igrp":"1","modelName":"Weighted First (exc. PPC)","modelType":"weightedFirst","lookbackDays":30,"weight":4,"channels":[1],"channelsMode":"exclude","matchCriteria":"","modelStatus":"200","createDatetime":"2016-12-01 14:05:57","updateDatetime":"2016-12-02 14:05:57","deleteDatetime":"0000-00-00 00:00:00"}
{"modelId":"2","igrp":"1","modelName":"Bath Tub","modelType":"spread","lookbackDays":90,"firstWeight":2,"lastWeight":3,"channels":[1],"channelsMode":"exclude","matchCriteria":"","modelStatus":"200","createDatetime":"2016-12-01 14:05:57","updateDatetime":"2016-12-02 14:05:57","deleteDatetime":"0000-00-00 00:00:00"}

Read Attribution Model

Returns a single row attribution model for the given IGRP ID and attribution model ID.

Request:

GET /reports/v2/igrps/{IGRP SPECIFIER}/attribution/{ATTRIBUTION SPECIFIER}

URL Path Params

Response:

Single row of the attribution model details.

{"modelId":"1","igrp":"1","modelName":"Weighted First (exc. PPC)","modelType":"weightedFirst","lookbackDays":30,"weight":4,"channels":[1],"channelsMode":"exclude","matchCriteria":"","modelStatus":"200","createDatetime":"2016-12-01 14:05:57","updateDatetime":"2016-12-02 14:05:57","deleteDatetime":"0000-00-00 00:00:00"}