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 reports. Specifically, for the Delete Report operation under the Reports resource, it allows users to delete a specified Snapchat report associated with an ad account.
This node is beneficial in scenarios where automated management of Snapchat advertising data is required, such as cleaning up old or obsolete reports programmatically within a workflow. For example, a marketing automation workflow could periodically delete outdated reports to maintain data hygiene and reduce clutter.
Properties
| Name | Meaning |
|---|---|
| Ad Account ID | The unique identifier of the Snapchat Ad Account to operate on. |
| Report ID | The unique identifier of the Snapchat Report to be deleted. |
Output
The output of the node is a JSON object representing the response from the Snapchat API after attempting to delete the specified report. Typically, this will include confirmation of deletion or error details if the operation failed.
The output structure is:
{
"json": {
// Response data from Snapchat API about the delete operation
},
"pairedItem": {
"item": <index_of_input_item>
}
}
No binary data output is involved in this operation.
Dependencies
- Requires an active connection to the Snapchat Ads API.
- Requires an API key credential configured in n8n for authentication with the Snapchat API.
- Also requires a subscription and valid API key for the external "N8N Tools API" service used for validation before making Snapchat API calls.
- The node uses the base URL
https://adsapi.snapchat.comfor Snapchat API requests.
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 has the necessary permissions.
- Missing Required Parameters: Ensure that both the Ad Account ID and Report ID are provided; otherwise, the API call will fail.
- API Rate Limits or Network Issues: Temporary failures may occur due to rate limits or connectivity problems. Retrying the operation after some time might resolve these issues.
- Error Messages from Snapchat API: Errors returned by the Snapchat API (e.g., report not found) will be included in the output JSON. Review these messages to adjust parameters accordingly.