Update Campaigns

put/v1/campaign/{CampaignID}

Request

  • Base URL
    https://api.kevel.co
  • URL
    https://api.kevel.co/v1/campaign/{CampaignID}
  • Auth
    API key in header X-Adzerk-ApiKey

Path parameters

CampaignIDinteger required

ID of the Campaign

Request body

Idinteger required

The ID of the Campaign

AdvertiserIdinteger required

The ID of the Advertiser

Namestring required

The name of the Campaign

IsActiveboolean required

Whether campaign is active or not

isDeletedboolean

If want to delete, set to true

Response

200

IsActiveboolean
DontAffectParentFreqCapunknown
DailyCapAmountunknown
FreqCapTypeinteger
CapTypeunknown
IsFreqCapboolean
IsDeletedboolean
EndDateISOunknown
Priceinteger
IsArchivedboolean
LifetimeCapAmountunknown
FreqCapDurationunknown
FreqCapunknown
SalespersonIdunknown
AdvertiserIdinteger
Namestring
Idinteger
CustomFieldsJsonunknown
StartDateISOstring

Example response

{
  "IsActive": true,
  "AdvertiserId": 123456,
  "Name": "Nike Q4 Campaign",
  "Id": 56789,
  "StartDateISO": "2018-11-11T00:00:00.0000000"
}

Changes

No recorded changes to this operation across all 1 revision of this API.