- Property Manager name: Ad Scaler Circuit Breaker
- Behavior version: The
v2024-10-21
rule format supports theadScalerCircuitBreaker
behavior v1.2. - Rule format status: GA, stable
- Access: Read/Write
- Allowed in includes: No (temporarily)
This behavior works with manifestRerouting
to provide the scale and reliability of Akamai network while simultaneously allowing third party partners to modify the requested media content with value-added features. The adScalerCircuitBreaker
behavior specifies the fallback action in case the technology partner encounters errors and can't modify the requested media object.
Option | Type | Description | Requires | |
---|---|---|---|---|
responseDelayBased | boolean | Triggers a fallback action based on the delayed response from the technology partner's server. | {"displayType":"boolean","tag":"input","type":"checkbox"} | |
responseDelayThreshold | enum | Specifies the maximum response delay that, if exceeded, triggers the fallback action. | responseDelayBased is true | {"displayType":"enum","options":["500ms"],"tag":"select"} {"if":{"attribute":"responseDelayBased","op":"eq","value":true}} |
Supported values: 500ms | ||||
responseCodeBased | boolean | Triggers a fallback action based on the response code from the technology partner's server. | {"displayType":"boolean","tag":"input","type":"checkbox"} | |
responseCodes | string | Specifies the codes in the partner's response that trigger the fallback action, either | responseCodeBased is true | {"displayType":"string","tag":"input","type":"text"} {"if":{"attribute":"responseCodeBased","op":"eq","value":true}} |
fallbackActionResponseCodeBased | enum | Specifies the fallback action. | responseDelayBased is true OR responseCodeBased is true | {"displayType":"enum","options":["RETURN_AKAMAI_COPY","RETURN_ERROR"],"tag":"select"} {"if":{"op":"or","params":[{"attribute":"responseDelayBased","op":"eq","value":true},{"attribute":"responseCodeBased","op":"eq","value":true}]}} |
RETURN_AKAMAI_COPY | Return an unmodified Akamai copy of the manifest file to the requesting client. | |||
RETURN_ERROR | Return an error as the server response. | |||
returnErrorResponseCodeBased | enum | Specifies the error to include in the response to the client. | fallbackActionResponseCodeBased is RETURN_ERROR | {"displayType":"enum","options":["SAME_AS_RECEIVED","408","500","502","504","SPECIFY_YOUR_OWN"],"tag":"select"} {"if":{"attribute":"fallbackActionResponseCodeBased","op":"eq","value":"RETURN_ERROR"}} |
SAME_AS_RECEIVED | Return the same error received from the partner platform. | |||
408 | Return a 408 error. | |||
500 | Return a 500 error. | |||
502 | Return a 502 error. | |||
504 | Return a 504 error. | |||
SPECIFY_YOUR_OWN | Customize the error. | |||
specifyYourOwnResponseCodeBased | string | Defines a custom error response. | returnErrorResponseCodeBased is SPECIFY_YOUR_OWN | {"displayType":"string","tag":"input","type":"text"} {"if":{"attribute":"returnErrorResponseCodeBased","op":"eq","value":"SPECIFY_YOUR_OWN"}} |