Hi,
I’m testing our app with the new api 11 and when I create a campaign with this parameters as always

name: xxxx
funding_instrument_id: xxxx
start_time: 2022-05-19T07:31:00Z
end_time: 2022-05-20T21:59:00Z
entity_status: PAUSED
standard_delivery: true
total_budget_amount_local_micro: 10000000
daily_budget_amount_local_micro: 5000000

I obtain this error

{“errors”:[{“code”:“INVALID_PARAMETER”,“message”:“Parameter start_time is deprecated”,“parameter”:“start_time”},{“code”:“INVALID_PARAMETER”,“message”:“Parameter end_time is deprecated”,“parameter”:“end_time”}],“request”:{“params”:{“name”:“xxxx”,“daily_budget_amount_local_micro”:5000000,“funding_instrument_id”:“xxxx”,“standard_delivery”:true,“total_budget_amount_local_micro”:10000000,“entity_status”:“PAUSED”,“account_id”:“xxxx”}}}

But the docs don’t say anything about those params to be deprecaated

start_time es required and end_time is optional.

Thanks

Apologies for the confusion. These parameters have been removed in v11 and are now required on the line_items endpoint. I’ll update the documentation and announcement to highlight this

Ok, that’s a big change. It would be great if start_time and end_time were optional in both campaign and line item.

Thanks