{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-campaign-manager/json-schema/google-campaign-manager-account-permission-schema.json",
  "title": "AccountPermission",
  "description": "AccountPermissions contains information about a particular account permission. Some features of Campaign Manager require an account permission to be present in the account.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-campaign-manager-account-permissions-api-openapi.yml#/components/schemas/AccountPermission",
  "type": "object",
  "properties": {
    "id": {
      "format": "int64",
      "type": "string",
      "description": "ID of this account permission."
    },
    "level": {
      "description": "Administrative level required to enable this account permission.",
      "enum": [
        "USER",
        "ADMINISTRATOR"
      ],
      "type": "string"
    },
    "name": {
      "type": "string",
      "description": "Name of this account permission."
    },
    "accountProfiles": {
      "description": "Account profiles associated with this account permission. Possible values are: - \"ACCOUNT_PROFILE_BASIC\" - \"ACCOUNT_PROFILE_STANDARD\" ",
      "items": {
        "enum": [
          "ACCOUNT_PROFILE_BASIC",
          "ACCOUNT_PROFILE_STANDARD"
        ],
        "type": "string"
      },
      "type": "array"
    },
    "permissionGroupId": {
      "format": "int64",
      "description": "Permission group of this account permission.",
      "type": "string"
    },
    "kind": {
      "type": "string",
      "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#accountPermission\"."
    }
  }
}