Skip to main content
Deprecated. This page documents the v2 buyer API, which is closed to new API clients and switches off on 1 December 2026. Use V3 instead: see Move a v2 buyer REST integration to V3. The conversion endpoint, Log event, stays open.
PATCH /api/v2/buyer/advertisers/{advertiserId}/measurement-sources/{sourceId} Updates a measurement source. Send only the fields you want to change; omitted fields keep their current values. sourceKey is fixed at creation and cannot be changed here.

Request

Parameters

Response

Returns the full source after the patch.

Errors

  • 400 VALIDATION_ERROR — invalid cadence/status or signalWeight outside 0–1.
  • 400 VALIDATION_ERROR — after the update, vendorMetrics would be non-empty without a vendor, would list a metricId twice, or would map a metric to an outcome type the source no longer declares. Changing outcomeType or outcomeTypes is checked against the stored metrics too.
  • 404 NOT_FOUND — sourceId (or 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

Get measurement source

Read the current source