ads
Cancel an ad
Cancels the ad on the platform and marks it as cancelled in the database. The ad is preserved for history.
AuthorizationBearer <token>
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
adIdstring
Response Body
application/json
application/json
application/json
curl -X DELETE "https://zernio.com/api/v1/ads/string"{
"message": "string"
}{
"error": "Unauthorized"
}{
"error": "Not found"
}Update ad (pause/resume, budget, targeting, name) PUT
Update one or more fields on an ad. Status changes and budget updates are propagated to the platform. Targeting updates are Meta-only.
Boost an existing post as a paid ad POST
Creates a paid ad campaign from an existing published post. Creates the full platform campaign hierarchy (campaign, ad set, ad).