Create lead ads subscription
Changed onCreate a lead ads webhook subscription. Subscriptions allow Pinterest to deliver lead data from Ads Manager directly to the subscriber. Subscriptions can exist for a specific lead form or at ad account level.
- Only requests for the OWNER or ADMIN of the ad_account will be allowed.
- Advertisers can set up multiple integrations using ad_account_id + lead_form_id but only one integration per unique records.
- For data security, egress lead data is encrypted with AES-256-GCM.
Request
- Base URLhttps://api.pinterest.com/v5
- AuthOAuth 2Authorization codehttps://www.pinterest.com/oauth/Token URLhttps://api.pinterest.com/v5/oauth/tokenScopesads:write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Unique identifier of an ad account.
Request body
Response
The request has succeeded.
Changes
- breaking
added
subschema #1to the request bodyallOflist - breaking
added
subschema #1to therequest propertyallOflist - breaking
the
request property type changed fromobjectto no type - warning
removed the request property
- warning
removed the request property
/ - warning
removed the request property
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- breaking
- breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status
- breaking