xdevplatform/twitter-python-ads-sdk

Account has no attribute "business_name" nor "business_id"

Closed this issue · 1 comments

The Account object is missing the "business_name" and "business_id" attribute,
as you can see on the Twitter API.
"business_name" and "business_id" are fields returned by the 'accounts' request.

I think the fix should be to add the following line of code on file 'account.py', line 186:
resource_property(Account, 'business_id')
resource_property(Account, 'business_name')

Thanks! #244