Hi @juanshishido, thanks for you reply!
However, it doesn’t fully answeres my problem.
I’ve checked the issue thoroughly, and found that calling
GET accounts/:account_id/line_items
returns
"placements": [
“PUBLISHER_NETWORK”
]
only if the line item’s placements are all of (as seen in the Excel report downloaded through https://ads.twitter.com/accounts/:account_id/power_tools/editor):
TAP_FULL;
TAP_FULL_LANDSCAPE;
TAP_BANNER;
TAP_NATIVE;
which, when all 4 TAP_… combined together, results in the placement: AUDIENCE_PLATFORM;
In other words, line items that have only some of the 4 TAP_… placements:
-
will not return
"placements": [
“PUBLISHER_NETWORK”
]
upon calling GET accounts/:account_id/line_items
-
will have relevant stats (not all nulls) when calling
GET /1/stats/accounts/:account_id?placement=PUBLISHER_NETWORK&:[all other required parameters]
Is there a way of knowing which line items have PUBLISHER_NETWORK stats without calling GET /1/stats/accounts/:account_id twice for each one?
Thanks,
Alon