Existing Package
GET {{campaign_url}}/packages/:id
Retrieve a single package
You can retrieve an existing package in your market by sending this GET request.
To retrieve the id of a package, you must first send one of the following:
-
POSTNew Package request -
POSTCopy Existing Package request -
GETList of Packages request
POST New Package will automatically populate the packageId variable with the ID of your newly created package.
POST Copy Existing Package will return the ID of your copied package, which you can then manually copy and paste into the value cell for id.
GET List of Packages will return a list of package objects—within your market—containing IDs that you can copy and paste into the value cell for id.
RESPONSES
status: OK
{"data":[{"id":"1608792594","marketId":"1","resourceType":"package","status":"stopStartDate","name":"irene test pkg","mediaFormat":"display","budget":{"pacing":"dailyImpression","schedules":[{"startDate":"2022-09-30T13:41:00Z","endDate":"2022-10-27T13:41:30Z","budget":50,"impressionCap":10}]},"impressionFrequency":{"personOrDeviceFrequencyCapDetails":{"cap":1,"period":45,"periodUnits":"minutes"},"householdFrequencyCapDetails":{"cap":3,"period":2,"periodUnits":"days"}},"advertiserId":"1608792487","insertionOrderId":"1608792488","createdAt":"2022-09-01T05:57:37Z","updatedAt":"2022-09-01T05:57:37Z","inventoryType":"openAuctionAndPrivateDeals"}],"errors":[]}