You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "E:\workspace\twitter_server\app\service\ad_promoted_tweets_service.py", line 32, in create_ad_promoted_tweet
promoted_tweet.save()
File "C:\Users\keame\Envs\twitter_server\lib\site-packages\twitter_ads\utils.py", line 97, in wrapper
method = "{}.{}".format(str(args[0].name), str(decorated.name))
AttributeError: 'PromotedTweet' object has no attribute 'name'
The text was updated successfully, but these errors were encountered:
@tushdante think you!The reason for this problem is that the save() method is deprecated.
@Deprecated('This method has been deprecated and will no longer be available '
'in the next major version update. Please use PromotedTweet.attach() '
'method instead.')
def save(self):
pass
File "E:\workspace\twitter_server\app\service\ad_promoted_tweets_service.py", line 32, in create_ad_promoted_tweet
promoted_tweet.save()
File "C:\Users\keame\Envs\twitter_server\lib\site-packages\twitter_ads\utils.py", line 97, in wrapper
method = "{}.{}".format(str(args[0].name), str(decorated.name))
AttributeError: 'PromotedTweet' object has no attribute 'name'
The text was updated successfully, but these errors were encountered: