API results different from Twitter Ads Panel

api

#1

We are having troubles here to make the results delivered by the API to match the ones shown on the Ads Panel. We’ve tried all kinds of things and it definitely looks like a bug from the API (or the panel) side. The differences are too big.

Calling the API, using Twurl, from 2016-08-05 to 2016-08-10, a span of 5 days:

twurl -H ads-api.twitter.com "/1/stats/accounts/18ce53z684q?start_time=2016-08-05T00:00:00-0300&end_time=2016-08-10T00:00:00-0300&entity=CAMPAIGN&entity_ids=5nfy6&granularity=TOTAL&metric_groups=ENGAGEMENT&placement=ALL_ON_TWITTER"| python -m json.tool

Gives me:
“clicks”: [ 1062 ],
“impressions”: [ 387875 ]

While the panel, from just one day, 2016-08-06,
https://ads.twitter.com/accounts/18ce53z684q/campaigns_dashboard?endString=2016-08-06T23%3A59%3A59.999&fi=37093792&startString=2016-08-06T00%3A00%3A00.000&summary_metric=impressions&log_ec=false&show_bulk_export_button=true
Gives me:
“clicks”: [ 1411 ],
“impressions”: [ 394224 ]

As seen on the screenshot as well:
https://www.dropbox.com/s/bi5hxfd14folouy/panelTwitterBug.png?dl=0


#2

Hi @controledash

I think, in this case, this is not a bug in twitter side.

If you take a look carefully to you’r screenshot it looks like youre getting stats for ALL CHANELS, take a look at:

But you’re getting results in the API for Twitter see: “&placement=ALL_ON_TWITTER”

You need to:

mix values from placement ALL_ON_TWITTER and PUBLISHER_NETWORK, or filter in the dashboard correctly, to get the same results.

Thanks


#3

Tks a lot @hector_borras
this solved our issue, but wouldnt it be nice if we could get all results with just one call ?

Any plans to support placement=ALL_CHANNELS any time soon?


#4

Well,

In our case we don’t create campaign for both placements, so this isn’t a problem for us.

I don’t really know if they have something in mind to implement

Thanks!