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 manage Snapchat Pixels, specifically supporting operations such as creating, retrieving, updating, deleting pixels, and managing pixel events. The "Delete Pixel" operation allows users to remove a specific Snapchat Pixel from their ad account.
Common scenarios for using this node include automating the management of tracking pixels in Snapchat advertising campaigns, cleaning up unused or obsolete pixels, and integrating pixel lifecycle management into broader marketing workflows.
For example, a marketing automation workflow might delete pixels that are no longer needed after a campaign ends, ensuring the ad account stays organized and only active pixels remain.
Properties
| Name | Meaning |
|---|---|
| Ad Account ID | The unique identifier of the Snapchat Ad Account where the pixel exists. Required for all pixel operations. |
| Pixel ID | The unique identifier of the Snapchat Pixel to be deleted. |
Output
The output is a JSON object representing the response from the Snapchat API after attempting to delete the specified pixel. Typically, this will confirm successful deletion or provide error details if the operation failed.
If an error occurs and the node is configured to continue on failure, the output JSON will contain an error field with the error message.
No binary data output is involved in this operation.
Dependencies
- Requires an API key credential for authenticating with a proxy service ("N8N Tools API") that validates subscription and API key before forwarding requests to the Snapchat Ads API.
- Requires OAuth2 credentials or API authentication configured for accessing the Snapchat Ads API.
- The node uses the base URL
https://adsapi.snapchat.comfor Snapchat API calls. - Proper permissions on the Snapchat Ad Account to delete pixels are necessary.
Troubleshooting
- Invalid Subscription or API Key: If the node throws an error about invalid subscription or API key, verify that the API key credential used for the proxy validation is correct and active.
- Missing or Incorrect IDs: Ensure that both the Ad Account ID and Pixel ID are correctly provided; missing or wrong IDs will cause the API call to fail.
- Permission Errors: Deleting a pixel requires appropriate permissions on the Snapchat Ad Account. Lack of permissions may result in authorization errors.
- Network or API Errors: Temporary network issues or Snapchat API downtime can cause failures. Retrying later or checking Snapchat status pages may help.
- Continue On Fail Behavior: If enabled, errors per item will be returned in the output JSON under an
errorproperty instead of stopping execution.