Skip to main content
Log inSign up
object

Requires read_marketing_events access scope.

Represents actions that market a merchant's store or products.

App!non-null

The app that the marketing event is attributed to.

The unique string identifier of the channel to which this activity belongs. For the correct handle for your channel, contact your partner manager.

A human-readable description of the marketing event.

The date and time when the marketing event ended.

ID!non-null

A globally-unique ID.

The ID of the corresponding resource in the REST Admin API.

The URL where the marketing event can be managed.

Anchor to marketingChannelTypemarketingChannelType

The medium through which the marketing activity and event reached consumers. This is used for reporting aggregation.

The URL where the marketing event can be previewed.

An optional ID that helps Shopify validate engagement data.

The date and time when the marketing event is scheduled to end.

String!non-null

Where the MarketingEvent occurred and what kind of content was used. Because utmSource and utmMedium are often used interchangeably, this is based on a combination of marketingChannel, referringDomain, and type to provide a consistent representation for any given piece of marketing regardless of the app that created it.

DateTime!non-null

The date and time when the marketing event started.

The marketing event type.

The name of the marketing campaign.

The medium that the marketing campaign is using. Example values: cpc, banner.

The referrer of the marketing event. Example values: google, newsletter.

Show
deprecated fields Deprecated

The medium through which the marketing activity and event reached consumers. This is used for reporting aggregation. Use marketingChannelType instead.

Anchor to targetTypeDisplayTexttargetTypeDisplayText
String!non-nullDeprecated

The display text for the marketing event type. Use sourceAndMedium instead.


Was this section helpful?

query

Returns a MarketingEvent resource by ID.

query

A list of marketing events associated with the marketing app.


Was this section helpful?


Was this section helpful?