{"action":"created","comment":{"url":"https://api.github.com/repos/prebid/Prebid.js/pulls/comments/85819656","pull_request_review_id":6512272,"id":85819656,"diff_hunk":"@@ -0,0 +1,207 @@\n+<!doctype html>\n+<html>\n+<head>\n+<meta charset=\"utf-8\">\n+<meta name=\"robots\" content=\"noindex\">\n+<script>\n+\n+    /** AMP x-domain iframe custom source file\n+     *  host this file on a remote domain from your AMP pages,\n+     *  set the `amp-3p-iframe-src` meta tag on your AMP pages\n+     *  (see `./amp_page.html`)\n+     *\n+     *\n+     *  see \"Enhance incoming ad configuration\" section of AMP docs\n+     *  https://www.ampproject.org/docs/reference/components/amp-ad\n+     */\n+\n+    (function() {\n+var v = location.search.substr(1);\n+if (!(/^\\d+(-canary)?$/.test(v))) return;\n+var u = 'https://3p.ampproject.net/'+encodeURIComponent(v)+'/f.js';\n+document.write('<script'+' src=\"'+encodeURI(u)+'\"><'+'/script>');\n+})();\n+</script>\n+<script>\n+    // The Prebid global must match Prebid.js setting\n+    var $$PREBID_GLOBAL$$ = pbjs;\n+\n+    // Standard Prebid.js setup\n+    var rightSlotSizes = [[300, 250], [300, 600], [300, 250], [100, 100]];\n+\n+    var pbjs = pbjs || {};\n+    pbjs.que = pbjs.que || [];\n+    var PREBID_TIMEOUT = 3000;\n+\n+    var date = new Date().getTime();\n+\n+    // wrap the rest of the setup in a function that will be called by the\n+    // AMP `draw3p` hook\n+    function loadPrebidJS() {\n+\n+        setTimeout(function() {\n+            return initAdserver;\n+        }(), PREBID_TIMEOUT);\n+\n+\n+        pbjs.que.push(function () {\n+","path":"integrationExamples/gpt/amp/remote.html","position":48,"original_position":48,"commit_id":"2a4284f907e82853bab023e4abbf9ac1fafd5683","original_commit_id":"2a4284f907e82853bab023e4abbf9ac1fafd5683","user":{"login":"mkendall07","id":1870166,"avatar_url":"https://avatars.githubusercontent.com/u/1870166?v=3","gravatar_id":"","url":"https://api.github.com/users/mkendall07","html_url":"https://github.com/mkendall07","followers_url":"https://api.github.com/users/mkendall07/followers","following_url":"https://api.github.com/users/mkendall07/following{/other_user}","gists_url":"https://api.github.com/users/mkendall07/gists{/gist_id}","starred_url":"https://api.github.com/users/mkendall07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkendall07/subscriptions","organizations_url":"https://api.github.com/users/mkendall07/orgs","repos_url":"https://api.github.com/users/mkendall07/repos","events_url":"https://api.github.com/users/mkendall07/events{/privacy}","received_events_url":"https://api.github.com/users/mkendall07/received_events","type":"User","site_admin":false},"body":"nit: extra line breaks / spacing. ","created_at":"2016-10-31T19:56:36Z","updated_at":"2016-10-31T20:03:23Z","html_url":"https://github.com/prebid/Prebid.js/pull/756#discussion_r85819656","pull_request_url":"https://api.github.com/repos/prebid/Prebid.js/pulls/756","_links":{"self":{"href":"https://api.github.com/repos/prebid/Prebid.js/pulls/comments/85819656"},"html":{"href":"https://github.com/prebid/Prebid.js/pull/756#discussion_r85819656"},"pull_request":{"href":"https://api.github.com/repos/prebid/Prebid.js/pulls/756"}}},"pull_request":{"url":"https://api.github.com/repos/prebid/Prebid.js/pulls/756","id":91513441,"html_url":"https://github.com/prebid/Prebid.js/pull/756","diff_url":"https://github.com/prebid/Prebid.js/pull/756.diff","patch_url":"https://github.com/prebid/Prebid.js/pull/756.patch","issue_url":"https://api.github.com/repos/prebid/Prebid.js/issues/756","number":756,"state":"open","locked":false,"title":"amp integration","user":{"login":"protonate","id":4116940,"avatar_url":"https://avatars.githubusercontent.com/u/4116940?v=3","gravatar_id":"","url":"https://api.github.com/users/protonate","html_url":"https://github.com/protonate","followers_url":"https://api.github.com/users/protonate/followers","following_url":"https://api.github.com/users/protonate/following{/other_user}","gists_url":"https://api.github.com/users/protonate/gists{/gist_id}","starred_url":"https://api.github.com/users/protonate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/protonate/subscriptions","organizations_url":"https://api.github.com/users/protonate/orgs","repos_url":"https://api.github.com/users/protonate/repos","events_url":"https://api.github.com/users/protonate/events{/privacy}","received_events_url":"https://api.github.com/users/protonate/received_events","type":"User","site_admin":false},"body":"## Type of change\n- [x] Feature\n## Description of change\n\nAn example of integrating Prebid.js into an AMP page to fill `<amp-ad>` components with Prebid demand.\n","created_at":"2016-10-30T07:09:07Z","updated_at":"2016-10-31T20:03:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"495cb9cc89670c8c8055fa4bb2b272f973822674","assignee":{"login":"mkendall07","id":1870166,"avatar_url":"https://avatars.githubusercontent.com/u/1870166?v=3","gravatar_id":"","url":"https://api.github.com/users/mkendall07","html_url":"https://github.com/mkendall07","followers_url":"https://api.github.com/users/mkendall07/followers","following_url":"https://api.github.com/users/mkendall07/following{/other_user}","gists_url":"https://api.github.com/users/mkendall07/gists{/gist_id}","starred_url":"https://api.github.com/users/mkendall07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkendall07/subscriptions","organizations_url":"https://api.github.com/users/mkendall07/orgs","repos_url":"https://api.github.com/users/mkendall07/repos","events_url":"https://api.github.com/users/mkendall07/events{/privacy}","received_events_url":"https://api.github.com/users/mkendall07/received_events","type":"User","site_admin":false},"assignees":[{"login":"mkendall07","id":1870166,"avatar_url":"https://avatars.githubusercontent.com/u/1870166?v=3","gravatar_id":"","url":"https://api.github.com/users/mkendall07","html_url":"https://github.com/mkendall07","followers_url":"https://api.github.com/users/mkendall07/followers","following_url":"https://api.github.com/users/mkendall07/following{/other_user}","gists_url":"https://api.github.com/users/mkendall07/gists{/gist_id}","starred_url":"https://api.github.com/users/mkendall07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkendall07/subscriptions","organizations_url":"https://api.github.com/users/mkendall07/orgs","repos_url":"https://api.github.com/users/mkendall07/repos","events_url":"https://api.github.com/users/mkendall07/events{/privacy}","received_events_url":"https://api.github.com/users/mkendall07/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/prebid/Prebid.js/milestones/3","html_url":"https://github.com/prebid/Prebid.js/milestones/Prebid%200.14.0","labels_url":"https://api.github.com/repos/prebid/Prebid.js/milestones/3/labels","id":2013988,"number":3,"title":"Prebid 0.14.0","description":"","creator":{"login":"mkendall07","id":1870166,"avatar_url":"https://avatars.githubusercontent.com/u/1870166?v=3","gravatar_id":"","url":"https://api.github.com/users/mkendall07","html_url":"https://github.com/mkendall07","followers_url":"https://api.github.com/users/mkendall07/followers","following_url":"https://api.github.com/users/mkendall07/following{/other_user}","gists_url":"https://api.github.com/users/mkendall07/gists{/gist_id}","starred_url":"https://api.github.com/users/mkendall07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkendall07/subscriptions","organizations_url":"https://api.github.com/users/mkendall07/orgs","repos_url":"https://api.github.com/users/mkendall07/repos","events_url":"https://api.github.com/users/mkendall07/events{/privacy}","received_events_url":"https://api.github.com/users/mkendall07/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":11,"state":"open","created_at":"2016-09-19T14:27:44Z","updated_at":"2016-10-31T19:40:54Z","due_on":"2016-10-31T00:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/prebid/Prebid.js/pulls/756/commits","review_comments_url":"https://api.github.com/repos/prebid/Prebid.js/pulls/756/comments","review_comment_url":"https://api.github.com/repos/prebid/Prebid.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/prebid/Prebid.js/issues/756/comments","statuses_url":"https://api.github.com/repos/prebid/Prebid.js/statuses/2a4284f907e82853bab023e4abbf9ac1fafd5683","head":{"label":"prebid:feature/amp-integration","ref":"feature/amp-integration","sha":"2a4284f907e82853bab023e4abbf9ac1fafd5683","user":{"login":"prebid","id":13242760,"avatar_url":"https://avatars.githubusercontent.com/u/13242760?v=3","gravatar_id":"","url":"https://api.github.com/users/prebid","html_url":"https://github.com/prebid","followers_url":"https://api.github.com/users/prebid/followers","following_url":"https://api.github.com/users/prebid/following{/other_user}","gists_url":"https://api.github.com/users/prebid/gists{/gist_id}","starred_url":"https://api.github.com/users/prebid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prebid/subscriptions","organizations_url":"https://api.github.com/users/prebid/orgs","repos_url":"https://api.github.com/users/prebid/repos","events_url":"https://api.github.com/users/prebid/events{/privacy}","received_events_url":"https://api.github.com/users/prebid/received_events","type":"Organization","site_admin":false},"repo":{"id":39321023,"name":"Prebid.js","full_name":"prebid/Prebid.js","owner":{"login":"prebid","id":13242760,"avatar_url":"https://avatars.githubusercontent.com/u/13242760?v=3","gravatar_id":"","url":"https://api.github.com/users/prebid","html_url":"https://github.com/prebid","followers_url":"https://api.github.com/users/prebid/followers","following_url":"https://api.github.com/users/prebid/following{/other_user}","gists_url":"https://api.github.com/users/prebid/gists{/gist_id}","starred_url":"https://api.github.com/users/prebid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prebid/subscriptions","organizations_url":"https://api.github.com/users/prebid/orgs","repos_url":"https://api.github.com/users/prebid/repos","events_url":"https://api.github.com/users/prebid/events{/privacy}","received_events_url":"https://api.github.com/users/prebid/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/prebid/Prebid.js","description":"Setup and manage header bidding advertising partners without writing code or confusing line items. Prebid.js is open source and free.","fork":false,"url":"https://api.github.com/repos/prebid/Prebid.js","forks_url":"https://api.github.com/repos/prebid/Prebid.js/forks","keys_url":"https://api.github.com/repos/prebid/Prebid.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/prebid/Prebid.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/prebid/Prebid.js/teams","hooks_url":"https://api.github.com/repos/prebid/Prebid.js/hooks","issue_events_url":"https://api.github.com/repos/prebid/Prebid.js/issues/events{/number}","events_url":"https://api.github.com/repos/prebid/Prebid.js/events","assignees_url":"https://api.github.com/repos/prebid/Prebid.js/assignees{/user}","branches_url":"https://api.github.com/repos/prebid/Prebid.js/branches{/branch}","tags_url":"https://api.github.com/repos/prebid/Prebid.js/tags","blobs_url":"https://api.github.com/repos/prebid/Prebid.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/prebid/Prebid.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/prebid/Prebid.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/prebid/Prebid.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/prebid/Prebid.js/statuses/{sha}","languages_url":"https://api.github.com/repos/prebid/Prebid.js/languages","stargazers_url":"https://api.github.com/repos/prebid/Prebid.js/stargazers","contributors_url":"https://api.github.com/repos/prebid/Prebid.js/contributors","subscribers_url":"https://api.github.com/repos/prebid/Prebid.js/subscribers","subscription_url":"https://api.github.com/repos/prebid/Prebid.js/subscription","commits_url":"https://api.github.com/repos/prebid/Prebid.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/prebid/Prebid.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/prebid/Prebid.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/prebid/Prebid.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/prebid/Prebid.js/contents/{+path}","compare_url":"https://api.github.com/repos/prebid/Prebid.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/prebid/Prebid.js/merges","archive_url":"https://api.github.com/repos/prebid/Prebid.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/prebid/Prebid.js/downloads","issues_url":"https://api.github.com/repos/prebid/Prebid.js/issues{/number}","pulls_url":"https://api.github.com/repos/prebid/Prebid.js/pulls{/number}","milestones_url":"https://api.github.com/repos/prebid/Prebid.js/milestones{/number}","notifications_url":"https://api.github.com/repos/prebid/Prebid.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/prebid/Prebid.js/labels{/name}","releases_url":"https://api.github.com/repos/prebid/Prebid.js/releases{/id}","deployments_url":"https://api.github.com/repos/prebid/Prebid.js/deployments","created_at":"2015-07-19T03:26:23Z","updated_at":"2016-10-30T13:03:57Z","pushed_at":"2016-10-31T19:39:39Z","git_url":"git://github.com/prebid/Prebid.js.git","ssh_url":"git@github.com:prebid/Prebid.js.git","clone_url":"https://github.com/prebid/Prebid.js.git","svn_url":"https://github.com/prebid/Prebid.js","homepage":"http://prebid.org","size":40884,"stargazers_count":295,"watchers_count":295,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":236,"mirror_url":null,"open_issues_count":39,"forks":236,"open_issues":39,"watchers":295,"default_branch":"master"}},"base":{"label":"prebid:master","ref":"master","sha":"3921aaec172285a0f653f9a956adee4b1a2e79be","user":{"login":"prebid","id":13242760,"avatar_url":"https://avatars.githubusercontent.com/u/13242760?v=3","gravatar_id":"","url":"https://api.github.com/users/prebid","html_url":"https://github.com/prebid","followers_url":"https://api.github.com/users/prebid/followers","following_url":"https://api.github.com/users/prebid/following{/other_user}","gists_url":"https://api.github.com/users/prebid/gists{/gist_id}","starred_url":"https://api.github.com/users/prebid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prebid/subscriptions","organizations_url":"https://api.github.com/users/prebid/orgs","repos_url":"https://api.github.com/users/prebid/repos","events_url":"https://api.github.com/users/prebid/events{/privacy}","received_events_url":"https://api.github.com/users/prebid/received_events","type":"Organization","site_admin":false},"repo":{"id":39321023,"name":"Prebid.js","full_name":"prebid/Prebid.js","owner":{"login":"prebid","id":13242760,"avatar_url":"https://avatars.githubusercontent.com/u/13242760?v=3","gravatar_id":"","url":"https://api.github.com/users/prebid","html_url":"https://github.com/prebid","followers_url":"https://api.github.com/users/prebid/followers","following_url":"https://api.github.com/users/prebid/following{/other_user}","gists_url":"https://api.github.com/users/prebid/gists{/gist_id}","starred_url":"https://api.github.com/users/prebid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prebid/subscriptions","organizations_url":"https://api.github.com/users/prebid/orgs","repos_url":"https://api.github.com/users/prebid/repos","events_url":"https://api.github.com/users/prebid/events{/privacy}","received_events_url":"https://api.github.com/users/prebid/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/prebid/Prebid.js","description":"Setup and manage header bidding advertising partners without writing code or confusing line items. Prebid.js is open source and free.","fork":false,"url":"https://api.github.com/repos/prebid/Prebid.js","forks_url":"https://api.github.com/repos/prebid/Prebid.js/forks","keys_url":"https://api.github.com/repos/prebid/Prebid.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/prebid/Prebid.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/prebid/Prebid.js/teams","hooks_url":"https://api.github.com/repos/prebid/Prebid.js/hooks","issue_events_url":"https://api.github.com/repos/prebid/Prebid.js/issues/events{/number}","events_url":"https://api.github.com/repos/prebid/Prebid.js/events","assignees_url":"https://api.github.com/repos/prebid/Prebid.js/assignees{/user}","branches_url":"https://api.github.com/repos/prebid/Prebid.js/branches{/branch}","tags_url":"https://api.github.com/repos/prebid/Prebid.js/tags","blobs_url":"https://api.github.com/repos/prebid/Prebid.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/prebid/Prebid.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/prebid/Prebid.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/prebid/Prebid.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/prebid/Prebid.js/statuses/{sha}","languages_url":"https://api.github.com/repos/prebid/Prebid.js/languages","stargazers_url":"https://api.github.com/repos/prebid/Prebid.js/stargazers","contributors_url":"https://api.github.com/repos/prebid/Prebid.js/contributors","subscribers_url":"https://api.github.com/repos/prebid/Prebid.js/subscribers","subscription_url":"https://api.github.com/repos/prebid/Prebid.js/subscription","commits_url":"https://api.github.com/repos/prebid/Prebid.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/prebid/Prebid.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/prebid/Prebid.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/prebid/Prebid.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/prebid/Prebid.js/contents/{+path}","compare_url":"https://api.github.com/repos/prebid/Prebid.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/prebid/Prebid.js/merges","archive_url":"https://api.github.com/repos/prebid/Prebid.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/prebid/Prebid.js/downloads","issues_url":"https://api.github.com/repos/prebid/Prebid.js/issues{/number}","pulls_url":"https://api.github.com/repos/prebid/Prebid.js/pulls{/number}","milestones_url":"https://api.github.com/repos/prebid/Prebid.js/milestones{/number}","notifications_url":"https://api.github.com/repos/prebid/Prebid.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/prebid/Prebid.js/labels{/name}","releases_url":"https://api.github.com/repos/prebid/Prebid.js/releases{/id}","deployments_url":"https://api.github.com/repos/prebid/Prebid.js/deployments","created_at":"2015-07-19T03:26:23Z","updated_at":"2016-10-30T13:03:57Z","pushed_at":"2016-10-31T19:39:39Z","git_url":"git://github.com/prebid/Prebid.js.git","ssh_url":"git@github.com:prebid/Prebid.js.git","clone_url":"https://github.com/prebid/Prebid.js.git","svn_url":"https://github.com/prebid/Prebid.js","homepage":"http://prebid.org","size":40884,"stargazers_count":295,"watchers_count":295,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":236,"mirror_url":null,"open_issues_count":39,"forks":236,"open_issues":39,"watchers":295,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/prebid/Prebid.js/pulls/756"},"html":{"href":"https://github.com/prebid/Prebid.js/pull/756"},"issue":{"href":"https://api.github.com/repos/prebid/Prebid.js/issues/756"},"comments":{"href":"https://api.github.com/repos/prebid/Prebid.js/issues/756/comments"},"review_comments":{"href":"https://api.github.com/repos/prebid/Prebid.js/pulls/756/comments"},"review_comment":{"href":"https://api.github.com/repos/prebid/Prebid.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/prebid/Prebid.js/pulls/756/commits"},"statuses":{"href":"https://api.github.com/repos/prebid/Prebid.js/statuses/2a4284f907e82853bab023e4abbf9ac1fafd5683"}}}}
{"actor":{"display_login":"mkendall07"}}