---
title: "GET /operations/campaign"
method: GET
path: "/operations/campaign"
tags: ["Operations/Campaign"]
---

# GET /operations/campaign

`GET /operations/campaign`

## Request

- Base URL: `https://api.optimyzee.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.optimyzee.com/operations/campaign`
- Auth: API key in header `authorization`
- TypeScript: <https://skmtc.dev/optimyzee/apis/optimyzee-api/docs/operations/campaign/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `q` string, nullable
- `adminId` integer, nullable
- `status` 'ACCESS_PENDING_REQUEST' | 'ACCESS_PENDING_GRANT' | 'ACTIVE' | 'PAUSED', nullable
- `orderBy` 'lastManagedAt' | 'createdAt', nullable
- `order` 'ASC' | 'DESC', nullable
- `perPage` integer
- `cursor` string

## Response `200`

Successful

- object
  - `items` OperationsCampaignSchema[], required
    - `id` integer, required
    - `adminId` integer, nullable, required
    - `adminEmail` string, nullable, required
    - `adminName` string, nullable, required
    - `userId` integer, required
    - `userEmail` string, nullable, required
    - `userSubscriptionPlan` 'FREE' | 'STARTUP' | 'BUSINESS' | 'PROFESSIONAL', nullable, required
    - `userSubscriptionStatus` 'TRIAL' | 'ACTIVE' | 'CANCELLED', nullable, required
    - `name` string, required
    - `status` 'ACCESS_PENDING_REQUEST' | 'ACCESS_PENDING_GRANT' | 'ACTIVE' | 'PAUSED', required
    - `analyzing` boolean, required
    - `googleAdsLinkingId` integer, nullable, required
    - `googleAdsLinkingCustomerId` integer, nullable, required
    - `googleAdsLinkingName` string, nullable, required
    - `googleAdsCampaignId` integer, nullable, required
    - `lastManagedAt` string, date-time, nullable, required
    - `createdAt` string, date-time, nullable, required
  - `perPage` integer, required
  - `previous` string, nullable, required
  - `next` string, nullable, required

## Other responses

- `401`: Unauthenticated
- `422`: Validation Error

---

[API](https://skmtc.dev/optimyzee/apis/optimyzee-api.md) - [All operations](https://skmtc.dev/optimyzee/apis/optimyzee-api/llms.txt) - [OpenAPI document](https://skmtc.dev/optimyzee/apis/optimyzee-api/revisions/ccaa14692e9f?raw)
