Rtbhouse-sdk

Latest version: v14.1.0

Safety actively analyzes 706267 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 4

7.0.0

Remove `get_dpa_creatives` function

6.0.2

Update usage example in README.rst

6.0.1

Restored support for python 2.7

6.0.0

This version adapts to latest api v5 changes.
See API docs: https://panel.rtbhouse.com/api/docs for details.

For now, three methods - `get_rtb_stats` (for RTB only), `get_dpa_stats` (for DPA only) and `get_summary_stats` (for RTB + DPA) shares similar parameters and output:

get_(rtb|dpa|summary)_stats(
adv_hash, Advertiser hash. No changes.
day_from, Date range start (inclusive). No changes for RTB. For DPA this parameter is now obligatory (was not in the past).
day_to, Date range end (inclusive). No changes for RTB. For DPA this parameter is now obligatory (was not in the past).
group_by, Iterable (eg. list, set) of grouping columns. Refer to api docs for list of possible values. No changes for RTB. For DPA this now accepts list instead of single value.
metrics, Iterable (eg. list, set) of value columns. Refer to api docs for list of possible values. This parameter was newly added.
count_convention, (Optional) Conversions counting convention. Changes: Defaults to None; This parameter must only be set if at least one conversions related metric is selected.
subcampaigns, (Optional) Subcampaigns filter. No changes.
user_segments, (Optional, RTB only) User segments filter. No changes.
device_types, (Optional, RTB only) Device types filter. No changes.
placement, (Optional, DPA only). Placement filter. No changes.
) -> [{
"grouping field 1 name": "grouping field 1 value 1", No changes
"grouping field N name": "grouping field N value 1", No changes
"grouping field X details": "grouping field X details values", No changes
"metric 1 name": "metric field 1 value", Changes: now only metrics requested by `metrics` parameter are returned
}]


`get_dpa_campaign_stats` was removed, use `get_dpa_stats` instead.

`include_dpa` in `get_rtb_stats` is no longer supported, use `get_summary_stats` instead.

A few new metrics were added, refer to docs (as above) for details.

A few metrics changed their names. `ecc` was renamed to `ecpa`, `cpc` was renamed to `ecpc`.

`count_convention` parameter is now not needed if no conversions related metrics are requested.

5.0.0

This version adapts to latest api v4 changes.

`get_rtb_creatives` now provides faster results with different output:
Refer to `https://panel.rtbhouse.com/api/docs` - `GET /advertisers/{hash}/rtb-creatives` for details

4.1.0

Add python 2.7 support

Page 3 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.