Keitaro icon

Keitaro

Работа с API Keitaro

Overview

This node interacts with the Keitaro API to perform various operations on different resources such as campaigns, streams, landings, offers, traffic, users, and more. Specifically, for the resource "Оффер" (Offer) and operation "Удалить" (Delete), the node deletes an offer by its ID. This is useful for managing offers in Keitaro, allowing users to programmatically remove offers from their campaigns or tracking setup.

Use Case Examples

  1. Deleting an offer by specifying its ID to clean up outdated or irrelevant offers.
  2. Automating the removal of offers as part of a campaign management workflow.

Properties

Name Meaning
ID Оффера The unique identifier of the offer to be deleted. This property is required for the delete operation on the offer resource.

Output

JSON

  • request
    • url - The URL of the API request made to Keitaro.
    • method - The HTTP method used for the API request.
    • headers - Headers sent with the API request, with sensitive data like API keys masked.
  • resource - The resource type involved in the operation, e.g., 'offer'.
  • operation - The operation performed, e.g., 'delete'.
  • success - Indicates if the delete operation was successful.
  • data - The data returned from the API after the delete operation, typically confirmation of deletion or related info.

Dependencies

  • Keitaro API with domain and API key credentials

Troubleshooting

  • Ensure the 'ID Оффера' (offerId) is provided and valid for the delete operation; missing or invalid IDs will cause errors.
  • Verify that the API key and domain credentials for Keitaro are correctly set up; missing credentials will prevent API access.
  • Check for API error messages indicating issues such as unauthorized access, invalid resource ID, or network problems.
  • If the API response status code is not in the 2xx range, the node throws an error with the status code and message; review these details to diagnose issues.

Links

  • Keitaro API Documentation - Official documentation for the Keitaro API, useful for understanding available endpoints and operations.

Discussion