Skip to main content
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.

•String

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

•String

A human-readable description of the marketing event.

•DateTime

The date and time when the marketing event ended.

•ID!non-null

A globally-unique ID.

•UnsignedInt64!non-null

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

•URL

The URL where the marketing event can be managed.

Anchor to marketingChannelTypemarketingChannelType
•MarketingChannel

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

•URL

The URL where the marketing event can be previewed.

•String

An optional ID that helps Shopify validate engagement data.

•DateTime

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.

•MarketingTactic!non-null

The marketing event type.

•String

The name of the marketing campaign.

•String

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

•String

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

Deprecated fields

•MarketingChannelDeprecated
Anchor to targetTypeDisplayTexttargetTypeDisplayText
•String!non-nullDeprecated

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?
OSZAR »