AdMan icon

AdMan

Interatua com AdMan.io

Relatorios → Relatorio Margens

AI-generated

Summary

Retrieve margin reports from AdMan for specified accounts within a date range and marketplace.

Inputs

  • Marketplace (required) — The marketplace identifier of the account, e.g., 'meli'.
  • Account Id (required) — JSON array of account IDs to fetch margin reports for.
  • Start Date (required) — Start date of the reporting period in YYYY-MM-DD format.
  • End Date (required) — End date of the reporting period in YYYY-MM-DD format.
  • Request Options — Advanced request settings such as batching behavior, SSL certificate validation, proxy configuration, and timeout duration.

Output shape

a JSON response containing margin report data for the specified accounts and date range.

Supports batching of input account IDs to handle multiple requests efficiently. The response structure depends on the AdMan API's margin report format. Errors may be returned if required parameters are missing or the API call fails.

Examples

Example 1: Retrieve margin report for accounts ['123','456'] in marketplace 'meli' from 2025-12-01 to 2025-12-31.

Set Marketplace to 'meli', Account Id to ['123','456'], Start Date to '2025-12-01', and End Date to '2025-12-31'.

Discussion