Skip to main content
PUT /api/v2/buyer/advertisers/{advertiserId}/measurement-config Updates the measurement configuration for an advertiser. This is an upsert — pass only the fields you want to change; omitted fields keep their prior values. Read the current config with Get measurement config.

Request

curl -X PUT https://api.interchange.io/api/v2/buyer/advertisers/12345/measurement-config \
  -H "Authorization: Bearer $SCOPE3_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "mmmEnabled": true,
    "mmmConfig": {
      "provider": "example-mmm",
      "dataSourceIds": ["ds_revenue", "ds_orders"],
      "reportingFrequency": "weekly"
    },
    "incrementalityTestingEnabled": true,
    "brandLiftEnabled": false,
    "settings": { "defaultLookbackDays": 28 }
  }'

Parameters

FieldTypeRequiredNotes
advertiserIdstringYesPath parameter — the owning advertiser
mmmEnabledbooleanNoEnable Marketing Mix Modeling
mmmConfigobjectNoMMM settings. provider (string), dataSourceIds (string[]), reportingFrequency is weekly, monthly, or quarterly. Extra keys allowed
incrementalityTestingEnabledbooleanNoEnable A/B incrementality tests
brandLiftEnabledbooleanNoEnable brand-lift study integration
settingsobjectNoFree-form key/value advertiser-level overrides

Response

{
  "advertiserId": "12345",
  "mmmEnabled": true,
  "mmmConfig": {
    "provider": "example-mmm",
    "dataSourceIds": ["ds_revenue", "ds_orders"],
    "reportingFrequency": "weekly"
  },
  "incrementalityTestingEnabled": true,
  "brandLiftEnabled": false,
  "settings": { "defaultLookbackDays": 28 },
  "createdAt": "2026-01-15T10:30:00Z",
  "updatedAt": "2026-03-20T14:45:00Z"
}
Returns the full config after the upsert. mmmConfig is null when mmmEnabled is false; settings is null when no overrides are configured.

Errors

  • 400 VALIDATION_ERROR — invalid reportingFrequency or malformed body.
  • 404 NOT_FOUNDadvertiserId does not exist or is not visible to the authenticated customer.
See Errors for the full error contract.

Measurement tasks

All measurement operations

Measurement overview

Pipeline, belief state, and concepts

Get measurement config

Read the current config