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 and retrieve data related to Snapchat advertising campaigns. Specifically, the "Get Campaign Stats" operation under the "Campaigns" resource fetches statistical performance data for a specified Snapchat campaign within an ad account.
Use cases include:
- Monitoring campaign effectiveness by retrieving up-to-date statistics.
- Automating reporting workflows by pulling campaign metrics into n8n.
- Integrating Snapchat campaign data with other marketing or analytics tools.
For example, a marketing team can use this node to automatically fetch daily campaign stats and feed them into a dashboard or trigger alerts based on performance thresholds.
Properties
| Name | Meaning |
|---|---|
| Ad Account ID | The unique identifier of the Snapchat Ad Account where the campaign resides. |
| Campaign ID | The unique identifier of the Snapchat Campaign for which statistics are requested. |
Output
The node outputs JSON data containing the campaign statistics retrieved from Snapchat's API. This typically includes metrics such as impressions, spend, clicks, conversions, and other relevant performance indicators for the specified campaign.
The output is structured as a JSON object representing the campaign stats. Each execution returns one item per input, paired with the corresponding input index.
No binary data output is produced by this operation.
Dependencies
- Requires valid credentials for accessing the Snapchat Ads API via an API key credential and OAuth2 authentication.
- Needs configuration of these credentials in n8n prior to use.
- Relies on an external validation call to a subscription API to verify the API key and subscription status before making Snapchat API calls.
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.
- Missing Required Parameters: Ensure both "Ad Account ID" and "Campaign ID" are provided; missing these will cause errors.
- API Rate Limits or Network Issues: Temporary failures may occur due to Snapchat API rate limits or connectivity problems. Retrying after some time or checking network settings may help.
- Malformed JSON Input: For operations requiring JSON input (not applicable here), ensure JSON strings are well-formed.