---
title: "POST /v4/partners/{partnerId}/channels/{channelsId}/sites"
method: POST
path: "/v4/partners/{partnerId}/channels/{channelsId}/sites"
tags: ["partners"]
---

# POST /v4/partners/{partnerId}/channels/{channelsId}/sites

`POST /v4/partners/{partnerId}/channels/{channelsId}/sites`

## Request

- Base URL: `https://displayvideo.googleapis.com`
- URL: `https://displayvideo.googleapis.com/v4/partners/{partnerId}/channels/{channelsId}/sites`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/display-video`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/display-video`
- TypeScript: <https://skmtc.dev/google/apis/displayvideo/docs/v4/partners/:partnerId/channels/:channelsId/sites/post.ts> (a function with typed inputs; its response is checked against the schema)

Creates a site in a channel.

## Path parameters

- `channelsId` string, required
- `partnerId` string, int64, required

## Query parameters

- `advertiserId` string, int64

## Request body

- Site: A single site. Sites are apps or websites belonging to a channel.
  - `name` string: Output only. The resource name of the site.
  - `urlOrAppId` string: Required. The app ID or URL of the site. Must be UTF-8 encoded with a maximum length of 240 bytes.

## Response `200`

Successful response

- Site: A single site. Sites are apps or websites belonging to a channel.
  - `name` string: Output only. The resource name of the site.
  - `urlOrAppId` string: Required. The app ID or URL of the site. Must be UTF-8 encoded with a maximum length of 240 bytes.

---

[API](https://skmtc.dev/google/apis/displayvideo.md) - [All operations](https://skmtc.dev/google/apis/displayvideo/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/displayvideo/revisions/d80b56b6703a?raw)
