Get Api V2External Account Line Items By Account Id

GET {{baseUrl}}/2021-10/retail-media/accounts/:account-id/line-items?limitToCampaignId=tempor officia&limitToCampaignId=proident ex sint&limitToType=Auction&limitToId=tempor officia&limitToId=proident ex sint&pageIndex=93451296&pageSize=93451296

Gets page of line item objects for the given account id

Request Params

KeyDatatypeRequiredDescription
limitToCampaignIdstringThe campaign ids that you would like to limit your result set to
limitToCampaignIdstringThe campaign ids that you would like to limit your result set to
limitToTypestringThe campaign types that you would like to limit your result set to
limitToIdstringThe ids that you would like to limit your result set to
limitToIdstringThe ids that you would like to limit your result set to
pageIndexnumberThe 0 indexed page index you would like to receive given the page size
pageSizenumberThe maximum number of items you would like to receive in this request

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"metadata":{"currentPageSize":74433963,"currentPageIndex":82960372,"totalItemsAcrossAllPages":-22777480,"totalPages":12768691,"nextPage":"proid","previousPage":"anim"},"data":[{"id":"in sit id","type":"deserunt in laboris","attributes":{"name":"eu in ullamco occaecat aute","type":"unknown","startDate":"1995-10-02","targetRetailerId":"nulla ullamco","campaignId":"in","budgetRemaining":-79877820.93943818,"createdAt":"1972-08-13T16:59:25.395Z","updatedAt":"1998-11-13T13:28:58.134Z","endDate":"2019-11-28","status":"archived","budget":56213983.36655411,"budgetSpent":-20556914.67224516}},{"id":"dolore laborum ullamco sit","type":"aliqua culpa sunt","attributes":{"name":"cillum cupidatat Duis ad","type":"auction","startDate":"1951-08-17","targetRetailerId":"proident tempor ipsum cupidatat","campaignId":"elit velit","budgetRemaining":-41641496.87628731,"createdAt":"2010-12-14T08:29:18.208Z","updatedAt":"2007-08-28T18:34:27.502Z","endDate":"2012-11-15","status":"paused","budget":60834788.81710395,"budgetSpent":1039668.5031111836}}],"warnings":[{"traceIdentifier":"et esse","type":"authentication","code":"ex irure","instance":"reprehenderit","title":"laborum Ut ex dolor","detail":"in mollit sunt","source":{"proident_03":"commodo esse "},"stackTrace":"dolor"},{"traceIdentifier":"dolor exercitation proident","type":"authorization","code":"dolor amet minim","instance":"enim ea pariatur","title":"quis Ut Lorem","detail":"nisi in anim","source":{"auteede":"consequat in in","labore9fe":"dolor anim proident nisi"},"stackTrace":"occaecat commodo consequat mollit"}],"errors":[{"traceIdentifier":"Duis ut occaecat deserunt pariatur","type":"authorization","code":"nulla in fugiat","instance":"aute","title":"cillum commodo esse e","detail":"non nisi irure","source":{"Ut_22":"tempor sit ip","minim__e_":"proident in"},"stackTrace":"reprehenderit ex"},{"traceIdentifier":"non est","type":"quota","code":"deserunt in","instance":"conse","title":"o","detail":"Duis proident","source":{"enim_f06":"commodo ut occaecat ipsum","culpa_3":"in ad"},"stackTrace":"Lorem adipisicing amet dolor"}]}