No links returned from the excluded placements list, named `Channels`
```
function showAllExcludedPlacementsFromList() {
var EXCLUDED_PLACEMENT_LIST_NAME = 'Channels';
var excludedPlacementListIterator =
AdsApp.excludedPlacementLists()
.withCondition('Name = "' + EXCLUDED_PLACEMENT_LIST_NAME + '"')
.get();
if (excludedPlacementListIterator.totalNumEntities() == 1) {
var excludedPlacementList = excludedPlacementListIterator.next();
var sharedExcludedPlacementIterator =
excludedPlacementList.excludedPlacements().get();
Logger.log(sharedExcludedPlacementIterator.totalNumEntities());
while (sharedExcludedPlacementIterator.hasNext()) {
var sharedExcludedPlacement = sharedExcludedPlacementIterator.next();
Logger.log(sharedExcludedPlacement.getUrl());
}
}
}
function main() {
showAllExcludedPlacementsFromList()
}
```
the same as the adding new channels to it
```
function addExcludedPlacementsList() {
var excludedChannels = [
'UC6YuttrRJ_LZNddA_DJ_VSQ',
];
var excludedPlacementList = AdWordsApp.excludedPlacementLists().withCondition('Name = "Channels"').get().next();
excludedPlacementList.addExcludedPlacements(excludedChannels);
}
function main() {
addExcludedPlacementsList()
}
```