{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-campaign-manager/json-schema/google-campaign-manager-creative-field-schema.json",
  "title": "CreativeField",
  "description": "Contains properties of a creative field.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-campaign-manager-creative-fields-api-openapi.yml#/components/schemas/CreativeField",
  "properties": {
    "kind": {
      "type": "string",
      "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#creativeField\"."
    },
    "accountId": {
      "description": "Account ID of this creative field. This is a read-only field that can be left blank.",
      "type": "string",
      "format": "int64"
    },
    "advertiserIdDimensionValue": {
      "$ref": "#/$defs/DimensionValue",
      "description": "Dimension value for the ID of the advertiser. This is a read-only, auto-generated field."
    },
    "name": {
      "type": "string",
      "description": "Name of this creative field. This is a required field and must be less than 256 characters long and unique among creative fields of the same advertiser."
    },
    "subaccountId": {
      "format": "int64",
      "description": "Subaccount ID of this creative field. This is a read-only field that can be left blank.",
      "type": "string"
    },
    "advertiserId": {
      "type": "string",
      "format": "int64",
      "description": "Advertiser ID of this creative field. This is a required field on insertion."
    },
    "id": {
      "format": "int64",
      "type": "string",
      "description": "ID of this creative field. This is a read-only, auto-generated field."
    }
  },
  "type": "object",
  "$defs": {
    "DimensionValue": {
      "type": "object",
      "description": "Represents a DimensionValue resource.",
      "properties": {
        "id": {
          "type": "string",
          "description": "The ID associated with the value if available."
        },
        "value": {
          "type": "string",
          "description": "The value of the dimension."
        },
        "dimensionName": {
          "description": "The name of the dimension.",
          "type": "string"
        },
        "matchType": {
          "type": "string",
          "enum": [
            "EXACT",
            "BEGINS_WITH",
            "CONTAINS",
            "WILDCARD_EXPRESSION"
          ],
          "description": "Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT."
        },
        "etag": {
          "type": "string",
          "description": "The eTag of this response for caching purposes."
        },
        "kind": {
          "description": "The kind of resource this is, in this case dfareporting#dimensionValue.",
          "type": "string"
        }
      }
    }
  }
}