Actions42
- Ads Actions
- Campaigns Actions
- Creatives Actions
- Audiences Actions
- Pixels Actions
- Webhooks Actions
- Reports Actions
Overview
This node integrates with the Snapchat Ads API to perform various operations related to Snapchat advertising resources. Specifically, for the Pixels resource and the Create Pixel Event operation, it allows users to send event data to a specified Snapchat Pixel associated with an Ad Account. This is useful for tracking user interactions on websites or apps by sending custom events to Snapchat for conversion measurement and audience building.
Typical use cases include:
- Sending custom pixel events such as purchases, sign-ups, or page views to Snapchat.
- Enhancing ad targeting and performance measurement by reporting real-time user actions.
- Integrating Snapchat pixel event tracking into automated workflows without manual coding.
Example: After a user completes a purchase on your website, this node can send a "Purchase" event with relevant details (e.g., value, currency) to your Snapchat Pixel to attribute conversions to your Snapchat ads.
Properties
| Name | Meaning |
|---|---|
| Ad Account ID | The unique identifier of the Snapchat Ad Account under which the pixel event will be sent. Required. |
| Pixel ID | The unique identifier of the Snapchat Pixel to which the event data will be sent. |
| Event Data | JSON object containing the Snapchat Pixel event details, such as event type, timestamp, and any custom parameters. |
Output
The node outputs an array of JSON objects corresponding to each input item processed. For the Create Pixel Event operation, the output JSON contains the response from the Snapchat API confirming the event creation or details about the created event.
The structure typically includes fields returned by Snapchat's API such as event IDs, status messages, or error information if the request failed.
No binary data output is produced by this node.
Dependencies
- Requires valid credentials for the Snapchat Ads API, including an API key or OAuth2 token configured in n8n.
- Also requires credentials for an external validation API ("N8N Tools API") that verifies subscription and API key validity before making Snapchat API calls.
- Network access to
https://adsapi.snapchat.comfor Snapchat API requests. - Proper configuration of the Ad Account and Pixel within Snapchat Ads Manager.
Troubleshooting
- Invalid Subscription or API Key: If the node throws an error indicating invalid subscription or API key, verify that the API credentials are correctly set up and active in n8n credentials.
- Malformed Event Data: Ensure the JSON provided in the Event Data property is well-formed and matches Snapchat's expected schema for pixel events.
- Missing Required Fields: The Ad Account ID and Pixel ID must be provided; missing these will cause errors.
- API Rate Limits or Permissions: Snapchat API may reject requests due to rate limits or insufficient permissions; check your Snapchat Ads account settings.
- Network Issues: Connectivity problems to Snapchat or the validation API endpoint will cause failures; ensure network access is available.