Skip to content

Portfolio Events

Portfolio events are annotations tied to a portfolio that describe external factors (campaigns, promotions, market events, etc.) that may influence performance data. Events have a start/end date, a category, and an impact classification. You can find all information about how events work in the events documentation.

List portfolio events

The query uses cursor-based pagination. Omit $first and $after to fetch the most recent events, or supply them to page through a large event list.

Apollo Studio

graphql
query PortfolioEvents($teamId: Int!, $portfolioId: Int!, $first: Int, $after: String) {
  portfolioV2(teamId: $teamId, portfolioId: $portfolioId) {
    portfolioEvents(first: $first, after: $after) {
      edges {
        cursor
        node {
          portfolioEventId
          name
          description
          start
          end
          assetUrl
          category
          impact
          created
          includesAllContents
        }
      }
    }
  }
}

Variables

json
{
  "teamId": 123,
  "portfolioId": 456,
  "first": 50
}

Pagination

Pass the cursor value of the last edge as $after in the next request to fetch the next page.

Event fields

FieldDescription
portfolioEventIdUnique identifier for the event
nameShort display name of the event
descriptionOptional longer description
startEvent start date/time
endEvent end date/time
assetUrlOptional URL to a related asset (e.g. a creative)
categoryEvent category (e.g. CAMPAIGN, MARKET)
impactExpected impact level (e.g. LOW, MEDIUM, HIGH)
createdTimestamp when the event was created
includesAllContentsWhether the event applies to all portfolio contents or only selected ones