Skip to content

TwitterAds::Creative::PromotedTweet#save can't save tweet #239

@bugcloud

Description

@bugcloud

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions