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 Creatives. Specifically, the Delete Creative operation allows users to remove a specified creative asset from their Snapchat Ad Account.
Use cases for this node include automating the management of Snapchat ad creatives within marketing workflows, such as cleaning up unused or outdated creatives programmatically, or integrating creative deletion into larger campaign lifecycle automations.
For example, after a campaign ends, you might want to delete all associated creatives automatically to keep your account organized and avoid clutter.
Properties
| Name | Meaning |
|---|---|
| Ad Account ID | The unique identifier of the Snapchat Ad Account where the creative exists. This is required to specify the context for the operation. |
| Creative ID | The unique identifier of the Snapchat Creative to be deleted. |
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. Typically, this will confirm successful deletion or provide error details if the operation failed.
The structure generally includes status information and any relevant messages returned by the API. No binary data is involved in this operation.
Example output JSON (conceptual):
{
"status": "success",
"message": "Creative deleted successfully"
}
or on failure:
{
"status": "error",
"message": "Creative not found or already deleted"
}
Dependencies
- Requires an active subscription and valid API key for the external service referred to as "N8N Tools API" which acts as a validation layer before calling Snapchat API.
- Requires OAuth2 credentials configured for accessing the Snapchat Ads API.
- The node uses the base URL
https://adsapi.snapchat.comfor Snapchat API requests. - Proper permissions on the Snapchat Ad Account to delete creatives 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 external validation service is correct and active.
- Permission Denied: Deleting a creative requires appropriate permissions on the Snapchat Ad Account. Ensure the OAuth2 credentials have sufficient rights.
- Creative Not Found: If the specified Creative ID does not exist or has already been deleted, the API will return an error. Double-check the Creative ID input.
- Network or API Errors: General HTTP errors may occur due to network issues or Snapchat API downtime. Retrying later or checking network connectivity can help.
- JSON Parsing Errors: Although not typical for delete operations, ensure that any JSON inputs (if applicable) are correctly formatted.