facebook-python-business-sdk icon indicating copy to clipboard operation
facebook-python-business-sdk copied to clipboard

facebookads/utils/api_utils.py:30: UserWarning: Value of device_platforms is not be compatible. Expect DevicePlatforms; got <type 'list'>

Open ghost opened this issue 10 years ago • 2 comments

In the python file it's expecting DevicePlatform.mobile or DevicePlatform.desktop whereas the API is actually expecting a list.

Is this a bug?

ghost avatar Sep 19 '16 10:09 ghost

Yes, this issue was reported in https://github.com/facebook/facebook-python-ads-sdk/issues/237

five-hundred-eleven avatar Sep 19 '16 18:09 five-hundred-eleven

Thank you for reporting. we'll track with #237 .

daphyFB avatar Sep 19 '16 21:09 daphyFB