put https://sfx.freewheel.tv/api/remote-campaign/stop-campaign?token=MY_CAMPAIGN_TOKEN
This method uses PUT to stop a campaign.
Validations/Error Messages
In case of failure the service replies with specific error codes. Here are the codes for the JSON and the corresponding HTTP status codes:
Code | Indicates |
---|---|
0 | Campaign is now stopped => HTTP 200 |
1 | token parameter is mandatory => HTTP 400 |
2 | Failed to stop campaign (Please check provided token is valid) => HTTP 503 |
3 | Failed to refresh ad server configurations => HTTP 503 |
4 | Ad server configurations were partially refreshed => HTTP 503 |