skip to Main Content

Facebook API lead forms for ads objective error for version 18

Since Facebook updated to version 18 I'm having troubles with adding lead ad forms using the API. Reference: https://developers.facebook.com/docs/marketing-api/guides/lead-ads/create/ When creating campaigns using the objective LEAD_GENERATION it gives the following error: "Objective LEAD_GENERATION is invalid. Use one of: OUTCOME_LEADS, OUTCOME_SALES,…

VIEW QUESTION

Facebook api – Type is not assignable to type 'never' (Next.js, TypeScript) error on build

I have this error in console when trying to build my project: .next/types/app/facebook/page.ts:8:13 Type error: Type 'OmitWithTag<typeof import("D:/projects/abkh24/client/app/facebook/page"), "metadata" | "default" | "config" | "generateStaticParams" | "revalidate" | "dynamic" | "dynamicParams" | "fetchCache" | "preferredRegion" | "runtime" | "maxDuration" |…

VIEW QUESTION
Back To Top
Search