Skip to main content
POST /api/v2/buyer/advertisers/{advertiserId}/context-records Uploads exogenous context data — promos, weather, competitor activity, seasonality — so the learning engine can partial these effects out when estimating incremental impact. Each record covers one geo and time window. Up to 5,000 records per call.

Request

Parameters

Response

Returns the count of records uploaded. The endpoint upserts on (account, advertiser, geo, time window), so re-uploading the same key updates in place.

Errors

  • 400 VALIDATION_ERROR — empty records, more than 5,000 records, a missing required field, or a malformed date.
  • 404 NOT_FOUNDadvertiserId 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

Upload measurement records

Upload outcome records