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 various advertising resources, including audiences. Specifically, for the Delete Audience operation under the Audiences resource, it allows users to delete a specified Snapchat audience from their ad account.
Typical use cases include:
- Cleaning up or removing outdated or unused custom audiences in Snapchat Ads.
- Automating audience lifecycle management as part of campaign optimization workflows.
- Integrating audience deletion into broader marketing automation pipelines.
For example, a marketer might use this node to automatically delete an audience after a campaign ends or when the audience is no longer relevant.
Properties
| Name | Meaning |
|---|---|
| Ad Account ID | The unique identifier of the Snapchat Ad Account where the audience exists. This is required to specify the context for the audience deletion. |
| Audience ID | The unique identifier of the Snapchat Audience to be deleted. |
Output
The node outputs JSON data representing the response from the Snapchat API after attempting to delete the audience. Typically, this will confirm whether the deletion was successful or provide error details if it failed.
The output structure is:
{
"json": {
// Response object from Snapchat API about the deletion result
},
"pairedItem": {
"item": <index_of_input_item>
}
}
No binary data output is involved in this operation.
Dependencies
- Requires valid credentials for accessing the Snapchat Ads API, specifically an API key credential configured in n8n.
- Also requires a subscription and valid API key for the intermediary validation service ("N8N Tools API") which validates the API key before making Snapchat API calls.
- The node uses the base URL
https://adsapi.snapchat.comfor Snapchat API requests. - Proper configuration of these credentials and permissions is necessary for successful execution.
Troubleshooting
- Invalid Subscription or API Key: If the node throws an error indicating invalid subscription or API key, verify that the API key credential is correctly set up and active.
- Audience Not Found: If the specified Audience ID does not exist or is incorrect, the Snapchat API will return an error. Double-check the Audience ID value.
- Permission Issues: Ensure the API key has sufficient permissions to delete audiences in the specified Ad Account.
- Network or API Errors: Temporary network issues or Snapchat API downtime can cause failures. Retrying later or checking Snapchat's status page may help.
- Malformed Input Data: Make sure the Ad Account ID and Audience ID are provided and correctly formatted strings.
Links and References
- Snapchat Marketing API Documentation
- Snapchat Audiences API Reference
- n8n Documentation on Credentials
- n8n Community Forum for troubleshooting and tips