Skip to main content
PUT /api/v2/storefront/inventory-sources/{sourceId}/adapter-config Rotates credentials on an already-provisioned ad-server source without re-provisioning. Products, principals, and sync history survive the rotation. Use this for FreeWheel and SpringServe, whose credentials rotate — Google Ad Manager rotation uses Replace ad-server config since Scope3 manages those credentials.

Request

Parameters

Same AdServerConfig body as Replace ad-server config. The type discriminator selects the adapter; supply the rotated credentials for that adapter.
FieldTypeRequiredNotes
sourceIdstring (path)YesStorefront-scoped inventory source ID
typeenumYesgoogle_ad_manager, freewheel, or springserve
New clientSecret, password, and apiToken values are forwarded to the managed ad-server source and never persisted by Scope3. Treat them as production secrets — never log or commit them.

Response

200 OK with the updated EsaConnection (same shape as Get ad-server connection):

Errors

  • 400 VALIDATION_ERROR — unknown type or missing credentials for the adapter.
  • 401 UNAUTHORIZED — missing or invalid API key.
  • 404 NOT_FOUND — no ad-server-backed source with this sourceId.
See Errors for the full error contract.

Inventory source tasks

All operations

Replace ad-server config

Set the full config (and GAM rotation)

Test connection

Verify the rotated credentials

Get ad-server connection

Connection state