I have a campaign that has one line item, and 21 promoted tweets that are associated with the line item.

When i get the data for these 21 promoted tweets, and calculate the clicks, engagements and conversion_sign_ups, I see that it is matching with the data that is returned by campaign level only for clicks and engagements, but conversion_sign_ups, there is a huge data mismatch.

Is this expected? What am I missing here?
How can I attribute conversions correctly to the right promoted tweets, and add them up to match at the campaign level?

Statistics differences between the API and UI are usually caused by a few different things:

  1. Your application will need to make requests for both placements, ALL_ON_TWITTER and PUBLISHER_NETWORK , separately and sum up the results to match the UI,
  2. date ranges in the UI are inclusive while the end_time is exclusive in the API, and
  3. the API will default to midnight in the accounts local timezone, if not specified

If these aren’t causing the discrepancy, please provide the Account ID, Entity IDs, and any campaign information in the UI that isn’t matching.

We also recommend using the Active Entities API to identify which ads entities to fetch over a given timeframe. This can help your platform identify all entities and appropriate timeframes.

Hi,

I made sure that I have checked the data for only one placement - ALL_ON_TWITTER
I made sure of the date ranges as well and the time zones

Here is the URL that I am using for campaign (asynchronous)

https://ads-api.twitter.com/10/stats/jobs/accounts/18ce55gurdo?entity=CAMPAIGN&entity_ids=hbono&start_time=2022-04-01&end_time=2022-04-11&granularity=TOTAL&placement=ALL_ON_TWITTER&metric_groups=BILLING,ENGAGEMENT,LIFE_TIME_VALUE_MOBILE_CONVERSION,MEDIA,MOBILE_CONVERSION,VIDEO,WEB_CONVERSION

I get the following
clicks - 997
engagements - 1144
conversion_sign_ups - 192

Now, I have found out that through the API, this campaign has 1 line item, which in turn has 21 promoted tweets
the tweet Ids are as follows
[“8wt5w3”, “8uq469”, “8uq46a”, “8uq46c”, “8uq46d”, “8uq46e”, “8uq46f”, “8uq46g”, “8uq46h”, “8uq46i”, “8uq46j”, “8uq46k”, “8uohus”, “8uohut”, “8z00dd”, “8z00de”, “8z009w”, “8z009x”, “8xnfve”, “8xnfvf”, “8uq46b”]

If I make calls as follows for 21 tweeet ids, but replacing the entity id each time from the above tweets,

https://ads-api.twitter.com/10/stats/jobs/accounts/18ce55gurdo?entity=PROMOTED_TWEET&entity_ids=8wt5w3&start_time=2022-04-01&end_time=2022-04-11&granularity=TOTAL&placement=ALL_ON_TWITTER&metric_groups=BILLING,ENGAGEMENT,LIFE_TIME_VALUE_MOBILE_CONVERSION,MEDIA,MOBILE_CONVERSION,VIDEO,WEB_CONVERSION

Note that the placement, start date and end date are all the same across the urls for campaign and promoted tweet end points

If I get the data from the above 21 urls, I see that the clicks add up to 997, engagements add up to 1144.
But when I add conversion_sign_ups it is only 53 and not 192

Hi,

Any update on this query?