Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Iterate over in-app-events by using a shorter query window #7

Merged
merged 2 commits into from
Jul 12, 2018

Conversation

KAllan357
Copy link
Contributor

The side effect here is that certain "raw" reports can only be called 10 (or more depending on account tier) times per day.

https://support.appsflyer.com/hc/en-us/articles/207034366-API-Policy

We've now had at least one case where a query for a month's data doesn't return for more than 5 hours.

Copy link
Contributor

@dmosorast dmosorast left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one comment re: how often we want this to go through. It's not super great with the strict API limit, but I guess if they won't give us the data in time, then that's what we have to work with.


# Move the timings forward
from_datetime = to_datetime
to_datetime = get_stop(from_datetime, stop_time)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be passing 10 as well? Or do we just want to do two rounds through the timespan?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was just going to keep the default 30 here as it wasn't causing an issue.

@KAllan357 KAllan357 merged commit e2ebeb7 into master Jul 12, 2018
@KAllan357 KAllan357 deleted the iterate-over-in-app-events branch July 12, 2018 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants