Hi, I’m trying to get the stats for spend for “Twitter Publisher Network” spend. The campaign itself is labeled a “Off-network app install” campaign. The problem is that I’m getting 0 spend, 0 impressions, for all the classic traditional metrics. billed_charge_local_micro. What I’m doing is first.
- I get the campaign name for the “Twitter Publisher Network” and “Off-network app install” campaign
- I get the campaign stats for the campaign name https://dev.twitter.com/ads/reference/get/stats/accounts/%3Aaccount_id/campaigns
- Then I get the line items for the campaign.
- I get the stats for the line item
- I get the promoted tweets for the line item
What am I doing wrong?
- Should I be using the card api? It seems that billed_charge_local_micro is deprecated for the cards api
- Should I be using the Mopub api?
Here’s the raw data that I’m getting back with key information Xed out:
{“next_cursor”:null,“data_type”:“line_item”,“request”:{“params”:{“account_id”:“xxx”,“campaign_ids”:[“yyyy”],“with_deleted”:true}},“data”:[{“include_sentiment”:“POSITIVE_ONLY”,“bid_amount_local_micro”:1420000,“objective”:“APP_INSTALLS”,“advertiser_domain”:“xxxx”,“account_id”:“xxxx”,“paused”:false,“optimization”:“DEFAULT”,“automatically_select_bid”:false,“primary_web_event_tag”:null,“placement_type”:“MEDIA_CREATIVES_FOR_TPN”,“deleted”:false,“campaign_id”:“27ha1”,“currency”:“USD”,“id”:“xxxx”,“updated_at”:“2015-03-17T16:00:39Z”,“created_at”:“2015-03-16T15:52:44Z”,“categories”:[“IAB2-18”,“IAB20-6”]}],“total_count”:1}
Campaign stats has everything as 0. Please help. I get the sense that I’m missing something fundamental.
Thanks,