Discrepancy between api and dashboard


#1

Hi, We use this API to pull stats and we realized there is a bit discrepancy between API number and dashboard number.

https://dev.twitter.com/ads/reference/post/stats/jobs/accounts/account_id

For example,

  • specific date
  • specific campaign
  • click number
    Dashboard: 216
    API(app_clicks): 243

What would be the possible cause for the discrepancy??


#2

(moved to the Ads API category)


#3

@Makoto875176881 - Can you please give me the full request you are running through the API using twurl? Additionally can you give me the information (specs) needed to recreate the numbers you got back in the UI. This will help me recreate on my end in order to debug! Thanks


#4

@goforbrent
Thank you for the reply. Actually this seems to be because of timezone different. For example,
if timezone setting for the ad account is UTC + 3, does this look like the correct request url in order to pull the same number as what I see on the dashboard for 7/28?

  • request url:

POST https://ads-api.twitter.com/2/stats/jobs/accounts/18ce54d4x5t?entity=CAMPAIGN&entity_ids=8u94t&start_time=2017-07-27T21:00:00Z&end_time=2017-07-28T21:00:00Z&granularity=TOTAL&placement=ALL_ON_TWITTER&metric_groups=MOBILE_CONVERSION


#5

@Makoto875176881 - you are correct, the API is in UTC and the Ads UI is in local time of the account.