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.
Path parameters
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."
}
]
}
]
}Changes
Changed in 2 of the 29 revisions of this API.5123
- ▲
added the new required request property
/new-required-request-property
- ▲
added the new required request property
/new-required-request-property
- ▲
added the new required request property
/new-required-request-property
- ▲
added the new required request property
/new-required-request-property
- ▲
added the new required request property
/new-required-request-property
- ●
removed
subschema #2from therequest propertyallOflistrequest-property-all-of-removed
- ○
added the new optional request property
/new-optional-request-property
- ○
added the new optional request property
/new-optional-request-property
- ○
added the new optional request property
/new-optional-request-property
- ○
added the non-success response with the status
response-non-success-status-added
- ○
added the non-success response with the status
response-non-success-status-added
- ○
added the non-success response with the status
response-non-success-status-added
- ○
added the non-success response with the status
response-non-success-status-added
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
- ○
removed
subschema #2from the//response propertyallOflist for the response statusresponse-property-all-of-removed
- ○
the response property
became required for the statusresponse-property-became-required
- ○
the response property
////became required for the statusresponse-property-became-required
- ○
added the required property
///to the response with the statusresponse-required-property-added
- ○
added the required property
///to the response with the statusresponse-required-property-added
- ○
added the required property
///to the response with the statusresponse-required-property-added
- ○
added the required property
///to the response with the statusresponse-required-property-added
- ○
added the required property
///to the response with the statusresponse-required-property-added
- ○
added the required property
///to the response with the statusresponse-required-property-added
This revision also has 182 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
endpoint added
endpoint-added
This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○