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

# SearchTermPopularityTimeRange

Time range for search term popularity queries.

```
object SearchTermPopularityTimeRange
```

## Discussion

The `SearchTermPopularityTimeRange` object specifies the date window and granularity for a search term popularity report. Date format and retention period differ by granularity.

> **Note:** For `MONTHLY` granularity, the response truncates the date field to `YYYY-MM`.

### Example

```json
{
  "start": "2025-01-01",
  "end": "2025-03-31",
  "timeZone": "UTC",
  "granularity": "MONTHLY"
}
```

---

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)