Actions28
- Кампании Actions
- Создание Кампаний Actions
- Управление Кампаниями Actions
- Финансы Actions
- Параметры Кампаний Actions
- Медиа Actions
- Календарь Акций Actions
Overview
This node interacts with a campaign management API to update product cards within a specific campaign. It allows users to add or delete product cards associated with a campaign by specifying the campaign ID and lists of product cards to add or remove. This is useful for automating campaign adjustments, such as dynamically managing product promotions or inventory changes in advertising campaigns.
Practical examples:
- Automatically adding new products to an ongoing campaign.
- Removing discontinued or out-of-stock products from a campaign.
- Periodically syncing campaign product cards with an external inventory system.
Properties
| Name | Meaning |
|---|---|
| Id | The unique identifier of the campaign to update. |
| Add | JSON array of product cards to add to the campaign. |
| Delete | JSON array of product cards to remove from the campaign. |
Output
The node outputs JSON data representing the response from the campaign update API. This typically includes confirmation of the updated campaign state or details about the added/deleted product cards. There is no indication that binary data is output.
Dependencies
- Requires access to the campaign management API endpoint.
- Needs an API key or authentication token configured in n8n credentials to authorize requests.
- The base URL and request headers are set according to the bundled OpenAPI specification.
Troubleshooting
- Invalid Campaign ID: If the provided campaign ID does not exist, the API may return an error. Verify the campaign ID before running the node.
- Malformed JSON in Add/Delete fields: Since these fields expect JSON arrays, ensure the input is valid JSON. Parsing errors will cause the node to fail.
- Authentication Errors: Missing or invalid API credentials will prevent successful requests. Confirm that the API key or token is correctly configured.
- Empty Add/Delete Arrays: Sending empty arrays might result in no changes; verify if this is intended.
Links and References
- Refer to the campaign management API documentation for detailed information on the structure of product cards and campaign parameters.
- n8n documentation on using JSON input fields and API credential setup.