Overview

Classes

  • Google_Service_YouTube
  • Google_Service_YouTube_AccessPolicy
  • Google_Service_YouTube_Activities_Resource
  • Google_Service_YouTube_Activity
  • Google_Service_YouTube_ActivityContentDetails
  • Google_Service_YouTube_ActivityContentDetailsBulletin
  • Google_Service_YouTube_ActivityContentDetailsChannelItem
  • Google_Service_YouTube_ActivityContentDetailsComment
  • Google_Service_YouTube_ActivityContentDetailsFavorite
  • Google_Service_YouTube_ActivityContentDetailsLike
  • Google_Service_YouTube_ActivityContentDetailsPlaylistItem
  • Google_Service_YouTube_ActivityContentDetailsPromotedItem
  • Google_Service_YouTube_ActivityContentDetailsRecommendation
  • Google_Service_YouTube_ActivityContentDetailsSocial
  • Google_Service_YouTube_ActivityContentDetailsSubscription
  • Google_Service_YouTube_ActivityContentDetailsUpload
  • Google_Service_YouTube_ActivityListResponse
  • Google_Service_YouTube_ActivitySnippet
  • Google_Service_YouTube_Caption
  • Google_Service_YouTube_CaptionListResponse
  • Google_Service_YouTube_Captions_Resource
  • Google_Service_YouTube_CaptionSnippet
  • Google_Service_YouTube_CdnSettings
  • Google_Service_YouTube_Channel
  • Google_Service_YouTube_ChannelAuditDetails
  • Google_Service_YouTube_ChannelBannerResource
  • Google_Service_YouTube_ChannelBanners_Resource
  • Google_Service_YouTube_ChannelBrandingSettings
  • Google_Service_YouTube_ChannelContentDetails
  • Google_Service_YouTube_ChannelContentDetailsRelatedPlaylists
  • Google_Service_YouTube_ChannelContentOwnerDetails
  • Google_Service_YouTube_ChannelConversionPing
  • Google_Service_YouTube_ChannelConversionPings
  • Google_Service_YouTube_ChannelListResponse
  • Google_Service_YouTube_ChannelLocalization
  • Google_Service_YouTube_ChannelProfileDetails
  • Google_Service_YouTube_Channels_Resource
  • Google_Service_YouTube_ChannelSection
  • Google_Service_YouTube_ChannelSectionContentDetails
  • Google_Service_YouTube_ChannelSectionListResponse
  • Google_Service_YouTube_ChannelSectionLocalization
  • Google_Service_YouTube_ChannelSections_Resource
  • Google_Service_YouTube_ChannelSectionSnippet
  • Google_Service_YouTube_ChannelSectionTargeting
  • Google_Service_YouTube_ChannelSettings
  • Google_Service_YouTube_ChannelSnippet
  • Google_Service_YouTube_ChannelStatistics
  • Google_Service_YouTube_ChannelStatus
  • Google_Service_YouTube_ChannelTopicDetails
  • Google_Service_YouTube_Comment
  • Google_Service_YouTube_CommentListResponse
  • Google_Service_YouTube_Comments_Resource
  • Google_Service_YouTube_CommentSnippet
  • Google_Service_YouTube_CommentThread
  • Google_Service_YouTube_CommentThreadListResponse
  • Google_Service_YouTube_CommentThreadReplies
  • Google_Service_YouTube_CommentThreads_Resource
  • Google_Service_YouTube_CommentThreadSnippet
  • Google_Service_YouTube_ContentRating
  • Google_Service_YouTube_GeoPoint
  • Google_Service_YouTube_GuideCategories_Resource
  • Google_Service_YouTube_GuideCategory
  • Google_Service_YouTube_GuideCategoryListResponse
  • Google_Service_YouTube_GuideCategorySnippet
  • Google_Service_YouTube_I18nLanguage
  • Google_Service_YouTube_I18nLanguageListResponse
  • Google_Service_YouTube_I18nLanguages_Resource
  • Google_Service_YouTube_I18nLanguageSnippet
  • Google_Service_YouTube_I18nRegion
  • Google_Service_YouTube_I18nRegionListResponse
  • Google_Service_YouTube_I18nRegions_Resource
  • Google_Service_YouTube_I18nRegionSnippet
  • Google_Service_YouTube_ImageSettings
  • Google_Service_YouTube_IngestionInfo
  • Google_Service_YouTube_InvideoBranding
  • Google_Service_YouTube_InvideoPosition
  • Google_Service_YouTube_InvideoPromotion
  • Google_Service_YouTube_InvideoTiming
  • Google_Service_YouTube_LanguageTag
  • Google_Service_YouTube_LevelDetails
  • Google_Service_YouTube_LiveBroadcast
  • Google_Service_YouTube_LiveBroadcastContentDetails
  • Google_Service_YouTube_LiveBroadcastListResponse
  • Google_Service_YouTube_LiveBroadcasts_Resource
  • Google_Service_YouTube_LiveBroadcastSnippet
  • Google_Service_YouTube_LiveBroadcastStatistics
  • Google_Service_YouTube_LiveBroadcastStatus
  • Google_Service_YouTube_LiveChatBan
  • Google_Service_YouTube_LiveChatBans_Resource
  • Google_Service_YouTube_LiveChatBanSnippet
  • Google_Service_YouTube_LiveChatFanFundingEventDetails
  • Google_Service_YouTube_LiveChatMessage
  • Google_Service_YouTube_LiveChatMessageAuthorDetails
  • Google_Service_YouTube_LiveChatMessageDeletedDetails
  • Google_Service_YouTube_LiveChatMessageListResponse
  • Google_Service_YouTube_LiveChatMessageRetractedDetails
  • Google_Service_YouTube_LiveChatMessages_Resource
  • Google_Service_YouTube_LiveChatMessageSnippet
  • Google_Service_YouTube_LiveChatModerator
  • Google_Service_YouTube_LiveChatModeratorListResponse
  • Google_Service_YouTube_LiveChatModerators_Resource
  • Google_Service_YouTube_LiveChatModeratorSnippet
  • Google_Service_YouTube_LiveChatPollClosedDetails
  • Google_Service_YouTube_LiveChatPollEditedDetails
  • Google_Service_YouTube_LiveChatPollItem
  • Google_Service_YouTube_LiveChatPollOpenedDetails
  • Google_Service_YouTube_LiveChatPollVotedDetails
  • Google_Service_YouTube_LiveChatSuperChatDetails
  • Google_Service_YouTube_LiveChatSuperStickerDetails
  • Google_Service_YouTube_LiveChatTextMessageDetails
  • Google_Service_YouTube_LiveChatUserBannedMessageDetails
  • Google_Service_YouTube_LiveStream
  • Google_Service_YouTube_LiveStreamConfigurationIssue
  • Google_Service_YouTube_LiveStreamContentDetails
  • Google_Service_YouTube_LiveStreamHealthStatus
  • Google_Service_YouTube_LiveStreamListResponse
  • Google_Service_YouTube_LiveStreams_Resource
  • Google_Service_YouTube_LiveStreamSnippet
  • Google_Service_YouTube_LiveStreamStatus
  • Google_Service_YouTube_LocalizedProperty
  • Google_Service_YouTube_LocalizedString
  • Google_Service_YouTube_Member
  • Google_Service_YouTube_MemberListResponse
  • Google_Service_YouTube_Members_Resource
  • Google_Service_YouTube_MembershipsDetails
  • Google_Service_YouTube_MembershipsDuration
  • Google_Service_YouTube_MembershipsDurationAtLevel
  • Google_Service_YouTube_MembershipsLevel
  • Google_Service_YouTube_MembershipsLevelListResponse
  • Google_Service_YouTube_MembershipsLevels_Resource
  • Google_Service_YouTube_MembershipsLevelSnippet
  • Google_Service_YouTube_MemberSnippet
  • Google_Service_YouTube_MonitorStreamInfo
  • Google_Service_YouTube_Nonprofit
  • Google_Service_YouTube_NonprofitId
  • Google_Service_YouTube_PageInfo
  • Google_Service_YouTube_Playlist
  • Google_Service_YouTube_PlaylistContentDetails
  • Google_Service_YouTube_PlaylistItem
  • Google_Service_YouTube_PlaylistItemContentDetails
  • Google_Service_YouTube_PlaylistItemListResponse
  • Google_Service_YouTube_PlaylistItems_Resource
  • Google_Service_YouTube_PlaylistItemSnippet
  • Google_Service_YouTube_PlaylistItemStatus
  • Google_Service_YouTube_PlaylistListResponse
  • Google_Service_YouTube_PlaylistLocalization
  • Google_Service_YouTube_PlaylistPlayer
  • Google_Service_YouTube_Playlists_Resource
  • Google_Service_YouTube_PlaylistSnippet
  • Google_Service_YouTube_PlaylistStatus
  • Google_Service_YouTube_PromotedItem
  • Google_Service_YouTube_PromotedItemId
  • Google_Service_YouTube_PropertyValue
  • Google_Service_YouTube_ResourceId
  • Google_Service_YouTube_Search_Resource
  • Google_Service_YouTube_SearchListResponse
  • Google_Service_YouTube_SearchResult
  • Google_Service_YouTube_SearchResultSnippet
  • Google_Service_YouTube_Sponsor
  • Google_Service_YouTube_SponsorListResponse
  • Google_Service_YouTube_Sponsors_Resource
  • Google_Service_YouTube_SponsorSnippet
  • Google_Service_YouTube_Subscription
  • Google_Service_YouTube_SubscriptionContentDetails
  • Google_Service_YouTube_SubscriptionListResponse
  • Google_Service_YouTube_Subscriptions_Resource
  • Google_Service_YouTube_SubscriptionSnippet
  • Google_Service_YouTube_SubscriptionSubscriberSnippet
  • Google_Service_YouTube_SuperChatEvent
  • Google_Service_YouTube_SuperChatEventListResponse
  • Google_Service_YouTube_SuperChatEvents_Resource
  • Google_Service_YouTube_SuperChatEventSnippet
  • Google_Service_YouTube_SuperStickerMetadata
  • Google_Service_YouTube_Thumbnail
  • Google_Service_YouTube_ThumbnailDetails
  • Google_Service_YouTube_Thumbnails_Resource
  • Google_Service_YouTube_ThumbnailSetResponse
  • Google_Service_YouTube_TokenPagination
  • Google_Service_YouTube_Video
  • Google_Service_YouTube_VideoAbuseReport
  • Google_Service_YouTube_VideoAbuseReportReason
  • Google_Service_YouTube_VideoAbuseReportReasonListResponse
  • Google_Service_YouTube_VideoAbuseReportReasons_Resource
  • Google_Service_YouTube_VideoAbuseReportReasonSnippet
  • Google_Service_YouTube_VideoAbuseReportSecondaryReason
  • Google_Service_YouTube_VideoAgeGating
  • Google_Service_YouTube_VideoCategories_Resource
  • Google_Service_YouTube_VideoCategory
  • Google_Service_YouTube_VideoCategoryListResponse
  • Google_Service_YouTube_VideoCategorySnippet
  • Google_Service_YouTube_VideoContentDetails
  • Google_Service_YouTube_VideoContentDetailsRegionRestriction
  • Google_Service_YouTube_VideoFileDetails
  • Google_Service_YouTube_VideoFileDetailsAudioStream
  • Google_Service_YouTube_VideoFileDetailsVideoStream
  • Google_Service_YouTube_VideoGetRatingResponse
  • Google_Service_YouTube_VideoListResponse
  • Google_Service_YouTube_VideoLiveStreamingDetails
  • Google_Service_YouTube_VideoLocalization
  • Google_Service_YouTube_VideoMonetizationDetails
  • Google_Service_YouTube_VideoPlayer
  • Google_Service_YouTube_VideoProcessingDetails
  • Google_Service_YouTube_VideoProcessingDetailsProcessingProgress
  • Google_Service_YouTube_VideoProjectDetails
  • Google_Service_YouTube_VideoRating
  • Google_Service_YouTube_VideoRecordingDetails
  • Google_Service_YouTube_Videos_Resource
  • Google_Service_YouTube_VideoSnippet
  • Google_Service_YouTube_VideoStatistics
  • Google_Service_YouTube_VideoStatus
  • Google_Service_YouTube_VideoSuggestions
  • Google_Service_YouTube_VideoSuggestionsTagSuggestion
  • Google_Service_YouTube_VideoTopicDetails
  • Google_Service_YouTube_WatchSettings
  • Google_Service_YouTube_Watermarks_Resource
  • Overview
  • Class
  • Tree

Class Google_Service_YouTube_ChannelBanners_Resource

The "channelBanners" collection of methods. Typical usage is:

 $youtubeService = new Google_Service_YouTube(...);
 $channelBanners = $youtubeService->channelBanners;
Google_Service_Resource
Extended by Google_Service_YouTube_ChannelBanners_Resource
Located at YouTube.php
Methods summary
public Google_Service_YouTube_ChannelBannerResource
# insert( Google_Service_YouTube_ChannelBannerResource $postBody, array $optParams = array() )

Uploads a channel banner image to YouTube. This method represents the first two steps in a three-step process to update the banner image for a channel:

Uploads a channel banner image to YouTube. This method represents the first two steps in a three-step process to update the banner image for a channel:

  • Call the channelBanners.insert method to upload the binary image data to

YouTube. The image must have a 16:9 aspect ratio and be at least 2120x1192 pixels. - Extract the url property's value from the response that the API returns for step 1. - Call the channels.update method to update the channel's branding settings. Set the brandingSettings.image.bannerExternalUrl property's value to the URL obtained in step 2. (channelBanners.insert)

Parameters

$postBody
$optParams
Optional parameters.

Returns

Google_Service_YouTube_ChannelBannerResource
Google_Service_YouTube_ChannelBannerResource

Opt_param

string channelId The channelId parameter identifies the YouTube channel to which the banner is uploaded. The channelId parameter was introduced as a required parameter in May 2017. As this was a backward- incompatible change, channelBanners.insert requests that do not specify this parameter will not return an error until six months have passed from the time that the parameter was introduced. Please see the API Terms of Service for the official policy regarding backward incompatible changes and the API revision history for the exact date that the parameter was introduced.
string onBehalfOfContentOwner Note: This parameter is intended exclusively for YouTube content partners. The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.
© 2020 Google Inc.
YouTube Data API documentation generated by ApiGen 2.8.0