Endpoint:
https://ads-api.twitter.com/6/accounts/18ce53ypxga/campaigns/e17jl
Params:
{
daily_budget_amount_local_micro: 35000000,
total_budget_amount_local_micro: 500000000
}
Response:
{
"errors":[
{
"code":"INVALID_PARAMETER",
"message":"Expected Long, got \"35000000.0\" for daily_budget_amount_local_micro",
"parameter":"daily_budget_amount_local_micro"
},
{
"code":"INVALID_PARAMETER",
"message":"Expected Long, got \"500000000.0\" for total_budget_amount_local_micro",
"parameter":"total_budget_amount_local_micro"
}
],
"request":{"params":{"campaign_id":"e17jl","account_id":"18ce53ypxga"}}}
}
This campaign was created with from the @citzennet handle.
What is wrong with this call? And how should we make this call?
It is unclear why the parameters are converted to floats but have been unable to reproduce this. Could you provide the API request without headers that demonstrates this?