Skip to content

app.earned_media_items

TableRow level security on

Earned media coverage of a project (gate 8, G8.MEASUREMENT_REPORTED): one row per piece of coverage, sourced and dated, with its link, reach and tone. The earned media figures of the measurement report are computed from these rows. A reach the source does not report is NULL and shows as Unmeasured; who recorded the row and when are created_by and created_at.

Primary key: id

Columns of app.earned_media_items
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org, derived from app.projects on insert; never accepted from the caller and never changed.References app.organizations.id
project_iduuidNoProject covered.References app.projects.id
titletextNoHeadline or title of the coverage.
outlettextNoPublication, station, channel or account that ran it.
mediumapp.coverage_mediumNoOnline, Print, Broadcast, Podcast or Social.
published_ondateNoDay it ran, on the project's calendar; never after today there.
urltextYesLink to the coverage; one live row per link in a project.
reachbigintYesAudience the outlet reports for the piece (readers, viewers, listeners or impressions); NULL when unreported (Unmeasured).
toneapp.coverage_toneYesPositive, Neutral or Negative; NULL until rated.
sourceapp.measurement_sourceNoManual, Import (such as a media monitoring export) or Integration.
source_referencetextYesWhat the row came from, such as a monitoring export file.
notetextYesNote on the coverage.
created_attimestamp with time zoneNoWhen the row was inserted. Set by the database.
created_byuuidYesPerson who inserted the row, or null for a platform process. Set by the database.References app.people.id
updated_attimestamp with time zoneNoWhen the row last changed. Set by the database.
updated_byuuidYesPerson who last changed the row, or null for a platform process. Set by the database.References app.people.id
deleted_attimestamp with time zoneYesSoft delete time. A row with deleted_at set is ignored by every access helper.