# Ad spend against what the site recorded

`GET /marketing/attribution` · Rivier · workspace

Ad spend against what the site recorded: per platform and per campaign, the spend the platform reported, the orders, bookings and forms the site recorded from visits that named that platform and campaign label, cost per outcome, and return on spend where the currencies match. Labels that match nowhere are listed apart, never guessed together.

- Scope: workspace:read
- Mcp: rivier_marketing_attribution
- Graphql: Query.workspaceMarketingAttribution
- Sdk: workspace.marketing.attribution
- Cli: workspace marketing attribution

## Parameters

- `from` (query), string
- `to` (query), string

## Responses

- `200`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X GET 'https://api.rivier.ai/marketing/attribution' \
  -H 'Authorization: Bearer $KEY'
```
