List Optimization Goals
Lists an optimization’s goals in two lists. goals holds the goals of the interval that contains the requested date range, as they were when it started, with its target goals marked. currentGoals holds the optimization’s goals as they’re set up now, with where each comes from. Use a goalId from either list to choose the goal a report measures.
429 Too Many Requests. Wait for your in-flight request to finish, or for the Retry-After interval, then retry.Required scope | sites:read
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
The Optimize ID, from List Optimize IDs.
The optimization ID, from List Optimizations.
Query parameters
Start of the date range. Must be a UTC timestamp ending in Z, such as 2026-09-01T00:00:00Z. Offsets and date-only values aren’t accepted. Seconds and milliseconds are optional. The date range must fall within a single interval of the optimization. A range that crosses from one interval into the next is rejected. Use an interval’s start and end from List Optimizations. Unlike the report endpoints, this endpoint has no 18-month limit.
End of the date range. Must be a UTC timestamp ending in Z, such as 2026-09-15T00:00:00Z, and later than intervalStart. Offsets and date-only values aren’t accepted. Seconds and milliseconds are optional.
Response
The optimization’s goals as they’re set up now, with where each comes from. The list is the same for every interval. A report accepts any goalId from this list.