HomeBook a Demo

Objects

Every object the Partner API v1 returns, with each field's type and meaning.

The Partner API is in private preview and available by invitation. If you're a partner interested in early access, contact support@getinline.io.

Response objects referenced by the token and reports reference pages. Clients must ignore fields they do not recognize; new optional fields can appear within v1.

Error

See errors for every code and when to retry.

errorobjectRequired
error.codestringRequired

Machine-readable code. Current values: invalid_request, unauthorized, forbidden, not_found, method_not_allowed, conflict, rate_limited, internal_error, unavailable. New codes may be added; treat an unknown code by its HTTP status.

error.messagestringRequired
error.request_idstring | null

PingResult

organizationobjectRequired
organization.idstring (uuid)Required
organization.namestringRequired
tokenobjectRequired
token.key_idstringRequired
token.scopesarray of ScopeRequired

See Scope.

token.expires_atstring (date-time) | nullRequired

Scope

Type: string.

reporting:read today. New scopes may be added.

RevenueReportMeta

next_cursorstring | nullRequired
data_throughstring (date) | nullRequired

Latest UTC date with loaded revenue, or null if nothing is loaded for the range.

RevenueRow

Field meanings and when numbers change are covered in revenue reports.

datestring (date)Required
publisher_idstring (uuid)Required
primary_domainstringRequired

The publisher's primary domain, lowercase, with no scheme or path. Revenue from the publisher's alternate domains is included in its row.

gross_revenuenumberRequired

What ad partners paid for your organization's ad traffic on this publisher, before the revenue share, rounded to 6 decimal places.

net_revenuenumberRequired

Your organization's share of gross_revenue, rounded to 6 decimal places.

impressionsintegerRequired

Paid ad impressions reported by ad partners.

currencystringRequired

ISO 4217 code. Always USD today.

is_finalbooleanRequired

True when ad partner data for the date is final (two or more UTC days old). A revenue share change can still restate net_revenue.