Smaller value of "mobile_conversion_installs" from API than twitter panel


#1

I have tried to get the “mobile_conversion_installs” value from API. Based on the ticket Mobile app installs in V1.0, I added up assisted, post_engagement and post_view to get the total. But the total value returned is much smaller than what shown on Twitter’s panel.
We have enabled Appsflyer as the MACT.

Here is how I called the API:
for each line_item from the account do this:
metric_groups = [:BILLING,:MOBILE_CONVERSION,:ENGAGEMENT]
opts = {:granularity=>:day, :start_time=>“2016-08-17 00:00:00 UTC”, :end_time=>“2016-08-18 00:00:00 UTC”}
line_item.stats(metric_groups,opts)

Did I do anthing wrong here?


#2

Hi!

Could you share with us an screenshot of that results in Ads UI and also the RAW request and response in json format (returned from TWURL). It will be easier for us!

Thanks! :smiley:


#3

Hi,
Here is the screen shot from the Ads UI .

And Here is the response from TWURL (I only query the campaigns which billed_charge_local_micro is not null in the defined period):
twurl -H “https://ads-api.twitter.com” “/1/stats/accounts/18ce53z6p9c?entity_ids=5qtxx,5qw51,5qwid,5qwja,5qwk7&entity=CAMPAIGN&metric_groups=MOBILE_CONVERSION&granularity=DAY&start_time=2016-08-17T21:00:00Z&end_time=2016-08-18T21:00:00Z&placement=ALL_ON_TWITTER”

{“data_type”:“stats”,“time_series_length”:1,“data”:[{“id”:“5qwid”,“id_data”:[{“segment”:null,“metrics”:{“mobile_conversion_spent_credits”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_installs”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:[1],“sale_amount”:null},“mobile_conversion_content_views”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_add_to_wishlists”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_checkouts_initiated”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_reservations”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_tutorials_completed”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_achievements_unlocked”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_searches”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_site_visits”:{“order_quantity”:null,“post_view”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_key_page_views”:{“post_engagement”:null,“post_view”:null},“mobile_conversion_add_to_carts”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_payment_info_additions”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_re_engages”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_shares”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_sign_ups”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_purchases”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_rates”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_logins”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_updates”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_levels_achieved”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_downloads”:{“post_view”:null,“post_engagement”:null,“order_quantity”:null,“sale_amount”:null},“mobile_conversion_invites”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null}}}]},{“id”:“5qtxx”,“id_data”:[{“segment”:null,“metrics”:{“mobile_conversion_spent_credits”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_installs”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:[1],“sale_amount”:null},“mobile_conversion_content_views”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_add_to_wishlists”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_checkouts_initiated”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_reservations”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_tutorials_completed”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_achievements_unlocked”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_searches”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_site_visits”:{“order_quantity”:null,“post_view”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_key_page_views”:{“post_engagement”:null,“post_view”:null},“mobile_conversion_add_to_carts”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_payment_info_additions”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_re_engages”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_shares”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_sign_ups”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_purchases”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_rates”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_logins”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_updates”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_levels_achieved”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_downloads”:{“post_view”:null,“post_engagement”:null,“order_quantity”:null,“sale_amount”:null},“mobile_conversion_invites”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null}}}]},{“id”:“5qwk7”,“id_data”:[{“segment”:null,“metrics”:{“mobile_conversion_spent_credits”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_installs”:{“post_view”:[1],“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_content_views”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_add_to_wishlists”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_checkouts_initiated”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_reservations”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_tutorials_completed”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_achievements_unlocked”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_searches”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_site_visits”:{“order_quantity”:null,“post_view”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_key_page_views”:{“post_engagement”:null,“post_view”:null},“mobile_conversion_add_to_carts”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_payment_info_additions”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_re_engages”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_shares”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_sign_ups”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_purchases”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_rates”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_logins”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_updates”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_levels_achieved”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_downloads”:{“post_view”:null,“post_engagement”:null,“order_quantity”:null,“sale_amount”:null},“mobile_conversion_invites”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null}}}]},{“id”:“5qw51”,“id_data”:[{“segment”:null,“metrics”:{“mobile_conversion_spent_credits”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_installs”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:[2],“sale_amount”:null},“mobile_conversion_content_views”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_add_to_wishlists”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_checkouts_initiated”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_reservations”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_tutorials_completed”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_achievements_unlocked”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_searches”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_site_visits”:{“order_quantity”:null,“post_view”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_key_page_views”:{“post_engagement”:null,“post_view”:null},“mobile_conversion_add_to_carts”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_payment_info_additions”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_re_engages”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_shares”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_sign_ups”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_purchases”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_rates”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_logins”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_updates”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_levels_achieved”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_downloads”:{“post_view”:null,“post_engagement”:null,“order_quantity”:null,“sale_amount”:null},“mobile_conversion_invites”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null}}}]},{“id”:“5qwja”,“id_data”:[{“segment”:null,“metrics”:{“mobile_conversion_spent_credits”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_installs”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_content_views”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_add_to_wishlists”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_checkouts_initiated”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_reservations”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_tutorials_completed”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_achievements_unlocked”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_searches”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_site_visits”:{“order_quantity”:null,“post_view”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_key_page_views”:{“post_engagement”:null,“post_view”:null},“mobile_conversion_add_to_carts”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_payment_info_additions”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_re_engages”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_shares”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_sign_ups”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_purchases”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_rates”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_logins”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_updates”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_levels_achieved”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null},“mobile_conversion_downloads”:{“post_view”:null,“post_engagement”:null,“order_quantity”:null,“sale_amount”:null},“mobile_conversion_invites”:{“post_view”:null,“order_quantity”:null,“assisted”:null,“post_engagement”:null,“sale_amount”:null}}}]}],“request”:{“params”:{“start_time”:“2016-08-17T21:00:00Z”,“segmentation_type”:null,“entity_ids”:[“5qtxx”,“5qw51”,“5qwid”,“5qwja”,“5qwk7”],“end_time”:“2016-08-18T21:00:00Z”,“country”:null,“placement”:“ALL_ON_TWITTER”,“granularity”:“DAY”,“entity”:“CAMPAIGN”,“platform”:null,“metric_groups”:[“MOBILE_CONVERSION”]}}}

Jun


#4

Maybe is because that 92 conversions are related to website tag events, could you share another screenshot, in conversion tab, in the campaign list in order to check this?

Thanks!


#5

Seconding what Hector suggested above.

It might be also be easier to compare a single campaign’s results in the UI and the API, to make sure there are no confounding factors and that we are comparing stats for the same entity on the same time period.


#6

Hey,

He’s some screenshots…

Conversions Tab Open For FA_iOS_US_App_1st Campaign (17th-26th Aug)


#7

In order to compare, share the twurl response for this campaign and the same timewindow! :smiley:


#8

Here is the twurl call for the above campaign:
twurl -H “https://ads-api.twitter.com” “/1/stats/accounts/18ce53z6p9c?entity_ids=5qtxx&entity=CAMPAIGN&metric_groups=MOBILE_CONVERSION&granularity=DAY&start_time=2016-08-17T21:00:00Z&end_time=2016-08-24T21:00:00Z&placement=ALL_ON_TWITTER”

the install related data in the response is this:

“mobile_conversion_installs”: {
“assisted”: null,
“order_quantity”: null,
“post_engagement”: [
1,
0,
2,
0,
2,
1,
1
],
“post_view”: null,
“sale_amount”: null
}


#9

Perfect, thanks @omniata_inc,

As I can see from your screenshot and your api response is:

Screenshot -> 9 Installs
API -> 7 Installs

In my opinion, the problem is the placement. In the Ads Panel, you see TWITTER Placement + TAP Placement (ON ALL CHANELS as you can see in the dropdown)

In the API you only request for ALL_ON_TWITTER.

You should request it too for TAP :smiley:

Try it!


#10

Hi Hector,

I think i know the reason of the off. In my twurl I used start_time=2016-08-17T21:00:00Z&end_time=2016-08-24T21:00:00Z since it is required to be only 7 days.

Based on the screenshot the install from 08-18 to 2016-08-24, the install number actually matches the api call.

My last question is regarding the first screenshot of this ticket, does the conversions number include some post-app events that were listed as conversions as well?

Here is the screenshot of conversions per campaign for 08-17.


#11

The conversions TAB in the top of the page, “92” in your first screenshot, shows ALL conversions combined, installs + app-events + web pixels… :smiley:

Hopefully this help you! :smiley:


#12

@hector_borras Thanks a lot for the help, it helps a lot :slight_smile: