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
| Field | Type | Required | Notes |
|---|---|---|---|
advertiserId | string | Yes | Path parameter — the owning advertiser |
sourceId | string | Yes | Path parameter — the source ID |
name | string | No | Human-readable label |
outcomeType | string | No | Primary outcome the source reports |
outcomeTypes | string[] | No | Additional outcome types |
granularity | string | No | Reporting grain (e.g. geo_week) |
lagWeeks | integer | No | Expected reporting lag in weeks |
cadence | enum | No | continuous, daily, weekly, biweekly, monthly, quarterly |
provider | string | No | Partner name |
ingestionMethod | string | No | How records arrive |
attributionConfig | object | No | Free-form provider attribution settings |
signalWeight | number | No | Weight in belief updates, 0–1 |
status | enum | No | pending, active, paused |
notes | string | No | Free-text notes |
Response
Errors
400 VALIDATION_ERROR— invalidcadence/statusorsignalWeightoutside 0–1.404 NOT_FOUND—sourceId(oradvertiserId) does not exist or is not visible to the authenticated customer.
Related
Measurement tasks
All measurement operations
Measurement overview
Pipeline, belief state, and concepts
Get measurement source
Read the current source