Planning

Estimate the emissions for a media plan

API Status

The Planning API is currently in closed beta. You will need an API key to use it - please contact Scope3 if you would like access!

Input parameters

The parameter list below represents our recommended set of parameters. Please see API Reference for a full list of supported parameters.

Row

ParameterValuesRequiredComments
channeldisplay-web, display-app, streaming-video, socialyes
countrystringyesThe two-letter country code
weightedSellerListSee belownoWeighted list of sellers that will be on the plan
creativecreative objectyesMust provide at least format
deviceTypephone, tablet, pc, tvyes
buyingMethoddirect, direct-takeover, programmatic-open, programmatic-pmp, programmatic-guaranteednoThe method used to buy the impressions
impressionsintegeryes

Weighted Seller List

ParameterValuesRequiredComments
sellerstringyesThe seller of the impressions. Follows same rules as in the Campaign API - will look up an organization that matches the seller and fall back to a matching domain or app
weightfloatyesThe weights are divided by the total weight then multiplied by the impressions. This provides the flexibility to use percentages or actual impression numbers.

Example

"weightedSellerList":[{"seller":"google","weight":95},{"seller":"bing","weight":5}]}

Output parameters

ParameterValuesComments
totalCreativeDistributionEmissionsgCO2eCreative delivery including data transfer and all vendors involved.
totalAdSelectionMediaDistributionEmissionsgCO2eAd Selection + Media Distribution emissions for the plan
totalEmissionsgCO2eTotal footprint of the campaign excluding consumer device and excluding compensation (sum of above)
rowsSkippedintRows that were not processed, usually indicating an unmatched seller
rowsJSON arrayProvides the above fields for each seller in the weightedSellerList in the same order as they are provided above, as well as an error field

Examples

See Google Sheets Integration for a script to use the Planning API in a Google Sheet.