WbPromotion icon

WbPromotion

n8n node to interact with WB API

Overview

This node interacts with a specific API related to campaign parameters, particularly focusing on retrieving and modifying advanced search settings for campaigns. The "Get Adv Search Set Plus" operation allows users to fetch or update the active state of a campaign's advanced search set by specifying the campaign ID and whether the setting should be fixed (active) or not.

Common scenarios include:

  • Managing campaign states programmatically within an automation workflow.
  • Activating or deactivating advanced search parameters for targeted campaigns.
  • Integrating campaign management into larger marketing or analytics pipelines.

For example, a user might automate the activation of certain campaign parameters based on external triggers or data changes, ensuring campaigns are always aligned with current marketing strategies.

Properties

Name Meaning
Id The unique numeric identifier of the campaign to retrieve or modify.
Fixed Boolean flag indicating the new state: true to activate the campaign parameters, false to deactivate them.

Output

The node outputs JSON data representing the response from the API regarding the specified campaign's advanced search settings. This typically includes details about the campaign's current configuration and confirmation of any changes made to its active state.

If binary data were involved, it would represent associated files or media linked to the campaign parameters, but this node focuses on JSON responses only.

Dependencies

  • Requires an API key credential for authentication with the external service managing campaign parameters.
  • The node depends on a base URL configured from an imported Swagger/OpenAPI specification.
  • No additional external services beyond the authenticated API are required.

Troubleshooting

  • Missing or invalid campaign ID: Ensure the "Id" property is provided and corresponds to an existing campaign; otherwise, the API may return errors or empty results.
  • Authentication failures: Verify that the API key credential is correctly configured and has sufficient permissions.
  • Invalid "Fixed" value: The boolean must be properly set; incorrect types may cause request failures.
  • Network issues: Check connectivity to the API endpoint and confirm the base URL is correct.

Common error messages might include:

  • Unauthorized access due to missing or invalid credentials.
  • Not found errors if the campaign ID does not exist.
  • Validation errors if input parameters do not meet API requirements.

Resolving these usually involves verifying input values, credentials, and network configurations.

Links and References

Discussion