Asynchronous segmented reports for promoted tweets missing mobile_conversion_installs


#1

Hey,

There is an issue, going on for some time now, with the mobile_conversion_installs metric in segmented reports for promoted tweets. While querying the metrics without the breakdown - we get mobile_conversion_installs values, however adding the platform segmentation makes them disappear.

For example, when querying statistics for promoted tweet 18rtgl (campaign 7gbnz, account 18ce54f5yc5) for March 29 without segmentation:

https://ads-api.twitter.com/1/stats/jobs/accounts/18ce54f5yc5/?with_deleted=true&placement=ALL_ON_TWITTER&end_time=2017-03-30T00%3A00%3A00-0700&metric_groups=ENGAGEMENT%2CBILLING%2CMOBILE_CONVERSION&granularity=DAY&entity_ids=18rtgl&start_time=2017-03-29T00%3A00%3A00-0700&entity=PROMOTED_TWEET

We get 4 installs in the following response:

{u'data': [{u'id': u'18rtgl',
   u'id_data': [{u'metrics': {u'app_clicks': [23],
      u'billed_charge_local_micro': [2937463945],
      u'billed_engagements': [22],
      u'card_engagements': [23],
      u'carousel_swipes': None,
      u'clicks': [53],
      u'engagements': [76],
      u'follows': None,
      u'impressions': [19419],
      u'likes': [1],
      u'mobile_conversion_achievements_unlocked': {u'assisted': None,
       u'order_quantity': None,
       u'post_engagement': None,
       u'post_view': None,
       u'sale_amount': None},
      u'mobile_conversion_add_to_carts': {u'assisted': None,
       u'order_quantity': None,
       u'post_engagement': None,
       u'post_view': None,
       u'sale_amount': None},
      u'mobile_conversion_add_to_wishlists': {u'assisted': None,
       u'order_quantity': None,
       u'post_engagement': None,
       u'post_view': None,
       u'sale_amount': None},
      u'mobile_conversion_checkouts_initiated': {u'assisted': None,
       u'order_quantity': None,
       u'post_engagement': None,
       u'post_view': None,
       u'sale_amount': None},
      u'mobile_conversion_content_views': {u'assisted': None,
       u'order_quantity': None,
       u'post_engagement': None,
       u'post_view': None,
       u'sale_amount': None},
      u'mobile_conversion_downloads': {u'order_quantity': None,
       u'post_engagement': None,
       u'post_view': None,
       u'sale_amount': None},
      u'mobile_conversion_installs': {u'assisted': None,
       u'order_quantity': None,
       u'post_engagement': [4],
       u'post_view': None,
       u'sale_amount': None},
      u'mobile_conversion_invites': {u'assisted': None,
       u'order_quantity': None,
       u'post_engagement': None,
       u'post_view': None,
       u'sale_amount': None},
      u'mobile_conversion_key_page_views': {u'post_engagement': None,
       u'post_view': None},
      u'mobile_conversion_levels_achieved': {u'assisted': None,
       u'order_quantity': None,
       u'post_engagement': None,
       u'post_view': None,
       u'sale_amount': None},
      u'mobile_conversion_logins': {u'assisted': None,
       u'order_quantity': None,
       u'post_engagement': None,
       u'post_view': None,
       u'sale_amount': None},
      u'mobile_conversion_payment_info_additions': {u'assisted': None,
       u'order_quantity': None,
       u'post_engagement': None,
       u'post_view': None,
       u'sale_amount': None},
      u'mobile_conversion_purchases': {u'assisted': None,
       u'order_quantity': None,
       u'post_engagement': None,
       u'post_view': None,
       u'sale_amount': None},
      u'mobile_conversion_rates': {u'assisted': None,
       u'order_quantity': None,
       u'post_engagement': None,
       u'post_view': None,
       u'sale_amount': None},
      u'mobile_conversion_re_engages': {u'assisted': None,
       u'order_quantity': None,
       u'post_engagement': None,
       u'post_view': None,
       u'sale_amount': None},
      u'mobile_conversion_reservations': {u'assisted': None,
       u'order_quantity': None,
       u'post_engagement': None,
       u'post_view': None,
       u'sale_amount': None},
      u'mobile_conversion_searches': {u'assisted': None,
       u'order_quantity': None,
       u'post_engagement': None,
       u'post_view': None,
       u'sale_amount': None},
      u'mobile_conversion_shares': {u'assisted': None,
       u'order_quantity': None,
       u'post_engagement': None,
       u'post_view': None,
       u'sale_amount': None},
      u'mobile_conversion_sign_ups': {u'assisted': None,
       u'order_quantity': None,
       u'post_engagement': None,
       u'post_view': None,
       u'sale_amount': None},
      u'mobile_conversion_site_visits': {u'order_quantity': None,
       u'post_engagement': None,
       u'post_view': None,
       u'sale_amount': None},
      u'mobile_conversion_spent_credits': {u'assisted': None,
       u'order_quantity': None,
       u'post_engagement': None,
       u'post_view': None,
       u'sale_amount': None},
      u'mobile_conversion_tutorials_completed': {u'assisted': None,
       u'order_quantity': None,
       u'post_engagement': None,
       u'post_view': None,
       u'sale_amount': None},
      u'mobile_conversion_updates': {u'assisted': None,
       u'order_quantity': None,
       u'post_engagement': None,
       u'post_view': None,
       u'sale_amount': None},
      u'poll_card_vote': None,
      u'qualified_impressions': None,
      u'replies': None,
      u'retweets': None,
      u'tweets_send': None,
      u'url_clicks': None},
     u'segment': None}]}],
 u'data_type': u'stats',
 u'request': {u'params': {u'country': None,
   u'end_time': u'2017-03-30T07:00:00Z',
   u'entity': u'PROMOTED_TWEET',
   u'entity_ids': [u'18rtgl'],
   u'granularity': u'DAY',
   u'metric_groups': [u'ENGAGEMENT', u'BILLING', u'MOBILE_CONVERSION'],
   u'placement': u'ALL_ON_TWITTER',
   u'platform': None,
   u'segmentation_type': None,
   u'start_time': u'2017-03-29T07:00:00Z'}},
 u'time_series_length': 1}

And when asking for the same promoted tweet and dates in PLATFORMS segmentation:

https://ads-api.twitter.com/1/stats/jobs/accounts/18ce54f5yc5/?with_deleted=true&placement=ALL_ON_TWITTER&end_time=2017-03-30T00%3A00%3A00-0700&metric_groups=ENGAGEMENT%2CBILLING%2CMOBILE_CONVERSION&granularity=DAY&entity_ids=18rtgl&start_time=2017-03-29T00%3A00%3A00-0700&entity=PROMOTED_TWEET&segmentation_type=PLATFORMS

The mobile_conversion_installs are missing from the response:

{u'data': [{u'id': u'18rtgl',
   u'id_data': [{u'metrics': {u'app_clicks': [23],
      u'billed_charge_local_micro': [2937463945],
      u'billed_engagements': [22],
      u'card_engagements': [23],
      u'carousel_swipes': None,
      u'clicks': [53],
      u'engagements': [76],
      u'follows': None,
      u'impressions': [19419],
      u'likes': [1],
      u'mobile_conversion_achievements_unlocked': {u'assisted': None,
       u'order_quantity': None,
       u'post_engagement': None,
       u'post_view': None,
       u'sale_amount': None},
      u'mobile_conversion_add_to_carts': {u'assisted': None,
       u'order_quantity': None,
       u'post_engagement': None,
       u'post_view': None,
       u'sale_amount': None},
      u'mobile_conversion_add_to_wishlists': {u'assisted': None,
       u'order_quantity': None,
       u'post_engagement': None,
       u'post_view': None,
       u'sale_amount': None},
      u'mobile_conversion_checkouts_initiated': {u'assisted': None,
       u'order_quantity': None,
       u'post_engagement': None,
       u'post_view': None,
       u'sale_amount': None},
      u'mobile_conversion_content_views': {u'assisted': None,
       u'order_quantity': None,
       u'post_engagement': None,
       u'post_view': None,
       u'sale_amount': None},
      u'mobile_conversion_downloads': {u'order_quantity': None,
       u'post_engagement': None,
       u'post_view': None,
       u'sale_amount': None},
      u'mobile_conversion_installs': {u'assisted': None,
       u'order_quantity': None,
       u'post_engagement': None,
       u'post_view': None,
       u'sale_amount': None},
      u'mobile_conversion_invites': {u'assisted': None,
       u'order_quantity': None,
       u'post_engagement': None,
       u'post_view': None,
       u'sale_amount': None},
      u'mobile_conversion_key_page_views': {u'post_engagement': None,
       u'post_view': None},
      u'mobile_conversion_levels_achieved': {u'assisted': None,
       u'order_quantity': None,
       u'post_engagement': None,
       u'post_view': None,
       u'sale_amount': None},
      u'mobile_conversion_logins': {u'assisted': None,
       u'order_quantity': None,
       u'post_engagement': None,
       u'post_view': None,
       u'sale_amount': None},
      u'mobile_conversion_payment_info_additions': {u'assisted': None,
       u'order_quantity': None,
       u'post_engagement': None,
       u'post_view': None,
       u'sale_amount': None},
      u'mobile_conversion_purchases': {u'assisted': None,
       u'order_quantity': None,
       u'post_engagement': None,
       u'post_view': None,
       u'sale_amount': None},
      u'mobile_conversion_rates': {u'assisted': None,
       u'order_quantity': None,
       u'post_engagement': None,
       u'post_view': None,
       u'sale_amount': None},
      u'mobile_conversion_re_engages': {u'assisted': None,
       u'order_quantity': None,
       u'post_engagement': None,
       u'post_view': None,
       u'sale_amount': None},
      u'mobile_conversion_reservations': {u'assisted': None,
       u'order_quantity': None,
       u'post_engagement': None,
       u'post_view': None,
       u'sale_amount': None},
      u'mobile_conversion_searches': {u'assisted': None,
       u'order_quantity': None,
       u'post_engagement': None,
       u'post_view': None,
       u'sale_amount': None},
      u'mobile_conversion_shares': {u'assisted': None,
       u'order_quantity': None,
       u'post_engagement': None,
       u'post_view': None,
       u'sale_amount': None},
      u'mobile_conversion_sign_ups': {u'assisted': None,
       u'order_quantity': None,
       u'post_engagement': None,
       u'post_view': None,
       u'sale_amount': None},
      u'mobile_conversion_site_visits': {u'order_quantity': None,
       u'post_engagement': None,
       u'post_view': None,
       u'sale_amount': None},
      u'mobile_conversion_spent_credits': {u'assisted': None,
       u'order_quantity': None,
       u'post_engagement': None,
       u'post_view': None,
       u'sale_amount': None},
      u'mobile_conversion_tutorials_completed': {u'assisted': None,
       u'order_quantity': None,
       u'post_engagement': None,
       u'post_view': None,
       u'sale_amount': None},
      u'mobile_conversion_updates': {u'assisted': None,
       u'order_quantity': None,
       u'post_engagement': None,
       u'post_view': None,
       u'sale_amount': None},
      u'poll_card_vote': None,
      u'qualified_impressions': None,
      u'replies': None,
      u'retweets': None,
      u'tweets_send': None,
      u'url_clicks': None},
     u'segment': {u'segment_name': u'iOS devices', u'segment_value': u'0'}}]}],
 u'data_type': u'stats',
 u'request': {u'params': {u'country': None,
   u'end_time': u'2017-03-30T07:00:00Z',
   u'entity': u'PROMOTED_TWEET',
   u'entity_ids': [u'18rtgl'],
   u'granularity': u'DAY',
   u'metric_groups': [u'ENGAGEMENT', u'BILLING', u'MOBILE_CONVERSION'],
   u'placement': u'ALL_ON_TWITTER',
   u'platform': None,
   u'segmentation_type': u'PLATFORMS',
   u'start_time': u'2017-03-29T07:00:00Z'}},
 u'time_series_length': 1}

Can you please assist with this issue?

Thanks !
Noa


#2

@noa_hdr: Apologies for the delay on this. Someone from our team will start looking into this tomorrow.


#3

@noa_hdr - We were able to recreate the issue, do you have any idea if this was happening before or did you just stumble upon it for the first time recently?


#4

Hey @goforbrent,
Thanks for looking into this!
We first saw this issue about a year ago (June 2016).
Hope that helps :slight_smile:


#5

Hey,
We are still missing the promoted tweets installs :frowning:
Any updates on it?
Thanks


#6

Same problem here.

Can you please fix this. Our clients are complaining.
This issue is almost 4 months old :frowning:

Thanks


#7

I am looking into this today, I will get back to you with my findings. Apologies for the delay.


#8

Hey @goforbrent,

Any updates following your investigation? :slight_smile:
Are there any missing details or anything else I can assist with in order to boost this?

Thanks


#9

We have logged this issue and will provide updates as we have them. Thanks for your patience while we dig into this.


#10

Hey @rajivsud, @goforbrent ,

Thanks for looking into this!

BTW, when I first raised this issue here: promoted_tweets endpoint missing data with segmentation

You already escalated it as a BUG, so maybe the fix is already done - just not deployed?

Thanks for staying on top of this! :slight_smile:


#11

Hi @dimapv,

Yes it has been raised many times, and the issue is in queue to be fixed. I just reached out to the person fixing it to nail down a timeline.


#12

Hello.

Are there any updates?


#13

@noa_hdr - you should be able to pull your mobile conversions for the original date range broken out by PLATFORMS.

POST async request

$ twurl -H ads-api.twitter.com "/2/stats/jobs/accounts/18ce54f5yc5" -X POST -d "with_deleted=true&placement=ALL_ON_TWITTER&end_time=2017-03-30&metric_groups=MOBILE_CONVERSION&granularity=DAY&entity_ids=7gbnz&start_time=2017-03-29&entity=CAMPAIGN&segmentation_type=PLATFORMS" | jq
{
  "request": {
    "params": {
      "start_time": "2017-03-29T07:00:00Z",
      "segmentation_type": "PLATFORMS",
      "entity_ids": [
        "7gbnz"
      ],
      "end_time": "2017-03-30T07:00:00Z",
      "placement": "ALL_ON_TWITTER",
      "granularity": "DAY",
      "entity": "CAMPAIGN",
      "metric_groups": [
        "MOBILE_CONVERSION"
      ]
    }
  },
  "data": {
    "start_time": "2017-03-29T07:00:00Z",
    "segmentation_type": "PLATFORMS",
    "url": null,
    "id_str": "949396413900759040",
    "entity_ids": [
      "7gbnz"
    ],
    "end_time": "2017-03-30T07:00:00Z",
    "country": null,
    "placement": "ALL_ON_TWITTER",
    "id": 949396413900759000,
    "expires_at": null,
    "account_id": "18ce54f5yc5",
    "status": "PROCESSING",
    "granularity": "DAY",
    "entity": "CAMPAIGN",
    "created_at": "2018-01-05T21:45:18Z",
    "platform": null,
    "updated_at": "2018-01-05T21:45:18Z",
    "metric_groups": [
      "MOBILE_CONVERSION"
    ]
  }
}

After requesting data through Job ID - see response below:

{
    "data_type": "stats",
    "time_series_length": 1,
    "data": [{
        "id": "7gbnz",
        "id_data": [{
            "segment": {
                "segment_name": "iOS devices",
                "segment_value": "0"
            },
            "metrics": {
                "mobile_conversion_spent_credits": {
                    "post_view": null,
                    "order_quantity": null,
                    "assisted": null,
                    "post_engagement": null,
                    "sale_amount": null
                },
                "mobile_conversion_installs": {
                    "post_view": [5],
                    "order_quantity": null,
                    "assisted": null,
                    "post_engagement": [6],
                    "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": "2017-03-29T07:00:00Z",
            "segmentation_type": "PLATFORMS",
            "entity_ids": ["7gbnz"],
            "end_time": "2017-03-30T07:00:00Z",
            "country": null,
            "placement": "ALL_ON_TWITTER",
            "granularity": "DAY",
            "entity": "CAMPAIGN",
            "platform": null,
            "metric_groups": ["MOBILE_CONVERSION"]
        }
    }
}

#14

It works for CAMPAIGN and LINE_ITEM but not for PROMOTED_TWEET entity :frowning:


#15

True, the issue here was in the promoted tweet level all along, and I am still not able to query mobile_conversion_installs when querying with segmentation in that level.


#16

CAMPAIGN level

twurl -H ads-api.twitter.com “/2/stats/jobs/accounts/18ce54h6wox” -X POST -d “with_deleted=true&placement=ALL_ON_TWITTER&start_time=2017-10-01&end_time=2017-10-31&metric_groups=MOBILE_CONVERSION&granularity=DAY&entity_ids=9jc4o&entity=CAMPAIGN&segmentation_type=PLATFORMS”

{
   "data_type":"stats",
   "time_series_length":30,
   "data":[
      {
         "id":"9jc4o",
         "id_data":[
            {
               "segment":{
                  "segment_name":"iOS devices",
                  "segment_value":"0"
               },
               "metrics":{
                  "mobile_conversion_spent_credits":{
                     "post_view":null,
                     "order_quantity":null,
                     "assisted":null,
                     "post_engagement":null,
                     "sale_amount":null
                  },
                  "mobile_conversion_installs":{
                     "post_view":[
                        0,
                        1,
                        1,
                        0,
                        1,
                        1,
                        1,
                        0,
                        1,
                        3,
                        3,
                        1,
                        1,
                        1,
                        0,
                        1,
                        0,
                        3,
                        3,
                        0,
                        2,
                        1,
                        0,
                        1,
                        3,
                        0,
                        1,
                        0,
                        0,
                        0
                     ],
                     "order_quantity":null,
                     "assisted":null,
                     "post_engagement":[
                        0,
                        1,
                        0,
                        0,
                        0,
                        0,
                        2,
                        1,
                        1,
                        0,
                        0,
                        0,
                        0,
                        0,
                        1,
                        0,
                        2,
                        0,
                        0,
                        0,
                        0,
                        0,
                        1,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0
                     ],
                     "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":[
                        2,
                        0,
                        3,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        5,
                        0,
                        0,
                        8,
                        0,
                        3,
                        0,
                        0,
                        0,
                        0,
                        5,
                        3,
                        0,
                        0,
                        0,
                        0,
                        0
                     ],
                     "order_quantity":null,
                     "assisted":null,
                     "post_engagement":[
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        9,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0
                     ],
                     "sale_amount":[
                        79980000,
                        0,
                        29970000,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        85950000,
                        63909993,
                        0,
                        119919992,
                        0,
                        14970000,
                        0,
                        0,
                        0,
                        0,
                        34949995,
                        44969997,
                        0,
                        0,
                        0,
                        0,
                        0
                     ]
                  },
                  "mobile_conversion_rates":{
                     "post_view":null,
                     "order_quantity":null,
                     "assisted":null,
                     "post_engagement":null,
                     "sale_amount":null
                  },
                  "mobile_conversion_logins":{
                     "post_view":[
                        12,
                        27,
                        52,
                        16,
                        15,
                        7,
                        34,
                        7,
                        54,
                        33,
                        22,
                        31,
                        29,
                        25,
                        2,
                        15,
                        6,
                        30,
                        28,
                        22,
                        7,
                        20,
                        15,
                        20,
                        18,
                        20,
                        2,
                        0,
                        0,
                        0
                     ],
                     "order_quantity":null,
                     "assisted":null,
                     "post_engagement":[
                        0,
                        8,
                        1,
                        0,
                        2,
                        0,
                        9,
                        0,
                        3,
                        0,
                        0,
                        0,
                        0,
                        0,
                        182,
                        5,
                        10,
                        0,
                        0,
                        0,
                        0,
                        0,
                        3,
                        0,
                        4,
                        1,
                        0,
                        0,
                        0,
                        0
                     ],
                     "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":"2017-09-30T21:00:00Z",
         "segmentation_type":"PLATFORMS",
         "entity_ids":[
            "9jc4o"
         ],
         "end_time":"2017-10-30T22:00:00Z",
         "country":null,
         "placement":"ALL_ON_TWITTER",
         "granularity":"DAY",
         "entity":"CAMPAIGN",
         "platform":null,
         "metric_groups":[
            "MOBILE_CONVERSION"
         ]
      }
   }
}

#17

LINE_ITEM level

twurl -H ads-api.twitter.com “/2/stats/jobs/accounts/18ce54h6wox” -X POST -d “with_deleted=true&placement=ALL_ON_TWITTER&start_time=2017-10-01&end_time=2017-10-31&metric_groups=MOBILE_CONVERSION&granularity=DAY&entity_ids=a326j&entity=LINE_ITEM&segmentation_type=PLATFORMS”

{
   "data_type":"stats",
   "time_series_length":30,
   "data":[
      {
         "id":"a326j",
         "id_data":[
            {
               "segment":{
                  "segment_name":"iOS devices",
                  "segment_value":"0"
               },
               "metrics":{
                  "mobile_conversion_spent_credits":{
                     "post_view":null,
                     "order_quantity":null,
                     "assisted":null,
                     "post_engagement":null,
                     "sale_amount":null
                  },
                  "mobile_conversion_installs":{
                     "post_view":[
                        0,
                        0,
                        0,
                        0,
                        0,
                        1,
                        1,
                        0,
                        1,
                        1,
                        2,
                        0,
                        0,
                        0,
                        0,
                        1,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        1,
                        0,
                        0,
                        0,
                        0,
                        0
                     ],
                     "order_quantity":null,
                     "assisted":null,
                     "post_engagement":[
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        1,
                        0,
                        1,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        1,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0
                     ],
                     "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":[
                        0,
                        0,
                        0,
                        0,
                        4,
                        5,
                        7,
                        3,
                        50,
                        22,
                        10,
                        1,
                        1,
                        3,
                        1,
                        6,
                        1,
                        5,
                        1,
                        0,
                        0,
                        0,
                        0,
                        0,
                        2,
                        0,
                        0,
                        0,
                        0,
                        0
                     ],
                     "order_quantity":null,
                     "assisted":null,
                     "post_engagement":[
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        5,
                        0,
                        3,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        5,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0
                     ],
                     "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":"2017-09-30T21:00:00Z",
         "segmentation_type":"PLATFORMS",
         "entity_ids":[
            "a326j"
         ],
         "end_time":"2017-10-30T22:00:00Z",
         "country":null,
         "placement":"ALL_ON_TWITTER",
         "granularity":"DAY",
         "entity":"LINE_ITEM",
         "platform":null,
         "metric_groups":[
            "MOBILE_CONVERSION"
         ]
      }
   }
}

#18

PROMOTED_TWEET level

twurl -H ads-api.twitter.com “/2/stats/jobs/accounts/18ce54h6wox” -X POST -d “with_deleted=true&placement=ALL_ON_TWITTER&start_time=2017-10-01&end_time=2017-10-31&metric_groups=MOBILE_CONVERSION&granularity=DAY&entity_ids=1iocug,1iocus,1iocut,1iocuu,1iocuv,1iocuw,1iocux,1iocuy,1iocuz,1iocv0,1iocv1,1iocv2,1iocv3,1iocv4,1iocv5,1iocv6,1iocv7,1iocv8,1iocv9,1iocvc&entity=PROMOTED_TWEET&segmentation_type=PLATFORMS”

{
   "data_type":"stats",
   "time_series_length":30,
   "data":[
      {
         "id":"1iocv3",
         "id_data":[

         ]
      },
      {
         "id":"1iocv8",
         "id_data":[

         ]
      },
      {
         "id":"1iocv0",
         "id_data":[

         ]
      },
      {
         "id":"1iocus",
         "id_data":[

         ]
      },
      {
         "id":"1iocv9",
         "id_data":[

         ]
      },
      {
         "id":"1iocuy",
         "id_data":[

         ]
      },
      {
         "id":"1iocuv",
         "id_data":[

         ]
      },
      {
         "id":"1iocv5",
         "id_data":[

         ]
      },
      {
         "id":"1iocuz",
         "id_data":[

         ]
      },
      {
         "id":"1iocv2",
         "id_data":[

         ]
      },
      {
         "id":"1iocux",
         "id_data":[

         ]
      },
      {
         "id":"1iocut",
         "id_data":[

         ]
      },
      {
         "id":"1iocuw",
         "id_data":[

         ]
      },
      {
         "id":"1iocv6",
         "id_data":[

         ]
      },
      {
         "id":"1iocv1",
         "id_data":[

         ]
      },
      {
         "id":"1iocv4",
         "id_data":[

         ]
      },
      {
         "id":"1iocv7",
         "id_data":[

         ]
      },
      {
         "id":"1iocvc",
         "id_data":[

         ]
      },
      {
         "id":"1iocug",
         "id_data":[

         ]
      },
      {
         "id":"1iocuu",
         "id_data":[

         ]
      }
   ],
   "request":{
      "params":{
         "start_time":"2017-09-30T21:00:00Z",
         "segmentation_type":"PLATFORMS",
         "entity_ids":[
            "1iocug",
            "1iocus",
            "1iocut",
            "1iocuu",
            "1iocuv",
            "1iocuw",
            "1iocux",
            "1iocuy",
            "1iocuz",
            "1iocv0",
            "1iocv1",
            "1iocv2",
            "1iocv3",
            "1iocv4",
            "1iocv5",
            "1iocv6",
            "1iocv7",
            "1iocv8",
            "1iocv9",
            "1iocvc"
         ],
         "end_time":"2017-10-30T22:00:00Z",
         "country":null,
         "placement":"ALL_ON_TWITTER",
         "granularity":"DAY",
         "entity":"PROMOTED_TWEET",
         "platform":null,
         "metric_groups":[
            "MOBILE_CONVERSION"
         ]
      }
   }
}

twurl -H ads-api.twitter.com “/2/stats/jobs/accounts/18ce54h6wox” -X POST -d “with_deleted=true&placement=ALL_ON_TWITTER&start_time=2017-10-01&end_time=2017-10-31&metric_groups=MOBILE_CONVERSION&granularity=DAY&entity_ids=1iocvd,1iocve,1iocvf,1iocvg,1iocvi,1iocvj,1iocvk,1iocvl,1iocvn,1iocvp,1iocvr,1iocvs,1iocvt,1iocvu,1iocvv,1iocvw,1iocvx,1iocvy,1iocvz,1iocw0&entity=PROMOTED_TWEET&segmentation_type=PLATFORMS”

{
   "data_type":"stats",
   "time_series_length":30,
   "data":[
      {
         "id":"1iocvw",
         "id_data":[

         ]
      },
      {
         "id":"1iocvi",
         "id_data":[

         ]
      },
      {
         "id":"1iocvf",
         "id_data":[

         ]
      },
      {
         "id":"1iocvn",
         "id_data":[

         ]
      },
      {
         "id":"1iocve",
         "id_data":[

         ]
      },
      {
         "id":"1iocvz",
         "id_data":[

         ]
      },
      {
         "id":"1iocvy",
         "id_data":[

         ]
      },
      {
         "id":"1iocvv",
         "id_data":[

         ]
      },
      {
         "id":"1iocvr",
         "id_data":[

         ]
      },
      {
         "id":"1iocvd",
         "id_data":[

         ]
      },
      {
         "id":"1iocvu",
         "id_data":[

         ]
      },
      {
         "id":"1iocvx",
         "id_data":[

         ]
      },
      {
         "id":"1iocvl",
         "id_data":[

         ]
      },
      {
         "id":"1iocvs",
         "id_data":[

         ]
      },
      {
         "id":"1iocvp",
         "id_data":[

         ]
      },
      {
         "id":"1iocvt",
         "id_data":[

         ]
      },
      {
         "id":"1iocvk",
         "id_data":[

         ]
      },
      {
         "id":"1iocvg",
         "id_data":[

         ]
      },
      {
         "id":"1iocw0",
         "id_data":[

         ]
      },
      {
         "id":"1iocvj",
         "id_data":[

         ]
      }
   ],
   "request":{
      "params":{
         "start_time":"2017-09-30T21:00:00Z",
         "segmentation_type":"PLATFORMS",
         "entity_ids":[
            "1iocvd",
            "1iocve",
            "1iocvf",
            "1iocvg",
            "1iocvi",
            "1iocvj",
            "1iocvk",
            "1iocvl",
            "1iocvn",
            "1iocvp",
            "1iocvr",
            "1iocvs",
            "1iocvt",
            "1iocvu",
            "1iocvv",
            "1iocvw",
            "1iocvx",
            "1iocvy",
            "1iocvz",
            "1iocw0"
         ],
         "end_time":"2017-10-30T22:00:00Z",
         "country":null,
         "placement":"ALL_ON_TWITTER",
         "granularity":"DAY",
         "entity":"PROMOTED_TWEET",
         "platform":null,
         "metric_groups":[
            "MOBILE_CONVERSION"
         ]
      }
   }
}

twurl -H ads-api.twitter.com “/2/stats/jobs/accounts/18ce54h6wox” -X POST -d “with_deleted=true&placement=ALL_ON_TWITTER&start_time=2017-10-01&end_time=2017-10-31&metric_groups=MOBILE_CONVERSION&granularity=DAY&entity_ids=1iocw1,1iocw2,1iocw3,1iocw4,1iocw5,1iocw6,1iocw7,1iocw8,1iocw9,1iocwa,1iocwh,1iocwi,1iocwk,1iocwl,1iocwm,1iocwn,1iocwp,1iocwq,1iocwr,1iocww&entity=PROMOTED_TWEET&segmentation_type=PLATFORMS”

{
   "data_type":"stats",
   "time_series_length":30,
   "data":[
      {
         "id":"1iocw4",
         "id_data":[

         ]
      },
      {
         "id":"1iocwa",
         "id_data":[

         ]
      },
      {
         "id":"1iocwr",
         "id_data":[

         ]
      },
      {
         "id":"1iocwn",
         "id_data":[

         ]
      },
      {
         "id":"1iocw1",
         "id_data":[

         ]
      },
      {
         "id":"1iocw5",
         "id_data":[

         ]
      },
      {
         "id":"1iocwk",
         "id_data":[

         ]
      },
      {
         "id":"1iocw9",
         "id_data":[

         ]
      },
      {
         "id":"1iocwq",
         "id_data":[

         ]
      },
      {
         "id":"1iocw7",
         "id_data":[

         ]
      },
      {
         "id":"1iocwh",
         "id_data":[

         ]
      },
      {
         "id":"1iocw2",
         "id_data":[

         ]
      },
      {
         "id":"1iocwl",
         "id_data":[

         ]
      },
      {
         "id":"1iocw6",
         "id_data":[

         ]
      },
      {
         "id":"1iocwp",
         "id_data":[

         ]
      },
      {
         "id":"1iocw3",
         "id_data":[

         ]
      },
      {
         "id":"1iocwi",
         "id_data":[

         ]
      },
      {
         "id":"1iocw8",
         "id_data":[

         ]
      },
      {
         "id":"1iocwm",
         "id_data":[

         ]
      },
      {
         "id":"1iocww",
         "id_data":[

         ]
      }
   ],
   "request":{
      "params":{
         "start_time":"2017-09-30T21:00:00Z",
         "segmentation_type":"PLATFORMS",
         "entity_ids":[
            "1iocw1",
            "1iocw2",
            "1iocw3",
            "1iocw4",
            "1iocw5",
            "1iocw6",
            "1iocw7",
            "1iocw8",
            "1iocw9",
            "1iocwa",
            "1iocwh",
            "1iocwi",
            "1iocwk",
            "1iocwl",
            "1iocwm",
            "1iocwn",
            "1iocwp",
            "1iocwq",
            "1iocwr",
            "1iocww"
         ],
         "end_time":"2017-10-30T22:00:00Z",
         "country":null,
         "placement":"ALL_ON_TWITTER",
         "granularity":"DAY",
         "entity":"PROMOTED_TWEET",
         "platform":null,
         "metric_groups":[
            "MOBILE_CONVERSION"
         ]
      }
   }
}