marketing Event
Returns a resource by ID.
Arguments
- id (ID!)
- •ID!required
The ID of the
to return.
Anchor to Possible returnsPossible returns
- MarketingEvent (MarketingEvent)
- Anchor to MarketingEventMarketing•Marketing
Event Event Represents actions that market a merchant's store or products.
Show fields
- •App!non-null
The app that the marketing event is attributed to.
Show fields
- Anchor to channelHandlechannel•String
Handle The unique string identifier of the channel to which this activity belongs. For the correct handle for your channel, contact your partner manager.
- Anchor to descriptiondescription•String
A human-readable description of the marketing event.
- Anchor to endedAtended•Date
At Time The date and time when the marketing event ended.
- •ID!non-null
A globally-unique ID.
- Anchor to legacyResourceIdlegacy•Unsigned
Resource Id Int64! non-null The ID of the corresponding resource in the REST Admin API.
- Anchor to manageUrlmanage•URL
Url The URL where the marketing event can be managed.
- Anchor to marketedResourcesmarketed•Marketed
Resources Resource Connection The resources that this marketing activity advertises, in the order they were added. Resources added in the same request have no guaranteed relative order.
Show fields
- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to lastlast•Int
The last
nelements from the paginated list.
Arguments
- Anchor to marketingChannelTypemarketing•Marketing
Channel Type Channel The medium through which the marketing activity and event reached consumers. This is used for reporting aggregation.
Show enum values
- Anchor to previewUrlpreview•URL
Url The URL where the marketing event can be previewed.
- Anchor to remoteIdremote•String
Id An optional ID that helps Shopify validate engagement data.
- Anchor to scheduledToEndAtscheduled•Date
To End At Time The date and time when the marketing event is scheduled to end.
- Anchor to sourceAndMediumsource•String!
And Medium non-null Where the
occurred and what kind of content was used. Becauseandare often used interchangeably, this is based on a combination of,, andtypeto provide a consistent representation for any given piece of marketing regardless of the app that created it.- Anchor to startedAtstarted•Date
At Time! non-null The date and time when the marketing event started.
- Anchor to typetype•Marketing
Tactic! non-null The marketing event type.
Show enum values
- Anchor to utmCampaignutm•String
Campaign The name of the marketing campaign.
- Anchor to utmMediumutm•String
Medium The medium that the marketing campaign is using. Example values:
cpc,banner.- Anchor to utmSourceutm•String
Source The referrer of the marketing event. Example values:
google,newsletter.- Anchor to channelchannel•Marketing
Channel Deprecated Show enum values
- Anchor to targetTypeDisplayTexttarget•String!
Type Display Text non-nullDeprecated
- •App!