Aktualizujemy interfejsy API do raportowania i statystyk YouTube, aby pasowały do sposobu zliczania przez YouTube wyświetleń filmów Short.
Więcej informacji
GroupItems
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Reprezentacja zasobu
Struktura JSON poniżej pokazuje format zasobu groupItems
:
{
"kind": "youtube#groupItem",
"etag": etag,
"id": string,
"groupId": string,
"resource": {
"kind": string,
"id": string
}
}
Właściwości
Właściwości występujące w tym zasobie są opisane w tabeli poniżej:
Właściwości |
kind |
string Określa typ zasobu interfejsu API. Wartość będzie wynosić youtube#groupItem . |
etag |
etag Etag tego zasobu. |
id |
string Identyfikator używany przez YouTube do jednoznacznego identyfikowania zasobu channel , video , playlist lub asset znajdującego się w grupie. Pamiętaj, że ten identyfikator odnosi się do umieszczenia zasobu w określonej grupie i różni się od identyfikatora kanału, identyfikatora filmu, identyfikatora playlisty lub identyfikatora zasobu, który jednoznacznie identyfikuje sam zasób. Wartość właściwości resource.id określa unikalny identyfikator kanału, filmu, playlisty lub zasobu. |
groupId |
string Identyfikator, którego YouTube używa do jednoznacznego identyfikowania grupy zawierającej element. |
resource |
object Obiekt resource zawiera informacje identyfikujące element dodawany do grupy. |
resource.kind |
string
Określa typ zasobu dodawanego do grupy.
Prawidłowe wartości tej właściwości to:
youtube#channel
youtube#playlist
youtube#video
youtubePartner#asset
|
resource.id |
string Identyfikator kanału, filmu, playlisty lub zasobu, którego YouTube używa do jednoznacznego identyfikowania elementu dodanego do grupy. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-11-09 UTC.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2024-11-09 UTC."],[[["The YouTube Analytics API provides methods to manage group items, enabling you to list, insert, and delete them within groups."],["Group items associate a YouTube resource like a channel, video, or playlist with a specific group for analysis."],["Each group item is uniquely identified by an ID and contains information about the resource it links to and the group it belongs to."],["The API uses a JSON structure to represent group items, including properties like `kind`, `etag`, `id`, `groupId`, and `resource`."],["The `resource` property within a group item further specifies the type and unique ID of the linked YouTube resource (channel, video, playlist, or asset)."]]],["The API for `groupItems` resources supports listing, inserting, and deleting items. `groupItems` contain properties like `kind`, `etag`, `id`, and `groupId`. The `resource` object within a `groupItem` identifies the item, specifying its `kind` (channel, playlist, video, or asset) and its unique `id`. The `id` in groupItem identifies a specific resource within a group and is different than the resources' ID, while the `groupId` is the identifier for the group containing the item.\n"]]