Skip to content

Traffic shapping accounting for properties emissions #210

@maelmrgt

Description

@maelmrgt

Hello everyone,

I would love to contribute to your repository to implement a new feature allowing to account for traffic shaping policy during carbon emissions computation, on a publisher side. I would appreciate your thoughts on the implementations proposed below.

Here is my use case. At Greenbids, we want to be able, for our partner publishers, to account for whether traffic shaping is being deployed on their properties. This distinction is important because impressions on properties with traffic shaping should result in lower carbon emissions.

This leads me to consider two options:

  • We could impute a traffic_shaping coefficient to the corporate emissions calculation. This would involve adding a new decimal attribute, traffic_shaping (defaulting to 1), to the Property definition. The new corporate emissions would then be calculated as: self.corporate_emissions_g_co2e_per_impression * self.traffic_shaping.
  • We could add a new attribute to the property, ad_selection_gco2_per_impr, and return this value multiplied by the traffic shaping coefficient

First solution assumes that corporate emissions are tied to the ad selection process, which I am not entirely sure about. However, in solution 2, determining or setting a value for ad_selection_gco2_per_impr (which should depend on the type of property) can be challenging.

Thanks for your time and this repository. I appreciate how well it articulates and models the advertising ecosystem.
Maël

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions