lead_forms
Create lead forms
This feature is currently in beta and not available to all apps, if you're interested in joining the beta, please reach out to your Pinterest account manager.
Create lead forms. Lead forms are used in lead ads and allow you to control what text appears on the lead form's description, questions and confirmation sections.
For more, see Lead ads.
post/ad_accounts/{ad_account_id}/lead_forms
Path parameters
ad_account_idstring required
Unique identifier of an ad account.
Request body
Example request
[
{
"completion_message": "Thank you for submitting. We will contact you soon.",
"disclosure_language": "By entering your personal information, you agree that your data will be collected and used.",
"name": "Lead Form 3/14/2023",
"policy_links": [
{
"label": "Copyright",
"link": "https://policy.pinterest.com/en/copyright"
}
],
"privacy_policy_link": "https://www.advertisername.com/privacy-policy",
"questions": [
{
"question_type": "CUSTOM",
"custom_question_field_type": "CHECKBOX",
"custom_question_label": "What is your favorite animal?",
"custom_question_options": [
"Dog",
"Cat",
"Bird",
"Turtle"
]
}
],
"status": "DRAFT"
}
]Response
The request has succeeded.
Example response
{
"items": [
{
"data": {
"completion_message": "Thank you for submitting. We will contact you soon.",
"disclosure_language": "By entering your personal information, you agree that your data will be collected and used.",
"name": "Lead Form 3/14/2023",
"policy_links": [
{
"label": "Copyright",
"link": "https://policy.pinterest.com/en/copyright"
}
],
"privacy_policy_link": "https://www.advertisername.com/privacy-policy",
"questions": [
{
"question_type": "CUSTOM",
"custom_question_field_type": "CHECKBOX",
"custom_question_label": "What is your favorite animal?",
"custom_question_options": [
"Dog",
"Cat",
"Bird",
"Turtle"
]
}
],
"status": "DRAFT"
},
"exceptions": [
{
"code": 2,
"message": "Advertiser not found."
}
]
}
]
}