Skip to main content
POST /api/v2/buyer/advertisers/{advertiserId}/measurement-sources Registers a measurement data source (e.g. an MMM model or brand-lift study) for an advertiser. The source defines which outcome type it produces, how often, and the lag before data lands — the engine uses these to weigh incoming records and check freshness.

Request

Parameters

Response

Name the vendor and its metrics

provider is a free-text label. When the source is a measurement vendor that sellers and goals can refer to, also send vendor and vendorMetrics. Sellers identify a vendor metric by the vendor’s domain and the metric id, so this is what lets a goal later be counted by this source. Each metric maps to one of the source’s outcome types; records you upload under that outcome type count as that vendor metric.
The returned id is the sourceId you pass to Get and Update.

Errors

  • 400 VALIDATION_ERROR — missing a required field, invalid cadence/status, or signalWeight outside 0–1.
  • 400 VALIDATION_ERROR — vendorMetrics sent without vendor, a metricId listed twice, or a metric mapped to an outcome type that is neither outcomeType nor in outcomeTypes.
  • 404 NOT_FOUND — advertiserId does not exist or is not visible to the authenticated account.
See Errors for the full error contract.

Measurement tasks

All measurement operations

Measurement overview

Pipeline, belief state, and concepts

List measurement sources

See registered sources