Update State Of Existing Negative Keywords

This API updates the state of existing negative keywords by ID. Only state is mutable on the partner path; keywordText and negativeMatchType on the request body are silently ignored. To change the stored text or match type, archive the existing row and create a new one.

The response keywordText echoes the existing stored value (unchanged by the update).

Body Params

List of negative keyword state updates. Batch size must be 50 or fewer.

Headers
string
required

Auth signature as an API key.

string
required

We will provide you the consumer ID to access the API. It is same for all advertisers you access through the API.

integer
required

We will provide you with the KEY VERSION to access the API. It is same for all advertisers you access through the API.

integer
required

Timestamp for which the auth signature is generated. Use Unix epoch format.

string
required

The token will provide you the access to the API. It is same for all advertisers you access through the API.

Responses

400

Whole-request failure — for example, request body is null, malformed JSON, or batch size exceeds the maximum of 50.

401

Missing or invalid partner-API authentication headers.

403

Negative keywords are not enabled for this tenant, or the caller lacks write access.

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
*/*