Get Budgets By Seller
GET {{baseUrl}}/legacy/offsite-ads/sellers/:sellerId/budgets?status=Scheduled&withBalance=true&withSpend=true&endAfterDate=1962-03-29T08:35:04.625Z&startBeforeDate=1962-03-29T08:35:04.625Z&campaignId=-50958279&type=Excepteur qui minim in
Return a collection of budgets for this seller filtered by optional filter parameters. If all parameters are omitted the entire collection to which the user has access is returned, except those whose endDate is in the past. Returned budgets must satisfy all supplied filter criteria if multiple parameters are used. See the budgets endpoint for additional details.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
status | string | Return only budgets with the given status. | |
withBalance | boolean | Return only budgets with the given status. | |
withSpend | boolean | Return budgets with any positive spend. | |
endAfterDate | string | Return budgets that end after the given date using the yyyy-MM-DD format. |
If param is not provided, default behavior is to only return budgets that have not yet ended. |
| startBeforeDate
| string | | Return budgets that start on or before the given date using the yyyy-MM-DD
format. |
| campaignId
| number | | Return only budgets that pay for a given campaign. |
| type
| string | | Return only budgets with the given budget type. |