PUT /api/v2/storefront/esa/{esaId}/execution-currency
Sets the execution currency for an existing FreeWheel source without replacing
its stored credentials. Use the ad-server connection id as esaId, as returned in the
managedSa.connectionId field of the inventory source read; this is not the
inventory source’s sourceId.
The currency must match the currency FreeWheel will assign to insertion orders
and must be one your storefront settles. Apostra does not choose a default
currency for you.
Request
Parameters
Response
200 OK with the updated EsaConnection. The non-secret FreeWheel config
shows the saved value in adServer.executionCurrency:
Errors
400 VALIDATION_ERRORmeans the value is not a three-letter currency code, the storefront does not settle it, the source is not active and provisioned, the source is not FreeWheel, or FreeWheel cannot verify the network currency. The previous execution currency remains active.401 UNAUTHORIZEDmeans the API key is missing or invalid.404 NOT_FOUNDmeans no ad-server source has thisesaIdon your storefront.409 CONFLICTmeans another ad-server configuration change is awaiting reconciliation. Retry after that change completes.
Related
Connect an ad server
Replace the full adapter configuration
Troubleshoot source problems
Resolve execution-currency readiness blocks