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 such as ads, campaigns, creatives, audiences, pixels, webhooks, and reports. Specifically, for the Delete Creative operation under the Creatives resource, it allows users to delete a specified creative asset from their Snapchat Ad Account.
Common scenarios where this node is beneficial include automating the management of Snapchat ad assets within marketing workflows, cleaning up unused creatives, or integrating Snapchat ad management into larger automation pipelines.
For example, a user might automate the deletion of outdated or underperforming creatives after analyzing campaign performance, ensuring that only relevant creatives remain active in their account.
Properties
| Name | Meaning |
|---|---|
| Ad Account ID | The unique identifier of the Snapchat Ad Account where the creative exists. Required to specify the context for the operation. |
| Creative ID | The unique identifier of the Snapchat Creative to be deleted. Specifies which creative asset to remove. |
Output
The output of the Delete Creative operation is a JSON object representing the response from the Snapchat API after attempting to delete the specified creative. This typically includes confirmation of deletion or error details if the operation failed.
The node outputs an array of items, each containing a json field with the API response related to the deletion request. There is no binary data output for this operation.
Example output structure:
{
"json": {
"status": "success",
"message": "Creative deleted successfully"
},
"pairedItem": {
"item": 0
}
}
If an error occurs and the node is set to continue on failure, the output will contain an error message instead:
{
"json": {
"error": "Creative not found or already deleted"
},
"pairedItem": {
"item": 0
}
}
Dependencies
- Requires valid credentials for accessing the Snapchat Ads API, including an API key credential.
- Requires configuration of an external API validation service (referred to generically as "N8N Tools API") to verify subscription and API key validity before executing operations.
- The node depends on the bundled Snapchat API client library (
SnapchatApi) for making requests to Snapchat endpoints.
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 configured and active.
- Creative Not Found: Errors may occur if the specified Creative ID does not exist or has already been deleted. Double-check the Creative ID input.
- Permission Issues: Ensure the API key has sufficient permissions to delete creatives in the specified Ad Account.
- Network or API Errors: Transient network issues or Snapchat API downtime can cause failures. Retry the operation or check Snapchat's status page.
- JSON Parsing Errors: For other operations involving JSON input, ensure the JSON is well-formed. Although not applicable directly to delete operation, malformed JSON in other operations can cause errors.