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
SameAdServerConfig body as Replace ad-server config. The type discriminator selects the adapter; supply the rotated credentials for that adapter.
| Field | Type | Required | Notes |
|---|---|---|---|
sourceId | string (path) | Yes | Storefront-scoped inventory source ID |
type | enum | Yes | google_ad_manager, freewheel, or springserve |
Response
200 OK with the updated EsaConnection (same shape as Get ad-server connection):
Errors
400 VALIDATION_ERROR— unknowntypeor missing credentials for the adapter.401 UNAUTHORIZED— missing or invalid API key.404 NOT_FOUND— no ad-server-backed source with thissourceId.
Related
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