title: How to get Youtube video title with v3 URL API in javascript w Ajax & JSON
body: <p>I am only trying to fetch Youtube video's title. Can't seem to figure it. So far I have this:</p>
  
  <pre><code>     q = 'https://www.googleapis.com/youtube/v3/videos?id='+ itemId +'&amp;key='+ ytApiKey +'&amp;fields=items(snippet(channelId,title,categoryId))&amp;part=snippet' ;
  
  $.ajax({
        url: q, 
        dataType: "jsonp",
        success: function(data){
                 alert(data.items[0].title);
                 console.log(data.snippet.title);            
        },
        error: function(jqXHR, textStatus, errorThrown) {
            alert (textStatus, + ' | ' + errorThrown);
        }
    });
  </code></pre>
  
  <p>Thanks,</p>