Fetch all accounts

GET /accounts

Returns all active Google Ads accounts protected and optimized by ClickGUARD.

Available on: AuditGUARD AlertGUARD PremiumGUARD EliteGUARD

Responses

  • Successful operation

    Hide response attributes Show response attributes object
GET /accounts
curl \
 -X GET https://api.clickguard.com/accounts \
 -H "X-API-KEY: $API_KEY"
Response examples (200)
"[{\n  \"id\": \"ABCD1234\",\n  \"name\": \"Example Company Ads\",\n  \"account_number\": \"999-888-1234\",\n  \"active\": true,\n  \"timezone\": \"America/Los_Angeles\",\n  \"active\": true,\n  \"auto_blocking\": true,\n  \"email_notifications\": false\n}]"
Response examples (200)
{
  "id": "string",
  "account_number": "string",
  "name": "string",
  "active": true,
  "timezone": "string",
  "auto_blocking": true,
  "email_notifications": true
}