GroupItems
Create, delete, and query Items that compose a Group.
テーブル固有の情報
Select
次のクエリは、YouTube Analytics グループを構成するアイテムを返します。
SELECT * FROM GroupItems
次のクエリは、特定のYouTube Analytics グループを構成するアイテムを返します。
SELECT * FROM GroupItems WHERE GroupId = '239_65GrkKS6kRL'さらに、OnBehalfOfContentOwner をWHERE 句で任意で使用することもできます。
Insert
グループにアイテムを挿入するには、GroupId とResource_Id が必須です。
INSERT INTO GroupItems (GroupId, Resource_Id) VALUES ('fjgeeljgio54', 'dkhgjio5sfff')
Columns
Name | Type | ReadOnly | Description |
Id [KEY] | String | True |
The Id that YouTube uses to uniquely identify the channel, video, playlist, or asset that is included in the group. Note that this Id refers specifically to the inclusion of that entity in a particular group and is different than the channel Id, video Id, playlist Id, or asset Id that uniquely identifies the entity itself. |
Kind | String | False |
Identifies the type of the group item. The value will be youtube#groupItem. |
Etag | String | False |
The Etag of this item. |
GroupId | String | False |
The Id that YouTube uses to uniquely identify the group that contains the item. |
Resource_Kind | String | False |
The type of the group item. The allowed values are youtube#channel, youtube#playlist, youtube#video, youtubePartner#asset. |
Resource_Id | String | False |
The channel, video, playlist, or asset Id that YouTube uses to uniquely identify the group item. |
OnBehalfOfContentOwner | String | False |
This parameter is intended exclusively for YouTube content partners that own and manage many different YouTube channels. The OnBehalfOfContentOwner parameter indicates that the authorization credentials in the request identify a YouTube user who is acting on behalf of the content owner specified in the parameter value. |