List All The Negative Keywords In A Campaign

This API returns every negative keyword configured across all ad groups of the specified campaign. Negative keywords are supported on keyword-bidded campaign types (SP Auto and SP Manual) that use an allowed bidding strategy; unsupported campaign types return an empty array.

The keywordText field in the response is returned as it is currently stored. Negative keywords created after the Polaris normalization rollout are stored in canonical form (whitespace collapsed, punctuation stripped, lowercase); legacy rows created before the rollout remain in lowercase form until the one-time backfill runs. No normalization is applied on read.

Query Params
int32
required

The ID of the advertiser. The caller must have read access to this advertiser.

int32
required

The ID of the campaign. Must belong to the given advertiserId.

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

401

Missing or invalid partner-API authentication headers.

403

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

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