Skip to content

Unable to pass None to discrepancy_metrics for create_async_report() #19

@KingMikeS

Description

@KingMikeS

discrepancy_metrics_request = ",".join(discrepancy_metrics)

Trying to pass None for discrepancy_metrics argument when using create_async_report() throws an error

discrepancy_metrics_request = ",".join(discrepancy_metrics) TypeError: can only join an iterable

The default value are two Ad Network metrics and would produce "broken rows" when trying to pull reports for combined data with the available dimensions and metrics for combined data as discussed in Singular API docs here

None should be an accepted value and possibly the default. I'm not sure why Ad Network metrics are "Discrepancy Metrics" if you were to use this client for Ad Network data pulls, but that is probably just beyond my understanding.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions