v1
latestOpenAPI 3.1.02026-07-24152752.3 KBUpsert one or multiple hourly spend records
post/spend_hourly
Request body
Example request
{
"data": [
{
"hour_start_iso": "1970-01-01T00:00:00-0000",
"platform_account_id": "12345",
"platform_name": "Facebook",
"campaign_id": "12345",
"campaign_name": "Banana Festival Awareness Campaign",
"adset_id": "12345",
"adset_name": "Banana Adset",
"ad_id": "12345",
"ad_name": "Banana Ad",
"spend": 123.5,
"spend_currency": "USD",
"impressions": 299
}
]
}Response
The hourly spend records were successfully upserted.
Example response
{
"data": [
{
"hour_start_iso": "1970-01-01T00:00:00-0000",
"platform_account_id": "12345",
"platform_name": "Facebook",
"campaign_id": "12345",
"campaign_name": "Banana Festival Awareness Campaign",
"adset_id": "12345",
"adset_name": "Banana Adset",
"ad_id": "12345",
"ad_name": "Banana Ad",
"spend": 123.5,
"spend_currency": "USD",
"impressions": 299
}
]
}