xdevplatform / twitter-python-ads-sdk

A Twitter supported and maintained Ads API SDK for Python.
https://twitterdev.github.io/twitter-python-ads-sdk/
MIT License
189 stars 106 forks source link

LineItem has no attribute "creative_source". #240

Closed dvainrub closed 4 years ago

dvainrub commented 4 years ago

The LineItem object is missing the "creative_source" attribute, as you can see on the Twitter API. "creative_source" is one of the fields returned by the 'line_items' request.

I think the fix should be to add the following line of code on file 'campaign.py', line 296: resource_property(LineItem, 'creative_source')

smaeda-ks commented 4 years ago

Thanks! https://github.com/twitterdev/twitter-python-ads-sdk/pull/244