WbPromotion icon

WbPromotion

n8n node to interact with WB API

Overview

This node interacts with a campaign management API to update the negative search phrases (minus-phrases) for a specific advertising campaign. It is useful in scenarios where you want to refine or restrict the search terms that trigger your ads, thereby improving targeting and reducing irrelevant traffic.

For example, if you have an advertising campaign and want to exclude certain keywords or phrases from triggering your ads, you can use this node to post a set of negative phrases to the campaign parameters.

Properties

Name Meaning
Id The unique numeric identifier of the campaign to update.
Phrase A JSON array of negative phrases (up to 1000 items) to be set for the campaign.

Output

The node outputs JSON data reflecting the response from the API after setting the negative phrases for the specified campaign. This typically includes confirmation of the update or details about the updated campaign parameters.

No binary data output is involved.

Dependencies

  • Requires an API key credential for authentication with the campaign management API.
  • The node uses a base URL defined in an imported Swagger/OpenAPI specification.
  • The node expects the phrases property to be provided as a JSON string which it parses before sending.

Troubleshooting

  • Invalid Campaign ID: If the provided campaign ID does not exist or is incorrect, the API may return an error. Verify the campaign ID is correct.
  • Malformed JSON in Phrases: The "Phrase" input must be valid JSON representing an array. Invalid JSON will cause parsing errors.
  • Exceeding Phrase Limit: The API limits the number of negative phrases to 1000. Sending more may result in rejection.
  • Authentication Errors: Ensure the API key credential is correctly configured and has sufficient permissions.
  • Network Issues: Connectivity problems can cause request failures; verify network access to the API endpoint.

Links and References

  • No direct external links are present in the source code.
  • Refer to the official documentation of the campaign management API for detailed information on negative phrase settings and limits.

Discussion