---
title: "POST /userprofiles/{+profileId}/directorySites"
method: POST
path: "/userprofiles/{+profileId}/directorySites"
tags: ["directorySites"]
---

# POST /userprofiles/{+profileId}/directorySites

`POST /userprofiles/{+profileId}/directorySites`

Inserts a new directory site.

## Path parameters

- `profileId` string, required

## Request body

- DirectorySite — 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.
  - `id` string, int64 — ID of this directory site. This is a read-only, auto-generated field.
  - `name` string — Name of this directory site.
  - `idDimensionValue` DimensionValue — Represents a DimensionValue resource.
    - `id` string — The ID associated with the value if available.
    - `dimensionName` string — The name of the dimension.
    - `value` string — The value of the dimension.
    - `matchType` 'EXACT' | 'BEGINS_WITH' | 'CONTAINS' | 'WILDCARD_EXPRESSION' — 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.
    - `kind` string — The kind of resource this is, in this case dfareporting#dimensionValue.
    - `etag` string — The eTag of this response for caching purposes.
  - `inpageTagFormats` string[] — Tag types for regular placements. Acceptable values are: - "STANDARD" - "IFRAME_JAVASCRIPT_INPAGE" - "INTERNAL_REDIRECT_INPAGE" - "JAVASCRIPT_INPAGE"
  - `settings` DirectorySiteSettings — Directory Site Settings
    - `dfpSettings` DfpSettings — Google Ad Manager Settings
      - `publisherPortalOnly` boolean — Whether this directory site is available only via Publisher Portal.
      - `dfpNetworkName` string — Ad Manager network name for this directory site.
      - `dfpNetworkCode` string — Ad Manager network code for this directory site.
      - `pubPaidPlacementAccepted` boolean — Whether this directory site accepts publisher-paid tags.
      - `programmaticPlacementAccepted` boolean — Whether this directory site accepts programmatic placements.
    - `interstitialPlacementAccepted` boolean — Whether this site accepts interstitial ads.
    - `activeViewOptOut` boolean — Whether this directory site has disabled active view creatives.
    - `instreamVideoPlacementAccepted` boolean — Whether this site accepts in-stream video ads.
  - `publisherSpecificationId` string, int64 — 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
  - `url` string — URL of this directory site.
  - `kind` string — Identifies what kind of resource this is. Value: the fixed string "dfareporting#directorySite".
  - `interstitialTagFormats` string[] — Tag types for interstitial placements. Acceptable values are: - "IFRAME_JAVASCRIPT_INTERSTITIAL" - "INTERNAL_REDIRECT_INTERSTITIAL" - "JAVASCRIPT_INTERSTITIAL"

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/dfareporting.md) · [All operations](https://skmtc.net/google/apis/dfareporting/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/dfareporting/revisions/8163d57aeb31/schema)
