Z
Ad set targeting read now supports LinkedIn on GET /v1/ads/ad-sets/{adSetId}/targeting (use platform=linkedin).For LinkedIn, the response can now include unmappedTargeting (facets that can’t be expressed in targeting) and creatives (ads in the set with platformAdId, status, and creative when rebuildable).Also, LinkedIn conversion campaigns created via POST /v1/ads/create can now link conversion rules using platformSpecificData.conversionRuleIds (ids or urn:lla:llaPartnerConversion:N URNs).curl…
Z
Ad previews now support LinkedIn, Pinterest and X in addition to Meta via GET /v1/ads/{adId}/preview.The response now includes platform (facebook, instagram, linkedin, pinterest, twitter) and Pinterest previews may also include previews[].url. formats and productItemIds are Meta only; LinkedIn/Pinterest/X ignore formats. A new 422 (linked_account_required) is returned when no active connection can read the ad.curl -sS -H "Authorization: Bearer $ZERNIOTOKEN" \…
Z
POST /v1/ads/boost no longer accepts locationTargetingType in the request body.If your integration sends locationTargetingType, remove it to avoid 400 validation errors.You can now also permanently erase a Meta lead via DELETE /v1/ads/leads/{id} for data erasure requests. The response includes metaDeletion: deleted | not_found | kept | failed (and metaError when failed).curl -X DELETE "$BASE_URL/v1/ads/leads/{id}" \ -H "Authorization: Bearer $TOKEN"Meta lead responses now include…
Z
Ad previews now support rendering Meta catalog ads with specific products via productItemIds.Use this to preview an Advantage+ catalog creative/ad with an explicit set of catalog items; if omitted, Meta selects products from the product set.Supported in:• POST /v1/ads/preview body productItemIds (max 50)• GET /v1/ads/{adId}/preview query productItemIds (comma-separated, max 50)curl -X GET "$BASE_URL/v1/ads/123/preview?formats=DESKTOP_FEED_STANDARD&productItemIds=123,456" \ -H "Authorization:…
Z
Meta lead forms now support enforcing work emails via platformSpecificData.shouldEnforceWorkEmail on POST /v1/ads/lead-forms.When set to true, Meta rejects personal email domains (e.g., Gmail) before submit. Use it alongside a work email question.Key field:• platformSpecificData.shouldEnforceWorkEmail (boolean, default false)curl -X POST "$ZERNIO_API/v1/ads/lead-forms" \ -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \ -d '{"accountI…
Z
GET /v1/events/overview/daily now returns duplicatesRemoved in the 200 response.This adds visibility into deduplication during tracking: how many repeat sends were suppressed and how many server-side events were merged with browser pixel copies.New field: duplicatesRemoved (object | null)• repeatsNotSent: repeats not re-sent after a destination already accepted the event• pixelCopiesMerged: server events that matched a browser pixel event id and were merged by the platformcurl -sS -H…
Z
account.ads.sync_failed webhooks now include a new sync.errorCategory value: ad_account_inactive.Use it to distinguish ad accounts that are still returned by the platform but are disabled/closed/restricted (reconnect won’t help; resolve on the platform side).sync.errorCategory can now be: ad_account_not_listed, ad_account_inactive, sync_error, stale.
Z
Instagram Partnership Ads (private beta) now support creator-side workflows to pick a post, generate an ad code, and manage which brands can boost a branded content post.New endpoints:• List creator posts: GET with accountId• Create/delete ad codes: POST/DELETE using accountId + mediaId• List/set boost access: GET/POST using accountId + mediaId; set brandUsername and allowedRequires instagram_branded_content_creator permission and Ads access; partnership operations require private beta…
Z
Instagram branded content now supports managing your account’s partnership approved creators list (private beta).You can:• Check which creators are approved via GET /v1/ads/partnership-approved-creators with accountId and creatorUsernames (1–25, comma-separated)• Approve a creator via POST with accountId and creatorUsername• Remove an approved creator via DELETE with accountId and creatorUsernameRequires instagram_branded_content_brand permission and ads access; partnership operations require…
Z
Breaking: Partnership ad content responses no longer include permissionType or permissionStatus in media[].If your integration reads these fields from the Partnership Ads content listing, remove that dependency and rely on adEligibility, hasPermissionForPartnershipAd, and eligibilityErrors instead.Affected response fields in media[]:• Removed: permissionType, permissionStatus• Still available: adEligibility (values: AD_READY, NEEDS_ATTENTION, INELIGIBLE, EXCLUDED),…
Z
GET /v1/ads/partnership-content response changed: media[].isCreatorAllowlisted and media[].recommendedCampaignObjectives were removed.Use the new Meta passthrough fields to determine readiness/permissions instead:• media[].adEligibility: AD_READY, NEEDS_ATTENTION, INELIGIBLE, EXCLUDED• media[].permissionType, media[].permissionStatusAlso note onlyAllowlisted now means: with creatorUsername, return only posts ready to run as ads (ignored with postUrl).curl -G…
Z
Browser inbound call registration now accepts an optional request body on POST /v1/voice/calls/web/inbound.With an API key or OAuth token, you can register a browser for a specific number by sending phoneNumberId, so each user can take calls for their own number.Key details:• Send phoneNumberId (required for API key/OAuth)• enabled is always present in the 200 response• New error responses: 400, 404curl -X POST "$ZERNI0_BASE_URL/v1/voice/calls/web/inbound" \ -H "Authorization: Bearer $TOKEN" \…
Z
Enabling SMS on a phone number can now return pending: true in the 200 response from POST /v1/phone-numbers/{id}/sms.When pending is true, the carrier has temporarily refused to enable messaging; SMS stays off for now and Zernio will keep retrying and turn it on automatically once allowed.Use pending alongside enabled, notReady, and smsCapable to decide whether to wait/retry vs. treat it as unsupported.curl -X POST "$ZERNIO_API/v1/phone-numbers/$ID/sms" \ -H "Authorization: Bearer $TOKEN"
Z
Ads connect now keeps the existing access level when scopes is omitted on GET /v1/connect/{platform}/ads.Previously, omitting scopes defaulted to ads. Now, leaving it out connects with full access on first connect, and on reconnect it preserves the connection’s current access (read-only stays read-only).Use scopes explicitly to control access:• ads• ads_readcurl -G "https://api.zernio.com/v1/connect/facebook/ads" \ -H "Authorization: Bearer $TOKEN" \ --data-urlencode "profileId=$PROFILE_ID" \…
Z
Ad comments now support LinkedIn in GET /v1/ads/{adId}/comments (in addition to Meta and TikTok).You can now list and moderate comments on the LinkedIn post an ad promotes, using the returned LinkedIn identifiers.New fields:• meta.platform now includes linkedin• meta.postUrn (LinkedIn post URN)• meta.linkedinAccountId (connected LinkedIn account used to read; pass as accountId to Inbox comment actions)Also, Inbox comment authors now include LinkedIn profile details:• comments[].from.headline•…
Z
Ads connects now support read-only authorization via a new scopes query param on GET /v1/connect/{platform}/ads.Use scopes=ads_read to request only ads read permissions (reads/insights work; ad writes return 403 ads_connection_read_only). Supported on facebook, linkedin, pinterest (classic login only).OAuth apps can also now place their callback on your active connect domain via callbackOnConnectDomain (in POST /v1/connect/oauth-apps and PATCH /v1/connect/oauth-apps/{appId}), so platforms can…
Z
GoHighLevel settings now include adsSetup on the returned account.Use adsSetup to understand whether HighLevel events can be forwarded to ad platforms and whether a forwarding rule is needed/active.New object: adsSetup• ruleTakesGohighlevel (boolean)• hasAdAccount (boolean)• adAccountsToChoose (array of { accountId, platform, adAccountId, name })Note: adsSetup is now required in the response.curl -s \ "https://api.zernio.com/v1/accounts/$ACCOUNT_ID/gohighlevel-settings" \ -H "Authorization:…
Z
LinkedIn post analytics now includes premiumCtaClicks in the analytics object.This lets you report clicks on the author’s LinkedIn Premium custom button for personal accounts (returns 0 for organization accounts).New field: 200.analytics.premiumCtaClickscurl -G "https://api.zernio.com/v1/accounts/64abc123def456/linkedin-post-analytics" \ -H "Authorization: Bearer $TOKEN" \ --data-urlencode "urn=urn:li:share:7123456789012345678"
Z
Chargebee billing is now supported: you can connect a Chargebee site and optionally forward new paid sales to your ad platforms.Connect with POST /v1/connect/chargebee/credentials using site, apiKey (Full-Access), and profileId. Sales are stored as Purchase events with source chargebee, and are only forwarded after you enable forwardSales.Manage forwarding with:• GET /v1/accounts/{accountId}/chargebee-settings• PATCH /v1/accounts/{accountId}/chargebee-settings (forwardSales: true/false)Whop…
Z
Paddle is now supported as a billing source: you can connect a Paddle Billing account and store paid sales/refunds as Purchase events (source paddle), then optionally forward new sales to ad platforms.Connect using POST /v1/connect/paddle/credentials with apiKey (starts with pdl_live_apikey_ or pdl_sdbx_apikey_) and profileId. Zernio validates the key, registers a webhook, and stores the key + signing secret encrypted.Control forwarding with PATCH /v1/accounts/{accountId}/paddle-settings:•…
Z
Conversion event forwarding now supports HubSpot and Salesforce as destinations.You can send the same events you already send and have them delivered to CRM destinations in addition to ad platforms.New platform enum values:• hubspot• salesforceThese values can appear in:• POST /v1/ads/conversions response platform• POST /v1/events response destinations[].platform• GET /v1/events/{eventId} response deliveries[].platform• GET /v1/ads/conversions/destinations response platformcurl -X POST…
Z
WhatsApp conversions now support idempotent sends via an optional Idempotency-Key header on POST /v1/whatsapp/conversions.Use this to safely retry requests without creating duplicate conversion events. A reused key returns the original result; a concurrent reuse can return 409.Also added to GET /v1/whatsapp/conversions events:• eventId (echoed from the POST when available)• hasClickId (whether a ctwa_clid was present; null for older events)curl -X POST "$BASE_URL/v1/whatsapp/conversions" \ -H…
Z
WhatsApp conversion events can now be sent without a captured CTWA click id by providing pageId in POST /v1/whatsapp/conversions.If the resolved conversation has no ctwa_clid, Zernio will forward pageId as Meta user_data.page_id and send the event without a click id (Meta may still not attribute it).New request field:• pageId — numeric Facebook Page id linked to the WABA (used only when ctwa_clid is absent)curl -X POST "$BASE_URL/v1/whatsapp/conversions" \ -H "Authorization: Bearer $TOKEN" -H…
Z
POST /v1/ads/boost now supports metaSavedAudienceId (Meta only) to boost using an existing Meta saved audience’s targeting.Zernio reads the saved audience targeting live from Meta and uses it as the base targeting (like rawTargeting), then merges targeting on top.Notes:• metaSavedAudienceId is mutually exclusive with rawTargeting• Not allowed with adSetId (existing ad sets keep their targeting)• If the saved audience doesn’t include Meta’s required targeting_automation, send…
Z
You can now read and update store order forwarding settings for connected Shopify/WooCommerce stores.Use GET /v1/accounts/{accountId}/store-settings to fetch current settings and PATCH /v1/accounts/{accountId}/store-settings to toggle whether paid orders are forwarded to ad platforms.Key fields:• platform: shopify | wordpress• forwardOrders: booleancurl -X PATCH "$BASE_URL/v1/accounts/$ACCOUNT_ID/store-settings" \ -H "Authorization: Bearer $TOKEN" \ -H "Content-Type: application/json" \ -d…
Z
Meta ads creation now supports using a Meta Ads Manager saved audience via metaSavedAudienceId.Set metaSavedAudienceId (digits) to load that saved audience’s targeting from Meta and use it as the base targeting (equivalent to supplying rawTargeting), with any flat targeting fields you send merging on top.Notes:• Mutually exclusive with rawTargeting and savedTargetingId• Not allowed with adSetId (existing ad sets keep their targeting)• If the saved audience doesn’t include Meta’s required…
Z
Meta ad creation now supports using a Meta Ads Manager saved audience directly via metaSavedAudienceId in POST /v1/ads/create.Zernio will fetch the saved audience targeting from Meta and use it as the base targeting for the new ad set, with any camelCase targeting fields on the request merging on top.Use metaSavedAudienceId (numeric string). It is mutually exclusive with rawTargeting and savedTargetingId, and is not supported with adSetId.curl -X POST "$BASE_URL/v1/ads/create" \ -H…
Z
Meta ad accounts now support reading Saved Audiences (the ones created in Meta Ads Manager).Use GET /v1/ads/saved-audiences to list saved audiences, and GET /v1/ads/saved-audiences/{savedAudienceId} to read one audience including its targeting spec.Required query params: accountId (Zernio SocialAccount) and adAccountId (act_<n>). Listing supports pagination via limit and after.To target an ad set with a saved audience, send its targeting as rawTargeting on ad creation.curl -G…
Z
Facebook Pages can now be managed for blocked people on connected Facebook accounts.Use:• GET to list blocked people (cursor pagination via limit, cursor; response includes nextCursor)• POST to block a person by sending exactly one of psid or userId• DELETE to unblock a person by passing exactly one of psid or userIdcurl -sS -H "Authorization: Bearer $ZERNI0_API_KEY" \ "https://api.zernio.com/v1/accounts/$ACCOUNT_ID/facebook-blocked-users?limit=25"
Z
You can now turn Instagram comments on/off after publishing via a new Posts endpoint.Use POST /v1/posts/{postId}/comments-enabled with platform = instagram and enabled = true/false. If the post was published to multiple Instagram accounts, include accountId to avoid ambiguous_account.curl -X POST "$BASE_URL/v1/posts/POST_ID/comments-enabled" \ -H "Authorization: Bearer $TOKEN" \ -H "Content-Type: application/json" \ -d '{"platform":"instagram","enabled":false}'