Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions defaults/docs-defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@ defaults:
tv: 160
default_average_data_kb_per_session_seconds_excluding_ads_by_channel:
app: 29.500000000
search: 1.011000000
social: 38
web: 1.011000000
default_average_seconds_per_session_excluding_ads_by_channel:
app: 140
audio: 1500
ctv-bvod: 2580
linear-tv: 2580
search: 120
social: 240
streaming-video: 300
web: 320
Expand All @@ -27,6 +29,7 @@ defaults:
- social
- audio
- web
- search
- streaming-video
- linear-tv
phone:
Expand All @@ -35,6 +38,7 @@ defaults:
- audio
- app
- web
- search
- streaming-video
- linear-tv
smart-speaker:
Expand All @@ -45,6 +49,7 @@ defaults:
- audio
- app
- web
- search
- streaming-video
- linear-tv
tv:
Expand All @@ -56,6 +61,7 @@ defaults:
audio: 1000
ctv-bvod: 0
dooh: 0
search: 150
social: 1000
streaming-video: 1000
web: 1500
Expand All @@ -65,6 +71,7 @@ defaults:
ctv-bvod: tv
dooh: tv
linear-tv: tv
search: phone
social: phone
streaming-video: pc
web: pc
Expand Down Expand Up @@ -112,6 +119,8 @@ defaults:
default_dynamic_watts_per_mbps:
fixed: 0.030000000
mobile: 1.530000000
default_emissions_ad_selection_gco2_per_imp_by_channel:
search: 0.001229300
default_emissions_generic_ad_server_gco2_per_imp: 0.000016000
default_emissions_generic_ad_server_gco2_per_imp_by_channel:
social: 0.004300000
Expand Down Expand Up @@ -289,6 +298,7 @@ defaults:
ctv-bvod: 15s Video
dooh: Landscape - 1920x1080 Image
linear-tv: 30s Video
search: Responsive Search Ad
social: Sponsored Post - 1080x1920 Image
streaming-video: 15s Video
web: Leaderboard - 728x90 Banner
Expand All @@ -298,6 +308,7 @@ defaults:
ctv-bvod: 15s-video-ctv-bvod-tv
dooh: landscape-dooh
linear-tv: 30s-video-ctv-bvod-tv
search: responsive-search-ad-search-phone
social: 1080-1920-sponsored-post-social-phone
streaming-video: 15s-video-streaming-video-pc
web: leaderboard-web-pc
Expand All @@ -307,6 +318,7 @@ defaults:
ctv-bvod: 100
dooh: 100
linear-tv: 100
search: 100
social: 100
streaming-video: 100
web: 100
Expand All @@ -315,6 +327,7 @@ defaults:
audio: 4.800000000
ctv-bvod: 8.256000000
linear-tv: 21.500000000
search: 12
social: 24
streaming-video: 1
web: 32
Expand All @@ -323,6 +336,7 @@ defaults:
audio: 0.049000000
ctv-bvod: 0.280000000
dooh: 0.049000000
search: 0.049000000
social: 0.150000000
streaming-video: 0.049000000
web: 0.049000000
Expand Down
3 changes: 3 additions & 0 deletions docs/snippets/defaults_ad_platform.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,16 @@ default_consumer_device_request_size_bytes:
audio: 1000
social: 1000
streaming-video: 1000
search: 150

default_emissions_per_creative_request_gco2_per_imp: 0.0003
default_emissions_per_bid_request_gco2_per_imp: 0.11442
default_emissions_per_rtdp_request_gco2_per_imp: 0.01
default_emissions_generic_ad_server_gco2_per_imp: 0.000016
default_emissions_generic_ad_server_gco2_per_imp_by_channel:
social: 0.0043
default_emissions_ad_selection_gco2_per_imp_by_channel:
search: 0.0012293

generic_creative_ad_server:
emissions_per_creative_request_per_geo_gco2_per_imp:
Expand Down
27 changes: 19 additions & 8 deletions docs/snippets/defaults_channel_mapping.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ default_channel_by_device:
- audio
- app
- web
- search
- streaming-video
- linear-tv
tablet:
Expand All @@ -14,13 +15,15 @@ default_channel_by_device:
- audio
- app
- web
- search
- streaming-video
- linear-tv
pc:
- ctv-bvod
- social
- audio
- web
- search
- streaming-video
- linear-tv
tv:
Expand All @@ -30,14 +33,15 @@ default_channel_by_device:
smart-speaker:
- audio
default_device_by_channel:
social: phone
ctv-bvod: tv
social: phone
ctv-bvod: tv
streaming-video: pc
audio: phone
app: phone
web: pc
dooh: tv
linear-tv: tv
audio: phone
app: phone
web: pc
dooh: tv
linear-tv: tv
search: phone
default_platform_ad_format_identifier_by_channel:
dooh: landscape-dooh
social: 1080-1920-sponsored-post-social-phone
Expand All @@ -46,7 +50,8 @@ default_platform_ad_format_identifier_by_channel:
audio: 30s-audio-digital-audio-phone
app: interstitial-app-phone
web: leaderboard-web-pc
linear-tv: 30s-video-ctv-bvod-tv
linear-tv: 30s-video-ctv-bvod-tv
search: responsive-search-ad-search-phone
default_platform_ad_format_by_channel:
dooh: Landscape - 1920x1080 Image
social: Sponsored Post - 1080x1920 Image
Expand All @@ -56,6 +61,7 @@ default_platform_ad_format_by_channel:
app: Interstitial - 1080x1920 Banner
web: Leaderboard - 728x90 Banner
linear-tv: 30s Video
search: Responsive Search Ad
default_property_average_imps_per_session_by_channel:
social: 24
ctv-bvod: 8.256
Expand All @@ -64,6 +70,7 @@ default_property_average_imps_per_session_by_channel:
app: 14
web: 32
linear-tv: 21.5
search: 12
default_property_ad_funded_percentage_by_channel:
dooh: 100
social: 100
Expand All @@ -73,6 +80,7 @@ default_property_ad_funded_percentage_by_channel:
app: 100
web: 100
linear-tv: 100
search: 100
default_average_seconds_per_session_excluding_ads_by_channel:
social: 240
ctv-bvod: 2580
Expand All @@ -81,10 +89,12 @@ default_average_seconds_per_session_excluding_ads_by_channel:
app: 140
web: 320
linear-tv: 2580
search: 120
default_average_data_kb_per_session_seconds_excluding_ads_by_channel:
social: 38
app: 29.5
web: 1.011
search: 1.011
default_property_g_per_imp_by_channel:
dooh: 0.049
social: 0.15
Expand All @@ -93,4 +103,5 @@ default_property_g_per_imp_by_channel:
audio: 0.049
app: 0.049
web: 0.049
search: 0.049
```
2 changes: 1 addition & 1 deletion scope3_methodology/test/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def test_startup(self):
)

docs_defs = docs_defaults
self.assertEqual(len(docs_defs), 44)
self.assertEqual(len(docs_defs), 45)

def test_get_all_con_networking_connection_device_fixed_defaults(self):
"""Test get_all_networking_connection_device_defaults returns expected output"""
Expand Down