REST Resource: advertisers.channels.sites

  • A Site represents an app or website belonging to a channel, identified by a name and a URL or App ID.

  • You can manage sites using methods like bulkEdit, create, delete, list, and replace to control their association with channels.

  • Site data is represented in JSON format with the fields name and urlOrAppId, where name is read-only and system-generated.

  • The urlOrAppId field is required when creating a site and must be UTF-8 encoded with a maximum length of 240 bytes.

Resource: Site

A single site. Sites are apps or websites belonging to a channel.

JSON representation
{
  "name": string,
  "urlOrAppId": string
}
Fields
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.

Methods

bulkEdit

Bulk edits sites under a single channel.

create

Creates a site in a channel.

delete

Deletes a site from a channel.

list

Lists sites in a channel.

replace

Replaces all of the sites under a single channel.