{"id":4119,"date":"2021-06-25T08:20:59","date_gmt":"2021-06-25T08:20:59","guid":{"rendered":"https:\/\/structured-data-for-wp.com\/docs\/?post_type=ht_kb&#038;p=4119"},"modified":"2021-06-25T08:51:49","modified_gmt":"2021-06-25T08:51:49","slug":"what-is-youtube-api-key-in-schema-structured-data-for-wp-amp","status":"publish","type":"ht_kb","link":"https:\/\/structured-data-for-wp.com\/docs\/article\/what-is-youtube-api-key-in-schema-structured-data-for-wp-amp\/","title":{"rendered":"What is YouTube API Key in Schema &#038; Structured Data for WP &#038; AMP"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">How to get YouTube API Key<\/h3>\n\n\n\n<p>1) <strong>Log into the <a href=\"https:\/\/accounts.google.com\/ServiceLogin\/signinchooser?service=cloudconsole&amp;passive=1209600&amp;osid=1&amp;continue=https%3A%2F%2Fconsole.developers.google.com%2Fproject%3Fref%3Dhttp%3A%2F%2Flocalhost%2F&amp;followup=https%3A%2F%2Fconsole.developers.google.com%2Fproject%3Fref%3Dhttp%3A%2F%2Flocalhost%2F&amp;flowName=GlifWebSignIn&amp;flowEntry=ServiceLogin\">Google API Console<\/a><\/strong><\/p>\n\n\n\n<p>2) In Google API dashboard, click the button &#8220;<strong>Create Project<\/strong>&#8220;, then follow the screens, enter a project name and create a new project.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"309\" src=\"https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/41.png\" alt=\"\" class=\"wp-image-4130\" srcset=\"https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/41.png 600w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/41-300x155.png 300w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/41-50x26.png 50w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/41-60x31.png 60w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/41-100x52.png 100w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/figure>\n\n\n\n<p>3) In Google API dashboard, click <strong>Library<\/strong> on the left menu.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"276\" src=\"https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/43-1024x276.png\" alt=\"\" class=\"wp-image-4131\" srcset=\"https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/43-1024x276.png 1024w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/43-300x81.png 300w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/43-768x207.png 768w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/43-50x13.png 50w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/43-60x16.png 60w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/43-100x27.png 100w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/43.png 1355w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>4) Look for the service YouTube -> <strong>YouTube Data API v3<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"275\" src=\"https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/44-1-1024x275.png\" alt=\"\" class=\"wp-image-4132\" srcset=\"https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/44-1-1024x275.png 1024w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/44-1-300x81.png 300w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/44-1-768x206.png 768w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/44-1-50x13.png 50w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/44-1-60x16.png 60w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/44-1-100x27.png 100w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/44-1.png 1139w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>5) Click YouTube Data API v3, then click the Enable button to enable the API service.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"361\" src=\"https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/40-1024x361.png\" alt=\"\" class=\"wp-image-4133\" srcset=\"https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/40-1024x361.png 1024w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/40-300x106.png 300w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/40-768x271.png 768w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/40-50x18.png 50w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/40-60x21.png 60w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/40-100x35.png 100w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/40.png 1060w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>6) In Google API dashboard, click &#8220;<strong>Credentials<\/strong>&#8221; on the left menu, then click the button Create credentials, select API key from the drop down list.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"989\" height=\"364\" src=\"https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/45-1.png\" alt=\"\" class=\"wp-image-4134\" srcset=\"https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/45-1.png 989w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/45-1-300x110.png 300w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/45-1-768x283.png 768w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/45-1-50x18.png 50w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/45-1-60x22.png 60w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/45-1-100x37.png 100w\" sizes=\"auto, (max-width: 989px) 100vw, 989px\" \/><\/figure>\n\n\n\n<p><strong>7) <\/strong>Copy the created API key<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"545\" height=\"334\" src=\"https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/46.png\" alt=\"\" class=\"wp-image-4135\" srcset=\"https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/46.png 545w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/46-300x184.png 300w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/46-50x31.png 50w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/46-60x37.png 60w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/46-100x61.png 100w\" sizes=\"auto, (max-width: 545px) 100vw, 545px\" \/><\/figure>\n\n\n\n<p>8) If you want to restrict your key so it can only be used from your own web sites, you can click the button &#8220;<strong>Restrict Key<\/strong>&#8221; and configure the restriction, otherwise you can click the Close button.<\/p>\n\n\n\n<p>9) Once you copy this API Key you need to enter. You will find this option in\u00a0<strong>WordPress dashboard<\/strong>\u00a0->\u00a0<strong>Structured Data\u00a0<\/strong>->\u00a0<strong>Settings\u00a0<\/strong>->\u00a0<strong>Advanced\u00a0<\/strong>-> Check\u00a0<strong>YouTube API Key\u00a0<\/strong>option like below the screenshot.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"868\" src=\"https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/29-1-1024x868.png\" alt=\"\" class=\"wp-image-4120\" srcset=\"https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/29-1-1024x868.png 1024w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/29-1-300x254.png 300w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/29-1-768x651.png 768w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/29-1-50x42.png 50w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/29-1-60x51.png 60w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/29-1-100x85.png 100w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/29-1.png 1125w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>YouTube API Key: <\/strong>This option only works with the<strong> <\/strong>VideoObject schema. 1.) Create a new project here:&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/console.developers.google.com\/project\" target=\"_blank\">Click here.<\/a>&nbsp;2.) Enable &#8220;YouTube Data API&#8221; under &#8220;APIs &amp; auth&#8221; -&gt; APIs. 3.) Create a new server key under &#8220;APIs &amp; auth&#8221; -&gt; Credentials.<\/li><\/ul>\n\n\n\n<p id=\"block-65232493-4272-4878-b8e2-3035db6cc638\"><strong>That\u2019s it for this tutorial!<\/strong><\/p>\n\n\n\n<p id=\"block-44b60863-5526-4986-ace6-3e127f8d4bb5\">We hope it helped you. If you have any feedback or questions or do you want us to create compatibility for any other schema type which isn\u2019t listed in our plugin then you can request us we will surely implement it as soon as possible.<\/p>\n\n\n\n<p id=\"block-2c228eaa-09e9-4657-8b84-c51e5b037b6b\"><strong>Just contact us&nbsp;<a href=\"http:\/\/structured-data-for-wp.com\/contact-us\/\">here<\/a>&nbsp;and we are always available for you.<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to get YouTube API Key 1) Log into the Google API Console 2) In Google API dashboard, click the button &#8220;Create Project&#8220;, then follow the screens, enter a project name and create a new project. 3) In Google API dashboard, click Library on the left menu. 4) Look for&#8230;<\/p>\n","protected":false},"author":3,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[3],"ht-kb-tag":[],"class_list":["post-4119","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-how-to"],"_links":{"self":[{"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb\/4119","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/comments?post=4119"}],"version-history":[{"count":4,"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb\/4119\/revisions"}],"predecessor-version":[{"id":4137,"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb\/4119\/revisions\/4137"}],"wp:attachment":[{"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/media?parent=4119"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb-category?post=4119"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb-tag?post=4119"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}