Why Update Advertisers?
Occasionally, you may need to make changes to an existing campaign or flight. The Update Advertisers API endpoint enables you to update the settings for a given advertiser, allowing you to make edits and changes quickly and easily, without creating a new advertiser.
Note
You can update all fields from Creative Advertisers except for
id
.
API Syntax
When using the Update Advertisers API endpoint, it is important to understand the syntax required to make the request. Because the Kevel API is a RESTful API, there is a specific request format that must be followed to ensure the endpoint can process the request. The format is:
PUT https://api.kevel.co/v1/advertiser/{AdvertiserID}
Where:
PUT
- the type of API request being made.https://api.kevel.co
- the URL for the request.v1
- the API version.advertiser
- the API endpoint being called.AdvertiserID
- The ID associated with the advertiser being updated.
Warning
Once you set
IsDeleted
on an advertiser object totrue
, you cannot set it to falseagain
. Instead, the API will return:{"message":"This advertiser is deleted."}
.
Clearing attribute values
To unset or clear an attribute, set its value to
NULL
.