UserRole

Contains properties of auser role, which is used to manage user access.

AdvertisingAnalyticsCampaign ManagementDigital MarketingReportingAd ServingAd TraffickingAttributionConversion TrackingMarketingMedia BuyingGoogle Marketing Platform

Properties

Name Type Description
defaultUserRole boolean Whether this is a default user role. Default user roles are created by the system for the account/subaccount and cannot be modified or deleted. Each default user role comes with a basic set of preassi
kind string Identifies what kind of resource this is. Value: the fixed string "dfareporting#userRole".
permissions array List of permissions associated with this user role.
subaccountId string Subaccount ID of this user role. This is a read-only field that can be left blank.
accountId string Account ID of this user role. This is a read-only field that can be left blank.
name string Name of this user role. This is a required field. Must be less than 256 characters long. If this user role is under a subaccount, the name must be unique among sites of the same subaccount. Otherwise,
id string ID of this user role. This is a read-only, auto-generated field.
parentUserRoleId string ID of the user role that this user role is based on or copied from. This is a required field.
View JSON Schema on GitHub

JSON Schema

google-campaign-manager-user-role-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-campaign-manager/json-schema/google-campaign-manager-user-role-schema.json",
  "title": "UserRole",
  "description": "Contains properties of auser role, which is used to manage user access.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-campaign-manager-user-roles-api-openapi.yml#/components/schemas/UserRole",
  "type": "object",
  "properties": {
    "defaultUserRole": {
      "description": "Whether this is a default user role. Default user roles are created by the system for the account/subaccount and cannot be modified or deleted. Each default user role comes with a basic set of preassigned permissions.",
      "type": "boolean"
    },
    "kind": {
      "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#userRole\".",
      "type": "string"
    },
    "permissions": {
      "description": "List of permissions associated with this user role.",
      "items": {
        "$ref": "#/$defs/UserRolePermission"
      },
      "type": "array"
    },
    "subaccountId": {
      "format": "int64",
      "description": "Subaccount ID of this user role. This is a read-only field that can be left blank.",
      "type": "string"
    },
    "accountId": {
      "format": "int64",
      "type": "string",
      "description": "Account ID of this user role. This is a read-only field that can be left blank."
    },
    "name": {
      "type": "string",
      "description": "Name of this user role. This is a required field. Must be less than 256 characters long. If this user role is under a subaccount, the name must be unique among sites of the same subaccount. Otherwise, this user role is a top-level user role, and the name must be unique among top-level user roles of the same account."
    },
    "id": {
      "format": "int64",
      "description": "ID of this user role. This is a read-only, auto-generated field.",
      "type": "string"
    },
    "parentUserRoleId": {
      "format": "int64",
      "type": "string",
      "description": "ID of the user role that this user role is based on or copied from. This is a required field."
    }
  },
  "$defs": {
    "UserRolePermission": {
      "description": "Contains properties of a user role permission.",
      "properties": {
        "id": {
          "format": "int64",
          "description": "ID of this user role permission.",
          "type": "string"
        },
        "kind": {
          "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#userRolePermission\".",
          "type": "string"
        },
        "permissionGroupId": {
          "description": "ID of the permission group that this user role permission belongs to.",
          "format": "int64",
          "type": "string"
        },
        "name": {
          "description": "Name of this user role permission.",
          "type": "string"
        },
        "availability": {
          "description": "Levels of availability for a user role permission.",
          "type": "string",
          "enum": [
            "NOT_AVAILABLE_BY_DEFAULT",
            "ACCOUNT_BY_DEFAULT",
            "SUBACCOUNT_AND_ACCOUNT_BY_DEFAULT",
            "ACCOUNT_ALWAYS",
            "SUBACCOUNT_AND_ACCOUNT_ALWAYS",
            "USER_PROFILE_ONLY"
          ]
        }
      },
      "type": "object"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/google-campaign-manager-user-role"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.