dejan
#1
Hi,
we noticed a problem when querying line items using GET accounts/:account_id/line_items?line_item_id=cjfld.
If with_deleted is not set placements are valid (ALL_ON_TWITTER), if with_deleted is set placements are invalid (TWITTER_PROFILE, TWITTER_TIMELINE, ALL_ON_TWITTER).
Regards, Dejan
jrsyo
#2
Hi @dejan ,
Could you please provide us your Ads account ID? as well as your actual request URI and its response data?
What do you mean “placements are invalid”?
Best,
Shohei
dejan
#3
Hi,
https://ads-api.twitter.com/4/accounts/18ce54pyn0h/line_items?line_item_ids=cjfld
Returns placements: ALL_ON_TWITTER
https://ads-api.twitter.com/4/accounts/18ce54pyn0h/line_items?with_deleted=1&line_item_ids=cjfld
Returns placements: TWITTER_PROFILE, TWITTER_TIMELINE, ALL_ON_TWITTER
Second response is unexpected, placements should probably be ALL_ON_TWITTER like in the first response.
Are there any plans to enable placements edit via the ads API? Currently placements are not documented under PUT line_item endpoint.
Regards, Dejan