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 information about advertising campaigns. Specifically, the "Get Campaign" operation fetches detailed data for a single Snapchat campaign identified by its Campaign ID within a specified Ad Account.
Use cases include:
- Retrieving campaign details to monitor or audit active marketing efforts.
- Integrating Snapchat campaign data into broader marketing dashboards or workflows.
- Automating reporting processes by fetching campaign metadata programmatically.
For example, a marketing team could use this node to pull campaign configurations and performance metrics regularly, enabling automated updates in their internal analytics systems.
Properties
| Name | Meaning |
|---|---|
| Ad Account ID | The unique identifier of the Snapchat Ad Account under which the campaign exists. This is required to scope the API request correctly. |
| Campaign ID | The unique identifier of the specific Snapchat Campaign to retrieve. This identifies which campaign's details will be fetched. |
Output
The node outputs JSON data representing the full details of the requested Snapchat campaign. This typically includes fields such as campaign name, status, budget, targeting criteria, start and end dates, and other metadata defined by Snapchat's campaign object schema.
If multiple input items are processed, the output is an array where each element corresponds to the campaign data retrieved for each input item.
No binary data is output by this operation.
Dependencies
- Requires valid credentials for accessing the Snapchat Ads API, including an API key credential and OAuth2 authentication configured in n8n.
- Also requires a subscription or valid access to the "N8N Tools API" service, which validates the API key before making Snapchat API calls.
- Network connectivity to
https://adsapi.snapchat.comis necessary.
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 correct and active. Check your subscription status with the N8N Tools API provider.
- Missing Required Parameters: Ensure both "Ad Account ID" and "Campaign ID" are provided and correctly formatted; missing or incorrect IDs will cause API errors.
- API Rate Limits or Connectivity Issues: Network problems or Snapchat API rate limits may cause failures. Retry after some time or check network/firewall settings.
- JSON Parsing Errors: When providing JSON inputs (not applicable for Get Campaign but relevant for other operations), ensure the JSON is well-formed.
Links and References
- Snapchat Marketing API Documentation
- N8N Official Documentation
- N8N Tools API Service - General Info (for subscription and API key management)