{"action":"created","issue":{"url":"https://api.github.com/repos/INN/DoubleClick-for-WordPress/issues/20","repository_url":"https://api.github.com/repos/INN/DoubleClick-for-WordPress","labels_url":"https://api.github.com/repos/INN/DoubleClick-for-WordPress/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/INN/DoubleClick-for-WordPress/issues/20/comments","events_url":"https://api.github.com/repos/INN/DoubleClick-for-WordPress/issues/20/events","html_url":"https://github.com/INN/DoubleClick-for-WordPress/issues/20","id":167763225,"number":20,"title":"Invalid arguments: SizeMappingBuilder.addSize(['0', 1], [[320, 50]])","user":{"login":"benlk","id":1754187,"avatar_url":"https://avatars.githubusercontent.com/u/1754187?v=3","gravatar_id":"","url":"https://api.github.com/users/benlk","html_url":"https://github.com/benlk","followers_url":"https://api.github.com/users/benlk/followers","following_url":"https://api.github.com/users/benlk/following{/other_user}","gists_url":"https://api.github.com/users/benlk/gists{/gist_id}","starred_url":"https://api.github.com/users/benlk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benlk/subscriptions","organizations_url":"https://api.github.com/users/benlk/orgs","repos_url":"https://api.github.com/users/benlk/repos","events_url":"https://api.github.com/users/benlk/events{/privacy}","received_events_url":"https://api.github.com/users/benlk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/INN/DoubleClick-for-WordPress/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/INN/DoubleClick-for-WordPress/labels/help%20wanted","name":"help wanted","color":"159818"},{"url":"https://api.github.com/repos/INN/DoubleClick-for-WordPress/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-27T03:37:10Z","updated_at":"2016-07-27T17:55:00Z","closed_at":null,"body":"Here's the full set of logs as seen in `?googlfc`:\r\n\r\n```\r\nStart\tCreated slot: /65246486/banner_top_0\r\nInformation\tStart\tGoogle service JS loaded\r\nInformation\tStart\tCreated service: publisher_ads\r\nInformation\t1 ms\tAssociated service \"publisher_ads\" with slot \"/65246486/banner_top\".\r\nWarning\t2 ms\tInvalid arguments: SizeMappingBuilder.addSize(['1220', 1], [[768, 90]])\r\nWarning\t2 ms\tInvalid arguments: SizeMappingBuilder.addSize(['1040', 1], [[768, 90]])\r\nWarning\t2 ms\tInvalid arguments: SizeMappingBuilder.addSize(['720', 1], [[320, 50]])\r\nWarning\t2 ms\tInvalid arguments: SizeMappingBuilder.addSize(['0', 1], [[320, 50]])\r\nWarning\t2 ms\tSize mapping is null because invalid mappings were added\r\nWarning\t4 ms\tError in processing size mapping: Size mapping has to be an array\r\nInformation\t5 ms\tUsing single request mode to fetch ads.\r\nInformation\t5 ms\tSetting targeting attribute inURL with value /rivard-the-time-to-invest-in-mass-transit-is-now,/ for service publisher_ads\r\nInformation\t5 ms\tSetting targeting attribute URLIs with value /rivard-the-time-to-invest-in-mass-transit-is-now for service publisher_ads\r\nInformation\t5 ms\tSetting targeting attribute Query with value rivard-the-time-to-invest-in-mass-transit-is-now for service publisher_ads\r\nInformation\t5 ms\tSetting targeting attribute Domain with value rrlargo.wpengine.com for service publisher_ads\r\nInformation\t5 ms\tSetting targeting attribute Page with value single for service publisher_ads\r\nInformation\t5 ms\tSetting targeting attribute Category with value city-planning-development,gov-politics,transportation for service publisher_ads\r\nInformation\t5 ms\tSetting targeting attribute Tag with value brt-in-san-antonio,hov-lanes-in-san-antonio,multimodal-transit-in-san-antonio,sa-tomorrow-multimodal-transportation-plan,via-metropolitan-transit,vias-vision-2040 for service publisher_ads\r\nInformation\t7 ms\tGPT implementation fetched.\r\nInformation\t10 ms\tCalling fillslot.\r\nInformation\t42 ms\tFetching ad for slot: /65246486/banner_top\r\nInformation\t58 ms\tInvoked queued function. Total: 3. Errors: 0.\r\nInformation\t1638 ms\tPage load complete\r\n```\r\n\r\nAds are failing to load, apparently because something is wrong with the arguments being passed to [googletag.SizeMappingBuilder.addSize](https://developers.google.com/doubleclick-gpt/reference#googletag.SizeMappingBuilder).\r\n\r\nIs this because of a configuration error with the widget, or because of something actually being different?\r\n\r\n<img width=\"695\" alt=\"screen shot 2016-07-26 at 11 35 36 pm\" src=\"https://cloud.githubusercontent.com/assets/1754187/17163106/ddb128ba-5389-11e6-8ff8-13dde0e2889a.png\">\r\n<img width=\"409\" alt=\"screen shot 2016-07-26 at 11 36 12 pm\" src=\"https://cloud.githubusercontent.com/assets/1754187/17163105/ddad9e02-5389-11e6-9272-6a0756abd6ad.png\">\r\n"},"comment":{"url":"https://api.github.com/repos/INN/DoubleClick-for-WordPress/issues/comments/235666469","html_url":"https://github.com/INN/DoubleClick-for-WordPress/issues/20#issuecomment-235666469","issue_url":"https://api.github.com/repos/INN/DoubleClick-for-WordPress/issues/20","id":235666469,"user":{"login":"benlk","id":1754187,"avatar_url":"https://avatars.githubusercontent.com/u/1754187?v=3","gravatar_id":"","url":"https://api.github.com/users/benlk","html_url":"https://github.com/benlk","followers_url":"https://api.github.com/users/benlk/followers","following_url":"https://api.github.com/users/benlk/following{/other_user}","gists_url":"https://api.github.com/users/benlk/gists{/gist_id}","starred_url":"https://api.github.com/users/benlk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benlk/subscriptions","organizations_url":"https://api.github.com/users/benlk/orgs","repos_url":"https://api.github.com/users/benlk/repos","events_url":"https://api.github.com/users/benlk/events{/privacy}","received_events_url":"https://api.github.com/users/benlk/received_events","type":"User","site_admin":false},"created_at":"2016-07-27T17:55:00Z","updated_at":"2016-07-27T17:55:00Z","body":"We're going to want a dump of the $args here: https://github.com/INN/DoubleClick-for-WordPress/blob/master/dfw-init.php#L103-L112\r\n\r\nAnd a dump of what's actually coming out of `new DoubleClickBreakpoint` here: https://github.com/INN/DoubleClick-for-WordPress/blob/master/dfw-init.php#L122\r\n\r\n"}}
{"actor":{"display_login":"benlk"}}