cURL
curl --request POST \ --url https://public.plai.io/gads/check_lead_form_acceptance \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "userId": "<string>" }'
{ "success": true, "results": { "success": true, "accepted_lead_form_terms": true, "error": "<string>" } }
This endpoint checks whether the user has accepted the Google Ads lead form terms. It helps determine if the user is eligible to create and use lead forms in campaigns. Use this before attempting to generate or assign lead form assets.
Show Results Object