<!--
{
  "availability" : [
    "Search Ads: 5.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Apple_Ads",
  "identifier" : "/documentation/apple_ads/Create-Campaign-Negative-Keywords",
  "metadataVersion" : "0.1.0",
  "role" : "Web Service Endpoint",
  "symbol" : {
    "kind" : "Web Service Endpoint",
    "modules" : [
      "Apple Ads"
    ],
    "preciseIdentifier" : "rest:apple_ads:post:v5-campaigns-{}-negativekeywords-bulk"
  },
  "title" : "Create Campaign Negative Keywords"
}
-->

# Create Campaign Negative Keywords

Creates negative keywords for a campaign.

## Overview> Note:
> If you create duplicate keywords, the payload response indicates an error, but the call returns with a 200 status code.

- 400: An invalid query or missing required parameters.
- 401: An unauthenticated call fails to get the requested response.
- 403: Insufficient rights to the resource.
- 404: The API can’t locate the resource.
- 429: The API calls exceed rate-limit thresholds. See the Rate Limits subsection of [Calling the Apple Ads API](/documentation/Apple_Ads/calling-the-apple-search-ads-api).
- 500: The Apple Ads server is temporarily down or unreachable. The request may be valid, but you need to retry it later.

## Discussion

Negative keywords prevent your ad from showing up in App Store searches. Negative keywords can belong to a campaign or an ad group.

To create campaign negative keywords, use the associated `campaignId` in the URI.

### Payload example: Create campaign negative keywords

**Request:**

```
POST https://api.searchads.apple.com/api/v5/campaigns/{campaignId}/negativekeywords/bulk

[
    {
        "text": "create campaign negative keyword example 1",
        "matchType": "EXACT"
    },
    {
        "text": "create campaign negative keyword example 2",
        "matchType": "BROAD"
    }
]
```

**Response:**

```json
[
  {
    "id": 542370642,
    "campaignId": 542370539,
    "adGroupId": 542317095,
    "text": "create campaign negative keyword example 1",
    "status": "ACTIVE",
    "matchType": "EXACT",
    "modificationTime": "2024-04-08T20:52:59.050",
    "deleted": false
  },
  {
    "id": 542370643,
    "campaignId": 542370539,
    "adGroupId": 542317095,
    "text": "create campaign negative keyword example 2",
    "status": "ACTIVE",
    "matchType": "BROAD",
    "modificationTime": "2024-04-08T20:52:59.054",
    "deleted": false
  }
]
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)