I would like to retrieve all the possible metrics from this stats endpoint:
https://dev.twitter.com/ads/reference/get/stats/accounts/%3Aaccount_id/promoted_tweets/%3Aid
The metrics parameter says that if it is left blank it will default to all possible metrics.
In the page that documents all the metrics, there is a contradicting statment:
"Metrics not returned by default must be requested using the metrics param."
https://dev.twitter.com/ads/analytics/metrics-and-segmentation-v0
When I try to call the stats endpoint without the metrics parameter, I get a list of about 50-60 metrics, out of the 115 metrics listed in the metrics page.
When I try to call the stats endpoint with a comma separated list of all 115 metrics listed in the metrics page, I get an error:
{‘message’: ‘Expected valid metric promoted_tweet_profile_retweets, promoted_tweet_tpn_favorites, promoted_tweet_tpn_retweets, promoted_tweet_profile_follows, promoted_tweet_search_qualified_impressions, promoted_tweet_search_favorites, promoted_tweet_search_follows, promoted_tweet_tpn_url_clicks, promoted_tweet_profile_clicks, promoted_tweet_search_engagements, promoted_tweet_search_replies, conversion_app_open, promoted_tweet_profile_favorites, promoted_tweet_timeline_clicks, promoted_tweet_search_retweets, promoted_tweet_timeline_engagement_rate, promoted_tweet_search_url_clicks, conversion_purchases, promoted_video_views_100, conversion_sign_ups, promoted_tweet_search_clicks, promoted_video_starts, mobile_conversion_installs, mobile_conversion_purchases, mobile_conversion_sign_ups, mobile_conversion_re_engages, mobile_conversion_logins, mobile_conversion_updates, mobile_conversion_tutorial_completes, mobile_conversion_reservations, mobile_conversion_add_to_cart, mobile_conversion_add_to_wishlist, mobile_conversion_checkout_initiated, mobile_conversion_searches, mobile_conversion_level_achieved, mobile_conversion_achievement_unlocked, mobile_conversion_content_views, mobile_conversion_shares, mobile_conversion_invites, mobile_conversion_added_payment_infos, mobile_conversion_spent_credits, mobile_conversion_rated, mobile_conversion_sale_amount_local_micro, mobile_conversion_order_quantity, mobile_lifetime_value_conversion_breakdown, mobile_lifetime_value_conversion_sale_amount_local_micro_breakdown, mobile_lifetime_value_conversion_order_quantity_breakdown, billed_charge_local_micro, promoted_tweet_search_impressions, promoted_tweet_search_engagement_rate, promoted_video_replays, promoted_tweet_timeline_qualified_impressions, promoted_tweet_tpn_engagements, promoted_tweet_profile_qualified_impressions, promoted_video_views_25, conversion_key_page_views, promoted_video_views_50, promoted_tweet_timeline_retweets, promoted_tweet_tpn_media_views, promoted_video_total_views, promoted_tweet_profile_impressions, promoted_tweet_app_open_attempts, promoted_tweet_profile_engagements, promoted_tweet_search_media_views, promoted_tweet_profile_media_views, promoted_tweet_app_install_attempts, promoted_tweet_tpn_impressions, promoted_tweet_tpn_engagement_rate, conversion_site_visits, promoted_video_cta_clicks, promoted_tweet_tpn_replies, promoted_tweet_timeline_favorites, promoted_tweet_tpn_card_engagements, promoted_tweet_profile_replies, promoted_tweet_timeline_replies, promoted_tweet_timeline_follows, promoted_tweet_timeline_engagements, conversion_downloads, conversion_sale_amount, promoted_tweet_search_card_engagements, promoted_tweet_timeline_url_clicks, promoted_tweet_profile_engagement_rate, promoted_tweet_tpn_clicks, conversion_order_quantity, promoted_tweet_profile_card_engagements, promoted_tweet_timeline_impressions, promoted_tweet_tpn_follows, conversion_custom, promoted_tweet_tpn_qualified_impressions, promoted_video_views_75, promoted_tweet_profile_url_clicks, promoted_tweet_timeline_card_engagements, promoted_tweet_timeline_media_views, got “promoted_account_follows” for metrics’, ‘code’: ‘INVALID_PARAMETER’, ‘parameter’: ‘metrics’}
Then when I try to call the stats endpoint with the list of metrics from that error message I get an error that contradicts itself. It says that the mobile_conversion_purchases metric is not an available metric, and it lists all the available metrics, and in the list you can find “mobile_conversion_purchases”:
{‘message’: ‘Expected valid metric promoted_tweet_search_media_views, promoted_tweet_tpn_replies, promoted_tweet_profile_replies, promoted_tweet_tpn_follows, conversion_app_open, promoted_tweet_search_retweets, conversion_sign_ups, promoted_tweet_tpn_url_clicks, promoted_tweet_search_replies, promoted_tweet_profile_engagements, conversion_sale_amount, promoted_tweet_timeline_clicks, mobile_conversion_installs, mobile_conversion_purchases, mobile_conversion_sign_ups, mobile_conversion_re_engages, mobile_conversion_logins, mobile_conversion_updates, mobile_conversion_tutorial_completes, mobile_conversion_reservations, mobile_conversion_add_to_cart, mobile_conversion_add_to_wishlist, mobile_conversion_checkout_initiated, mobile_conversion_searches, mobile_conversion_level_achieved, mobile_conversion_achievement_unlocked, mobile_conversion_content_views, mobile_conversion_shares, mobile_conversion_invites, mobile_conversion_added_payment_infos, mobile_conversion_spent_credits, mobile_conversion_rated, mobile_conversion_sale_amount_local_micro, mobile_conversion_order_quantity, mobile_lifetime_value_conversion_breakdown, mobile_lifetime_value_conversion_sale_amount_local_micro_breakdown, mobile_lifetime_value_conversion_order_quantity_breakdown, billed_charge_local_micro, promoted_tweet_tpn_impressions, promoted_tweet_tpn_qualified_impressions, promoted_tweet_profile_media_views, conversion_site_visits, promoted_tweet_timeline_card_engagements, promoted_tweet_search_clicks, promoted_tweet_app_install_attempts, promoted_video_views_100, promoted_video_starts, promoted_tweet_search_card_engagements, promoted_tweet_profile_follows, promoted_video_views_75, promoted_video_views_25, conversion_custom, promoted_tweet_search_engagement_rate, promoted_tweet_profile_card_engagements, promoted_tweet_tpn_engagements, promoted_tweet_search_url_clicks, conversion_key_page_views, promoted_tweet_profile_impressions, promoted_video_views_50, promoted_tweet_timeline_impressions, promoted_tweet_profile_qualified_impressions, promoted_tweet_tpn_favorites, promoted_video_total_views, promoted_tweet_timeline_media_views, conversion_order_quantity, promoted_tweet_search_engagements, promoted_tweet_app_open_attempts, promoted_tweet_search_impressions, promoted_tweet_tpn_card_engagements, promoted_tweet_search_qualified_impressions, promoted_tweet_profile_url_clicks, promoted_video_cta_clicks, promoted_tweet_timeline_favorites, promoted_tweet_timeline_replies, promoted_tweet_tpn_retweets, promoted_tweet_timeline_retweets, promoted_tweet_timeline_url_clicks, promoted_tweet_timeline_engagement_rate, promoted_tweet_tpn_media_views, promoted_tweet_search_favorites, promoted_tweet_profile_engagement_rate, promoted_tweet_timeline_qualified_impressions, conversion_purchases, promoted_tweet_timeline_follows, promoted_video_replays, conversion_downloads, promoted_tweet_search_follows, promoted_tweet_tpn_engagement_rate, promoted_tweet_profile_favorites, promoted_tweet_timeline_engagements, promoted_tweet_profile_clicks, promoted_tweet_profile_retweets, promoted_tweet_tpn_clicks, got " mobile_conversion_purchases" for metrics’, ‘code’: ‘INVALID_PARAMETER’, ‘parameter’: ‘metrics’}
So is there a way in which I can get all the available metrics?