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 advertising campaigns and related entities. Specifically, for the "Campaigns" resource with the "Get Campaigns" operation, it retrieves a list of advertising campaigns associated with a specified Snapchat Ad Account ID.
This node is beneficial in marketing automation workflows where users want to programmatically access their Snapchat campaign data for reporting, analysis, or further processing within n8n. For example, a user might use this node to fetch all campaigns from a Snapchat ad account and then filter or aggregate campaign performance metrics downstream.
Properties
| Name | Meaning |
|---|---|
| Ad Account ID | The unique identifier of the Snapchat Ad Account from which to retrieve campaigns. This is required to specify the scope of the request. |
Output
The node outputs an array of JSON objects representing Snapchat campaigns retrieved from the specified Ad Account. Each item in the output corresponds to one campaign's data as returned by the Snapchat API. The exact structure depends on the Snapchat API response but typically includes fields such as campaign ID, name, status, budget, and other campaign metadata.
No binary data output is produced by this operation.
Dependencies
- Requires an active subscription and valid API key for the external "N8N Tools API" service used for validation.
- Requires OAuth2 credentials configured for Snapchat API access.
- The node makes HTTP requests to the Snapchat Ads API endpoint at
https://adsapi.snapchat.com. - Proper configuration of these credentials and API keys in n8n is necessary for successful execution.
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 active.
- Authentication Failures: Ensure that the Snapchat OAuth2 credentials are valid and have the necessary permissions to access campaign data.
- Missing or Incorrect Ad Account ID: The Ad Account ID is required; if omitted or incorrect, the API call will fail or return no data.
- API Rate Limits or Network Issues: Temporary failures may occur due to rate limiting or connectivity problems; retrying after some time may resolve these.
- Error Messages: Errors from the Snapchat API or the validation service are propagated with descriptive messages. Review these messages to identify issues such as permission errors or malformed requests.