TwitterAds::Creative::PromotedTweet#save can't save tweet
Closed this issue · 0 comments
bugcloud commented
Issue Type: Bug
Description:
TwitterAds::Creative::PromotedTweet#save
will receive these errors.
{"code":"INVALID_PARAMETER","message":"Expected Long, got \"[TWEET_ID]\" for tweet_ids","parameter":"tweet_ids"}
Expected Result:
We should not receive any errors.
Actual Result:
We will receive above errors every calls.
Steps to Reproduce:
This issue will happen in this simple code.
promoted_tweet = TwitterAds::Creative::PromotedTweet.new(ANY_VALID_ACCOUNT)
promoted_tweet.line_item_id = ANY_VALID_LINE_ITEM_ID
promoted_tweet.tweet_id = ANY_VALID_TWEET_ID
promoted_tweet.save