RocketCOMS

Enable Keyword Filtering for a Campaign

Enable or disable keyword filtering for a campaign. Filtering must be enabled before you can assign keyword filter lists to the campaign.

Endpoint

PATCH /v1/campaigns/{id}

Authorization Header

Authorization: Bearer <access_token>
or
Authorization: Basic <encodedString>
where <encodedString> is your <api-key>:<api-secret> string encoded using Base64 encoding

Path Parameters

id  REQUIRED

string (UUID)

Unique ID assigned to the campaign in RocketCOMS.

Request Body

filtering  REQUIRED

boolean

Whether keyword filtering is enabled for the campaign. Must be enabled in order to add keyword filter lists to the campaign.

Returns

If successful, returns 200 Campaign Updated successfully.

SAMPLE REQUEST

				
					{
  "filtering": true
}
				
			

SAMPLE RESPONSE

				
					{
  200 Campaign Updated successfully
}