{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/issues/237","repository_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk","labels_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/issues/237/labels{/name}","comments_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/issues/237/comments","events_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/issues/237/events","html_url":"https://github.com/facebook/facebook-python-ads-sdk/issues/237","id":167994491,"number":237,"title":"Device preference warning","user":{"login":"ccquiel","id":3278415,"avatar_url":"https://avatars.githubusercontent.com/u/3278415?v=3","gravatar_id":"","url":"https://api.github.com/users/ccquiel","html_url":"https://github.com/ccquiel","followers_url":"https://api.github.com/users/ccquiel/followers","following_url":"https://api.github.com/users/ccquiel/following{/other_user}","gists_url":"https://api.github.com/users/ccquiel/gists{/gist_id}","starred_url":"https://api.github.com/users/ccquiel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ccquiel/subscriptions","organizations_url":"https://api.github.com/users/ccquiel/orgs","repos_url":"https://api.github.com/users/ccquiel/repos","events_url":"https://api.github.com/users/ccquiel/events{/privacy}","received_events_url":"https://api.github.com/users/ccquiel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-28T01:38:48Z","updated_at":"2016-09-19T22:02:06Z","closed_at":null,"body":"Hi, \r\nI'm not really sure that this is an issue but I just upgraded to v2.7 and I've been getting the warning:\r\n\r\n> UserWarning: Value of device_platforms is not be compatible. \r\n> Expect DevicePlatforms; got \\<class 'list'\\>\r\n\r\nChecking the validation (`_field_types`) in facebook-python-ads-sdk/facebookads/adobjects/targeting.py I noticed that for this attribute it says: `'device_platforms': 'DevicePlatforms'`. Which I guess references to the subclass DevicePlatforms, but the attribute has one or two values, shouldn't it be a list like:  `'device_platforms': 'list<DevicePlatforms>'`\r\n\r\nCheers\r\nEzequiel"},"comment":{"url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/issues/comments/248141218","html_url":"https://github.com/facebook/facebook-python-ads-sdk/issues/237#issuecomment-248141218","issue_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/issues/237","id":248141218,"user":{"login":"daphyFB","id":21694597,"avatar_url":"https://avatars.githubusercontent.com/u/21694597?v=3","gravatar_id":"","url":"https://api.github.com/users/daphyFB","html_url":"https://github.com/daphyFB","followers_url":"https://api.github.com/users/daphyFB/followers","following_url":"https://api.github.com/users/daphyFB/following{/other_user}","gists_url":"https://api.github.com/users/daphyFB/gists{/gist_id}","starred_url":"https://api.github.com/users/daphyFB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daphyFB/subscriptions","organizations_url":"https://api.github.com/users/daphyFB/orgs","repos_url":"https://api.github.com/users/daphyFB/repos","events_url":"https://api.github.com/users/daphyFB/events{/privacy}","received_events_url":"https://api.github.com/users/daphyFB/received_events","type":"User","site_admin":false},"created_at":"2016-09-19T22:02:06Z","updated_at":"2016-09-19T22:02:06Z","body":"Thanks for reporting. We really appreciate it.\r\n\r\nWe opened an internal task to track this issue. However, since we're under an internal clean-up of SDK generation, the ultimate fix will take some time. We'll update you when it's done.\r\n\r\nIn the mean time, please patch it in your side. Thanks for understanding!"}}
{"actor":{"display_login":"daphyFB"}}