Just parking your questions on the use case for a moment, I think the real issue here is confusion on the difference between a “draft item”, and an “item which is under a draft campaign”.
You’ve pointed out that “draft_only” has been dropped for promoted tweets and promoted accounts because there is no such thing as a “draft promoted tweet” or a “draft promoted account”. From this, we infer that there does exist such a thing as a “draft line item”, and this appears to match up with the documentation.
However the documentation for the line items call says the following for the “draft_only” flag:
Scope the response to just line items under draft campaigns.
I.e. It does not say “Scope the response to just draft line items.” From this I would conclude that either:
- Draft line items are synonymous with line items under draft campaigns (i.e. a draft line item cannot exist under an active campaign).
- Setting draft_only=true will not retrieve draft line items under active campaigns.
If (1) is true, this goes against what we’ve said above – the assumption is that line items can have a status of draft independently of the parent campaign. It would also raise the question of why draft_only would be retained for line items but not for promoted tweets, as they would behave the same in the context of draft campaigns.
If (2) is true, this would seem very misleading that you can set the flag to true but not receive all draft line items.
If you are able to clarify this, it would be much appreciated.
Returning to your questions, our use case is that we want to retrieve and report on all management and analytics data at campaign, line item and promoted tweet level. We are imagining that this data would be consistent, e.g. if we retrieve a promoted tweet, we’d expect its parent entities to also be retrieved in the corresponding calls. For the example we gave, we have retrieved non-zero analytics data for that promoted tweet despite it being under a draft line item. We would not expect to be obtaining analytics data for draft items, but given the above point on how draft items work, we may have misunderstood this.