Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8863673
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T16:02:31+00:00 2026-06-14T16:02:31+00:00

I’m trying to use Try It! on this page: https://developers.google.com/youtube/v3/docs/videos/update But I get Bad

  • 0

I’m trying to use “Try It!” on this page:
https://developers.google.com/youtube/v3/docs/videos/update

But I get Bad request error. Where should I set ID of the video I want to update? And what is the request format for updating video title or description?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T16:02:32+00:00Added an answer on June 14, 2026 at 4:02 pm

    The request format is to send a “video resource” JSON packet, which looks something like this:

    {
    "id": "GS9h8M3ep-M",
    "kind": "youtube#video",
    "etag": "\"MhkxP1IuK4vYJ-nhM3d9E49-2oU/HUmayeWdVX19XyvhE5c2RnbZjgA\"",
    "snippet": {
        "publishedAt": "2012-11-10T09:36:49.000Z",
        "channelId": "UC070UP0rK7rShCW1x4B4bgg",
        "title": "Finding Ourselves: The Humanities as a Discipline",
        "description": "Lecture delivered by Geoffrey Harpham, of the National Humanities Center, at the inaugural event of the Brigham Young University Humanities Center.",
        "thumbnails": {
         "default": {
          "url": "https://i.ytimg.com/vi/GS9h8M3ep-M/default.jpg"
         },
         "medium": {
          "url": "https://i.ytimg.com/vi/GS9h8M3ep-M/mqdefault.jpg"
         },
         "high": {
          "url": "https://i.ytimg.com/vi/GS9h8M3ep-M/hqdefault.jpg"
         }
        },
        "categoryId": "27",
        "tags": [
          "humanities",
          "Harpham",
          "BYU"
        ]
      }
    }
    

    When doing an update, you need only send the “id” and “kind” values, along with, in this case, a partial “snippet.” Be aware, however, that for writeable attributes — snippet.title, snippet.description, snippet.tags, snippet.categoryId, and status.privacyStatus — omitting them will have them revert to the default (‘public’ for privacyStatus, blank for the other 4). If you were to omit the categoryId, then, it results in a bad request, because it would be as if you were setting it to be in no category, and Youtube doesn’t allow a video to not have a category (this is, then, making categoryId a defacto required element). You also have to re-include the tags, the description, and the privacy status (unless you want it to default to public) so they won’t be cleared out. Thus to modify the title, you’d include the snippet, its title, and its category ID, like this:

    {
     "id": "GS9h8M3ep-M",
     "kind": "youtube#video",
     "snippet": {
        "title": "I'm being changed.",
        "categoryId": "27",
        "tags": [
          "humanities",
          "Harpham",
          "BYU"
        ],
        "description": " can be changed, too, but if I'm not to be I still have to be included as I was before. I will be emptied out if omitted."
      }
     }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Basically, what I'm trying to create is a page of div tags, each has
I am trying to understand how to use SyndicationItem to display feed which is
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
This could be a duplicate question, but I have no idea what search terms
I'm trying to convert HTML to plain text. I get many &\#8217; &\#8220; etc.
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I'm not entirely sure how I managed to jack this up. http://pretty-senshi.com If you
I'm trying to use string.replace('’','') to replace the dreaded weird single-quote character: ’ (aka
I'm making a simple page using Google Maps API 3. My first. One marker

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.