API v3 Reference
- Intro
- Authenticating
- get_video_status

- launch_video

- launch_cross_post

- launch_destination

- launch_feed

- list_available_sites

- list_available_destinations

- list_available_feeds

- list_available_cross_post_sites

- list_categories

- list_campaigns

- list_uploads

- list_upload_video_stats

- upload_video

- upload_video_url

- which_host

- recall_video

- add_mrss_feed

- get_mrss_feed_status

- Additional Inplay Info
- get_views

- get_viewed_minutes

- get_unique_viewers

- get_new_viewers

- get_video_list_analytics

- get_video_engagement

- get_player_embeds

- get_geo_analytics

- get_categories

- get_traffic_sources

- get_search_terms

- get_attention_span

- get_bandwidth_usage

- get_stream_rebuffers

- get_start_delays

- get_video_list_performance

- get_geo_performance

- get_os

- get_browser

- get_runtime

- get_demographics_age

- get_demographics_gender

- get_demographics_hh_income

- get_demographics_marital_status

- get_demographics_children

- get_demographics_homeowners

- get_trackers

- create_tracker

- update_tracker

- get_publishers

- share_inplay

- share_revoke

- share_list

- List of Video Sites
- PHP Reference Application
- Info For Partners
- Timezones
- Troubleshooting
Getting Started
Upload
InPlay
InPlay Admin
Appendix
get_attention_span
Gets the attention span statistics time for a given tracker or publisher. This includes statistics aggregated over the specified timeframe, plus optional per-day, week or month totals.
Explorer
Request URL
http://api.tubemogul.com/api/v3/
HTTP method
GET
Arguments
scope(string)- The scope of the method being called. Valid values are
trackerandpublisher. id(string)- The ID corresponding to the scope of the report.
start(string)- The start date for the report. Format is YYYY-MM-DD.
end(string)- The end date for the report. Format is YYYY-MM-DD.
site_id (string)— Optional- The ID for your site. This is required for publisher-scoped queries but not for trackers. Contact us if you do not know your site_id.
dim (string)— Optional- Allows filtering by a specific
category,player_embedorcountrydimension. If this parameter is not provided, a default ofcountryis used. Note this is different from the default behavior for this parameter. dimdetail (string)— Optional- This will filter the response to only include a specific
dimvalue.
Response Parameters
dimension (string)- The dimension being analyzed.
pct_views_10s_plus (integer)- The percentage of views that watched for at least 10 seconds.
pct_views_20s_plus (integer)- The percentage of views that watched for at least 20 seconds.
pct_views_30s_plus (integer)- The percentage of views that watched for at least 30 seconds.
pct_views_60s_plus (integer)- The percentage of views that watched for at least 60 seconds.
pct_views_2min_plus (integer)- The percentage of views that watched for at least 2 minutes.
pct_views_3min_plus (integer)- The percentage of views that watched for at least 3 minutes.
pct_views_5min_plus (integer)- The percentage of views that watched for at least 5 minutes.
pct_views_10min_plus (integer)- The percentage of views that watched for at least 10 minutes.
pct_views_15min_plus (integer)- The percentage of views that watched for at least 15 minutes.
pct_views_30min_plus (integer)- The percentage of views that watched for at least 30 minutes.
Example Response
http://api-inplay.tubemogul.com/data/v2?date=1230109922&user_id=123456 &scope=tracker&id=all&method=get_attention_span&start=2008-12-10&end=2008-12-31 &dim=country&auth=aa6fb416b3cac7861be9c9db2ebeef564b70f2e4... United States 288830 227253 51869 172825 118122 64560 160135 57455 4352 10376 China 1177 776 503 943 815 510 764 430 172 160
Error Codes
Standard error codes