Skip to content

Performance

Request

Standard Aggregated Performance Report in Campaign Currency

Fields

FieldTime WindowsRollups
Dimensions
agg_timestampcurrent_day, yesterday, last_X_days, month_to_date, campaign_to_dateby_day, by_week, by_month
advertiser_id
AnyAny
advertiser_name
AnyAny
agency_id
AnyAny
agency_name
AnyAny
campaign_archived
AnyAny
campaign_conversion_type
AnyAny
campaign_conversion_variable_minutes
AnyAny
campaign_created_on
Campaign Creation Time
AnyAny
campaign_currency_code
Campaign Currency Code
AnyAny
campaign_custom_attribution_source
AnyAny
campaign_dynamic_budget_allocation_type
AnyAny
campaign_end_date
(GMT) Campaign End Date
AnyAny
campaign_end_date_campaign_tz
(CTZ) Campaign End Date
AnyAny
campaign_frequency_amount
Campaign Frequency Amount
AnyAny
campaign_frequency_interval
Campaign Frequency Interval
AnyAny
campaign_frequency_optimization
Campaign Frequency Optimization
AnyAny
campaign_frequency_type
Campaign Frequency Type
AnyAny
campaign_goal_type
AnyAny
campaign_goal_value
AnyAny
campaign_has_custom_attribution
AnyAny
campaign_id
AnyAny
campaign_impression_cap_amount
AnyAny
campaign_impression_cap_automatic
AnyAny
campaign_impression_cap_type
AnyAny
campaign_initial_start_date
(GMT) Campaign Initial Start Date
AnyAny
campaign_initial_start_date_campaign_tz
(CTZ) Campaign Initial Start Date
AnyAny
campaign_io_name
AnyAny
campaign_io_reference_num
AnyAny
campaign_is_programmatic_guaranteed
Campaign Is Programmatic Guaranteed
AnyAny
campaign_name
AnyAny
campaign_pc_window_minutes
AnyAny
campaign_political
AnyAny
campaign_pv_pct
AnyAny
campaign_pv_window_minutes
AnyAny
campaign_service_type
Campaign Service Type, a.k.a. Managed Service Flag / managed_service_flag
AnyAny
campaign_spend_cap_amount
AnyAny
campaign_spend_cap_automatic
AnyAny
campaign_spend_cap_daily_cap
AnyAny
campaign_spend_cap_type
AnyAny
campaign_start_date
(GMT) Campaign Start Date
AnyAny
campaign_start_date_campaign_tz
(CTZ) Campaign Start Date
AnyAny
campaign_status
Active Status
AnyAny
campaign_total_budget
AnyAny
campaign_total_impression_budget
Campaign Impressions Budget
AnyAny
campaign_updated_on
Campaign Update Time
AnyAny
campaign_zone_name
Campaign Time Zone, a.k.a time_zone
AnyAny
concept_id
AnyAny
concept_name
AnyAny
creative_id
AnyAny
creative_is_native
AnyAny
creative_name
AnyAny
creative_size
AnyAny
creative_tpas_placement_id
AnyAny
deal_external_id
AnyAny
deal_group_id
AnyAny
deal_group_name
AnyAny
deal_id
AnyAny
deal_name
AnyAny
deal_price_type
AnyAny
deal_publisher_id
Deal Publisher ID
AnyAny
exchange_id
AnyAny
exchange_name
AnyAny
flight_id
AnyAny
merit_pixel_created_on
Pixel Creation Time
AnyAny
merit_pixel_eligible
AnyAny
merit_pixel_external_identifier
AnyAny
merit_pixel_funnel_position
AnyAny
merit_pixel_id
AnyAny
merit_pixel_name
AnyAny
merit_pixel_status
AnyAny
merit_pixel_updated_on
Pixel Update Time
AnyAny
merit_pixel_weight
AnyAny
organization_id
AnyAny
organization_name
AnyAny
prisma_campaign_id
AnyAny
prisma_campaign_name
AnyAny
prisma_client_product_estimate
AnyAny
prisma_io_number
AnyAny
strategy_archived
AnyAny
strategy_audience_segment_exclude_op
AnyAny
strategy_audience_segment_include_op
AnyAny
strategy_bid_aggressiveness
AnyAny
strategy_bid_price_is_media_only
AnyAny
strategy_budget
AnyAny
strategy_channel
AnyAny
strategy_created_on
AnyAny
strategy_description
AnyAny
strategy_end_date
AnyAny
strategy_exchange_type_for_run_on_all
AnyAny
strategy_frequency_amount
AnyAny
strategy_frequency_interval
Campaign Frequency Interval
AnyAny
strategy_frequency_optimization
AnyAny
strategy_frequency_type
Campaign Frequency Type
AnyAny
strategy_goal_type
AnyAny
strategy_goal_value
AnyAny
strategy_group_created_on
AnyAny
strategy_group_description
AnyAny
strategy_group_external_identifier
AnyAny
strategy_group_id
AnyAny
strategy_group_impression_cap_amount
AnyAny
strategy_group_impression_cap_type
AnyAny
strategy_group_name
AnyAny
strategy_group_spend_cap_amount
AnyAny
strategy_group_spend_cap_type
AnyAny
strategy_group_updated_on
AnyAny
strategy_groups
AnyAny
strategy_id
AnyAny
strategy_impression_pacing_amount
AnyAny
strategy_impression_pacing_interval
AnyAny
strategy_impression_pacing_type
AnyAny
strategy_max_bid
AnyAny
strategy_max_bid_wm
AnyAny
strategy_min_bid
AnyAny
strategy_name
AnyAny
strategy_pacing_amount
AnyAny
strategy_pacing_interval
AnyAny
strategy_pacing_optimization_amount
AnyAny
strategy_pacing_optimization_type
AnyAny
strategy_pacing_type
AnyAny
strategy_roi_target
AnyAny
strategy_site_restriction_transparent_urls
AnyAny
strategy_start_date
AnyAny
strategy_status
Active Status
AnyAny
strategy_targeting_segment_exclude_op
AnyAny
strategy_targeting_segment_include_op
AnyAny
strategy_updated_on
AnyAny
strategy_use_campaign_end
AnyAny
strategy_use_campaign_start
AnyAny
strategy_use_mm_freq
AnyAny
strategy_use_optimization
AnyAny
Metrics
clicks
AnyAny
ctc
CTC
AnyAny
ctr
CTR
AnyAny
general_invalid_clicks
AnyAny
impressions
AnyAny
in_view
In View Impressions
AnyAny
in_view_100_percent
100% In View Impressions
AnyAny
in_view_15_seconds
AnyAny
in_view_15_seconds_rate
AnyAny
in_view_5_seconds
AnyAny
in_view_5_seconds_rate
AnyAny
in_view_q1
AnyAny
in_view_q2
AnyAny
in_view_q3
AnyAny
in_view_q4
AnyAny
measurability_rate
Measurability Rate
AnyAny
measurable
Measurable Impressions
AnyAny
post_click_aov
Post-Click AOV
AnyAny
post_click_aov_usd
(USD) Post-Click AOV
AnyAny
post_click_conversions
Post-Click Conversions
AnyAny
post_click_conversions_unweighted
Post-Click Conversions (Unweighted)
AnyAny
post_click_revenue
Post-Click Revenue
AnyAny
post_click_revenue_usd
AnyAny
post_click_total_spend_roi
Post-Click Total Spend ROI
AnyAny
post_view_aov
Post-View AOV
AnyAny
post_view_aov_usd
(USD) Post-View AOV
AnyAny
post_view_conversions
Post-View Conversions
AnyAny
post_view_conversions_unweighted
Post-View Conversions (Unweighted)
AnyAny
post_view_revenue
Post-View Revenue
AnyAny
post_view_revenue_usd
(USD) Post-View Revenue
AnyAny
post_view_total_spend_roi
Post-View Total Spend ROI
AnyAny
rr_per_1k_imps
Response Rate/1K Imps
AnyAny
total_aov
Total AOV
AnyAny
total_aov_usd
(USD) Total AOV
AnyAny
total_clicks
AnyAny
total_conversions
AnyAny
total_conversions_unweighted
Total Conversions (Unweighted)
AnyAny
total_revenue
AnyAny
total_revenue_usd
AnyAny
total_spend
AnyAny
total_spend_cpa
Total Spend eCPA
AnyAny
total_spend_cpa_usd
(USD) Total Spend eCPA
AnyAny
total_spend_cpc
Total Spend eCPC
AnyAny
total_spend_cpc_usd
(USD) Total Spend eCPC
AnyAny
total_spend_cpcv
Total Spend eCPCV
AnyAny
total_spend_cpcv_usd
(USD) Total Spend eCPCV
AnyAny
total_spend_cpm
Total Spend eCPM
AnyAny
total_spend_cpm_usd
(USD) Total Spend eCPM
AnyAny
total_spend_pc_cpa
Total Spend PC CPA
AnyAny
total_spend_pc_cpa_usd
(USD) Total Spend PC CPA
AnyAny
total_spend_pv_cpa
Total Spend PV CPA
AnyAny
total_spend_pv_cpa_usd
(USD) Total Spend PV CPA
AnyAny
total_spend_roi
Total Spend ROI
AnyAny
total_spend_usd
AnyAny
total_spend_vcpm
Total Spend vCPM
AnyAny
total_spend_vcpm_usd
(USD) Total Spend vCPM
AnyAny
uniques
current_day, yesterday, last_X_days, month_to_date, campaign_to_dateall, by_day, by_week, by_month
video_close
Close
AnyAny
video_collapse
Collapse
AnyAny
video_companion_clicks
Companion Clicks
AnyAny
video_companion_ctr
Companion CTR
AnyAny
video_companion_impressions
Companion Impressions
AnyAny
video_complete
100% Completed Views
AnyAny
video_complete_rate
100% Completed Rate
AnyAny
video_complete_rate_impression_based
VCR (Impression Based)
AnyAny
video_engaged_impressions
Engaged Impressions
AnyAny
video_engaged_rate
Engaged Rate
AnyAny
video_expand
Expand
AnyAny
video_first_quartile
25% Completed Views
AnyAny
video_first_quartile_rate
25% Completed Rate
AnyAny
video_first_quartile_rate_impression_based
25% Completed Rate - Impressions Based
AnyAny
video_fullscreen
Fullscreen
AnyAny
video_midpoint
50% Completed Views
AnyAny
video_midpoint_rate
50% Completed Rate
AnyAny
video_midpoint_rate_impression_based
50% Completed Rate - Impressions Based
AnyAny
video_mute
AnyAny
video_pause
Pause
AnyAny
video_play_rate
Play Rate
AnyAny
video_resume
Resume
AnyAny
video_rewind
Rewind
AnyAny
video_skip
Skip
AnyAny
video_skippable_impressions
Skippable Impressions
AnyAny
video_skipped_impressions
Skipped Impressions
AnyAny
video_skipped_rate
Skipped Rate
AnyAny
video_start
Start
AnyAny
video_third_quartile
75% Completed Views
AnyAny
video_third_quartile_rate
75% Completed Rate
AnyAny
video_third_quartile_rate_impression_based
75% Completed Rate - Impressions Based
AnyAny
video_unmute
AnyAny
viewability_rate
Viewability Rate
AnyAny
viewability_rate_100_percent
100% In View Rate
AnyAny

Pageable

Yes

Time Windows

current_day, yesterday, last_X_days, month_to_date, campaign_to_date

Rollups

all, by_day, by_week, by_month

Data Retention / Lookback Window

Since 2013

Security
Auth0(Required scopes: offline_access)
Bodyapplication/jsonrequired
One of:
end_timestring or null, (date-time)
fieldsArray of strings, non-empty, uniquerequired
filtersArray of objects, non-emptyrequired
full_entitiesArray of strings or null, non-empty, unique
max_resultsinteger or null, >= 1

Maximum number of results to return. Only applicable for streaming responses. No limit if absent or null.

orderArray of objects
paginationobject or null

Streaming response if absent or null, Paginated response otherwise

rollupstringrequired
start_timestring, (date-time)
time_windowstring
time_zonestring

Only in supported datasets: campaign, UTC or a time zone name defined in https://www.iana.org/time-zones

POST
/performance
curl -i -X POST \
  https://api.mediamath.com/reporting/v2/performance \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "fields": [
      "campaign_id",
      "impressions"
    ],
    "filters": [
      {
        "field": "organization_id",
        "op": "=",
        "value": 123456
      },
      {
        "field": "agency_id",
        "value": [
          123456,
          789012
        ]
      },
      {
        "field": "advertiser_id",
        "value": 123456
      },
      {
        "field": "campaign_name",
        "op": "=~",
        "value": "Test Campaign"
      }
    ],
    "order": [
      {
        "desc": false,
        "field": "agg_timestamp",
        "nulls_last": true
      }
    ],
    "pagination": {
      "page_index": 0,
      "page_size": 100
    },
    "rollup": "by_day",
    "time_window": "current_day"
  }'

Responses

JSON for Paginated, JSONL for Streaming

Body
metaobject
resultsArray of objects
Response
{ "meta": { "items_count": 3, "page_index": 0, "status": "OK", "total_items_count": 3, "total_pages": 1 }, "results": [ {}, {}, {} ] }