-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Posting a line item that was received from the API causes an error #107
Comments
scottmartinnet
pushed a commit
to peoplepattern/twitter-ruby-ads-sdk
that referenced
this issue
Jun 15, 2016
👍 |
kambayashia
pushed a commit
to kambayashia/twitter-ruby-ads-sdk
that referenced
this issue
Sep 23, 2016
kambayashia
added a commit
to kambayashia/twitter-ruby-ads-sdk
that referenced
this issue
Sep 23, 2016
This reverts commit 15cd8f3.
kambayashia
referenced
this issue
in kambayashia/twitter-ruby-ads-sdk
Sep 23, 2016
kambayashia
pushed a commit
to kambayashia/twitter-ruby-ads-sdk
that referenced
this issue
Sep 28, 2016
kambayashia
added a commit
to kambayashia/twitter-ruby-ads-sdk
that referenced
this issue
Sep 28, 2016
This reverts commit 15cd8f3.
kambayashia
referenced
this issue
in kambayashia/twitter-ruby-ads-sdk
Sep 28, 2016
esakai
added a commit
to esakai/twitter-ruby-ads-sdk
that referenced
this issue
Dec 7, 2017
xdevplatform#107 This patch of code has been incoprated from kamabayashia/twitter-ruby-ads-sdk.
esakai
added a commit
to esakai/twitter-ruby-ads-sdk
that referenced
this issue
Dec 8, 2017
xdevplatform#107 This patch of code has been incoprated from kamabayashia/twitter-ruby-ads-sdk.
esakai
added a commit
to esakai/twitter-ruby-ads-sdk
that referenced
this issue
Dec 8, 2017
xdevplatform#107 This patch of code has been incoprated from kamabayashia/twitter-ruby-ads-sdk.
esakai
added a commit
to esakai/twitter-ruby-ads-sdk
that referenced
this issue
Dec 11, 2017
xdevplatform#107 This patch of code has been incoprated from kamabayashia/twitter-ruby-ads-sdk.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue Type: Bug
Description:
When handling a line item, receiving data from the API and then attempting to save that item back to the API causes errors.
Expected Result:
An example of a requested line item:
I'd expect that sending this data back to the API would not cause an error.
Actual Result:
When a line item is requested, I receive data that causes errors went saved back to the API.
But when saving the line item, two items cause errors:
Steps to Reproduce:
This line of Ruby code should reproduce the error when populated with the appropriate variables:
I've implemented a workaround in my private fork that simply excludes these parameters from being sent. I don't see an automated way to know whether the advertiser_user_id parameter is allowed, so I universally excluded it. But I think the real fix lies inside the actual API, to allow a bid_type of AUTO when automatically_set_bid is true, and to only allow the advertiser_user_id sent by the API (which appears to be implicitly set to the user_id of the account being used.
The text was updated successfully, but these errors were encountered: