# Channels

[Channels](https://support.google.com/displayvideo/answer/2717490) are lists of websites and apps. Target a channel to
control where your ads are being served.

In the Display \& Video 360 API, these are [`Channel`](https://developers.google.com/display-video/api/reference/rest/current/advertisers.channels#Channel) resources. Target
them using the targeting type `TARGETING_TYPE_CHANNEL`.

## Parent resources of channels

[`Channel`](https://developers.google.com/display-video/api/reference/rest/current/advertisers.channels#Channel) resources can be created under
[partners](https://developers.google.com/display-video/api/reference/rest/current/partners#Partner) or [advertisers](https://developers.google.com/display-video/api/reference/rest/current/advertisers#Advertiser):

- Manage channels directly under partners using the partner [`channels`](https://developers.google.com/display-video/api/reference/rest/current/partners.channels#methods) and [`sites`](https://developers.google.com/display-video/api/reference/rest/current/partners.channels.sites#methods) services. These channels can be targeted by the partner and resources under the partner. You need [Admin permissions to the partner](https://developers.google.com/display-video/api/guides/concepts/general/user-permissions) to manage these channels.
- Manage channels directly under advertisers using the advertiser [`channels`](https://developers.google.com/display-video/api/reference/rest/current/advertisers.channels#methods) and [`sites`](https://developers.google.com/display-video/api/reference/rest/current/advertisers.channels.sites#methods) services. These channels can be targeted by the advertiser and resources under the advertiser.

> [!CAUTION]
> **Caution:** Channels can only be retrieved using their parent resource ID. Channels under an advertiser can't be retrieved using the advertiser's parent partner ID.

## `Site` resource

A [`Site`](https://developers.google.com/display-video/api/reference/rest/current/advertisers.channels.sites#Site) resource is a website or app in a channel. It is
defined by a website URL or app store ID.

URLs are limited to using:

- Two subdirectory levels, such as `www.mydomain.com/one-level/two-level`.
- Five subdomain levels, such as `five.four.three.two.one.mydomain.com`.

Retrieve app IDs from the platform store:

- Android's Play store app uses bundle ID, such as `com.google.android.gm`.
- Apple's App store app ID uses a 9 digit string, such as `422689480`.

See the Display \& Video 360 help center for more on [app, channel, and website
targeting](https://support.google.com/displayvideo/answer/2650521).

## Content management

Sites are managed using functions in the [partner](https://developers.google.com/display-video/api/reference/rest/current/partners.channels.sites#methods) and
[advertiser](https://developers.google.com/display-video/api/reference/rest/current/advertisers.channels.sites#methods) `sites` services:

- `create` adds a site to the channel.
- `delete` removes a site from the channel.
- `list` gets sites in the channel.
- `bulkEdit` edits channel content in bulk. The method removes a set of sites from the channel and then assigns a separate set of sites to the channel in a single request.
- `replace` fully replaces the content of the channel with provided sites.