Get
|
|||||
|
|
Get the specified custom channel from the specified ad client
Authorization
To use this building block you will have to grant access to at least one of the following scopes:
- View and manage your AdSense data
- View your AdSense data
Input
This building block consumes 2 input parameters
Name | Format | Description |
---|---|---|
adClientId Required |
STRING |
Ad client which contains the custom channel |
customChannelId Required |
STRING |
Custom channel to retrieve |
= Parameter name
= Format
adClientId STRING Required Ad client which contains the custom channel |
customChannelId STRING Required Custom channel to retrieve |
Output
This building block provides 9 output parameters
Name | Format | Description |
---|---|---|
code |
STRING |
Code of this custom channel, not necessarily unique across ad clients |
id |
STRING |
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 |
kind |
STRING |
Kind of resource this is, in this case adsense#customChannel |
name |
STRING |
Name of this custom channel |
targetingInfo |
OBJECT |
The targeting information of this custom channel, if activated |
targetingInfo.adsAppearOn |
STRING |
The name used to describe this channel externally |
targetingInfo.description |
STRING |
The external description of the channel |
targetingInfo.location |
STRING |
The locations in which ads appear. (Only valid for content and mobile content ads (deprecated)). Acceptable values for content ads are: TOP_LEFT, TOP_CENTER, TOP_RIGHT, MIDDLE_LEFT, MIDDLE_CENTER, MIDDLE_RIGHT, BOTTOM_LEFT, BOTTOM_CENTER, BOTTOM_RIGHT, MULTIPLE_LOCATIONS. Acceptable values for mobile content ads (deprecated) are: TOP, MIDDLE, BOTTOM, MULTIPLE_LOCATIONS |
targetingInfo.siteLanguage |
STRING |
The language of the sites ads will be displayed on |
= Parameter name
= Format
code STRING Code of this custom channel, not necessarily unique across ad clients |
id STRING 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 |
kind STRING Kind of resource this is, in this case adsense#customChannel |
name STRING Name of this custom channel |
targetingInfo OBJECT The targeting information of this custom channel, if activated |
targetingInfo.adsAppearOn STRING The name used to describe this channel externally |
targetingInfo.description STRING The external description of the channel |
targetingInfo.location STRING The locations in which ads appear. (Only valid for content and mobile content ads (deprecated)). Acceptable values for content ads are: TOP_LEFT, TOP_CENTER, TOP_RIGHT, MIDDLE_LEFT, MIDDLE_CENTER, MIDDLE_RIGHT, BOTTOM_LEFT, BOTTOM_CENTER, BOTTOM_RIGHT, MULTIPLE_LOCATIONS. Acceptable values for mobile content ads (deprecated) are: TOP, MIDDLE, BOTTOM, MULTIPLE_LOCATIONS |
targetingInfo.siteLanguage STRING The language of the sites ads will be displayed on |