{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-campaign-manager/json-schema/google-campaign-manager-directory-sites-list-response-schema.json",
  "title": "DirectorySitesListResponse",
  "description": "Directory Site List Response",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-campaign-manager-directory-sites-api-openapi.yml#/components/schemas/DirectorySitesListResponse",
  "properties": {
    "directorySites": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DirectorySite"
      },
      "description": "Directory site collection."
    },
    "kind": {
      "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#directorySitesListResponse\".",
      "type": "string"
    },
    "nextPageToken": {
      "description": "Pagination token to be used for the next list operation.",
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "DfpSettings": {
      "properties": {
        "dfpNetworkCode": {
          "type": "string",
          "description": "Ad Manager network code for this directory site."
        },
        "programmaticPlacementAccepted": {
          "type": "boolean",
          "description": "Whether this directory site accepts programmatic placements."
        },
        "pubPaidPlacementAccepted": {
          "type": "boolean",
          "description": "Whether this directory site accepts publisher-paid tags."
        },
        "dfpNetworkName": {
          "description": "Ad Manager network name for this directory site.",
          "type": "string"
        },
        "publisherPortalOnly": {
          "description": "Whether this directory site is available only via Publisher Portal.",
          "type": "boolean"
        }
      },
      "type": "object",
      "description": "Google Ad Manager Settings"
    },
    "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"
        }
      }
    },
    "DirectorySite": {
      "type": "object",
      "properties": {
        "kind": {
          "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#directorySite\".",
          "type": "string"
        },
        "publisherSpecificationId": {
          "readOnly": true,
          "type": "string",
          "format": "int64",
          "description": "Output only. Default publisher specification ID of video placements under this directory site. Possible values are: * `1`, Hulu * `2`, NBC * `3`, CBS * `4`, CBS Desktop * `5`, Discovery * `6`, VEVO HD * `7`, VEVO Vertical * `8`, Fox * `9`, CW Network * `10`, Disney * `11`, IGN * `12`, NFL.com * `13`, Turner Broadcasting * `14`, Tubi on Fox * `15`, Hearst Corporation * `16`, Twitch Desktop * `17`, ABC * `18`, Univision * `19`, MLB.com * `20`, MLB.com Mobile * `21`, MLB.com OTT * `22`, Polsat * `23`, TVN * `24`, Mediaset * `25`, Antena 3 * `26`, Mediamond * `27`, Sky Italia * `28`, Tubi on CBS * `29`, Spotify * `30`, Paramount * `31`, Max"
        },
        "inpageTagFormats": {
          "description": "Tag types for regular placements. Acceptable values are: - \"STANDARD\" - \"IFRAME_JAVASCRIPT_INPAGE\" - \"INTERNAL_REDIRECT_INPAGE\" - \"JAVASCRIPT_INPAGE\" ",
          "items": {
            "type": "string",
            "enum": [
              "STANDARD",
              "IFRAME_JAVASCRIPT_INPAGE",
              "INTERNAL_REDIRECT_INPAGE",
              "JAVASCRIPT_INPAGE"
            ]
          },
          "type": "array"
        },
        "idDimensionValue": {
          "$ref": "#/$defs/DimensionValue",
          "description": "Dimension value for the ID of this directory site. This is a read-only, auto-generated field."
        },
        "name": {
          "description": "Name of this directory site.",
          "type": "string"
        },
        "interstitialTagFormats": {
          "description": "Tag types for interstitial placements. Acceptable values are: - \"IFRAME_JAVASCRIPT_INTERSTITIAL\" - \"INTERNAL_REDIRECT_INTERSTITIAL\" - \"JAVASCRIPT_INTERSTITIAL\" ",
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "IFRAME_JAVASCRIPT_INTERSTITIAL",
              "INTERNAL_REDIRECT_INTERSTITIAL",
              "JAVASCRIPT_INTERSTITIAL"
            ]
          }
        },
        "id": {
          "type": "string",
          "description": "ID of this directory site. This is a read-only, auto-generated field.",
          "format": "int64"
        },
        "url": {
          "type": "string",
          "description": "URL of this directory site."
        },
        "settings": {
          "$ref": "#/$defs/DirectorySiteSettings",
          "description": "Directory site settings."
        }
      },
      "description": "DirectorySites contains properties of a website from the Site Directory. Sites need to be added to an account via the Sites resource before they can be assigned to a placement."
    },
    "DirectorySiteSettings": {
      "description": "Directory Site Settings",
      "properties": {
        "instreamVideoPlacementAccepted": {
          "description": "Whether this site accepts in-stream video ads.",
          "type": "boolean"
        },
        "interstitialPlacementAccepted": {
          "description": "Whether this site accepts interstitial ads.",
          "type": "boolean"
        },
        "dfpSettings": {
          "$ref": "#/$defs/DfpSettings",
          "description": "Directory site Ad Manager settings."
        },
        "activeViewOptOut": {
          "description": "Whether this directory site has disabled active view creatives.",
          "type": "boolean"
        }
      },
      "type": "object"
    }
  }
}