<!--
{
  "availability" : [
    "Apple Ads Platform API: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Apple-Ads-Platform-API",
  "identifier" : "/documentation/Apple-Ads-Platform-API/CampaignQueryResponse",
  "metadataVersion" : "0.1.0",
  "role" : "Object",
  "symbol" : {
    "kind" : "Object",
    "modules" : [
      "Apple Ads Platform API"
    ],
    "preciseIdentifier" : "data:apple-ads-platform-api:CampaignQueryResponse"
  },
  "title" : "CampaignQueryResponse"
}
-->

# CampaignQueryResponse

The response object for a Campaign query, containing matched results and pagination metadata.

```
object CampaignQueryResponse
```

## Discussion

The campaign query endpoint returns `CampaignQueryResponse`, which contains the filtered, sorted, and paginated set of `Campaign` objects matching the request. Pagination metadata in the envelope supports offset-based navigation through large result sets.

### Example

```json
{
  "result": [
    {
      "id": 111222333,
      "name": "AwayFinder Apple Maps Campaign",
      "adAccountId": 123456789,
      "promotedObjectType": "BUSINESS_BRAND",
      "promotedObjectId": "987654321",
      "status": "ENABLED",
      "billingEvent": "TAPS",
      "startTime": "2025-09-01T00:00:00.000",
      "endTime": "2025-12-31T23:59:59.000",
      "dailyBudget": {
        "value": {
          "amount": "900.00",
          "currency": "USD"
        }
      },
      "targeting": {
        "supplySource": {
          "include": [
            "MAPS"
          ]
        },
        "supplyPlacement": {
          "include": [
            "MAPS_SEARCH_RESULTS"
          ]
        }
      },
      "bidStrategy": {
        "bidStrategyType": "MAX_ENGAGEMENTS",
        "bidStrategyGoal": "TAP"
      },
      "creationTime": "2025-01-15T10:30:00.000",
      "modificationTime": "2025-01-20T14:45:00.000",
      "paymentModel": "PAYG",
      "systemStatus": "RUNNING",
      "systemStatusReasons": [],
      "systemStatusLimitingReasons": [],
      "displayStatus": "RUNNING",
      "deleted": false
    }
  ],
  "pagination": {
    "offset": 0,
    "pageSize": 20,
    "totalCount": 1
  }
}
```

---

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)