I am trying to determine how to definitively determine that a single Promoted Tweet is currently active (aka being shown and distributed) at a given moment. I want to determine this in order to know whether or not I should make an API call to get updated metrics from the stats endpoint.
There doesn’t seem to be a live
field that is returned from any endpoints that shows this. Is the following logic sound?
If a Promoted Tweet:
a) is not deleted
b) if its line item is not deleted
c) if its line item is not paused
d) if the campaign start date is after the current time
e) if the campaign end date is before the current time
f) if its campaign is not paused
g) if its campaign is not deleted
then it is live. otherwise, it is not currently live.
Is this logic sound? Am I missing anything?
Thank you!