Google Apps Script
Feedback on this document

Class CustomChannel

From AdSense Services

Members:

MemberTypeDescription
getCodeStringCode of this custom channel, not necessarily unique across ad clients.
getIdStringUnique identifier of this custom channel. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format.
getKindStringKind of resource this is, in this case adsense#customChannel.
getNameStringName of this custom channel.
setCodeCustomChannelSet the value for the field: code
setIdCustomChannelSet the value for the field: id
setKindCustomChannelSet the value for the field: kind
setNameCustomChannelSet the value for the field: name

method getCode()

Code of this custom channel, not necessarily unique across ad clients.

Return Values:

TypeDescription
StringThe current value for code

method getId()

Unique identifier of this custom channel. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format.

Return Values:

TypeDescription
StringThe current value for id

method getKind()

Kind of resource this is, in this case adsense#customChannel.

Return Values:

TypeDescription
StringThe current value for kind

method getName()

Name of this custom channel.

Return Values:

TypeDescription
StringThe current value for name

method setCode(code)

Set the value for the field: code

Arguments:

NameTypeDescription
codeStringCode of this custom channel, not necessarily unique across ad clients.

Return Values:

TypeDescription
CustomChannelThe bean object for chaining.

method setId(id)

Set the value for the field: id

Arguments:

NameTypeDescription
idStringUnique identifier of this custom channel. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format.

Return Values:

TypeDescription
CustomChannelThe bean object for chaining.

method setKind(kind)

Set the value for the field: kind

Arguments:

NameTypeDescription
kindStringKind of resource this is, in this case adsense#customChannel.

Return Values:

TypeDescription
CustomChannelThe bean object for chaining.

method setName(name)

Set the value for the field: name

Arguments:

NameTypeDescription
nameStringName of this custom channel.

Return Values:

TypeDescription
CustomChannelThe bean object for chaining.

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.