<!--
{
  "availability" : [
    "Search Ads: 5.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Apple_Ads",
  "identifier" : "/documentation/apple_ads/Get-All-Targeting-Keywords-in-an-Ad-Group",
  "metadataVersion" : "0.1.0",
  "role" : "Web Service Endpoint",
  "symbol" : {
    "kind" : "Web Service Endpoint",
    "modules" : [
      "Apple Ads"
    ],
    "preciseIdentifier" : "rest:apple_ads:get:v5-campaigns-{}-adgroups-{}-targetingkeywords"
  },
  "title" : "Get All Targeting Keywords in an Ad Group"
}
-->

# Get All Targeting Keywords in an Ad Group

Fetches all targeting keywords in ad groups.

## Discussion

To return all targeting keywords for a campaign, use the associated `campaignId` and `adgroupId` as a resource. You can also use a partial fetch. For more information, see the Use a Partial Fetch section of [Using Apple Ads API Functionality](/documentation/Apple_Ads/using-apple-search-ads-api-functionality).

### Payload example: Get all targeting keywords

**Request:**

```
GET https://api.searchads.apple.com/api/v5/campaigns/{campaignId}/adgroups/{adgroupId}/targetingkeywords
```

**Response:**

```json
[
        {
            "id": 542370642,
            "adGroupId": 542317095,
            "text": "targeting keyword example 1",
            "status": "ACTIVE",
            "matchType": "BROAD",
            "bidAmount": {
                "amount": "100",
                "currency": "USD"
            },
            "modificationTime": "2024-04-08T16:53:17.457",
            "deleted": false
        },
        {
            "id": 542370643,
            "adGroupId": 542317095,
            "text": "targeting keyword example 2",
            "status": "ACTIVE",
            "matchType": "BROAD",
            "bidAmount": {
                "amount": "100",
                "currency": "USD"
            },
            "modificationTime": "2024-04-08T20:48:28.206",
            "deleted": false
        },
        {
            "id": 542370644,
            "adGroupId": 542317095,
            "text": "targeting keyword example 3",
            "status": "PAUSED",
            "matchType": "BROAD",
            "bidAmount": {
                "amount": "2",
                "currency": "USD"
            },
            "modificationTime": "2023-04-08T21:02:24.257",
            "deleted": false
        },
        {
            "id": 542370645,
            "adGroupId": 542317095,
            "text": "targeting keyword example 4",
            "status": "ACTIVE",
            "matchType": "EXACT",
            "bidAmount": {
                "amount": "100",
                "currency": "USD"
            },
            "modificationTime": "2024-04-08T16:53:17.468",
            "deleted": false
        },
        {
            "id": 542370646,
            "adGroupId": 542317095,
            "text": "targeting keyword example 5",
            "status": "ACTIVE",
            "matchType": "EXACT",
            "bidAmount": {
                "amount": "100",
                "currency": "USD"
            },
            "modificationTime": "2023-04-08T17:53:10.899",
            "deleted": false
        },
        {
            "id": 542370647,
            "adGroupId": 542317095,
            "text": "targeting keyword example 6",
            "status": "PAUSED",
            "matchType": "EXACT",
            "bidAmount": {
                "amount": "100",
                "currency": "USD"
            },
            "modificationTime": "2024-04-08T21:02:24.267",
            "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)