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.
id is the sourceId you pass to Get and Update.
Errors
400 VALIDATION_ERROR— missing a required field, invalidcadence/status, orsignalWeightoutside 0–1.400 VALIDATION_ERROR—vendorMetricssent withoutvendor, ametricIdlisted twice, or a metric mapped to an outcome type that is neitheroutcomeTypenor inoutcomeTypes.404 NOT_FOUND—advertiserIddoes not exist or is not visible to the authenticated account.
Related
Measurement tasks
All measurement operations
Measurement overview
Pipeline, belief state, and concepts
List measurement sources
See registered sources