{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-campaign-manager/json-schema/google-campaign-manager-change-log-schema.json",
  "title": "ChangeLog",
  "description": "Describes a change that a user has made to a resource.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-campaign-manager-change-logs-api-openapi.yml#/components/schemas/ChangeLog",
  "type": "object",
  "properties": {
    "subaccountId": {
      "type": "string",
      "format": "int64",
      "description": "Subaccount ID of the modified object."
    },
    "kind": {
      "type": "string",
      "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#changeLog\"."
    },
    "action": {
      "type": "string",
      "description": "Action which caused the change."
    },
    "accountId": {
      "format": "int64",
      "type": "string",
      "description": "Account ID of the modified object."
    },
    "oldValue": {
      "type": "string",
      "description": "Old value of the object field."
    },
    "newValue": {
      "type": "string",
      "description": "New value of the object field."
    },
    "fieldName": {
      "description": "Field name of the object which changed.",
      "type": "string"
    },
    "changeTime": {
      "type": "string",
      "format": "date-time"
    },
    "objectType": {
      "type": "string",
      "description": "Object type of the change log."
    },
    "objectId": {
      "description": "ID of the object of this change log. The object could be a campaign, placement, ad, or other type.",
      "format": "int64",
      "type": "string"
    },
    "transactionId": {
      "description": "Transaction ID of this change log. When a single API call results in many changes, each change will have a separate ID in the change log but will share the same transactionId.",
      "format": "int64",
      "type": "string"
    },
    "userProfileId": {
      "format": "int64",
      "description": "ID of the user who modified the object.",
      "type": "string"
    },
    "userProfileName": {
      "type": "string",
      "description": "User profile name of the user who modified the object."
    },
    "id": {
      "description": "ID of this change log.",
      "type": "string",
      "format": "int64"
    }
  }
}