Fetch all accounts

GET /accounts

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

Available on: AuditGUARD AlertGUARD PremiumGUARD EliteGUARD

Responses

  • 200

    Successful operation

    Hide response attributes Show response attributes object
    • id string

      ClickGUARD issued account ID

    • account_number string

      Google Ads account number

    • name string

      Google Ads account name

    • active boolean

      Flag indicating if the account is active in ClickGUARD

    • timezone string

      Account timezone in Google Ads

    • auto_blocking boolean

      Flag indicating if auto blocking is on

    • email_notifications boolean

      Flag indicating if email notifications are on

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
}