Bulk updating line items

rate-limits
api

#1

Is it possible to bulk update line items? We’re trying to update the bids for multiple line items but hitting the rate limit when doing it individually using the PUT accounts/:account_id/line_items/:line_item_id endpoint.


#2

You can do this with ‘Update’ command of the batch endpoints: https://dev.twitter.com/ads/reference/post/batch/accounts/%3Aaccount_id/line_items

The endpoint requires that you post a JSON body which is the trickiest part of implementing it, but the benefits are obvious.

Thanks,

John