1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768
|
<html><body>
<style>
body, h1, h2, h3, div, span, p, pre, a {
margin: 0;
padding: 0;
border: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
}
body {
font-size: 13px;
padding: 1em;
}
h1 {
font-size: 26px;
margin-bottom: 1em;
}
h2 {
font-size: 24px;
margin-bottom: 1em;
}
h3 {
font-size: 20px;
margin-bottom: 1em;
margin-top: 1em;
}
pre, code {
line-height: 1.5;
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
}
pre {
margin-top: 0.5em;
}
h1, h2, h3, p {
font-family: Arial, sans serif;
}
h1, h2, h3 {
border-bottom: solid #CCC 1px;
}
.toc_element {
margin-top: 0.5em;
}
.firstline {
margin-left: 2 em;
}
.method {
margin-top: 1em;
border: solid 1px #CCC;
padding: 1em;
background: #EEE;
}
.details {
font-weight: bold;
font-size: 14px;
}
</style>
<h1><a href="youtube_v3.html">YouTube Data API v3</a> . <a href="youtube_v3.videos.html">videos</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
<code><a href="#delete">delete(id, onBehalfOfContentOwner=None, x__xgafv=None)</a></code></p>
<p class="firstline">Deletes a resource.</p>
<p class="toc_element">
<code><a href="#getRating">getRating(id, onBehalfOfContentOwner=None, x__xgafv=None)</a></code></p>
<p class="firstline">Retrieves the ratings that the authorized user gave to a list of specified videos.</p>
<p class="toc_element">
<code><a href="#insert">insert(part, autoLevels=None, body=None, media_body=None, media_mime_type=None, notifySubscribers=None, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, stabilize=None, x__xgafv=None)</a></code></p>
<p class="firstline">Inserts a new resource into this collection.</p>
<p class="toc_element">
<code><a href="#list">list(part, chart=None, hl=None, id=None, locale=None, maxHeight=None, maxResults=None, maxWidth=None, myRating=None, onBehalfOfContentOwner=None, pageToken=None, regionCode=None, videoCategoryId=None, x__xgafv=None)</a></code></p>
<p class="firstline">Retrieves a list of resources, possibly filtered.</p>
<p class="toc_element">
<code><a href="#list_next">list_next()</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<p class="toc_element">
<code><a href="#rate">rate(id, rating, x__xgafv=None)</a></code></p>
<p class="firstline">Adds a like or dislike rating to a video or removes a rating from a video.</p>
<p class="toc_element">
<code><a href="#reportAbuse">reportAbuse(body=None, onBehalfOfContentOwner=None, x__xgafv=None)</a></code></p>
<p class="firstline">Report abuse for a video.</p>
<p class="toc_element">
<code><a href="#update">update(part, body=None, onBehalfOfContentOwner=None, x__xgafv=None)</a></code></p>
<p class="firstline">Updates an existing resource.</p>
<h3>Method Details</h3>
<div class="method">
<code class="details" id="close">close()</code>
<pre>Close httplib2 connections.</pre>
</div>
<div class="method">
<code class="details" id="delete">delete(id, onBehalfOfContentOwner=None, x__xgafv=None)</code>
<pre>Deletes a resource.
Args:
id: string, A parameter (required)
onBehalfOfContentOwner: string, *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 actual CMS account that the user authenticates with must be linked to the specified YouTube content owner.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
</pre>
</div>
<div class="method">
<code class="details" id="getRating">getRating(id, onBehalfOfContentOwner=None, x__xgafv=None)</code>
<pre>Retrieves the ratings that the authorized user gave to a list of specified videos.
Args:
id: string, A parameter (required) (repeated)
onBehalfOfContentOwner: string, *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.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{
"etag": "A String", # Etag of this resource.
"eventId": "A String", # Serialized EventId of the request which produced this response.
"items": [ # A list of ratings that match the request criteria.
{ # Basic details about rating of a video.
"rating": "A String", # Rating of a video.
"videoId": "A String", # The ID that YouTube uses to uniquely identify the video.
},
],
"kind": "youtube#videoGetRatingResponse", # Identifies what kind of resource this is. Value: the fixed string "youtube#videoGetRatingResponse".
"visitorId": "A String", # The visitorId identifies the visitor.
}</pre>
</div>
<div class="method">
<code class="details" id="insert">insert(part, autoLevels=None, body=None, media_body=None, media_mime_type=None, notifySubscribers=None, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, stabilize=None, x__xgafv=None)</code>
<pre>Inserts a new resource into this collection.
Args:
part: string, The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. Note that not all parts contain properties that can be set when inserting or updating a video. For example, the statistics object encapsulates statistics that YouTube calculates for a video and does not contain values that you can set or modify. If the parameter value specifies a part that does not contain mutable values, that part will still be included in the API response. (required) (repeated)
body: object, The request body.
The object takes the form of:
{ # A *video* resource represents a YouTube video.
"ageGating": { # Age restriction details related to a video. This data can only be retrieved by the video owner.
"alcoholContent": True or False, # Indicates whether or not the video has alcoholic beverage content. Only users of legal purchasing age in a particular country, as identified by ICAP, can view the content.
"restricted": True or False, # Age-restricted trailers. For redband trailers and adult-rated video-games. Only users aged 18+ can view the content. The the field is true the content is restricted to viewers aged 18+. Otherwise The field won't be present.
"videoGameRating": "A String", # Video game rating, if any.
},
"contentDetails": { # Details about the content of a YouTube Video. # The contentDetails object contains information about the video content, including the length of the video and its aspect ratio.
"caption": "A String", # The value of captions indicates whether the video has captions or not.
"contentRating": { # Ratings schemes. The country-specific ratings are mostly for movies and shows. LINT.IfChange # Specifies the ratings that the video received under various rating schemes.
"acbRating": "A String", # The video's Australian Classification Board (ACB) or Australian Communications and Media Authority (ACMA) rating. ACMA ratings are used to classify children's television programming.
"agcomRating": "A String", # The video's rating from Italy's Autorità per le Garanzie nelle Comunicazioni (AGCOM).
"anatelRating": "A String", # The video's Anatel (Asociación Nacional de Televisión) rating for Chilean television.
"bbfcRating": "A String", # The video's British Board of Film Classification (BBFC) rating.
"bfvcRating": "A String", # The video's rating from Thailand's Board of Film and Video Censors.
"bmukkRating": "A String", # The video's rating from the Austrian Board of Media Classification (Bundesministerium für Unterricht, Kunst und Kultur).
"catvRating": "A String", # Rating system for Canadian TV - Canadian TV Classification System The video's rating from the Canadian Radio-Television and Telecommunications Commission (CRTC) for Canadian English-language broadcasts. For more information, see the Canadian Broadcast Standards Council website.
"catvfrRating": "A String", # The video's rating from the Canadian Radio-Television and Telecommunications Commission (CRTC) for Canadian French-language broadcasts. For more information, see the Canadian Broadcast Standards Council website.
"cbfcRating": "A String", # The video's Central Board of Film Certification (CBFC - India) rating.
"cccRating": "A String", # The video's Consejo de Calificación Cinematográfica (Chile) rating.
"cceRating": "A String", # The video's rating from Portugal's Comissão de Classificação de Espect´culos.
"chfilmRating": "A String", # The video's rating in Switzerland.
"chvrsRating": "A String", # The video's Canadian Home Video Rating System (CHVRS) rating.
"cicfRating": "A String", # The video's rating from the Commission de Contrôle des Films (Belgium).
"cnaRating": "A String", # The video's rating from Romania's CONSILIUL NATIONAL AL AUDIOVIZUALULUI (CNA).
"cncRating": "A String", # Rating system in France - Commission de classification cinematographique
"csaRating": "A String", # The video's rating from France's Conseil supérieur de l’audiovisuel, which rates broadcast content.
"cscfRating": "A String", # The video's rating from Luxembourg's Commission de surveillance de la classification des films (CSCF).
"czfilmRating": "A String", # The video's rating in the Czech Republic.
"djctqRating": "A String", # The video's Departamento de Justiça, Classificação, Qualificação e Títulos (DJCQT - Brazil) rating.
"djctqRatingReasons": [ # Reasons that explain why the video received its DJCQT (Brazil) rating.
"A String",
],
"ecbmctRating": "A String", # Rating system in Turkey - Evaluation and Classification Board of the Ministry of Culture and Tourism
"eefilmRating": "A String", # The video's rating in Estonia.
"egfilmRating": "A String", # The video's rating in Egypt.
"eirinRating": "A String", # The video's Eirin (映倫) rating. Eirin is the Japanese rating system.
"fcbmRating": "A String", # The video's rating from Malaysia's Film Censorship Board.
"fcoRating": "A String", # The video's rating from Hong Kong's Office for Film, Newspaper and Article Administration.
"fmocRating": "A String", # This property has been deprecated. Use the contentDetails.contentRating.cncRating instead.
"fpbRating": "A String", # The video's rating from South Africa's Film and Publication Board.
"fpbRatingReasons": [ # Reasons that explain why the video received its FPB (South Africa) rating.
"A String",
],
"fskRating": "A String", # The video's Freiwillige Selbstkontrolle der Filmwirtschaft (FSK - Germany) rating.
"grfilmRating": "A String", # The video's rating in Greece.
"icaaRating": "A String", # The video's Instituto de la Cinematografía y de las Artes Audiovisuales (ICAA - Spain) rating.
"ifcoRating": "A String", # The video's Irish Film Classification Office (IFCO - Ireland) rating. See the IFCO website for more information.
"ilfilmRating": "A String", # The video's rating in Israel.
"incaaRating": "A String", # The video's INCAA (Instituto Nacional de Cine y Artes Audiovisuales - Argentina) rating.
"kfcbRating": "A String", # The video's rating from the Kenya Film Classification Board.
"kijkwijzerRating": "A String", # The video's NICAM/Kijkwijzer rating from the Nederlands Instituut voor de Classificatie van Audiovisuele Media (Netherlands).
"kmrbRating": "A String", # The video's Korea Media Rating Board (영상물등급위원회) rating. The KMRB rates videos in South Korea.
"lsfRating": "A String", # The video's rating from Indonesia's Lembaga Sensor Film.
"mccaaRating": "A String", # The video's rating from Malta's Film Age-Classification Board.
"mccypRating": "A String", # The video's rating from the Danish Film Institute's (Det Danske Filminstitut) Media Council for Children and Young People.
"mcstRating": "A String", # The video's rating system for Vietnam - MCST
"mdaRating": "A String", # The video's rating from Singapore's Media Development Authority (MDA) and, specifically, it's Board of Film Censors (BFC).
"medietilsynetRating": "A String", # The video's rating from Medietilsynet, the Norwegian Media Authority.
"mekuRating": "A String", # The video's rating from Finland's Kansallinen Audiovisuaalinen Instituutti (National Audiovisual Institute).
"menaMpaaRating": "A String", # The rating system for MENA countries, a clone of MPAA. It is needed to prevent titles go live w/o additional QC check, since some of them can be inappropriate for the countries at all. See b/33408548 for more details.
"mibacRating": "A String", # The video's rating from the Ministero dei Beni e delle Attività Culturali e del Turismo (Italy).
"mocRating": "A String", # The video's Ministerio de Cultura (Colombia) rating.
"moctwRating": "A String", # The video's rating from Taiwan's Ministry of Culture (文化部).
"mpaaRating": "A String", # The video's Motion Picture Association of America (MPAA) rating.
"mpaatRating": "A String", # The rating system for trailer, DVD, and Ad in the US. See http://movielabs.com/md/ratings/v2.3/html/US_MPAAT_Ratings.html.
"mtrcbRating": "A String", # The video's rating from the Movie and Television Review and Classification Board (Philippines).
"nbcRating": "A String", # The video's rating from the Maldives National Bureau of Classification.
"nbcplRating": "A String", # The video's rating in Poland.
"nfrcRating": "A String", # The video's rating from the Bulgarian National Film Center.
"nfvcbRating": "A String", # The video's rating from Nigeria's National Film and Video Censors Board.
"nkclvRating": "A String", # The video's rating from the Nacionãlais Kino centrs (National Film Centre of Latvia).
"nmcRating": "A String", # The National Media Council ratings system for United Arab Emirates.
"oflcRating": "A String", # The video's Office of Film and Literature Classification (OFLC - New Zealand) rating.
"pefilmRating": "A String", # The video's rating in Peru.
"rcnofRating": "A String", # The video's rating from the Hungarian Nemzeti Filmiroda, the Rating Committee of the National Office of Film.
"resorteviolenciaRating": "A String", # The video's rating in Venezuela.
"rtcRating": "A String", # The video's General Directorate of Radio, Television and Cinematography (Mexico) rating.
"rteRating": "A String", # The video's rating from Ireland's Raidió Teilifís Éireann.
"russiaRating": "A String", # The video's National Film Registry of the Russian Federation (MKRF - Russia) rating.
"skfilmRating": "A String", # The video's rating in Slovakia.
"smaisRating": "A String", # The video's rating in Iceland.
"smsaRating": "A String", # The video's rating from Statens medieråd (Sweden's National Media Council).
"tvpgRating": "A String", # The video's TV Parental Guidelines (TVPG) rating.
"ytRating": "A String", # A rating that YouTube uses to identify age-restricted content.
},
"countryRestriction": { # Rights management policy for YouTube resources. # The countryRestriction object contains information about the countries where a video is (or is not) viewable.
"allowed": True or False, # The value of allowed indicates whether the access to the policy is allowed or denied by default.
"exception": [ # A list of region codes that identify countries where the default policy do not apply.
"A String",
],
},
"definition": "A String", # The value of definition indicates whether the video is available in high definition or only in standard definition.
"dimension": "A String", # The value of dimension indicates whether the video is available in 3D or in 2D.
"duration": "A String", # The length of the video. The tag value is an ISO 8601 duration in the format PT#M#S, in which the letters PT indicate that the value specifies a period of time, and the letters M and S refer to length in minutes and seconds, respectively. The # characters preceding the M and S letters are both integers that specify the number of minutes (or seconds) of the video. For example, a value of PT15M51S indicates that the video is 15 minutes and 51 seconds long.
"hasCustomThumbnail": True or False, # Indicates whether the video uploader has provided a custom thumbnail image for the video. This property is only visible to the video uploader.
"licensedContent": True or False, # The value of is_license_content indicates whether the video is licensed content.
"projection": "A String", # Specifies the projection format of the video.
"regionRestriction": { # DEPRECATED Region restriction of the video. # The regionRestriction object contains information about the countries where a video is (or is not) viewable. The object will contain either the contentDetails.regionRestriction.allowed property or the contentDetails.regionRestriction.blocked property.
"allowed": [ # A list of region codes that identify countries where the video is viewable. If this property is present and a country is not listed in its value, then the video is blocked from appearing in that country. If this property is present and contains an empty list, the video is blocked in all countries.
"A String",
],
"blocked": [ # A list of region codes that identify countries where the video is blocked. If this property is present and a country is not listed in its value, then the video is viewable in that country. If this property is present and contains an empty list, the video is viewable in all countries.
"A String",
],
},
},
"etag": "A String", # Etag of this resource.
"fileDetails": { # Describes original video file properties, including technical details about audio and video streams, but also metadata information like content length, digitization time, or geotagging information. # The fileDetails object encapsulates information about the video file that was uploaded to YouTube, including the file's resolution, duration, audio and video codecs, stream bitrates, and more. This data can only be retrieved by the video owner.
"audioStreams": [ # A list of audio streams contained in the uploaded video file. Each item in the list contains detailed metadata about an audio stream.
{ # Information about an audio stream.
"bitrateBps": "A String", # The audio stream's bitrate, in bits per second.
"channelCount": 42, # The number of audio channels that the stream contains.
"codec": "A String", # The audio codec that the stream uses.
"vendor": "A String", # A value that uniquely identifies a video vendor. Typically, the value is a four-letter vendor code.
},
],
"bitrateBps": "A String", # The uploaded video file's combined (video and audio) bitrate in bits per second.
"container": "A String", # The uploaded video file's container format.
"creationTime": "A String", # The date and time when the uploaded video file was created. The value is specified in ISO 8601 format. Currently, the following ISO 8601 formats are supported: - Date only: YYYY-MM-DD - Naive time: YYYY-MM-DDTHH:MM:SS - Time with timezone: YYYY-MM-DDTHH:MM:SS+HH:MM
"durationMs": "A String", # The length of the uploaded video in milliseconds.
"fileName": "A String", # The uploaded file's name. This field is present whether a video file or another type of file was uploaded.
"fileSize": "A String", # The uploaded file's size in bytes. This field is present whether a video file or another type of file was uploaded.
"fileType": "A String", # The uploaded file's type as detected by YouTube's video processing engine. Currently, YouTube only processes video files, but this field is present whether a video file or another type of file was uploaded.
"videoStreams": [ # A list of video streams contained in the uploaded video file. Each item in the list contains detailed metadata about a video stream.
{ # Information about a video stream.
"aspectRatio": 3.14, # The video content's display aspect ratio, which specifies the aspect ratio in which the video should be displayed.
"bitrateBps": "A String", # The video stream's bitrate, in bits per second.
"codec": "A String", # The video codec that the stream uses.
"frameRateFps": 3.14, # The video stream's frame rate, in frames per second.
"heightPixels": 42, # The encoded video content's height in pixels.
"rotation": "A String", # The amount that YouTube needs to rotate the original source content to properly display the video.
"vendor": "A String", # A value that uniquely identifies a video vendor. Typically, the value is a four-letter vendor code.
"widthPixels": 42, # The encoded video content's width in pixels. You can calculate the video's encoding aspect ratio as width_pixels / height_pixels.
},
],
},
"id": "A String", # The ID that YouTube uses to uniquely identify the video.
"kind": "youtube#video", # Identifies what kind of resource this is. Value: the fixed string "youtube#video".
"liveStreamingDetails": { # Details about the live streaming metadata. # The liveStreamingDetails object contains metadata about a live video broadcast. The object will only be present in a video resource if the video is an upcoming, live, or completed live broadcast.
"activeLiveChatId": "A String", # The ID of the currently active live chat attached to this video. This field is filled only if the video is a currently live broadcast that has live chat. Once the broadcast transitions to complete this field will be removed and the live chat closed down. For persistent broadcasts that live chat id will no longer be tied to this video but rather to the new video being displayed at the persistent page.
"actualEndTime": "A String", # The time that the broadcast actually ended. This value will not be available until the broadcast is over.
"actualStartTime": "A String", # The time that the broadcast actually started. This value will not be available until the broadcast begins.
"concurrentViewers": "A String", # The number of viewers currently watching the broadcast. The property and its value will be present if the broadcast has current viewers and the broadcast owner has not hidden the viewcount for the video. Note that YouTube stops tracking the number of concurrent viewers for a broadcast when the broadcast ends. So, this property would not identify the number of viewers watching an archived video of a live broadcast that already ended.
"scheduledEndTime": "A String", # The time that the broadcast is scheduled to end. If the value is empty or the property is not present, then the broadcast is scheduled to continue indefinitely.
"scheduledStartTime": "A String", # The time that the broadcast is scheduled to begin.
},
"localizations": { # The localizations object contains localized versions of the basic details about the video, such as its title and description.
"a_key": { # Localized versions of certain video properties (e.g. title).
"description": "A String", # Localized version of the video's description.
"title": "A String", # Localized version of the video's title.
},
},
"monetizationDetails": { # Details about monetization of a YouTube Video. # The monetizationDetails object encapsulates information about the monetization status of the video.
"access": { # Rights management policy for YouTube resources. # The value of access indicates whether the video can be monetized or not.
"allowed": True or False, # The value of allowed indicates whether the access to the policy is allowed or denied by default.
"exception": [ # A list of region codes that identify countries where the default policy do not apply.
"A String",
],
},
},
"paidProductPlacementDetails": { # Details about paid content, such as paid product placement, sponsorships or endorsement, contained in a YouTube video and a method to inform viewers of paid promotion. This data can only be retrieved by the video owner.
"hasPaidProductPlacement": True or False, # This boolean represents whether the video contains Paid Product Placement, Studio equivalent: https://screenshot.googleplex.com/4Me79DE6AfT2ktp.png
},
"player": { # Player to be used for a video playback. # The player object contains information that you would use to play the video in an embedded player.
"embedHeight": "A String",
"embedHtml": "A String", # An <iframe> tag that embeds a player that will play the video.
"embedWidth": "A String", # The embed width
},
"processingDetails": { # Describes processing status and progress and availability of some other Video resource parts. # The processingDetails object encapsulates information about YouTube's progress in processing the uploaded video file. The properties in the object identify the current processing status and an estimate of the time remaining until YouTube finishes processing the video. This part also indicates whether different types of data or content, such as file details or thumbnail images, are available for the video. The processingProgress object is designed to be polled so that the video uploaded can track the progress that YouTube has made in processing the uploaded video file. This data can only be retrieved by the video owner.
"editorSuggestionsAvailability": "A String", # This value indicates whether video editing suggestions, which might improve video quality or the playback experience, are available for the video. You can retrieve these suggestions by requesting the suggestions part in your videos.list() request.
"fileDetailsAvailability": "A String", # This value indicates whether file details are available for the uploaded video. You can retrieve a video's file details by requesting the fileDetails part in your videos.list() request.
"processingFailureReason": "A String", # The reason that YouTube failed to process the video. This property will only have a value if the processingStatus property's value is failed.
"processingIssuesAvailability": "A String", # This value indicates whether the video processing engine has generated suggestions that might improve YouTube's ability to process the the video, warnings that explain video processing problems, or errors that cause video processing problems. You can retrieve these suggestions by requesting the suggestions part in your videos.list() request.
"processingProgress": { # Video processing progress and completion time estimate. # The processingProgress object contains information about the progress YouTube has made in processing the video. The values are really only relevant if the video's processing status is processing.
"partsProcessed": "A String", # The number of parts of the video that YouTube has already processed. You can estimate the percentage of the video that YouTube has already processed by calculating: 100 * parts_processed / parts_total Note that since the estimated number of parts could increase without a corresponding increase in the number of parts that have already been processed, it is possible that the calculated progress could periodically decrease while YouTube processes a video.
"partsTotal": "A String", # An estimate of the total number of parts that need to be processed for the video. The number may be updated with more precise estimates while YouTube processes the video.
"timeLeftMs": "A String", # An estimate of the amount of time, in millseconds, that YouTube needs to finish processing the video.
},
"processingStatus": "A String", # The video's processing status. This value indicates whether YouTube was able to process the video or if the video is still being processed.
"tagSuggestionsAvailability": "A String", # This value indicates whether keyword (tag) suggestions are available for the video. Tags can be added to a video's metadata to make it easier for other users to find the video. You can retrieve these suggestions by requesting the suggestions part in your videos.list() request.
"thumbnailsAvailability": "A String", # This value indicates whether thumbnail images have been generated for the video.
},
"projectDetails": { # DEPRECATED. b/157517979: This part was never populated after it was added. However, it sees non-zero traffic because there is generated client code in the wild that refers to it [1]. We keep this field and do NOT remove it because otherwise V3 would return an error when this part gets requested [2]. [1] https://developers.google.com/resources/api-libraries/documentation/youtube/v3/csharp/latest/classGoogle_1_1Apis_1_1YouTube_1_1v3_1_1Data_1_1VideoProjectDetails.html [2] http://google3/video/youtube/src/python/servers/data_api/common.py?l=1565-1569&rcl=344141677 # The projectDetails object contains information about the project specific video metadata. b/157517979: This part was never populated after it was added. However, it sees non-zero traffic because there is generated client code in the wild that refers to it [1]. We keep this field and do NOT remove it because otherwise V3 would return an error when this part gets requested [2]. [1] https://developers.google.com/resources/api-libraries/documentation/youtube/v3/csharp/latest/classGoogle_1_1Apis_1_1YouTube_1_1v3_1_1Data_1_1VideoProjectDetails.html [2] http://google3/video/youtube/src/python/servers/data_api/common.py?l=1565-1569&rcl=344141677
},
"recordingDetails": { # Recording information associated with the video. # The recordingDetails object encapsulates information about the location, date and address where the video was recorded.
"location": { # Geographical coordinates of a point, in WGS84. # The geolocation information associated with the video.
"altitude": 3.14, # Altitude above the reference ellipsoid, in meters.
"latitude": 3.14, # Latitude in degrees.
"longitude": 3.14, # Longitude in degrees.
},
"locationDescription": "A String", # The text description of the location where the video was recorded.
"recordingDate": "A String", # The date and time when the video was recorded.
},
"snippet": { # Basic details about a video, including title, description, uploader, thumbnails and category. # The snippet object contains basic details about the video, such as its title, description, and category.
"categoryId": "A String", # The YouTube video category associated with the video.
"channelId": "A String", # The ID that YouTube uses to uniquely identify the channel that the video was uploaded to.
"channelTitle": "A String", # Channel title for the channel that the video belongs to.
"defaultAudioLanguage": "A String", # The default_audio_language property specifies the language spoken in the video's default audio track.
"defaultLanguage": "A String", # The language of the videos's default snippet.
"description": "A String", # The video's description. @mutable youtube.videos.insert youtube.videos.update
"liveBroadcastContent": "A String", # Indicates if the video is an upcoming/active live broadcast. Or it's "none" if the video is not an upcoming/active live broadcast.
"localized": { # Localized versions of certain video properties (e.g. title). # Localized snippet selected with the hl parameter. If no such localization exists, this field is populated with the default snippet. (Read-only)
"description": "A String", # Localized version of the video's description.
"title": "A String", # Localized version of the video's title.
},
"publishedAt": "A String", # The date and time when the video was uploaded.
"tags": [ # A list of keyword tags associated with the video. Tags may contain spaces.
"A String",
],
"thumbnails": { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the video. For each object in the map, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail.
"default": { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
"height": 42, # (Optional) Height of the thumbnail image.
"url": "A String", # The thumbnail image's URL.
"width": 42, # (Optional) Width of the thumbnail image.
},
"high": { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
"height": 42, # (Optional) Height of the thumbnail image.
"url": "A String", # The thumbnail image's URL.
"width": 42, # (Optional) Width of the thumbnail image.
},
"maxres": { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
"height": 42, # (Optional) Height of the thumbnail image.
"url": "A String", # The thumbnail image's URL.
"width": 42, # (Optional) Width of the thumbnail image.
},
"medium": { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
"height": 42, # (Optional) Height of the thumbnail image.
"url": "A String", # The thumbnail image's URL.
"width": 42, # (Optional) Width of the thumbnail image.
},
"standard": { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
"height": 42, # (Optional) Height of the thumbnail image.
"url": "A String", # The thumbnail image's URL.
"width": 42, # (Optional) Width of the thumbnail image.
},
},
"title": "A String", # The video's title. @mutable youtube.videos.insert youtube.videos.update
},
"statistics": { # Statistics about the video, such as the number of times the video was viewed or liked. # The statistics object contains statistics about the video.
"commentCount": "A String", # The number of comments for the video.
"dislikeCount": "A String", # The number of users who have indicated that they disliked the video by giving it a negative rating.
"favoriteCount": "A String", # The number of users who currently have the video marked as a favorite video.
"likeCount": "A String", # The number of users who have indicated that they liked the video by giving it a positive rating.
"viewCount": "A String", # The number of times the video has been viewed.
},
"status": { # Basic details about a video category, such as its localized title. Next Id: 19 # The status object contains information about the video's uploading, processing, and privacy statuses.
"containsSyntheticMedia": True or False, # Indicates if the video contains altered or synthetic media.
"embeddable": True or False, # This value indicates if the video can be embedded on another website. @mutable youtube.videos.insert youtube.videos.update
"failureReason": "A String", # This value explains why a video failed to upload. This property is only present if the uploadStatus property indicates that the upload failed.
"license": "A String", # The video's license. @mutable youtube.videos.insert youtube.videos.update
"madeForKids": True or False,
"privacyStatus": "A String", # The video's privacy status.
"publicStatsViewable": True or False, # This value indicates if the extended video statistics on the watch page can be viewed by everyone. Note that the view count, likes, etc will still be visible if this is disabled. @mutable youtube.videos.insert youtube.videos.update
"publishAt": "A String", # The date and time when the video is scheduled to publish. It can be set only if the privacy status of the video is private..
"rejectionReason": "A String", # This value explains why YouTube rejected an uploaded video. This property is only present if the uploadStatus property indicates that the upload was rejected.
"selfDeclaredMadeForKids": True or False,
"uploadStatus": "A String", # The status of the uploaded video.
},
"suggestions": { # Specifies suggestions on how to improve video content, including encoding hints, tag suggestions, and editor suggestions. # The suggestions object encapsulates suggestions that identify opportunities to improve the video quality or the metadata for the uploaded video. This data can only be retrieved by the video owner.
"editorSuggestions": [ # A list of video editing operations that might improve the video quality or playback experience of the uploaded video.
"A String",
],
"processingErrors": [ # A list of errors that will prevent YouTube from successfully processing the uploaded video video. These errors indicate that, regardless of the video's current processing status, eventually, that status will almost certainly be failed.
"A String",
],
"processingHints": [ # A list of suggestions that may improve YouTube's ability to process the video.
"A String",
],
"processingWarnings": [ # A list of reasons why YouTube may have difficulty transcoding the uploaded video or that might result in an erroneous transcoding. These warnings are generated before YouTube actually processes the uploaded video file. In addition, they identify issues that are unlikely to cause the video processing to fail but that might cause problems such as sync issues, video artifacts, or a missing audio track.
"A String",
],
"tagSuggestions": [ # A list of keyword tags that could be added to the video's metadata to increase the likelihood that users will locate your video when searching or browsing on YouTube.
{ # A single tag suggestion with its relevance information.
"categoryRestricts": [ # A set of video categories for which the tag is relevant. You can use this information to display appropriate tag suggestions based on the video category that the video uploader associates with the video. By default, tag suggestions are relevant for all categories if there are no restricts defined for the keyword.
"A String",
],
"tag": "A String", # The keyword tag suggested for the video.
},
],
},
"topicDetails": { # Freebase topic information related to the video. # The topicDetails object encapsulates information about Freebase topics associated with the video.
"relevantTopicIds": [ # Similar to topic_id, except that these topics are merely relevant to the video. These are topics that may be mentioned in, or appear in the video. You can retrieve information about each topic using Freebase Topic API.
"A String",
],
"topicCategories": [ # A list of Wikipedia URLs that provide a high-level description of the video's content.
"A String",
],
"topicIds": [ # A list of Freebase topic IDs that are centrally associated with the video. These are topics that are centrally featured in the video, and it can be said that the video is mainly about each of these. You can retrieve information about each topic using the < a href="http://wiki.freebase.com/wiki/Topic_API">Freebase Topic API.
"A String",
],
},
}
autoLevels: boolean, Should auto-levels be applied to the upload.
media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
media_mime_type: string, The MIME type of the media request body, or an instance of a MediaUpload object.
notifySubscribers: boolean, Notify the channel subscribers about the new video. As default, the notification is enabled.
onBehalfOfContentOwner: string, *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.
onBehalfOfContentOwnerChannel: string, This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.
stabilize: boolean, Should stabilize be applied to the upload.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # A *video* resource represents a YouTube video.
"ageGating": { # Age restriction details related to a video. This data can only be retrieved by the video owner.
"alcoholContent": True or False, # Indicates whether or not the video has alcoholic beverage content. Only users of legal purchasing age in a particular country, as identified by ICAP, can view the content.
"restricted": True or False, # Age-restricted trailers. For redband trailers and adult-rated video-games. Only users aged 18+ can view the content. The the field is true the content is restricted to viewers aged 18+. Otherwise The field won't be present.
"videoGameRating": "A String", # Video game rating, if any.
},
"contentDetails": { # Details about the content of a YouTube Video. # The contentDetails object contains information about the video content, including the length of the video and its aspect ratio.
"caption": "A String", # The value of captions indicates whether the video has captions or not.
"contentRating": { # Ratings schemes. The country-specific ratings are mostly for movies and shows. LINT.IfChange # Specifies the ratings that the video received under various rating schemes.
"acbRating": "A String", # The video's Australian Classification Board (ACB) or Australian Communications and Media Authority (ACMA) rating. ACMA ratings are used to classify children's television programming.
"agcomRating": "A String", # The video's rating from Italy's Autorità per le Garanzie nelle Comunicazioni (AGCOM).
"anatelRating": "A String", # The video's Anatel (Asociación Nacional de Televisión) rating for Chilean television.
"bbfcRating": "A String", # The video's British Board of Film Classification (BBFC) rating.
"bfvcRating": "A String", # The video's rating from Thailand's Board of Film and Video Censors.
"bmukkRating": "A String", # The video's rating from the Austrian Board of Media Classification (Bundesministerium für Unterricht, Kunst und Kultur).
"catvRating": "A String", # Rating system for Canadian TV - Canadian TV Classification System The video's rating from the Canadian Radio-Television and Telecommunications Commission (CRTC) for Canadian English-language broadcasts. For more information, see the Canadian Broadcast Standards Council website.
"catvfrRating": "A String", # The video's rating from the Canadian Radio-Television and Telecommunications Commission (CRTC) for Canadian French-language broadcasts. For more information, see the Canadian Broadcast Standards Council website.
"cbfcRating": "A String", # The video's Central Board of Film Certification (CBFC - India) rating.
"cccRating": "A String", # The video's Consejo de Calificación Cinematográfica (Chile) rating.
"cceRating": "A String", # The video's rating from Portugal's Comissão de Classificação de Espect´culos.
"chfilmRating": "A String", # The video's rating in Switzerland.
"chvrsRating": "A String", # The video's Canadian Home Video Rating System (CHVRS) rating.
"cicfRating": "A String", # The video's rating from the Commission de Contrôle des Films (Belgium).
"cnaRating": "A String", # The video's rating from Romania's CONSILIUL NATIONAL AL AUDIOVIZUALULUI (CNA).
"cncRating": "A String", # Rating system in France - Commission de classification cinematographique
"csaRating": "A String", # The video's rating from France's Conseil supérieur de l’audiovisuel, which rates broadcast content.
"cscfRating": "A String", # The video's rating from Luxembourg's Commission de surveillance de la classification des films (CSCF).
"czfilmRating": "A String", # The video's rating in the Czech Republic.
"djctqRating": "A String", # The video's Departamento de Justiça, Classificação, Qualificação e Títulos (DJCQT - Brazil) rating.
"djctqRatingReasons": [ # Reasons that explain why the video received its DJCQT (Brazil) rating.
"A String",
],
"ecbmctRating": "A String", # Rating system in Turkey - Evaluation and Classification Board of the Ministry of Culture and Tourism
"eefilmRating": "A String", # The video's rating in Estonia.
"egfilmRating": "A String", # The video's rating in Egypt.
"eirinRating": "A String", # The video's Eirin (映倫) rating. Eirin is the Japanese rating system.
"fcbmRating": "A String", # The video's rating from Malaysia's Film Censorship Board.
"fcoRating": "A String", # The video's rating from Hong Kong's Office for Film, Newspaper and Article Administration.
"fmocRating": "A String", # This property has been deprecated. Use the contentDetails.contentRating.cncRating instead.
"fpbRating": "A String", # The video's rating from South Africa's Film and Publication Board.
"fpbRatingReasons": [ # Reasons that explain why the video received its FPB (South Africa) rating.
"A String",
],
"fskRating": "A String", # The video's Freiwillige Selbstkontrolle der Filmwirtschaft (FSK - Germany) rating.
"grfilmRating": "A String", # The video's rating in Greece.
"icaaRating": "A String", # The video's Instituto de la Cinematografía y de las Artes Audiovisuales (ICAA - Spain) rating.
"ifcoRating": "A String", # The video's Irish Film Classification Office (IFCO - Ireland) rating. See the IFCO website for more information.
"ilfilmRating": "A String", # The video's rating in Israel.
"incaaRating": "A String", # The video's INCAA (Instituto Nacional de Cine y Artes Audiovisuales - Argentina) rating.
"kfcbRating": "A String", # The video's rating from the Kenya Film Classification Board.
"kijkwijzerRating": "A String", # The video's NICAM/Kijkwijzer rating from the Nederlands Instituut voor de Classificatie van Audiovisuele Media (Netherlands).
"kmrbRating": "A String", # The video's Korea Media Rating Board (영상물등급위원회) rating. The KMRB rates videos in South Korea.
"lsfRating": "A String", # The video's rating from Indonesia's Lembaga Sensor Film.
"mccaaRating": "A String", # The video's rating from Malta's Film Age-Classification Board.
"mccypRating": "A String", # The video's rating from the Danish Film Institute's (Det Danske Filminstitut) Media Council for Children and Young People.
"mcstRating": "A String", # The video's rating system for Vietnam - MCST
"mdaRating": "A String", # The video's rating from Singapore's Media Development Authority (MDA) and, specifically, it's Board of Film Censors (BFC).
"medietilsynetRating": "A String", # The video's rating from Medietilsynet, the Norwegian Media Authority.
"mekuRating": "A String", # The video's rating from Finland's Kansallinen Audiovisuaalinen Instituutti (National Audiovisual Institute).
"menaMpaaRating": "A String", # The rating system for MENA countries, a clone of MPAA. It is needed to prevent titles go live w/o additional QC check, since some of them can be inappropriate for the countries at all. See b/33408548 for more details.
"mibacRating": "A String", # The video's rating from the Ministero dei Beni e delle Attività Culturali e del Turismo (Italy).
"mocRating": "A String", # The video's Ministerio de Cultura (Colombia) rating.
"moctwRating": "A String", # The video's rating from Taiwan's Ministry of Culture (文化部).
"mpaaRating": "A String", # The video's Motion Picture Association of America (MPAA) rating.
"mpaatRating": "A String", # The rating system for trailer, DVD, and Ad in the US. See http://movielabs.com/md/ratings/v2.3/html/US_MPAAT_Ratings.html.
"mtrcbRating": "A String", # The video's rating from the Movie and Television Review and Classification Board (Philippines).
"nbcRating": "A String", # The video's rating from the Maldives National Bureau of Classification.
"nbcplRating": "A String", # The video's rating in Poland.
"nfrcRating": "A String", # The video's rating from the Bulgarian National Film Center.
"nfvcbRating": "A String", # The video's rating from Nigeria's National Film and Video Censors Board.
"nkclvRating": "A String", # The video's rating from the Nacionãlais Kino centrs (National Film Centre of Latvia).
"nmcRating": "A String", # The National Media Council ratings system for United Arab Emirates.
"oflcRating": "A String", # The video's Office of Film and Literature Classification (OFLC - New Zealand) rating.
"pefilmRating": "A String", # The video's rating in Peru.
"rcnofRating": "A String", # The video's rating from the Hungarian Nemzeti Filmiroda, the Rating Committee of the National Office of Film.
"resorteviolenciaRating": "A String", # The video's rating in Venezuela.
"rtcRating": "A String", # The video's General Directorate of Radio, Television and Cinematography (Mexico) rating.
"rteRating": "A String", # The video's rating from Ireland's Raidió Teilifís Éireann.
"russiaRating": "A String", # The video's National Film Registry of the Russian Federation (MKRF - Russia) rating.
"skfilmRating": "A String", # The video's rating in Slovakia.
"smaisRating": "A String", # The video's rating in Iceland.
"smsaRating": "A String", # The video's rating from Statens medieråd (Sweden's National Media Council).
"tvpgRating": "A String", # The video's TV Parental Guidelines (TVPG) rating.
"ytRating": "A String", # A rating that YouTube uses to identify age-restricted content.
},
"countryRestriction": { # Rights management policy for YouTube resources. # The countryRestriction object contains information about the countries where a video is (or is not) viewable.
"allowed": True or False, # The value of allowed indicates whether the access to the policy is allowed or denied by default.
"exception": [ # A list of region codes that identify countries where the default policy do not apply.
"A String",
],
},
"definition": "A String", # The value of definition indicates whether the video is available in high definition or only in standard definition.
"dimension": "A String", # The value of dimension indicates whether the video is available in 3D or in 2D.
"duration": "A String", # The length of the video. The tag value is an ISO 8601 duration in the format PT#M#S, in which the letters PT indicate that the value specifies a period of time, and the letters M and S refer to length in minutes and seconds, respectively. The # characters preceding the M and S letters are both integers that specify the number of minutes (or seconds) of the video. For example, a value of PT15M51S indicates that the video is 15 minutes and 51 seconds long.
"hasCustomThumbnail": True or False, # Indicates whether the video uploader has provided a custom thumbnail image for the video. This property is only visible to the video uploader.
"licensedContent": True or False, # The value of is_license_content indicates whether the video is licensed content.
"projection": "A String", # Specifies the projection format of the video.
"regionRestriction": { # DEPRECATED Region restriction of the video. # The regionRestriction object contains information about the countries where a video is (or is not) viewable. The object will contain either the contentDetails.regionRestriction.allowed property or the contentDetails.regionRestriction.blocked property.
"allowed": [ # A list of region codes that identify countries where the video is viewable. If this property is present and a country is not listed in its value, then the video is blocked from appearing in that country. If this property is present and contains an empty list, the video is blocked in all countries.
"A String",
],
"blocked": [ # A list of region codes that identify countries where the video is blocked. If this property is present and a country is not listed in its value, then the video is viewable in that country. If this property is present and contains an empty list, the video is viewable in all countries.
"A String",
],
},
},
"etag": "A String", # Etag of this resource.
"fileDetails": { # Describes original video file properties, including technical details about audio and video streams, but also metadata information like content length, digitization time, or geotagging information. # The fileDetails object encapsulates information about the video file that was uploaded to YouTube, including the file's resolution, duration, audio and video codecs, stream bitrates, and more. This data can only be retrieved by the video owner.
"audioStreams": [ # A list of audio streams contained in the uploaded video file. Each item in the list contains detailed metadata about an audio stream.
{ # Information about an audio stream.
"bitrateBps": "A String", # The audio stream's bitrate, in bits per second.
"channelCount": 42, # The number of audio channels that the stream contains.
"codec": "A String", # The audio codec that the stream uses.
"vendor": "A String", # A value that uniquely identifies a video vendor. Typically, the value is a four-letter vendor code.
},
],
"bitrateBps": "A String", # The uploaded video file's combined (video and audio) bitrate in bits per second.
"container": "A String", # The uploaded video file's container format.
"creationTime": "A String", # The date and time when the uploaded video file was created. The value is specified in ISO 8601 format. Currently, the following ISO 8601 formats are supported: - Date only: YYYY-MM-DD - Naive time: YYYY-MM-DDTHH:MM:SS - Time with timezone: YYYY-MM-DDTHH:MM:SS+HH:MM
"durationMs": "A String", # The length of the uploaded video in milliseconds.
"fileName": "A String", # The uploaded file's name. This field is present whether a video file or another type of file was uploaded.
"fileSize": "A String", # The uploaded file's size in bytes. This field is present whether a video file or another type of file was uploaded.
"fileType": "A String", # The uploaded file's type as detected by YouTube's video processing engine. Currently, YouTube only processes video files, but this field is present whether a video file or another type of file was uploaded.
"videoStreams": [ # A list of video streams contained in the uploaded video file. Each item in the list contains detailed metadata about a video stream.
{ # Information about a video stream.
"aspectRatio": 3.14, # The video content's display aspect ratio, which specifies the aspect ratio in which the video should be displayed.
"bitrateBps": "A String", # The video stream's bitrate, in bits per second.
"codec": "A String", # The video codec that the stream uses.
"frameRateFps": 3.14, # The video stream's frame rate, in frames per second.
"heightPixels": 42, # The encoded video content's height in pixels.
"rotation": "A String", # The amount that YouTube needs to rotate the original source content to properly display the video.
"vendor": "A String", # A value that uniquely identifies a video vendor. Typically, the value is a four-letter vendor code.
"widthPixels": 42, # The encoded video content's width in pixels. You can calculate the video's encoding aspect ratio as width_pixels / height_pixels.
},
],
},
"id": "A String", # The ID that YouTube uses to uniquely identify the video.
"kind": "youtube#video", # Identifies what kind of resource this is. Value: the fixed string "youtube#video".
"liveStreamingDetails": { # Details about the live streaming metadata. # The liveStreamingDetails object contains metadata about a live video broadcast. The object will only be present in a video resource if the video is an upcoming, live, or completed live broadcast.
"activeLiveChatId": "A String", # The ID of the currently active live chat attached to this video. This field is filled only if the video is a currently live broadcast that has live chat. Once the broadcast transitions to complete this field will be removed and the live chat closed down. For persistent broadcasts that live chat id will no longer be tied to this video but rather to the new video being displayed at the persistent page.
"actualEndTime": "A String", # The time that the broadcast actually ended. This value will not be available until the broadcast is over.
"actualStartTime": "A String", # The time that the broadcast actually started. This value will not be available until the broadcast begins.
"concurrentViewers": "A String", # The number of viewers currently watching the broadcast. The property and its value will be present if the broadcast has current viewers and the broadcast owner has not hidden the viewcount for the video. Note that YouTube stops tracking the number of concurrent viewers for a broadcast when the broadcast ends. So, this property would not identify the number of viewers watching an archived video of a live broadcast that already ended.
"scheduledEndTime": "A String", # The time that the broadcast is scheduled to end. If the value is empty or the property is not present, then the broadcast is scheduled to continue indefinitely.
"scheduledStartTime": "A String", # The time that the broadcast is scheduled to begin.
},
"localizations": { # The localizations object contains localized versions of the basic details about the video, such as its title and description.
"a_key": { # Localized versions of certain video properties (e.g. title).
"description": "A String", # Localized version of the video's description.
"title": "A String", # Localized version of the video's title.
},
},
"monetizationDetails": { # Details about monetization of a YouTube Video. # The monetizationDetails object encapsulates information about the monetization status of the video.
"access": { # Rights management policy for YouTube resources. # The value of access indicates whether the video can be monetized or not.
"allowed": True or False, # The value of allowed indicates whether the access to the policy is allowed or denied by default.
"exception": [ # A list of region codes that identify countries where the default policy do not apply.
"A String",
],
},
},
"paidProductPlacementDetails": { # Details about paid content, such as paid product placement, sponsorships or endorsement, contained in a YouTube video and a method to inform viewers of paid promotion. This data can only be retrieved by the video owner.
"hasPaidProductPlacement": True or False, # This boolean represents whether the video contains Paid Product Placement, Studio equivalent: https://screenshot.googleplex.com/4Me79DE6AfT2ktp.png
},
"player": { # Player to be used for a video playback. # The player object contains information that you would use to play the video in an embedded player.
"embedHeight": "A String",
"embedHtml": "A String", # An <iframe> tag that embeds a player that will play the video.
"embedWidth": "A String", # The embed width
},
"processingDetails": { # Describes processing status and progress and availability of some other Video resource parts. # The processingDetails object encapsulates information about YouTube's progress in processing the uploaded video file. The properties in the object identify the current processing status and an estimate of the time remaining until YouTube finishes processing the video. This part also indicates whether different types of data or content, such as file details or thumbnail images, are available for the video. The processingProgress object is designed to be polled so that the video uploaded can track the progress that YouTube has made in processing the uploaded video file. This data can only be retrieved by the video owner.
"editorSuggestionsAvailability": "A String", # This value indicates whether video editing suggestions, which might improve video quality or the playback experience, are available for the video. You can retrieve these suggestions by requesting the suggestions part in your videos.list() request.
"fileDetailsAvailability": "A String", # This value indicates whether file details are available for the uploaded video. You can retrieve a video's file details by requesting the fileDetails part in your videos.list() request.
"processingFailureReason": "A String", # The reason that YouTube failed to process the video. This property will only have a value if the processingStatus property's value is failed.
"processingIssuesAvailability": "A String", # This value indicates whether the video processing engine has generated suggestions that might improve YouTube's ability to process the the video, warnings that explain video processing problems, or errors that cause video processing problems. You can retrieve these suggestions by requesting the suggestions part in your videos.list() request.
"processingProgress": { # Video processing progress and completion time estimate. # The processingProgress object contains information about the progress YouTube has made in processing the video. The values are really only relevant if the video's processing status is processing.
"partsProcessed": "A String", # The number of parts of the video that YouTube has already processed. You can estimate the percentage of the video that YouTube has already processed by calculating: 100 * parts_processed / parts_total Note that since the estimated number of parts could increase without a corresponding increase in the number of parts that have already been processed, it is possible that the calculated progress could periodically decrease while YouTube processes a video.
"partsTotal": "A String", # An estimate of the total number of parts that need to be processed for the video. The number may be updated with more precise estimates while YouTube processes the video.
"timeLeftMs": "A String", # An estimate of the amount of time, in millseconds, that YouTube needs to finish processing the video.
},
"processingStatus": "A String", # The video's processing status. This value indicates whether YouTube was able to process the video or if the video is still being processed.
"tagSuggestionsAvailability": "A String", # This value indicates whether keyword (tag) suggestions are available for the video. Tags can be added to a video's metadata to make it easier for other users to find the video. You can retrieve these suggestions by requesting the suggestions part in your videos.list() request.
"thumbnailsAvailability": "A String", # This value indicates whether thumbnail images have been generated for the video.
},
"projectDetails": { # DEPRECATED. b/157517979: This part was never populated after it was added. However, it sees non-zero traffic because there is generated client code in the wild that refers to it [1]. We keep this field and do NOT remove it because otherwise V3 would return an error when this part gets requested [2]. [1] https://developers.google.com/resources/api-libraries/documentation/youtube/v3/csharp/latest/classGoogle_1_1Apis_1_1YouTube_1_1v3_1_1Data_1_1VideoProjectDetails.html [2] http://google3/video/youtube/src/python/servers/data_api/common.py?l=1565-1569&rcl=344141677 # The projectDetails object contains information about the project specific video metadata. b/157517979: This part was never populated after it was added. However, it sees non-zero traffic because there is generated client code in the wild that refers to it [1]. We keep this field and do NOT remove it because otherwise V3 would return an error when this part gets requested [2]. [1] https://developers.google.com/resources/api-libraries/documentation/youtube/v3/csharp/latest/classGoogle_1_1Apis_1_1YouTube_1_1v3_1_1Data_1_1VideoProjectDetails.html [2] http://google3/video/youtube/src/python/servers/data_api/common.py?l=1565-1569&rcl=344141677
},
"recordingDetails": { # Recording information associated with the video. # The recordingDetails object encapsulates information about the location, date and address where the video was recorded.
"location": { # Geographical coordinates of a point, in WGS84. # The geolocation information associated with the video.
"altitude": 3.14, # Altitude above the reference ellipsoid, in meters.
"latitude": 3.14, # Latitude in degrees.
"longitude": 3.14, # Longitude in degrees.
},
"locationDescription": "A String", # The text description of the location where the video was recorded.
"recordingDate": "A String", # The date and time when the video was recorded.
},
"snippet": { # Basic details about a video, including title, description, uploader, thumbnails and category. # The snippet object contains basic details about the video, such as its title, description, and category.
"categoryId": "A String", # The YouTube video category associated with the video.
"channelId": "A String", # The ID that YouTube uses to uniquely identify the channel that the video was uploaded to.
"channelTitle": "A String", # Channel title for the channel that the video belongs to.
"defaultAudioLanguage": "A String", # The default_audio_language property specifies the language spoken in the video's default audio track.
"defaultLanguage": "A String", # The language of the videos's default snippet.
"description": "A String", # The video's description. @mutable youtube.videos.insert youtube.videos.update
"liveBroadcastContent": "A String", # Indicates if the video is an upcoming/active live broadcast. Or it's "none" if the video is not an upcoming/active live broadcast.
"localized": { # Localized versions of certain video properties (e.g. title). # Localized snippet selected with the hl parameter. If no such localization exists, this field is populated with the default snippet. (Read-only)
"description": "A String", # Localized version of the video's description.
"title": "A String", # Localized version of the video's title.
},
"publishedAt": "A String", # The date and time when the video was uploaded.
"tags": [ # A list of keyword tags associated with the video. Tags may contain spaces.
"A String",
],
"thumbnails": { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the video. For each object in the map, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail.
"default": { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
"height": 42, # (Optional) Height of the thumbnail image.
"url": "A String", # The thumbnail image's URL.
"width": 42, # (Optional) Width of the thumbnail image.
},
"high": { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
"height": 42, # (Optional) Height of the thumbnail image.
"url": "A String", # The thumbnail image's URL.
"width": 42, # (Optional) Width of the thumbnail image.
},
"maxres": { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
"height": 42, # (Optional) Height of the thumbnail image.
"url": "A String", # The thumbnail image's URL.
"width": 42, # (Optional) Width of the thumbnail image.
},
"medium": { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
"height": 42, # (Optional) Height of the thumbnail image.
"url": "A String", # The thumbnail image's URL.
"width": 42, # (Optional) Width of the thumbnail image.
},
"standard": { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
"height": 42, # (Optional) Height of the thumbnail image.
"url": "A String", # The thumbnail image's URL.
"width": 42, # (Optional) Width of the thumbnail image.
},
},
"title": "A String", # The video's title. @mutable youtube.videos.insert youtube.videos.update
},
"statistics": { # Statistics about the video, such as the number of times the video was viewed or liked. # The statistics object contains statistics about the video.
"commentCount": "A String", # The number of comments for the video.
"dislikeCount": "A String", # The number of users who have indicated that they disliked the video by giving it a negative rating.
"favoriteCount": "A String", # The number of users who currently have the video marked as a favorite video.
"likeCount": "A String", # The number of users who have indicated that they liked the video by giving it a positive rating.
"viewCount": "A String", # The number of times the video has been viewed.
},
"status": { # Basic details about a video category, such as its localized title. Next Id: 19 # The status object contains information about the video's uploading, processing, and privacy statuses.
"containsSyntheticMedia": True or False, # Indicates if the video contains altered or synthetic media.
"embeddable": True or False, # This value indicates if the video can be embedded on another website. @mutable youtube.videos.insert youtube.videos.update
"failureReason": "A String", # This value explains why a video failed to upload. This property is only present if the uploadStatus property indicates that the upload failed.
"license": "A String", # The video's license. @mutable youtube.videos.insert youtube.videos.update
"madeForKids": True or False,
"privacyStatus": "A String", # The video's privacy status.
"publicStatsViewable": True or False, # This value indicates if the extended video statistics on the watch page can be viewed by everyone. Note that the view count, likes, etc will still be visible if this is disabled. @mutable youtube.videos.insert youtube.videos.update
"publishAt": "A String", # The date and time when the video is scheduled to publish. It can be set only if the privacy status of the video is private..
"rejectionReason": "A String", # This value explains why YouTube rejected an uploaded video. This property is only present if the uploadStatus property indicates that the upload was rejected.
"selfDeclaredMadeForKids": True or False,
"uploadStatus": "A String", # The status of the uploaded video.
},
"suggestions": { # Specifies suggestions on how to improve video content, including encoding hints, tag suggestions, and editor suggestions. # The suggestions object encapsulates suggestions that identify opportunities to improve the video quality or the metadata for the uploaded video. This data can only be retrieved by the video owner.
"editorSuggestions": [ # A list of video editing operations that might improve the video quality or playback experience of the uploaded video.
"A String",
],
"processingErrors": [ # A list of errors that will prevent YouTube from successfully processing the uploaded video video. These errors indicate that, regardless of the video's current processing status, eventually, that status will almost certainly be failed.
"A String",
],
"processingHints": [ # A list of suggestions that may improve YouTube's ability to process the video.
"A String",
],
"processingWarnings": [ # A list of reasons why YouTube may have difficulty transcoding the uploaded video or that might result in an erroneous transcoding. These warnings are generated before YouTube actually processes the uploaded video file. In addition, they identify issues that are unlikely to cause the video processing to fail but that might cause problems such as sync issues, video artifacts, or a missing audio track.
"A String",
],
"tagSuggestions": [ # A list of keyword tags that could be added to the video's metadata to increase the likelihood that users will locate your video when searching or browsing on YouTube.
{ # A single tag suggestion with its relevance information.
"categoryRestricts": [ # A set of video categories for which the tag is relevant. You can use this information to display appropriate tag suggestions based on the video category that the video uploader associates with the video. By default, tag suggestions are relevant for all categories if there are no restricts defined for the keyword.
"A String",
],
"tag": "A String", # The keyword tag suggested for the video.
},
],
},
"topicDetails": { # Freebase topic information related to the video. # The topicDetails object encapsulates information about Freebase topics associated with the video.
"relevantTopicIds": [ # Similar to topic_id, except that these topics are merely relevant to the video. These are topics that may be mentioned in, or appear in the video. You can retrieve information about each topic using Freebase Topic API.
"A String",
],
"topicCategories": [ # A list of Wikipedia URLs that provide a high-level description of the video's content.
"A String",
],
"topicIds": [ # A list of Freebase topic IDs that are centrally associated with the video. These are topics that are centrally featured in the video, and it can be said that the video is mainly about each of these. You can retrieve information about each topic using the < a href="http://wiki.freebase.com/wiki/Topic_API">Freebase Topic API.
"A String",
],
},
}</pre>
</div>
<div class="method">
<code class="details" id="list">list(part, chart=None, hl=None, id=None, locale=None, maxHeight=None, maxResults=None, maxWidth=None, myRating=None, onBehalfOfContentOwner=None, pageToken=None, regionCode=None, videoCategoryId=None, x__xgafv=None)</code>
<pre>Retrieves a list of resources, possibly filtered.
Args:
part: string, The *part* parameter specifies a comma-separated list of one or more video resource properties that the API response will include. If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a video resource, the snippet property contains the channelId, title, description, tags, and categoryId properties. As such, if you set *part=snippet*, the API response will contain all of those properties. (required) (repeated)
chart: string, Return the videos that are in the specified chart.
Allowed values
chartUnspecified -
mostPopular - Return the most popular videos for the specified content region and video category.
hl: string, Stands for "host language". Specifies the localization language of the metadata to be filled into snippet.localized. The field is filled with the default metadata if there is no localization in the specified language. The parameter value must be a language code included in the list returned by the i18nLanguages.list method (e.g. en_US, es_MX).
id: string, Return videos with the given ids. (repeated)
locale: string, A parameter
maxHeight: integer, A parameter
maxResults: integer, The *maxResults* parameter specifies the maximum number of items that should be returned in the result set. *Note:* This parameter is supported for use in conjunction with the myRating and chart parameters, but it is not supported for use in conjunction with the id parameter.
maxWidth: integer, Return the player with maximum height specified in
myRating: string, Return videos liked/disliked by the authenticated user. Does not support RateType.RATED_TYPE_NONE.
Allowed values
none -
like - The entity is liked.
dislike - The entity is disliked.
onBehalfOfContentOwner: string, *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.
pageToken: string, The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved. *Note:* This parameter is supported for use in conjunction with the myRating and chart parameters, but it is not supported for use in conjunction with the id parameter.
regionCode: string, Use a chart that is specific to the specified region
videoCategoryId: string, Use chart that is specific to the specified video category
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{
"etag": "A String", # Etag of this resource.
"eventId": "A String", # Serialized EventId of the request which produced this response.
"items": [
{ # A *video* resource represents a YouTube video.
"ageGating": { # Age restriction details related to a video. This data can only be retrieved by the video owner.
"alcoholContent": True or False, # Indicates whether or not the video has alcoholic beverage content. Only users of legal purchasing age in a particular country, as identified by ICAP, can view the content.
"restricted": True or False, # Age-restricted trailers. For redband trailers and adult-rated video-games. Only users aged 18+ can view the content. The the field is true the content is restricted to viewers aged 18+. Otherwise The field won't be present.
"videoGameRating": "A String", # Video game rating, if any.
},
"contentDetails": { # Details about the content of a YouTube Video. # The contentDetails object contains information about the video content, including the length of the video and its aspect ratio.
"caption": "A String", # The value of captions indicates whether the video has captions or not.
"contentRating": { # Ratings schemes. The country-specific ratings are mostly for movies and shows. LINT.IfChange # Specifies the ratings that the video received under various rating schemes.
"acbRating": "A String", # The video's Australian Classification Board (ACB) or Australian Communications and Media Authority (ACMA) rating. ACMA ratings are used to classify children's television programming.
"agcomRating": "A String", # The video's rating from Italy's Autorità per le Garanzie nelle Comunicazioni (AGCOM).
"anatelRating": "A String", # The video's Anatel (Asociación Nacional de Televisión) rating for Chilean television.
"bbfcRating": "A String", # The video's British Board of Film Classification (BBFC) rating.
"bfvcRating": "A String", # The video's rating from Thailand's Board of Film and Video Censors.
"bmukkRating": "A String", # The video's rating from the Austrian Board of Media Classification (Bundesministerium für Unterricht, Kunst und Kultur).
"catvRating": "A String", # Rating system for Canadian TV - Canadian TV Classification System The video's rating from the Canadian Radio-Television and Telecommunications Commission (CRTC) for Canadian English-language broadcasts. For more information, see the Canadian Broadcast Standards Council website.
"catvfrRating": "A String", # The video's rating from the Canadian Radio-Television and Telecommunications Commission (CRTC) for Canadian French-language broadcasts. For more information, see the Canadian Broadcast Standards Council website.
"cbfcRating": "A String", # The video's Central Board of Film Certification (CBFC - India) rating.
"cccRating": "A String", # The video's Consejo de Calificación Cinematográfica (Chile) rating.
"cceRating": "A String", # The video's rating from Portugal's Comissão de Classificação de Espect´culos.
"chfilmRating": "A String", # The video's rating in Switzerland.
"chvrsRating": "A String", # The video's Canadian Home Video Rating System (CHVRS) rating.
"cicfRating": "A String", # The video's rating from the Commission de Contrôle des Films (Belgium).
"cnaRating": "A String", # The video's rating from Romania's CONSILIUL NATIONAL AL AUDIOVIZUALULUI (CNA).
"cncRating": "A String", # Rating system in France - Commission de classification cinematographique
"csaRating": "A String", # The video's rating from France's Conseil supérieur de l’audiovisuel, which rates broadcast content.
"cscfRating": "A String", # The video's rating from Luxembourg's Commission de surveillance de la classification des films (CSCF).
"czfilmRating": "A String", # The video's rating in the Czech Republic.
"djctqRating": "A String", # The video's Departamento de Justiça, Classificação, Qualificação e Títulos (DJCQT - Brazil) rating.
"djctqRatingReasons": [ # Reasons that explain why the video received its DJCQT (Brazil) rating.
"A String",
],
"ecbmctRating": "A String", # Rating system in Turkey - Evaluation and Classification Board of the Ministry of Culture and Tourism
"eefilmRating": "A String", # The video's rating in Estonia.
"egfilmRating": "A String", # The video's rating in Egypt.
"eirinRating": "A String", # The video's Eirin (映倫) rating. Eirin is the Japanese rating system.
"fcbmRating": "A String", # The video's rating from Malaysia's Film Censorship Board.
"fcoRating": "A String", # The video's rating from Hong Kong's Office for Film, Newspaper and Article Administration.
"fmocRating": "A String", # This property has been deprecated. Use the contentDetails.contentRating.cncRating instead.
"fpbRating": "A String", # The video's rating from South Africa's Film and Publication Board.
"fpbRatingReasons": [ # Reasons that explain why the video received its FPB (South Africa) rating.
"A String",
],
"fskRating": "A String", # The video's Freiwillige Selbstkontrolle der Filmwirtschaft (FSK - Germany) rating.
"grfilmRating": "A String", # The video's rating in Greece.
"icaaRating": "A String", # The video's Instituto de la Cinematografía y de las Artes Audiovisuales (ICAA - Spain) rating.
"ifcoRating": "A String", # The video's Irish Film Classification Office (IFCO - Ireland) rating. See the IFCO website for more information.
"ilfilmRating": "A String", # The video's rating in Israel.
"incaaRating": "A String", # The video's INCAA (Instituto Nacional de Cine y Artes Audiovisuales - Argentina) rating.
"kfcbRating": "A String", # The video's rating from the Kenya Film Classification Board.
"kijkwijzerRating": "A String", # The video's NICAM/Kijkwijzer rating from the Nederlands Instituut voor de Classificatie van Audiovisuele Media (Netherlands).
"kmrbRating": "A String", # The video's Korea Media Rating Board (영상물등급위원회) rating. The KMRB rates videos in South Korea.
"lsfRating": "A String", # The video's rating from Indonesia's Lembaga Sensor Film.
"mccaaRating": "A String", # The video's rating from Malta's Film Age-Classification Board.
"mccypRating": "A String", # The video's rating from the Danish Film Institute's (Det Danske Filminstitut) Media Council for Children and Young People.
"mcstRating": "A String", # The video's rating system for Vietnam - MCST
"mdaRating": "A String", # The video's rating from Singapore's Media Development Authority (MDA) and, specifically, it's Board of Film Censors (BFC).
"medietilsynetRating": "A String", # The video's rating from Medietilsynet, the Norwegian Media Authority.
"mekuRating": "A String", # The video's rating from Finland's Kansallinen Audiovisuaalinen Instituutti (National Audiovisual Institute).
"menaMpaaRating": "A String", # The rating system for MENA countries, a clone of MPAA. It is needed to prevent titles go live w/o additional QC check, since some of them can be inappropriate for the countries at all. See b/33408548 for more details.
"mibacRating": "A String", # The video's rating from the Ministero dei Beni e delle Attività Culturali e del Turismo (Italy).
"mocRating": "A String", # The video's Ministerio de Cultura (Colombia) rating.
"moctwRating": "A String", # The video's rating from Taiwan's Ministry of Culture (文化部).
"mpaaRating": "A String", # The video's Motion Picture Association of America (MPAA) rating.
"mpaatRating": "A String", # The rating system for trailer, DVD, and Ad in the US. See http://movielabs.com/md/ratings/v2.3/html/US_MPAAT_Ratings.html.
"mtrcbRating": "A String", # The video's rating from the Movie and Television Review and Classification Board (Philippines).
"nbcRating": "A String", # The video's rating from the Maldives National Bureau of Classification.
"nbcplRating": "A String", # The video's rating in Poland.
"nfrcRating": "A String", # The video's rating from the Bulgarian National Film Center.
"nfvcbRating": "A String", # The video's rating from Nigeria's National Film and Video Censors Board.
"nkclvRating": "A String", # The video's rating from the Nacionãlais Kino centrs (National Film Centre of Latvia).
"nmcRating": "A String", # The National Media Council ratings system for United Arab Emirates.
"oflcRating": "A String", # The video's Office of Film and Literature Classification (OFLC - New Zealand) rating.
"pefilmRating": "A String", # The video's rating in Peru.
"rcnofRating": "A String", # The video's rating from the Hungarian Nemzeti Filmiroda, the Rating Committee of the National Office of Film.
"resorteviolenciaRating": "A String", # The video's rating in Venezuela.
"rtcRating": "A String", # The video's General Directorate of Radio, Television and Cinematography (Mexico) rating.
"rteRating": "A String", # The video's rating from Ireland's Raidió Teilifís Éireann.
"russiaRating": "A String", # The video's National Film Registry of the Russian Federation (MKRF - Russia) rating.
"skfilmRating": "A String", # The video's rating in Slovakia.
"smaisRating": "A String", # The video's rating in Iceland.
"smsaRating": "A String", # The video's rating from Statens medieråd (Sweden's National Media Council).
"tvpgRating": "A String", # The video's TV Parental Guidelines (TVPG) rating.
"ytRating": "A String", # A rating that YouTube uses to identify age-restricted content.
},
"countryRestriction": { # Rights management policy for YouTube resources. # The countryRestriction object contains information about the countries where a video is (or is not) viewable.
"allowed": True or False, # The value of allowed indicates whether the access to the policy is allowed or denied by default.
"exception": [ # A list of region codes that identify countries where the default policy do not apply.
"A String",
],
},
"definition": "A String", # The value of definition indicates whether the video is available in high definition or only in standard definition.
"dimension": "A String", # The value of dimension indicates whether the video is available in 3D or in 2D.
"duration": "A String", # The length of the video. The tag value is an ISO 8601 duration in the format PT#M#S, in which the letters PT indicate that the value specifies a period of time, and the letters M and S refer to length in minutes and seconds, respectively. The # characters preceding the M and S letters are both integers that specify the number of minutes (or seconds) of the video. For example, a value of PT15M51S indicates that the video is 15 minutes and 51 seconds long.
"hasCustomThumbnail": True or False, # Indicates whether the video uploader has provided a custom thumbnail image for the video. This property is only visible to the video uploader.
"licensedContent": True or False, # The value of is_license_content indicates whether the video is licensed content.
"projection": "A String", # Specifies the projection format of the video.
"regionRestriction": { # DEPRECATED Region restriction of the video. # The regionRestriction object contains information about the countries where a video is (or is not) viewable. The object will contain either the contentDetails.regionRestriction.allowed property or the contentDetails.regionRestriction.blocked property.
"allowed": [ # A list of region codes that identify countries where the video is viewable. If this property is present and a country is not listed in its value, then the video is blocked from appearing in that country. If this property is present and contains an empty list, the video is blocked in all countries.
"A String",
],
"blocked": [ # A list of region codes that identify countries where the video is blocked. If this property is present and a country is not listed in its value, then the video is viewable in that country. If this property is present and contains an empty list, the video is viewable in all countries.
"A String",
],
},
},
"etag": "A String", # Etag of this resource.
"fileDetails": { # Describes original video file properties, including technical details about audio and video streams, but also metadata information like content length, digitization time, or geotagging information. # The fileDetails object encapsulates information about the video file that was uploaded to YouTube, including the file's resolution, duration, audio and video codecs, stream bitrates, and more. This data can only be retrieved by the video owner.
"audioStreams": [ # A list of audio streams contained in the uploaded video file. Each item in the list contains detailed metadata about an audio stream.
{ # Information about an audio stream.
"bitrateBps": "A String", # The audio stream's bitrate, in bits per second.
"channelCount": 42, # The number of audio channels that the stream contains.
"codec": "A String", # The audio codec that the stream uses.
"vendor": "A String", # A value that uniquely identifies a video vendor. Typically, the value is a four-letter vendor code.
},
],
"bitrateBps": "A String", # The uploaded video file's combined (video and audio) bitrate in bits per second.
"container": "A String", # The uploaded video file's container format.
"creationTime": "A String", # The date and time when the uploaded video file was created. The value is specified in ISO 8601 format. Currently, the following ISO 8601 formats are supported: - Date only: YYYY-MM-DD - Naive time: YYYY-MM-DDTHH:MM:SS - Time with timezone: YYYY-MM-DDTHH:MM:SS+HH:MM
"durationMs": "A String", # The length of the uploaded video in milliseconds.
"fileName": "A String", # The uploaded file's name. This field is present whether a video file or another type of file was uploaded.
"fileSize": "A String", # The uploaded file's size in bytes. This field is present whether a video file or another type of file was uploaded.
"fileType": "A String", # The uploaded file's type as detected by YouTube's video processing engine. Currently, YouTube only processes video files, but this field is present whether a video file or another type of file was uploaded.
"videoStreams": [ # A list of video streams contained in the uploaded video file. Each item in the list contains detailed metadata about a video stream.
{ # Information about a video stream.
"aspectRatio": 3.14, # The video content's display aspect ratio, which specifies the aspect ratio in which the video should be displayed.
"bitrateBps": "A String", # The video stream's bitrate, in bits per second.
"codec": "A String", # The video codec that the stream uses.
"frameRateFps": 3.14, # The video stream's frame rate, in frames per second.
"heightPixels": 42, # The encoded video content's height in pixels.
"rotation": "A String", # The amount that YouTube needs to rotate the original source content to properly display the video.
"vendor": "A String", # A value that uniquely identifies a video vendor. Typically, the value is a four-letter vendor code.
"widthPixels": 42, # The encoded video content's width in pixels. You can calculate the video's encoding aspect ratio as width_pixels / height_pixels.
},
],
},
"id": "A String", # The ID that YouTube uses to uniquely identify the video.
"kind": "youtube#video", # Identifies what kind of resource this is. Value: the fixed string "youtube#video".
"liveStreamingDetails": { # Details about the live streaming metadata. # The liveStreamingDetails object contains metadata about a live video broadcast. The object will only be present in a video resource if the video is an upcoming, live, or completed live broadcast.
"activeLiveChatId": "A String", # The ID of the currently active live chat attached to this video. This field is filled only if the video is a currently live broadcast that has live chat. Once the broadcast transitions to complete this field will be removed and the live chat closed down. For persistent broadcasts that live chat id will no longer be tied to this video but rather to the new video being displayed at the persistent page.
"actualEndTime": "A String", # The time that the broadcast actually ended. This value will not be available until the broadcast is over.
"actualStartTime": "A String", # The time that the broadcast actually started. This value will not be available until the broadcast begins.
"concurrentViewers": "A String", # The number of viewers currently watching the broadcast. The property and its value will be present if the broadcast has current viewers and the broadcast owner has not hidden the viewcount for the video. Note that YouTube stops tracking the number of concurrent viewers for a broadcast when the broadcast ends. So, this property would not identify the number of viewers watching an archived video of a live broadcast that already ended.
"scheduledEndTime": "A String", # The time that the broadcast is scheduled to end. If the value is empty or the property is not present, then the broadcast is scheduled to continue indefinitely.
"scheduledStartTime": "A String", # The time that the broadcast is scheduled to begin.
},
"localizations": { # The localizations object contains localized versions of the basic details about the video, such as its title and description.
"a_key": { # Localized versions of certain video properties (e.g. title).
"description": "A String", # Localized version of the video's description.
"title": "A String", # Localized version of the video's title.
},
},
"monetizationDetails": { # Details about monetization of a YouTube Video. # The monetizationDetails object encapsulates information about the monetization status of the video.
"access": { # Rights management policy for YouTube resources. # The value of access indicates whether the video can be monetized or not.
"allowed": True or False, # The value of allowed indicates whether the access to the policy is allowed or denied by default.
"exception": [ # A list of region codes that identify countries where the default policy do not apply.
"A String",
],
},
},
"paidProductPlacementDetails": { # Details about paid content, such as paid product placement, sponsorships or endorsement, contained in a YouTube video and a method to inform viewers of paid promotion. This data can only be retrieved by the video owner.
"hasPaidProductPlacement": True or False, # This boolean represents whether the video contains Paid Product Placement, Studio equivalent: https://screenshot.googleplex.com/4Me79DE6AfT2ktp.png
},
"player": { # Player to be used for a video playback. # The player object contains information that you would use to play the video in an embedded player.
"embedHeight": "A String",
"embedHtml": "A String", # An <iframe> tag that embeds a player that will play the video.
"embedWidth": "A String", # The embed width
},
"processingDetails": { # Describes processing status and progress and availability of some other Video resource parts. # The processingDetails object encapsulates information about YouTube's progress in processing the uploaded video file. The properties in the object identify the current processing status and an estimate of the time remaining until YouTube finishes processing the video. This part also indicates whether different types of data or content, such as file details or thumbnail images, are available for the video. The processingProgress object is designed to be polled so that the video uploaded can track the progress that YouTube has made in processing the uploaded video file. This data can only be retrieved by the video owner.
"editorSuggestionsAvailability": "A String", # This value indicates whether video editing suggestions, which might improve video quality or the playback experience, are available for the video. You can retrieve these suggestions by requesting the suggestions part in your videos.list() request.
"fileDetailsAvailability": "A String", # This value indicates whether file details are available for the uploaded video. You can retrieve a video's file details by requesting the fileDetails part in your videos.list() request.
"processingFailureReason": "A String", # The reason that YouTube failed to process the video. This property will only have a value if the processingStatus property's value is failed.
"processingIssuesAvailability": "A String", # This value indicates whether the video processing engine has generated suggestions that might improve YouTube's ability to process the the video, warnings that explain video processing problems, or errors that cause video processing problems. You can retrieve these suggestions by requesting the suggestions part in your videos.list() request.
"processingProgress": { # Video processing progress and completion time estimate. # The processingProgress object contains information about the progress YouTube has made in processing the video. The values are really only relevant if the video's processing status is processing.
"partsProcessed": "A String", # The number of parts of the video that YouTube has already processed. You can estimate the percentage of the video that YouTube has already processed by calculating: 100 * parts_processed / parts_total Note that since the estimated number of parts could increase without a corresponding increase in the number of parts that have already been processed, it is possible that the calculated progress could periodically decrease while YouTube processes a video.
"partsTotal": "A String", # An estimate of the total number of parts that need to be processed for the video. The number may be updated with more precise estimates while YouTube processes the video.
"timeLeftMs": "A String", # An estimate of the amount of time, in millseconds, that YouTube needs to finish processing the video.
},
"processingStatus": "A String", # The video's processing status. This value indicates whether YouTube was able to process the video or if the video is still being processed.
"tagSuggestionsAvailability": "A String", # This value indicates whether keyword (tag) suggestions are available for the video. Tags can be added to a video's metadata to make it easier for other users to find the video. You can retrieve these suggestions by requesting the suggestions part in your videos.list() request.
"thumbnailsAvailability": "A String", # This value indicates whether thumbnail images have been generated for the video.
},
"projectDetails": { # DEPRECATED. b/157517979: This part was never populated after it was added. However, it sees non-zero traffic because there is generated client code in the wild that refers to it [1]. We keep this field and do NOT remove it because otherwise V3 would return an error when this part gets requested [2]. [1] https://developers.google.com/resources/api-libraries/documentation/youtube/v3/csharp/latest/classGoogle_1_1Apis_1_1YouTube_1_1v3_1_1Data_1_1VideoProjectDetails.html [2] http://google3/video/youtube/src/python/servers/data_api/common.py?l=1565-1569&rcl=344141677 # The projectDetails object contains information about the project specific video metadata. b/157517979: This part was never populated after it was added. However, it sees non-zero traffic because there is generated client code in the wild that refers to it [1]. We keep this field and do NOT remove it because otherwise V3 would return an error when this part gets requested [2]. [1] https://developers.google.com/resources/api-libraries/documentation/youtube/v3/csharp/latest/classGoogle_1_1Apis_1_1YouTube_1_1v3_1_1Data_1_1VideoProjectDetails.html [2] http://google3/video/youtube/src/python/servers/data_api/common.py?l=1565-1569&rcl=344141677
},
"recordingDetails": { # Recording information associated with the video. # The recordingDetails object encapsulates information about the location, date and address where the video was recorded.
"location": { # Geographical coordinates of a point, in WGS84. # The geolocation information associated with the video.
"altitude": 3.14, # Altitude above the reference ellipsoid, in meters.
"latitude": 3.14, # Latitude in degrees.
"longitude": 3.14, # Longitude in degrees.
},
"locationDescription": "A String", # The text description of the location where the video was recorded.
"recordingDate": "A String", # The date and time when the video was recorded.
},
"snippet": { # Basic details about a video, including title, description, uploader, thumbnails and category. # The snippet object contains basic details about the video, such as its title, description, and category.
"categoryId": "A String", # The YouTube video category associated with the video.
"channelId": "A String", # The ID that YouTube uses to uniquely identify the channel that the video was uploaded to.
"channelTitle": "A String", # Channel title for the channel that the video belongs to.
"defaultAudioLanguage": "A String", # The default_audio_language property specifies the language spoken in the video's default audio track.
"defaultLanguage": "A String", # The language of the videos's default snippet.
"description": "A String", # The video's description. @mutable youtube.videos.insert youtube.videos.update
"liveBroadcastContent": "A String", # Indicates if the video is an upcoming/active live broadcast. Or it's "none" if the video is not an upcoming/active live broadcast.
"localized": { # Localized versions of certain video properties (e.g. title). # Localized snippet selected with the hl parameter. If no such localization exists, this field is populated with the default snippet. (Read-only)
"description": "A String", # Localized version of the video's description.
"title": "A String", # Localized version of the video's title.
},
"publishedAt": "A String", # The date and time when the video was uploaded.
"tags": [ # A list of keyword tags associated with the video. Tags may contain spaces.
"A String",
],
"thumbnails": { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the video. For each object in the map, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail.
"default": { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
"height": 42, # (Optional) Height of the thumbnail image.
"url": "A String", # The thumbnail image's URL.
"width": 42, # (Optional) Width of the thumbnail image.
},
"high": { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
"height": 42, # (Optional) Height of the thumbnail image.
"url": "A String", # The thumbnail image's URL.
"width": 42, # (Optional) Width of the thumbnail image.
},
"maxres": { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
"height": 42, # (Optional) Height of the thumbnail image.
"url": "A String", # The thumbnail image's URL.
"width": 42, # (Optional) Width of the thumbnail image.
},
"medium": { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
"height": 42, # (Optional) Height of the thumbnail image.
"url": "A String", # The thumbnail image's URL.
"width": 42, # (Optional) Width of the thumbnail image.
},
"standard": { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
"height": 42, # (Optional) Height of the thumbnail image.
"url": "A String", # The thumbnail image's URL.
"width": 42, # (Optional) Width of the thumbnail image.
},
},
"title": "A String", # The video's title. @mutable youtube.videos.insert youtube.videos.update
},
"statistics": { # Statistics about the video, such as the number of times the video was viewed or liked. # The statistics object contains statistics about the video.
"commentCount": "A String", # The number of comments for the video.
"dislikeCount": "A String", # The number of users who have indicated that they disliked the video by giving it a negative rating.
"favoriteCount": "A String", # The number of users who currently have the video marked as a favorite video.
"likeCount": "A String", # The number of users who have indicated that they liked the video by giving it a positive rating.
"viewCount": "A String", # The number of times the video has been viewed.
},
"status": { # Basic details about a video category, such as its localized title. Next Id: 19 # The status object contains information about the video's uploading, processing, and privacy statuses.
"containsSyntheticMedia": True or False, # Indicates if the video contains altered or synthetic media.
"embeddable": True or False, # This value indicates if the video can be embedded on another website. @mutable youtube.videos.insert youtube.videos.update
"failureReason": "A String", # This value explains why a video failed to upload. This property is only present if the uploadStatus property indicates that the upload failed.
"license": "A String", # The video's license. @mutable youtube.videos.insert youtube.videos.update
"madeForKids": True or False,
"privacyStatus": "A String", # The video's privacy status.
"publicStatsViewable": True or False, # This value indicates if the extended video statistics on the watch page can be viewed by everyone. Note that the view count, likes, etc will still be visible if this is disabled. @mutable youtube.videos.insert youtube.videos.update
"publishAt": "A String", # The date and time when the video is scheduled to publish. It can be set only if the privacy status of the video is private..
"rejectionReason": "A String", # This value explains why YouTube rejected an uploaded video. This property is only present if the uploadStatus property indicates that the upload was rejected.
"selfDeclaredMadeForKids": True or False,
"uploadStatus": "A String", # The status of the uploaded video.
},
"suggestions": { # Specifies suggestions on how to improve video content, including encoding hints, tag suggestions, and editor suggestions. # The suggestions object encapsulates suggestions that identify opportunities to improve the video quality or the metadata for the uploaded video. This data can only be retrieved by the video owner.
"editorSuggestions": [ # A list of video editing operations that might improve the video quality or playback experience of the uploaded video.
"A String",
],
"processingErrors": [ # A list of errors that will prevent YouTube from successfully processing the uploaded video video. These errors indicate that, regardless of the video's current processing status, eventually, that status will almost certainly be failed.
"A String",
],
"processingHints": [ # A list of suggestions that may improve YouTube's ability to process the video.
"A String",
],
"processingWarnings": [ # A list of reasons why YouTube may have difficulty transcoding the uploaded video or that might result in an erroneous transcoding. These warnings are generated before YouTube actually processes the uploaded video file. In addition, they identify issues that are unlikely to cause the video processing to fail but that might cause problems such as sync issues, video artifacts, or a missing audio track.
"A String",
],
"tagSuggestions": [ # A list of keyword tags that could be added to the video's metadata to increase the likelihood that users will locate your video when searching or browsing on YouTube.
{ # A single tag suggestion with its relevance information.
"categoryRestricts": [ # A set of video categories for which the tag is relevant. You can use this information to display appropriate tag suggestions based on the video category that the video uploader associates with the video. By default, tag suggestions are relevant for all categories if there are no restricts defined for the keyword.
"A String",
],
"tag": "A String", # The keyword tag suggested for the video.
},
],
},
"topicDetails": { # Freebase topic information related to the video. # The topicDetails object encapsulates information about Freebase topics associated with the video.
"relevantTopicIds": [ # Similar to topic_id, except that these topics are merely relevant to the video. These are topics that may be mentioned in, or appear in the video. You can retrieve information about each topic using Freebase Topic API.
"A String",
],
"topicCategories": [ # A list of Wikipedia URLs that provide a high-level description of the video's content.
"A String",
],
"topicIds": [ # A list of Freebase topic IDs that are centrally associated with the video. These are topics that are centrally featured in the video, and it can be said that the video is mainly about each of these. You can retrieve information about each topic using the < a href="http://wiki.freebase.com/wiki/Topic_API">Freebase Topic API.
"A String",
],
},
},
],
"kind": "youtube#videoListResponse", # Identifies what kind of resource this is. Value: the fixed string "youtube#videoListResponse".
"nextPageToken": "A String", # The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set.
"pageInfo": { # Paging details for lists of resources, including total number of items available and number of resources returned in a single page. # General pagination information.
"resultsPerPage": 42, # The number of results included in the API response.
"totalResults": 42, # The total number of results in the result set.
},
"prevPageToken": "A String", # The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set.
"tokenPagination": { # Stub token pagination template to suppress results.
},
"visitorId": "A String", # The visitorId identifies the visitor.
}</pre>
</div>
<div class="method">
<code class="details" id="list_next">list_next()</code>
<pre>Retrieves the next page of results.
Args:
previous_request: The request for the previous page. (required)
previous_response: The response from the request for the previous page. (required)
Returns:
A request object that you can call 'execute()' on to request the next
page. Returns None if there are no more items in the collection.
</pre>
</div>
<div class="method">
<code class="details" id="rate">rate(id, rating, x__xgafv=None)</code>
<pre>Adds a like or dislike rating to a video or removes a rating from a video.
Args:
id: string, A parameter (required)
rating: string, A parameter (required)
Allowed values
none -
like - The entity is liked.
dislike - The entity is disliked.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
</pre>
</div>
<div class="method">
<code class="details" id="reportAbuse">reportAbuse(body=None, onBehalfOfContentOwner=None, x__xgafv=None)</code>
<pre>Report abuse for a video.
Args:
body: object, The request body.
The object takes the form of:
{
"comments": "A String", # Additional comments regarding the abuse report.
"language": "A String", # The language that the content was viewed in.
"reasonId": "A String", # The high-level, or primary, reason that the content is abusive. The value is an abuse report reason ID.
"secondaryReasonId": "A String", # The specific, or secondary, reason that this content is abusive (if available). The value is an abuse report reason ID that is a valid secondary reason for the primary reason.
"videoId": "A String", # The ID that YouTube uses to uniquely identify the video.
}
onBehalfOfContentOwner: string, *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.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
</pre>
</div>
<div class="method">
<code class="details" id="update">update(part, body=None, onBehalfOfContentOwner=None, x__xgafv=None)</code>
<pre>Updates an existing resource.
Args:
part: string, The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. Note that this method will override the existing values for all of the mutable properties that are contained in any parts that the parameter value specifies. For example, a video's privacy setting is contained in the status part. As such, if your request is updating a private video, and the request's part parameter value includes the status part, the video's privacy setting will be updated to whatever value the request body specifies. If the request body does not specify a value, the existing privacy setting will be removed and the video will revert to the default privacy setting. In addition, not all parts contain properties that can be set when inserting or updating a video. For example, the statistics object encapsulates statistics that YouTube calculates for a video and does not contain values that you can set or modify. If the parameter value specifies a part that does not contain mutable values, that part will still be included in the API response. (required) (repeated)
body: object, The request body.
The object takes the form of:
{ # A *video* resource represents a YouTube video.
"ageGating": { # Age restriction details related to a video. This data can only be retrieved by the video owner.
"alcoholContent": True or False, # Indicates whether or not the video has alcoholic beverage content. Only users of legal purchasing age in a particular country, as identified by ICAP, can view the content.
"restricted": True or False, # Age-restricted trailers. For redband trailers and adult-rated video-games. Only users aged 18+ can view the content. The the field is true the content is restricted to viewers aged 18+. Otherwise The field won't be present.
"videoGameRating": "A String", # Video game rating, if any.
},
"contentDetails": { # Details about the content of a YouTube Video. # The contentDetails object contains information about the video content, including the length of the video and its aspect ratio.
"caption": "A String", # The value of captions indicates whether the video has captions or not.
"contentRating": { # Ratings schemes. The country-specific ratings are mostly for movies and shows. LINT.IfChange # Specifies the ratings that the video received under various rating schemes.
"acbRating": "A String", # The video's Australian Classification Board (ACB) or Australian Communications and Media Authority (ACMA) rating. ACMA ratings are used to classify children's television programming.
"agcomRating": "A String", # The video's rating from Italy's Autorità per le Garanzie nelle Comunicazioni (AGCOM).
"anatelRating": "A String", # The video's Anatel (Asociación Nacional de Televisión) rating for Chilean television.
"bbfcRating": "A String", # The video's British Board of Film Classification (BBFC) rating.
"bfvcRating": "A String", # The video's rating from Thailand's Board of Film and Video Censors.
"bmukkRating": "A String", # The video's rating from the Austrian Board of Media Classification (Bundesministerium für Unterricht, Kunst und Kultur).
"catvRating": "A String", # Rating system for Canadian TV - Canadian TV Classification System The video's rating from the Canadian Radio-Television and Telecommunications Commission (CRTC) for Canadian English-language broadcasts. For more information, see the Canadian Broadcast Standards Council website.
"catvfrRating": "A String", # The video's rating from the Canadian Radio-Television and Telecommunications Commission (CRTC) for Canadian French-language broadcasts. For more information, see the Canadian Broadcast Standards Council website.
"cbfcRating": "A String", # The video's Central Board of Film Certification (CBFC - India) rating.
"cccRating": "A String", # The video's Consejo de Calificación Cinematográfica (Chile) rating.
"cceRating": "A String", # The video's rating from Portugal's Comissão de Classificação de Espect´culos.
"chfilmRating": "A String", # The video's rating in Switzerland.
"chvrsRating": "A String", # The video's Canadian Home Video Rating System (CHVRS) rating.
"cicfRating": "A String", # The video's rating from the Commission de Contrôle des Films (Belgium).
"cnaRating": "A String", # The video's rating from Romania's CONSILIUL NATIONAL AL AUDIOVIZUALULUI (CNA).
"cncRating": "A String", # Rating system in France - Commission de classification cinematographique
"csaRating": "A String", # The video's rating from France's Conseil supérieur de l’audiovisuel, which rates broadcast content.
"cscfRating": "A String", # The video's rating from Luxembourg's Commission de surveillance de la classification des films (CSCF).
"czfilmRating": "A String", # The video's rating in the Czech Republic.
"djctqRating": "A String", # The video's Departamento de Justiça, Classificação, Qualificação e Títulos (DJCQT - Brazil) rating.
"djctqRatingReasons": [ # Reasons that explain why the video received its DJCQT (Brazil) rating.
"A String",
],
"ecbmctRating": "A String", # Rating system in Turkey - Evaluation and Classification Board of the Ministry of Culture and Tourism
"eefilmRating": "A String", # The video's rating in Estonia.
"egfilmRating": "A String", # The video's rating in Egypt.
"eirinRating": "A String", # The video's Eirin (映倫) rating. Eirin is the Japanese rating system.
"fcbmRating": "A String", # The video's rating from Malaysia's Film Censorship Board.
"fcoRating": "A String", # The video's rating from Hong Kong's Office for Film, Newspaper and Article Administration.
"fmocRating": "A String", # This property has been deprecated. Use the contentDetails.contentRating.cncRating instead.
"fpbRating": "A String", # The video's rating from South Africa's Film and Publication Board.
"fpbRatingReasons": [ # Reasons that explain why the video received its FPB (South Africa) rating.
"A String",
],
"fskRating": "A String", # The video's Freiwillige Selbstkontrolle der Filmwirtschaft (FSK - Germany) rating.
"grfilmRating": "A String", # The video's rating in Greece.
"icaaRating": "A String", # The video's Instituto de la Cinematografía y de las Artes Audiovisuales (ICAA - Spain) rating.
"ifcoRating": "A String", # The video's Irish Film Classification Office (IFCO - Ireland) rating. See the IFCO website for more information.
"ilfilmRating": "A String", # The video's rating in Israel.
"incaaRating": "A String", # The video's INCAA (Instituto Nacional de Cine y Artes Audiovisuales - Argentina) rating.
"kfcbRating": "A String", # The video's rating from the Kenya Film Classification Board.
"kijkwijzerRating": "A String", # The video's NICAM/Kijkwijzer rating from the Nederlands Instituut voor de Classificatie van Audiovisuele Media (Netherlands).
"kmrbRating": "A String", # The video's Korea Media Rating Board (영상물등급위원회) rating. The KMRB rates videos in South Korea.
"lsfRating": "A String", # The video's rating from Indonesia's Lembaga Sensor Film.
"mccaaRating": "A String", # The video's rating from Malta's Film Age-Classification Board.
"mccypRating": "A String", # The video's rating from the Danish Film Institute's (Det Danske Filminstitut) Media Council for Children and Young People.
"mcstRating": "A String", # The video's rating system for Vietnam - MCST
"mdaRating": "A String", # The video's rating from Singapore's Media Development Authority (MDA) and, specifically, it's Board of Film Censors (BFC).
"medietilsynetRating": "A String", # The video's rating from Medietilsynet, the Norwegian Media Authority.
"mekuRating": "A String", # The video's rating from Finland's Kansallinen Audiovisuaalinen Instituutti (National Audiovisual Institute).
"menaMpaaRating": "A String", # The rating system for MENA countries, a clone of MPAA. It is needed to prevent titles go live w/o additional QC check, since some of them can be inappropriate for the countries at all. See b/33408548 for more details.
"mibacRating": "A String", # The video's rating from the Ministero dei Beni e delle Attività Culturali e del Turismo (Italy).
"mocRating": "A String", # The video's Ministerio de Cultura (Colombia) rating.
"moctwRating": "A String", # The video's rating from Taiwan's Ministry of Culture (文化部).
"mpaaRating": "A String", # The video's Motion Picture Association of America (MPAA) rating.
"mpaatRating": "A String", # The rating system for trailer, DVD, and Ad in the US. See http://movielabs.com/md/ratings/v2.3/html/US_MPAAT_Ratings.html.
"mtrcbRating": "A String", # The video's rating from the Movie and Television Review and Classification Board (Philippines).
"nbcRating": "A String", # The video's rating from the Maldives National Bureau of Classification.
"nbcplRating": "A String", # The video's rating in Poland.
"nfrcRating": "A String", # The video's rating from the Bulgarian National Film Center.
"nfvcbRating": "A String", # The video's rating from Nigeria's National Film and Video Censors Board.
"nkclvRating": "A String", # The video's rating from the Nacionãlais Kino centrs (National Film Centre of Latvia).
"nmcRating": "A String", # The National Media Council ratings system for United Arab Emirates.
"oflcRating": "A String", # The video's Office of Film and Literature Classification (OFLC - New Zealand) rating.
"pefilmRating": "A String", # The video's rating in Peru.
"rcnofRating": "A String", # The video's rating from the Hungarian Nemzeti Filmiroda, the Rating Committee of the National Office of Film.
"resorteviolenciaRating": "A String", # The video's rating in Venezuela.
"rtcRating": "A String", # The video's General Directorate of Radio, Television and Cinematography (Mexico) rating.
"rteRating": "A String", # The video's rating from Ireland's Raidió Teilifís Éireann.
"russiaRating": "A String", # The video's National Film Registry of the Russian Federation (MKRF - Russia) rating.
"skfilmRating": "A String", # The video's rating in Slovakia.
"smaisRating": "A String", # The video's rating in Iceland.
"smsaRating": "A String", # The video's rating from Statens medieråd (Sweden's National Media Council).
"tvpgRating": "A String", # The video's TV Parental Guidelines (TVPG) rating.
"ytRating": "A String", # A rating that YouTube uses to identify age-restricted content.
},
"countryRestriction": { # Rights management policy for YouTube resources. # The countryRestriction object contains information about the countries where a video is (or is not) viewable.
"allowed": True or False, # The value of allowed indicates whether the access to the policy is allowed or denied by default.
"exception": [ # A list of region codes that identify countries where the default policy do not apply.
"A String",
],
},
"definition": "A String", # The value of definition indicates whether the video is available in high definition or only in standard definition.
"dimension": "A String", # The value of dimension indicates whether the video is available in 3D or in 2D.
"duration": "A String", # The length of the video. The tag value is an ISO 8601 duration in the format PT#M#S, in which the letters PT indicate that the value specifies a period of time, and the letters M and S refer to length in minutes and seconds, respectively. The # characters preceding the M and S letters are both integers that specify the number of minutes (or seconds) of the video. For example, a value of PT15M51S indicates that the video is 15 minutes and 51 seconds long.
"hasCustomThumbnail": True or False, # Indicates whether the video uploader has provided a custom thumbnail image for the video. This property is only visible to the video uploader.
"licensedContent": True or False, # The value of is_license_content indicates whether the video is licensed content.
"projection": "A String", # Specifies the projection format of the video.
"regionRestriction": { # DEPRECATED Region restriction of the video. # The regionRestriction object contains information about the countries where a video is (or is not) viewable. The object will contain either the contentDetails.regionRestriction.allowed property or the contentDetails.regionRestriction.blocked property.
"allowed": [ # A list of region codes that identify countries where the video is viewable. If this property is present and a country is not listed in its value, then the video is blocked from appearing in that country. If this property is present and contains an empty list, the video is blocked in all countries.
"A String",
],
"blocked": [ # A list of region codes that identify countries where the video is blocked. If this property is present and a country is not listed in its value, then the video is viewable in that country. If this property is present and contains an empty list, the video is viewable in all countries.
"A String",
],
},
},
"etag": "A String", # Etag of this resource.
"fileDetails": { # Describes original video file properties, including technical details about audio and video streams, but also metadata information like content length, digitization time, or geotagging information. # The fileDetails object encapsulates information about the video file that was uploaded to YouTube, including the file's resolution, duration, audio and video codecs, stream bitrates, and more. This data can only be retrieved by the video owner.
"audioStreams": [ # A list of audio streams contained in the uploaded video file. Each item in the list contains detailed metadata about an audio stream.
{ # Information about an audio stream.
"bitrateBps": "A String", # The audio stream's bitrate, in bits per second.
"channelCount": 42, # The number of audio channels that the stream contains.
"codec": "A String", # The audio codec that the stream uses.
"vendor": "A String", # A value that uniquely identifies a video vendor. Typically, the value is a four-letter vendor code.
},
],
"bitrateBps": "A String", # The uploaded video file's combined (video and audio) bitrate in bits per second.
"container": "A String", # The uploaded video file's container format.
"creationTime": "A String", # The date and time when the uploaded video file was created. The value is specified in ISO 8601 format. Currently, the following ISO 8601 formats are supported: - Date only: YYYY-MM-DD - Naive time: YYYY-MM-DDTHH:MM:SS - Time with timezone: YYYY-MM-DDTHH:MM:SS+HH:MM
"durationMs": "A String", # The length of the uploaded video in milliseconds.
"fileName": "A String", # The uploaded file's name. This field is present whether a video file or another type of file was uploaded.
"fileSize": "A String", # The uploaded file's size in bytes. This field is present whether a video file or another type of file was uploaded.
"fileType": "A String", # The uploaded file's type as detected by YouTube's video processing engine. Currently, YouTube only processes video files, but this field is present whether a video file or another type of file was uploaded.
"videoStreams": [ # A list of video streams contained in the uploaded video file. Each item in the list contains detailed metadata about a video stream.
{ # Information about a video stream.
"aspectRatio": 3.14, # The video content's display aspect ratio, which specifies the aspect ratio in which the video should be displayed.
"bitrateBps": "A String", # The video stream's bitrate, in bits per second.
"codec": "A String", # The video codec that the stream uses.
"frameRateFps": 3.14, # The video stream's frame rate, in frames per second.
"heightPixels": 42, # The encoded video content's height in pixels.
"rotation": "A String", # The amount that YouTube needs to rotate the original source content to properly display the video.
"vendor": "A String", # A value that uniquely identifies a video vendor. Typically, the value is a four-letter vendor code.
"widthPixels": 42, # The encoded video content's width in pixels. You can calculate the video's encoding aspect ratio as width_pixels / height_pixels.
},
],
},
"id": "A String", # The ID that YouTube uses to uniquely identify the video.
"kind": "youtube#video", # Identifies what kind of resource this is. Value: the fixed string "youtube#video".
"liveStreamingDetails": { # Details about the live streaming metadata. # The liveStreamingDetails object contains metadata about a live video broadcast. The object will only be present in a video resource if the video is an upcoming, live, or completed live broadcast.
"activeLiveChatId": "A String", # The ID of the currently active live chat attached to this video. This field is filled only if the video is a currently live broadcast that has live chat. Once the broadcast transitions to complete this field will be removed and the live chat closed down. For persistent broadcasts that live chat id will no longer be tied to this video but rather to the new video being displayed at the persistent page.
"actualEndTime": "A String", # The time that the broadcast actually ended. This value will not be available until the broadcast is over.
"actualStartTime": "A String", # The time that the broadcast actually started. This value will not be available until the broadcast begins.
"concurrentViewers": "A String", # The number of viewers currently watching the broadcast. The property and its value will be present if the broadcast has current viewers and the broadcast owner has not hidden the viewcount for the video. Note that YouTube stops tracking the number of concurrent viewers for a broadcast when the broadcast ends. So, this property would not identify the number of viewers watching an archived video of a live broadcast that already ended.
"scheduledEndTime": "A String", # The time that the broadcast is scheduled to end. If the value is empty or the property is not present, then the broadcast is scheduled to continue indefinitely.
"scheduledStartTime": "A String", # The time that the broadcast is scheduled to begin.
},
"localizations": { # The localizations object contains localized versions of the basic details about the video, such as its title and description.
"a_key": { # Localized versions of certain video properties (e.g. title).
"description": "A String", # Localized version of the video's description.
"title": "A String", # Localized version of the video's title.
},
},
"monetizationDetails": { # Details about monetization of a YouTube Video. # The monetizationDetails object encapsulates information about the monetization status of the video.
"access": { # Rights management policy for YouTube resources. # The value of access indicates whether the video can be monetized or not.
"allowed": True or False, # The value of allowed indicates whether the access to the policy is allowed or denied by default.
"exception": [ # A list of region codes that identify countries where the default policy do not apply.
"A String",
],
},
},
"paidProductPlacementDetails": { # Details about paid content, such as paid product placement, sponsorships or endorsement, contained in a YouTube video and a method to inform viewers of paid promotion. This data can only be retrieved by the video owner.
"hasPaidProductPlacement": True or False, # This boolean represents whether the video contains Paid Product Placement, Studio equivalent: https://screenshot.googleplex.com/4Me79DE6AfT2ktp.png
},
"player": { # Player to be used for a video playback. # The player object contains information that you would use to play the video in an embedded player.
"embedHeight": "A String",
"embedHtml": "A String", # An <iframe> tag that embeds a player that will play the video.
"embedWidth": "A String", # The embed width
},
"processingDetails": { # Describes processing status and progress and availability of some other Video resource parts. # The processingDetails object encapsulates information about YouTube's progress in processing the uploaded video file. The properties in the object identify the current processing status and an estimate of the time remaining until YouTube finishes processing the video. This part also indicates whether different types of data or content, such as file details or thumbnail images, are available for the video. The processingProgress object is designed to be polled so that the video uploaded can track the progress that YouTube has made in processing the uploaded video file. This data can only be retrieved by the video owner.
"editorSuggestionsAvailability": "A String", # This value indicates whether video editing suggestions, which might improve video quality or the playback experience, are available for the video. You can retrieve these suggestions by requesting the suggestions part in your videos.list() request.
"fileDetailsAvailability": "A String", # This value indicates whether file details are available for the uploaded video. You can retrieve a video's file details by requesting the fileDetails part in your videos.list() request.
"processingFailureReason": "A String", # The reason that YouTube failed to process the video. This property will only have a value if the processingStatus property's value is failed.
"processingIssuesAvailability": "A String", # This value indicates whether the video processing engine has generated suggestions that might improve YouTube's ability to process the the video, warnings that explain video processing problems, or errors that cause video processing problems. You can retrieve these suggestions by requesting the suggestions part in your videos.list() request.
"processingProgress": { # Video processing progress and completion time estimate. # The processingProgress object contains information about the progress YouTube has made in processing the video. The values are really only relevant if the video's processing status is processing.
"partsProcessed": "A String", # The number of parts of the video that YouTube has already processed. You can estimate the percentage of the video that YouTube has already processed by calculating: 100 * parts_processed / parts_total Note that since the estimated number of parts could increase without a corresponding increase in the number of parts that have already been processed, it is possible that the calculated progress could periodically decrease while YouTube processes a video.
"partsTotal": "A String", # An estimate of the total number of parts that need to be processed for the video. The number may be updated with more precise estimates while YouTube processes the video.
"timeLeftMs": "A String", # An estimate of the amount of time, in millseconds, that YouTube needs to finish processing the video.
},
"processingStatus": "A String", # The video's processing status. This value indicates whether YouTube was able to process the video or if the video is still being processed.
"tagSuggestionsAvailability": "A String", # This value indicates whether keyword (tag) suggestions are available for the video. Tags can be added to a video's metadata to make it easier for other users to find the video. You can retrieve these suggestions by requesting the suggestions part in your videos.list() request.
"thumbnailsAvailability": "A String", # This value indicates whether thumbnail images have been generated for the video.
},
"projectDetails": { # DEPRECATED. b/157517979: This part was never populated after it was added. However, it sees non-zero traffic because there is generated client code in the wild that refers to it [1]. We keep this field and do NOT remove it because otherwise V3 would return an error when this part gets requested [2]. [1] https://developers.google.com/resources/api-libraries/documentation/youtube/v3/csharp/latest/classGoogle_1_1Apis_1_1YouTube_1_1v3_1_1Data_1_1VideoProjectDetails.html [2] http://google3/video/youtube/src/python/servers/data_api/common.py?l=1565-1569&rcl=344141677 # The projectDetails object contains information about the project specific video metadata. b/157517979: This part was never populated after it was added. However, it sees non-zero traffic because there is generated client code in the wild that refers to it [1]. We keep this field and do NOT remove it because otherwise V3 would return an error when this part gets requested [2]. [1] https://developers.google.com/resources/api-libraries/documentation/youtube/v3/csharp/latest/classGoogle_1_1Apis_1_1YouTube_1_1v3_1_1Data_1_1VideoProjectDetails.html [2] http://google3/video/youtube/src/python/servers/data_api/common.py?l=1565-1569&rcl=344141677
},
"recordingDetails": { # Recording information associated with the video. # The recordingDetails object encapsulates information about the location, date and address where the video was recorded.
"location": { # Geographical coordinates of a point, in WGS84. # The geolocation information associated with the video.
"altitude": 3.14, # Altitude above the reference ellipsoid, in meters.
"latitude": 3.14, # Latitude in degrees.
"longitude": 3.14, # Longitude in degrees.
},
"locationDescription": "A String", # The text description of the location where the video was recorded.
"recordingDate": "A String", # The date and time when the video was recorded.
},
"snippet": { # Basic details about a video, including title, description, uploader, thumbnails and category. # The snippet object contains basic details about the video, such as its title, description, and category.
"categoryId": "A String", # The YouTube video category associated with the video.
"channelId": "A String", # The ID that YouTube uses to uniquely identify the channel that the video was uploaded to.
"channelTitle": "A String", # Channel title for the channel that the video belongs to.
"defaultAudioLanguage": "A String", # The default_audio_language property specifies the language spoken in the video's default audio track.
"defaultLanguage": "A String", # The language of the videos's default snippet.
"description": "A String", # The video's description. @mutable youtube.videos.insert youtube.videos.update
"liveBroadcastContent": "A String", # Indicates if the video is an upcoming/active live broadcast. Or it's "none" if the video is not an upcoming/active live broadcast.
"localized": { # Localized versions of certain video properties (e.g. title). # Localized snippet selected with the hl parameter. If no such localization exists, this field is populated with the default snippet. (Read-only)
"description": "A String", # Localized version of the video's description.
"title": "A String", # Localized version of the video's title.
},
"publishedAt": "A String", # The date and time when the video was uploaded.
"tags": [ # A list of keyword tags associated with the video. Tags may contain spaces.
"A String",
],
"thumbnails": { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the video. For each object in the map, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail.
"default": { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
"height": 42, # (Optional) Height of the thumbnail image.
"url": "A String", # The thumbnail image's URL.
"width": 42, # (Optional) Width of the thumbnail image.
},
"high": { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
"height": 42, # (Optional) Height of the thumbnail image.
"url": "A String", # The thumbnail image's URL.
"width": 42, # (Optional) Width of the thumbnail image.
},
"maxres": { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
"height": 42, # (Optional) Height of the thumbnail image.
"url": "A String", # The thumbnail image's URL.
"width": 42, # (Optional) Width of the thumbnail image.
},
"medium": { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
"height": 42, # (Optional) Height of the thumbnail image.
"url": "A String", # The thumbnail image's URL.
"width": 42, # (Optional) Width of the thumbnail image.
},
"standard": { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
"height": 42, # (Optional) Height of the thumbnail image.
"url": "A String", # The thumbnail image's URL.
"width": 42, # (Optional) Width of the thumbnail image.
},
},
"title": "A String", # The video's title. @mutable youtube.videos.insert youtube.videos.update
},
"statistics": { # Statistics about the video, such as the number of times the video was viewed or liked. # The statistics object contains statistics about the video.
"commentCount": "A String", # The number of comments for the video.
"dislikeCount": "A String", # The number of users who have indicated that they disliked the video by giving it a negative rating.
"favoriteCount": "A String", # The number of users who currently have the video marked as a favorite video.
"likeCount": "A String", # The number of users who have indicated that they liked the video by giving it a positive rating.
"viewCount": "A String", # The number of times the video has been viewed.
},
"status": { # Basic details about a video category, such as its localized title. Next Id: 19 # The status object contains information about the video's uploading, processing, and privacy statuses.
"containsSyntheticMedia": True or False, # Indicates if the video contains altered or synthetic media.
"embeddable": True or False, # This value indicates if the video can be embedded on another website. @mutable youtube.videos.insert youtube.videos.update
"failureReason": "A String", # This value explains why a video failed to upload. This property is only present if the uploadStatus property indicates that the upload failed.
"license": "A String", # The video's license. @mutable youtube.videos.insert youtube.videos.update
"madeForKids": True or False,
"privacyStatus": "A String", # The video's privacy status.
"publicStatsViewable": True or False, # This value indicates if the extended video statistics on the watch page can be viewed by everyone. Note that the view count, likes, etc will still be visible if this is disabled. @mutable youtube.videos.insert youtube.videos.update
"publishAt": "A String", # The date and time when the video is scheduled to publish. It can be set only if the privacy status of the video is private..
"rejectionReason": "A String", # This value explains why YouTube rejected an uploaded video. This property is only present if the uploadStatus property indicates that the upload was rejected.
"selfDeclaredMadeForKids": True or False,
"uploadStatus": "A String", # The status of the uploaded video.
},
"suggestions": { # Specifies suggestions on how to improve video content, including encoding hints, tag suggestions, and editor suggestions. # The suggestions object encapsulates suggestions that identify opportunities to improve the video quality or the metadata for the uploaded video. This data can only be retrieved by the video owner.
"editorSuggestions": [ # A list of video editing operations that might improve the video quality or playback experience of the uploaded video.
"A String",
],
"processingErrors": [ # A list of errors that will prevent YouTube from successfully processing the uploaded video video. These errors indicate that, regardless of the video's current processing status, eventually, that status will almost certainly be failed.
"A String",
],
"processingHints": [ # A list of suggestions that may improve YouTube's ability to process the video.
"A String",
],
"processingWarnings": [ # A list of reasons why YouTube may have difficulty transcoding the uploaded video or that might result in an erroneous transcoding. These warnings are generated before YouTube actually processes the uploaded video file. In addition, they identify issues that are unlikely to cause the video processing to fail but that might cause problems such as sync issues, video artifacts, or a missing audio track.
"A String",
],
"tagSuggestions": [ # A list of keyword tags that could be added to the video's metadata to increase the likelihood that users will locate your video when searching or browsing on YouTube.
{ # A single tag suggestion with its relevance information.
"categoryRestricts": [ # A set of video categories for which the tag is relevant. You can use this information to display appropriate tag suggestions based on the video category that the video uploader associates with the video. By default, tag suggestions are relevant for all categories if there are no restricts defined for the keyword.
"A String",
],
"tag": "A String", # The keyword tag suggested for the video.
},
],
},
"topicDetails": { # Freebase topic information related to the video. # The topicDetails object encapsulates information about Freebase topics associated with the video.
"relevantTopicIds": [ # Similar to topic_id, except that these topics are merely relevant to the video. These are topics that may be mentioned in, or appear in the video. You can retrieve information about each topic using Freebase Topic API.
"A String",
],
"topicCategories": [ # A list of Wikipedia URLs that provide a high-level description of the video's content.
"A String",
],
"topicIds": [ # A list of Freebase topic IDs that are centrally associated with the video. These are topics that are centrally featured in the video, and it can be said that the video is mainly about each of these. You can retrieve information about each topic using the < a href="http://wiki.freebase.com/wiki/Topic_API">Freebase Topic API.
"A String",
],
},
}
onBehalfOfContentOwner: string, *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 actual CMS account that the user authenticates with must be linked to the specified YouTube content owner.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # A *video* resource represents a YouTube video.
"ageGating": { # Age restriction details related to a video. This data can only be retrieved by the video owner.
"alcoholContent": True or False, # Indicates whether or not the video has alcoholic beverage content. Only users of legal purchasing age in a particular country, as identified by ICAP, can view the content.
"restricted": True or False, # Age-restricted trailers. For redband trailers and adult-rated video-games. Only users aged 18+ can view the content. The the field is true the content is restricted to viewers aged 18+. Otherwise The field won't be present.
"videoGameRating": "A String", # Video game rating, if any.
},
"contentDetails": { # Details about the content of a YouTube Video. # The contentDetails object contains information about the video content, including the length of the video and its aspect ratio.
"caption": "A String", # The value of captions indicates whether the video has captions or not.
"contentRating": { # Ratings schemes. The country-specific ratings are mostly for movies and shows. LINT.IfChange # Specifies the ratings that the video received under various rating schemes.
"acbRating": "A String", # The video's Australian Classification Board (ACB) or Australian Communications and Media Authority (ACMA) rating. ACMA ratings are used to classify children's television programming.
"agcomRating": "A String", # The video's rating from Italy's Autorità per le Garanzie nelle Comunicazioni (AGCOM).
"anatelRating": "A String", # The video's Anatel (Asociación Nacional de Televisión) rating for Chilean television.
"bbfcRating": "A String", # The video's British Board of Film Classification (BBFC) rating.
"bfvcRating": "A String", # The video's rating from Thailand's Board of Film and Video Censors.
"bmukkRating": "A String", # The video's rating from the Austrian Board of Media Classification (Bundesministerium für Unterricht, Kunst und Kultur).
"catvRating": "A String", # Rating system for Canadian TV - Canadian TV Classification System The video's rating from the Canadian Radio-Television and Telecommunications Commission (CRTC) for Canadian English-language broadcasts. For more information, see the Canadian Broadcast Standards Council website.
"catvfrRating": "A String", # The video's rating from the Canadian Radio-Television and Telecommunications Commission (CRTC) for Canadian French-language broadcasts. For more information, see the Canadian Broadcast Standards Council website.
"cbfcRating": "A String", # The video's Central Board of Film Certification (CBFC - India) rating.
"cccRating": "A String", # The video's Consejo de Calificación Cinematográfica (Chile) rating.
"cceRating": "A String", # The video's rating from Portugal's Comissão de Classificação de Espect´culos.
"chfilmRating": "A String", # The video's rating in Switzerland.
"chvrsRating": "A String", # The video's Canadian Home Video Rating System (CHVRS) rating.
"cicfRating": "A String", # The video's rating from the Commission de Contrôle des Films (Belgium).
"cnaRating": "A String", # The video's rating from Romania's CONSILIUL NATIONAL AL AUDIOVIZUALULUI (CNA).
"cncRating": "A String", # Rating system in France - Commission de classification cinematographique
"csaRating": "A String", # The video's rating from France's Conseil supérieur de l’audiovisuel, which rates broadcast content.
"cscfRating": "A String", # The video's rating from Luxembourg's Commission de surveillance de la classification des films (CSCF).
"czfilmRating": "A String", # The video's rating in the Czech Republic.
"djctqRating": "A String", # The video's Departamento de Justiça, Classificação, Qualificação e Títulos (DJCQT - Brazil) rating.
"djctqRatingReasons": [ # Reasons that explain why the video received its DJCQT (Brazil) rating.
"A String",
],
"ecbmctRating": "A String", # Rating system in Turkey - Evaluation and Classification Board of the Ministry of Culture and Tourism
"eefilmRating": "A String", # The video's rating in Estonia.
"egfilmRating": "A String", # The video's rating in Egypt.
"eirinRating": "A String", # The video's Eirin (映倫) rating. Eirin is the Japanese rating system.
"fcbmRating": "A String", # The video's rating from Malaysia's Film Censorship Board.
"fcoRating": "A String", # The video's rating from Hong Kong's Office for Film, Newspaper and Article Administration.
"fmocRating": "A String", # This property has been deprecated. Use the contentDetails.contentRating.cncRating instead.
"fpbRating": "A String", # The video's rating from South Africa's Film and Publication Board.
"fpbRatingReasons": [ # Reasons that explain why the video received its FPB (South Africa) rating.
"A String",
],
"fskRating": "A String", # The video's Freiwillige Selbstkontrolle der Filmwirtschaft (FSK - Germany) rating.
"grfilmRating": "A String", # The video's rating in Greece.
"icaaRating": "A String", # The video's Instituto de la Cinematografía y de las Artes Audiovisuales (ICAA - Spain) rating.
"ifcoRating": "A String", # The video's Irish Film Classification Office (IFCO - Ireland) rating. See the IFCO website for more information.
"ilfilmRating": "A String", # The video's rating in Israel.
"incaaRating": "A String", # The video's INCAA (Instituto Nacional de Cine y Artes Audiovisuales - Argentina) rating.
"kfcbRating": "A String", # The video's rating from the Kenya Film Classification Board.
"kijkwijzerRating": "A String", # The video's NICAM/Kijkwijzer rating from the Nederlands Instituut voor de Classificatie van Audiovisuele Media (Netherlands).
"kmrbRating": "A String", # The video's Korea Media Rating Board (영상물등급위원회) rating. The KMRB rates videos in South Korea.
"lsfRating": "A String", # The video's rating from Indonesia's Lembaga Sensor Film.
"mccaaRating": "A String", # The video's rating from Malta's Film Age-Classification Board.
"mccypRating": "A String", # The video's rating from the Danish Film Institute's (Det Danske Filminstitut) Media Council for Children and Young People.
"mcstRating": "A String", # The video's rating system for Vietnam - MCST
"mdaRating": "A String", # The video's rating from Singapore's Media Development Authority (MDA) and, specifically, it's Board of Film Censors (BFC).
"medietilsynetRating": "A String", # The video's rating from Medietilsynet, the Norwegian Media Authority.
"mekuRating": "A String", # The video's rating from Finland's Kansallinen Audiovisuaalinen Instituutti (National Audiovisual Institute).
"menaMpaaRating": "A String", # The rating system for MENA countries, a clone of MPAA. It is needed to prevent titles go live w/o additional QC check, since some of them can be inappropriate for the countries at all. See b/33408548 for more details.
"mibacRating": "A String", # The video's rating from the Ministero dei Beni e delle Attività Culturali e del Turismo (Italy).
"mocRating": "A String", # The video's Ministerio de Cultura (Colombia) rating.
"moctwRating": "A String", # The video's rating from Taiwan's Ministry of Culture (文化部).
"mpaaRating": "A String", # The video's Motion Picture Association of America (MPAA) rating.
"mpaatRating": "A String", # The rating system for trailer, DVD, and Ad in the US. See http://movielabs.com/md/ratings/v2.3/html/US_MPAAT_Ratings.html.
"mtrcbRating": "A String", # The video's rating from the Movie and Television Review and Classification Board (Philippines).
"nbcRating": "A String", # The video's rating from the Maldives National Bureau of Classification.
"nbcplRating": "A String", # The video's rating in Poland.
"nfrcRating": "A String", # The video's rating from the Bulgarian National Film Center.
"nfvcbRating": "A String", # The video's rating from Nigeria's National Film and Video Censors Board.
"nkclvRating": "A String", # The video's rating from the Nacionãlais Kino centrs (National Film Centre of Latvia).
"nmcRating": "A String", # The National Media Council ratings system for United Arab Emirates.
"oflcRating": "A String", # The video's Office of Film and Literature Classification (OFLC - New Zealand) rating.
"pefilmRating": "A String", # The video's rating in Peru.
"rcnofRating": "A String", # The video's rating from the Hungarian Nemzeti Filmiroda, the Rating Committee of the National Office of Film.
"resorteviolenciaRating": "A String", # The video's rating in Venezuela.
"rtcRating": "A String", # The video's General Directorate of Radio, Television and Cinematography (Mexico) rating.
"rteRating": "A String", # The video's rating from Ireland's Raidió Teilifís Éireann.
"russiaRating": "A String", # The video's National Film Registry of the Russian Federation (MKRF - Russia) rating.
"skfilmRating": "A String", # The video's rating in Slovakia.
"smaisRating": "A String", # The video's rating in Iceland.
"smsaRating": "A String", # The video's rating from Statens medieråd (Sweden's National Media Council).
"tvpgRating": "A String", # The video's TV Parental Guidelines (TVPG) rating.
"ytRating": "A String", # A rating that YouTube uses to identify age-restricted content.
},
"countryRestriction": { # Rights management policy for YouTube resources. # The countryRestriction object contains information about the countries where a video is (or is not) viewable.
"allowed": True or False, # The value of allowed indicates whether the access to the policy is allowed or denied by default.
"exception": [ # A list of region codes that identify countries where the default policy do not apply.
"A String",
],
},
"definition": "A String", # The value of definition indicates whether the video is available in high definition or only in standard definition.
"dimension": "A String", # The value of dimension indicates whether the video is available in 3D or in 2D.
"duration": "A String", # The length of the video. The tag value is an ISO 8601 duration in the format PT#M#S, in which the letters PT indicate that the value specifies a period of time, and the letters M and S refer to length in minutes and seconds, respectively. The # characters preceding the M and S letters are both integers that specify the number of minutes (or seconds) of the video. For example, a value of PT15M51S indicates that the video is 15 minutes and 51 seconds long.
"hasCustomThumbnail": True or False, # Indicates whether the video uploader has provided a custom thumbnail image for the video. This property is only visible to the video uploader.
"licensedContent": True or False, # The value of is_license_content indicates whether the video is licensed content.
"projection": "A String", # Specifies the projection format of the video.
"regionRestriction": { # DEPRECATED Region restriction of the video. # The regionRestriction object contains information about the countries where a video is (or is not) viewable. The object will contain either the contentDetails.regionRestriction.allowed property or the contentDetails.regionRestriction.blocked property.
"allowed": [ # A list of region codes that identify countries where the video is viewable. If this property is present and a country is not listed in its value, then the video is blocked from appearing in that country. If this property is present and contains an empty list, the video is blocked in all countries.
"A String",
],
"blocked": [ # A list of region codes that identify countries where the video is blocked. If this property is present and a country is not listed in its value, then the video is viewable in that country. If this property is present and contains an empty list, the video is viewable in all countries.
"A String",
],
},
},
"etag": "A String", # Etag of this resource.
"fileDetails": { # Describes original video file properties, including technical details about audio and video streams, but also metadata information like content length, digitization time, or geotagging information. # The fileDetails object encapsulates information about the video file that was uploaded to YouTube, including the file's resolution, duration, audio and video codecs, stream bitrates, and more. This data can only be retrieved by the video owner.
"audioStreams": [ # A list of audio streams contained in the uploaded video file. Each item in the list contains detailed metadata about an audio stream.
{ # Information about an audio stream.
"bitrateBps": "A String", # The audio stream's bitrate, in bits per second.
"channelCount": 42, # The number of audio channels that the stream contains.
"codec": "A String", # The audio codec that the stream uses.
"vendor": "A String", # A value that uniquely identifies a video vendor. Typically, the value is a four-letter vendor code.
},
],
"bitrateBps": "A String", # The uploaded video file's combined (video and audio) bitrate in bits per second.
"container": "A String", # The uploaded video file's container format.
"creationTime": "A String", # The date and time when the uploaded video file was created. The value is specified in ISO 8601 format. Currently, the following ISO 8601 formats are supported: - Date only: YYYY-MM-DD - Naive time: YYYY-MM-DDTHH:MM:SS - Time with timezone: YYYY-MM-DDTHH:MM:SS+HH:MM
"durationMs": "A String", # The length of the uploaded video in milliseconds.
"fileName": "A String", # The uploaded file's name. This field is present whether a video file or another type of file was uploaded.
"fileSize": "A String", # The uploaded file's size in bytes. This field is present whether a video file or another type of file was uploaded.
"fileType": "A String", # The uploaded file's type as detected by YouTube's video processing engine. Currently, YouTube only processes video files, but this field is present whether a video file or another type of file was uploaded.
"videoStreams": [ # A list of video streams contained in the uploaded video file. Each item in the list contains detailed metadata about a video stream.
{ # Information about a video stream.
"aspectRatio": 3.14, # The video content's display aspect ratio, which specifies the aspect ratio in which the video should be displayed.
"bitrateBps": "A String", # The video stream's bitrate, in bits per second.
"codec": "A String", # The video codec that the stream uses.
"frameRateFps": 3.14, # The video stream's frame rate, in frames per second.
"heightPixels": 42, # The encoded video content's height in pixels.
"rotation": "A String", # The amount that YouTube needs to rotate the original source content to properly display the video.
"vendor": "A String", # A value that uniquely identifies a video vendor. Typically, the value is a four-letter vendor code.
"widthPixels": 42, # The encoded video content's width in pixels. You can calculate the video's encoding aspect ratio as width_pixels / height_pixels.
},
],
},
"id": "A String", # The ID that YouTube uses to uniquely identify the video.
"kind": "youtube#video", # Identifies what kind of resource this is. Value: the fixed string "youtube#video".
"liveStreamingDetails": { # Details about the live streaming metadata. # The liveStreamingDetails object contains metadata about a live video broadcast. The object will only be present in a video resource if the video is an upcoming, live, or completed live broadcast.
"activeLiveChatId": "A String", # The ID of the currently active live chat attached to this video. This field is filled only if the video is a currently live broadcast that has live chat. Once the broadcast transitions to complete this field will be removed and the live chat closed down. For persistent broadcasts that live chat id will no longer be tied to this video but rather to the new video being displayed at the persistent page.
"actualEndTime": "A String", # The time that the broadcast actually ended. This value will not be available until the broadcast is over.
"actualStartTime": "A String", # The time that the broadcast actually started. This value will not be available until the broadcast begins.
"concurrentViewers": "A String", # The number of viewers currently watching the broadcast. The property and its value will be present if the broadcast has current viewers and the broadcast owner has not hidden the viewcount for the video. Note that YouTube stops tracking the number of concurrent viewers for a broadcast when the broadcast ends. So, this property would not identify the number of viewers watching an archived video of a live broadcast that already ended.
"scheduledEndTime": "A String", # The time that the broadcast is scheduled to end. If the value is empty or the property is not present, then the broadcast is scheduled to continue indefinitely.
"scheduledStartTime": "A String", # The time that the broadcast is scheduled to begin.
},
"localizations": { # The localizations object contains localized versions of the basic details about the video, such as its title and description.
"a_key": { # Localized versions of certain video properties (e.g. title).
"description": "A String", # Localized version of the video's description.
"title": "A String", # Localized version of the video's title.
},
},
"monetizationDetails": { # Details about monetization of a YouTube Video. # The monetizationDetails object encapsulates information about the monetization status of the video.
"access": { # Rights management policy for YouTube resources. # The value of access indicates whether the video can be monetized or not.
"allowed": True or False, # The value of allowed indicates whether the access to the policy is allowed or denied by default.
"exception": [ # A list of region codes that identify countries where the default policy do not apply.
"A String",
],
},
},
"paidProductPlacementDetails": { # Details about paid content, such as paid product placement, sponsorships or endorsement, contained in a YouTube video and a method to inform viewers of paid promotion. This data can only be retrieved by the video owner.
"hasPaidProductPlacement": True or False, # This boolean represents whether the video contains Paid Product Placement, Studio equivalent: https://screenshot.googleplex.com/4Me79DE6AfT2ktp.png
},
"player": { # Player to be used for a video playback. # The player object contains information that you would use to play the video in an embedded player.
"embedHeight": "A String",
"embedHtml": "A String", # An <iframe> tag that embeds a player that will play the video.
"embedWidth": "A String", # The embed width
},
"processingDetails": { # Describes processing status and progress and availability of some other Video resource parts. # The processingDetails object encapsulates information about YouTube's progress in processing the uploaded video file. The properties in the object identify the current processing status and an estimate of the time remaining until YouTube finishes processing the video. This part also indicates whether different types of data or content, such as file details or thumbnail images, are available for the video. The processingProgress object is designed to be polled so that the video uploaded can track the progress that YouTube has made in processing the uploaded video file. This data can only be retrieved by the video owner.
"editorSuggestionsAvailability": "A String", # This value indicates whether video editing suggestions, which might improve video quality or the playback experience, are available for the video. You can retrieve these suggestions by requesting the suggestions part in your videos.list() request.
"fileDetailsAvailability": "A String", # This value indicates whether file details are available for the uploaded video. You can retrieve a video's file details by requesting the fileDetails part in your videos.list() request.
"processingFailureReason": "A String", # The reason that YouTube failed to process the video. This property will only have a value if the processingStatus property's value is failed.
"processingIssuesAvailability": "A String", # This value indicates whether the video processing engine has generated suggestions that might improve YouTube's ability to process the the video, warnings that explain video processing problems, or errors that cause video processing problems. You can retrieve these suggestions by requesting the suggestions part in your videos.list() request.
"processingProgress": { # Video processing progress and completion time estimate. # The processingProgress object contains information about the progress YouTube has made in processing the video. The values are really only relevant if the video's processing status is processing.
"partsProcessed": "A String", # The number of parts of the video that YouTube has already processed. You can estimate the percentage of the video that YouTube has already processed by calculating: 100 * parts_processed / parts_total Note that since the estimated number of parts could increase without a corresponding increase in the number of parts that have already been processed, it is possible that the calculated progress could periodically decrease while YouTube processes a video.
"partsTotal": "A String", # An estimate of the total number of parts that need to be processed for the video. The number may be updated with more precise estimates while YouTube processes the video.
"timeLeftMs": "A String", # An estimate of the amount of time, in millseconds, that YouTube needs to finish processing the video.
},
"processingStatus": "A String", # The video's processing status. This value indicates whether YouTube was able to process the video or if the video is still being processed.
"tagSuggestionsAvailability": "A String", # This value indicates whether keyword (tag) suggestions are available for the video. Tags can be added to a video's metadata to make it easier for other users to find the video. You can retrieve these suggestions by requesting the suggestions part in your videos.list() request.
"thumbnailsAvailability": "A String", # This value indicates whether thumbnail images have been generated for the video.
},
"projectDetails": { # DEPRECATED. b/157517979: This part was never populated after it was added. However, it sees non-zero traffic because there is generated client code in the wild that refers to it [1]. We keep this field and do NOT remove it because otherwise V3 would return an error when this part gets requested [2]. [1] https://developers.google.com/resources/api-libraries/documentation/youtube/v3/csharp/latest/classGoogle_1_1Apis_1_1YouTube_1_1v3_1_1Data_1_1VideoProjectDetails.html [2] http://google3/video/youtube/src/python/servers/data_api/common.py?l=1565-1569&rcl=344141677 # The projectDetails object contains information about the project specific video metadata. b/157517979: This part was never populated after it was added. However, it sees non-zero traffic because there is generated client code in the wild that refers to it [1]. We keep this field and do NOT remove it because otherwise V3 would return an error when this part gets requested [2]. [1] https://developers.google.com/resources/api-libraries/documentation/youtube/v3/csharp/latest/classGoogle_1_1Apis_1_1YouTube_1_1v3_1_1Data_1_1VideoProjectDetails.html [2] http://google3/video/youtube/src/python/servers/data_api/common.py?l=1565-1569&rcl=344141677
},
"recordingDetails": { # Recording information associated with the video. # The recordingDetails object encapsulates information about the location, date and address where the video was recorded.
"location": { # Geographical coordinates of a point, in WGS84. # The geolocation information associated with the video.
"altitude": 3.14, # Altitude above the reference ellipsoid, in meters.
"latitude": 3.14, # Latitude in degrees.
"longitude": 3.14, # Longitude in degrees.
},
"locationDescription": "A String", # The text description of the location where the video was recorded.
"recordingDate": "A String", # The date and time when the video was recorded.
},
"snippet": { # Basic details about a video, including title, description, uploader, thumbnails and category. # The snippet object contains basic details about the video, such as its title, description, and category.
"categoryId": "A String", # The YouTube video category associated with the video.
"channelId": "A String", # The ID that YouTube uses to uniquely identify the channel that the video was uploaded to.
"channelTitle": "A String", # Channel title for the channel that the video belongs to.
"defaultAudioLanguage": "A String", # The default_audio_language property specifies the language spoken in the video's default audio track.
"defaultLanguage": "A String", # The language of the videos's default snippet.
"description": "A String", # The video's description. @mutable youtube.videos.insert youtube.videos.update
"liveBroadcastContent": "A String", # Indicates if the video is an upcoming/active live broadcast. Or it's "none" if the video is not an upcoming/active live broadcast.
"localized": { # Localized versions of certain video properties (e.g. title). # Localized snippet selected with the hl parameter. If no such localization exists, this field is populated with the default snippet. (Read-only)
"description": "A String", # Localized version of the video's description.
"title": "A String", # Localized version of the video's title.
},
"publishedAt": "A String", # The date and time when the video was uploaded.
"tags": [ # A list of keyword tags associated with the video. Tags may contain spaces.
"A String",
],
"thumbnails": { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the video. For each object in the map, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail.
"default": { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
"height": 42, # (Optional) Height of the thumbnail image.
"url": "A String", # The thumbnail image's URL.
"width": 42, # (Optional) Width of the thumbnail image.
},
"high": { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
"height": 42, # (Optional) Height of the thumbnail image.
"url": "A String", # The thumbnail image's URL.
"width": 42, # (Optional) Width of the thumbnail image.
},
"maxres": { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
"height": 42, # (Optional) Height of the thumbnail image.
"url": "A String", # The thumbnail image's URL.
"width": 42, # (Optional) Width of the thumbnail image.
},
"medium": { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
"height": 42, # (Optional) Height of the thumbnail image.
"url": "A String", # The thumbnail image's URL.
"width": 42, # (Optional) Width of the thumbnail image.
},
"standard": { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
"height": 42, # (Optional) Height of the thumbnail image.
"url": "A String", # The thumbnail image's URL.
"width": 42, # (Optional) Width of the thumbnail image.
},
},
"title": "A String", # The video's title. @mutable youtube.videos.insert youtube.videos.update
},
"statistics": { # Statistics about the video, such as the number of times the video was viewed or liked. # The statistics object contains statistics about the video.
"commentCount": "A String", # The number of comments for the video.
"dislikeCount": "A String", # The number of users who have indicated that they disliked the video by giving it a negative rating.
"favoriteCount": "A String", # The number of users who currently have the video marked as a favorite video.
"likeCount": "A String", # The number of users who have indicated that they liked the video by giving it a positive rating.
"viewCount": "A String", # The number of times the video has been viewed.
},
"status": { # Basic details about a video category, such as its localized title. Next Id: 19 # The status object contains information about the video's uploading, processing, and privacy statuses.
"containsSyntheticMedia": True or False, # Indicates if the video contains altered or synthetic media.
"embeddable": True or False, # This value indicates if the video can be embedded on another website. @mutable youtube.videos.insert youtube.videos.update
"failureReason": "A String", # This value explains why a video failed to upload. This property is only present if the uploadStatus property indicates that the upload failed.
"license": "A String", # The video's license. @mutable youtube.videos.insert youtube.videos.update
"madeForKids": True or False,
"privacyStatus": "A String", # The video's privacy status.
"publicStatsViewable": True or False, # This value indicates if the extended video statistics on the watch page can be viewed by everyone. Note that the view count, likes, etc will still be visible if this is disabled. @mutable youtube.videos.insert youtube.videos.update
"publishAt": "A String", # The date and time when the video is scheduled to publish. It can be set only if the privacy status of the video is private..
"rejectionReason": "A String", # This value explains why YouTube rejected an uploaded video. This property is only present if the uploadStatus property indicates that the upload was rejected.
"selfDeclaredMadeForKids": True or False,
"uploadStatus": "A String", # The status of the uploaded video.
},
"suggestions": { # Specifies suggestions on how to improve video content, including encoding hints, tag suggestions, and editor suggestions. # The suggestions object encapsulates suggestions that identify opportunities to improve the video quality or the metadata for the uploaded video. This data can only be retrieved by the video owner.
"editorSuggestions": [ # A list of video editing operations that might improve the video quality or playback experience of the uploaded video.
"A String",
],
"processingErrors": [ # A list of errors that will prevent YouTube from successfully processing the uploaded video video. These errors indicate that, regardless of the video's current processing status, eventually, that status will almost certainly be failed.
"A String",
],
"processingHints": [ # A list of suggestions that may improve YouTube's ability to process the video.
"A String",
],
"processingWarnings": [ # A list of reasons why YouTube may have difficulty transcoding the uploaded video or that might result in an erroneous transcoding. These warnings are generated before YouTube actually processes the uploaded video file. In addition, they identify issues that are unlikely to cause the video processing to fail but that might cause problems such as sync issues, video artifacts, or a missing audio track.
"A String",
],
"tagSuggestions": [ # A list of keyword tags that could be added to the video's metadata to increase the likelihood that users will locate your video when searching or browsing on YouTube.
{ # A single tag suggestion with its relevance information.
"categoryRestricts": [ # A set of video categories for which the tag is relevant. You can use this information to display appropriate tag suggestions based on the video category that the video uploader associates with the video. By default, tag suggestions are relevant for all categories if there are no restricts defined for the keyword.
"A String",
],
"tag": "A String", # The keyword tag suggested for the video.
},
],
},
"topicDetails": { # Freebase topic information related to the video. # The topicDetails object encapsulates information about Freebase topics associated with the video.
"relevantTopicIds": [ # Similar to topic_id, except that these topics are merely relevant to the video. These are topics that may be mentioned in, or appear in the video. You can retrieve information about each topic using Freebase Topic API.
"A String",
],
"topicCategories": [ # A list of Wikipedia URLs that provide a high-level description of the video's content.
"A String",
],
"topicIds": [ # A list of Freebase topic IDs that are centrally associated with the video. These are topics that are centrally featured in the video, and it can be said that the video is mainly about each of these. You can retrieve information about each topic using the < a href="http://wiki.freebase.com/wiki/Topic_API">Freebase Topic API.
"A String",
],
},
}</pre>
</div>
</body></html>
|