REST Resource: advertisers.channels.sites

  • A Site represents an app or website belonging to a channel.

  • A Site object has two fields: name (output only resource name) and urlOrAppId (required app ID or URL).

  • Available methods for Sites include bulk editing, creating, deleting, listing, and replacing.

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.