Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions advanced/youtubeContentId.gs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function claimYourVideoWithMonetizePolicy() {
'policy': {'rules': [{'action': 'monetize'}]}
};
try {
var claimInserted = YoutubeContentId.Claims.insert(claimToInsert,
var claimInserted = YouTubeContentId.Claims.insert(claimToInsert,
{'onBehalfOfContentOwner': onBehalfOfContentOwner});
Logger.log('Claim created on video %s: %s', videoId, claimInserted);
} catch (e) {
Expand Down Expand Up @@ -70,7 +70,7 @@ function updateAssetOwnership() {
]
};
try {
var updatedOwnership = YoutubeContentId.Ownership.update(myAssetOwnership,
var updatedOwnership = YouTubeContentId.Ownership.update(myAssetOwnership,
assetId, {'onBehalfOfContentOwner': onBehalfOfContentOwner});
Logger.log('Ownership updated on asset %s: %s', assetId, updatedOwnership);
} catch (e) {
Expand All @@ -94,7 +94,7 @@ function releaseClaim() {
'status': 'inactive'
};
try {
var claimReleased = YoutubeContentId.Claims.patch(claimToBeReleased,
var claimReleased = YouTubeContentId.Claims.patch(claimToBeReleased,
claimId, {'onBehalfOfContentOwner': onBehalfOfContentOwner});
Logger.log('Claim %s was released: %s', claimId, claimReleased);
} catch (e) {
Expand Down