GET TAP Campaigns / Line Items


#1

Is there a way to retrieve a list of campaign ids or line items by placement?

https://dev.twitter.com/ads/reference/get/accounts/%3Aaccount_id/campaigns

Calling this GET endpoint only seems to return ALL_ON_TWITTER campaigns and there are no filter arguments.


#2

Hi @DonaldHui! You can’t. The placement is at the line item level, so you would need to call https://dev.twitter.com/ads/reference/get/accounts/%3Aaccount_id/line_items and see what line items have the placement you are looking for.