{"action":"created","issue":{"url":"https://api.github.com/repos/seeden/react-google-publisher-tag/issues/5","repository_url":"https://api.github.com/repos/seeden/react-google-publisher-tag","labels_url":"https://api.github.com/repos/seeden/react-google-publisher-tag/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/seeden/react-google-publisher-tag/issues/5/comments","events_url":"https://api.github.com/repos/seeden/react-google-publisher-tag/issues/5/events","html_url":"https://github.com/seeden/react-google-publisher-tag/pull/5","id":151854540,"number":5,"title":"‘slotRenderEnded’ & ‘impressionViewable’ callbacks","user":{"login":"notiontaxi","id":1593606,"avatar_url":"https://avatars.githubusercontent.com/u/1593606?v=3","gravatar_id":"","url":"https://api.github.com/users/notiontaxi","html_url":"https://github.com/notiontaxi","followers_url":"https://api.github.com/users/notiontaxi/followers","following_url":"https://api.github.com/users/notiontaxi/following{/other_user}","gists_url":"https://api.github.com/users/notiontaxi/gists{/gist_id}","starred_url":"https://api.github.com/users/notiontaxi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/notiontaxi/subscriptions","organizations_url":"https://api.github.com/users/notiontaxi/orgs","repos_url":"https://api.github.com/users/notiontaxi/repos","events_url":"https://api.github.com/users/notiontaxi/events{/privacy}","received_events_url":"https://api.github.com/users/notiontaxi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-29T12:26:43Z","updated_at":"2016-04-29T12:55:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/seeden/react-google-publisher-tag/pulls/5","html_url":"https://github.com/seeden/react-google-publisher-tag/pull/5","diff_url":"https://github.com/seeden/react-google-publisher-tag/pull/5.diff","patch_url":"https://github.com/seeden/react-google-publisher-tag/pull/5.patch"},"body":"Add callbacks for 'slotRenderEnded' and 'impressionViewable'. This provides the possibility to update the visual appereance when the slot is defined or the ad is completely visible in the DOM."},"comment":{"url":"https://api.github.com/repos/seeden/react-google-publisher-tag/issues/comments/215703200","html_url":"https://github.com/seeden/react-google-publisher-tag/pull/5#issuecomment-215703200","issue_url":"https://api.github.com/repos/seeden/react-google-publisher-tag/issues/5","id":215703200,"user":{"login":"notiontaxi","id":1593606,"avatar_url":"https://avatars.githubusercontent.com/u/1593606?v=3","gravatar_id":"","url":"https://api.github.com/users/notiontaxi","html_url":"https://github.com/notiontaxi","followers_url":"https://api.github.com/users/notiontaxi/followers","following_url":"https://api.github.com/users/notiontaxi/following{/other_user}","gists_url":"https://api.github.com/users/notiontaxi/gists{/gist_id}","starred_url":"https://api.github.com/users/notiontaxi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/notiontaxi/subscriptions","organizations_url":"https://api.github.com/users/notiontaxi/orgs","repos_url":"https://api.github.com/users/notiontaxi/repos","events_url":"https://api.github.com/users/notiontaxi/events{/privacy}","received_events_url":"https://api.github.com/users/notiontaxi/received_events","type":"User","site_admin":false},"created_at":"2016-04-29T12:55:02Z","updated_at":"2016-04-29T12:55:02Z","body":"Sure thing :)\r\nActually we have two use cases: \r\nWe add padding depending on the size of the ad (No padding for full-width ads, 25 for big ads and 10 for smaller ads). But we can't know what size the ad will have before the slot is rendered.\r\nThe other case is the repositioning of sticky elements when the ad is completely rendered (to avoid overlapping elements)."}}