Create Seller Budgets
POST {{baseUrl}}/legacy/offsite-ads/budgets
Create one or more new budgets to enable spending with the given limitations. All three types of budgets can be created this way.
The following constraints apply when creating a new budget.
� sellerId: the seller MUST be supplied
� campaignIds: a non-empty array of campaign ids MUST be supplied
� budgetType: a budget type MUST be supplied
� amount: an amount MAY be supplied only if the type is not Uncapped and if supplied it MUST be non-negative
� startDate: a future start date MUST be supplied
� endDate: an end date MAY be supplied and if supplied MUST be greater than the start date
Other attributes MUST NOT be supplied.
Request Body
{"0"=>{"startDate"=>"2020-02-27T13:57:06.950Z", "endDate"=>"Excepteur cupidatat nulla", "sellerId"=>"dolor nostrud in pariatur"}, "1"=>{"startDate"=>"1952-09-29T05:50:58.623Z", "endDate"=>"esse", "sellerId"=>"labore occaecat Excepteur consectetur in"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |