Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

object

Requires read_marketing_events access scope.

The marketing activity resource represents marketing that a merchant created through an app.

•

The URL of the marketing activity listing page in the marketing section.

•

The amount spent on the marketing activity.

•
App!non-null

The app which created this marketing activity.

•

The errors generated when an app publishes the marketing activity.

•

The allocated budget for the marketing activity.

•
DateTime!non-null

The date and time when the marketing activity was created.

•

The completed content in the marketing activity creation form.

•

The hierarchy level of the marketing activity.

•
ID!non-null

A globally-unique ID.

Anchor to inMainWorkflowVersioninMainWorkflowVersion
•
Boolean!non-null

Whether the marketing activity is in the main workflow version of the marketing automation.

•
Boolean!non-null

The marketing activity represents an external marketing activity.

Anchor to marketingChannelTypemarketingChannelType
•

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

•

Associated marketing event of this marketing activity.

•

ID of the parent activity of this marketing activity.

•

ID of the parent activity of this marketing activity.

•
String!non-null

A contextual description of the marketing activity based on the platform and tactic used.

•

The current state of the marketing activity.

•

The severity of the marketing activity's status.

•
String!non-null

The rendered status of the marketing activity.

Anchor to statusTransitionedAtstatusTransitionedAt
•

The date and time when the activity's status last changed.

•

The method of marketing used for this marketing activity.

•

The status to which the marketing activity is currently transitioning.

•
String!non-null

The marketing activity's title, which is rendered on the marketing listing page.

•
DateTime!non-null

The date and time when the marketing activity was updated.

•

The value portion of the URL query parameter used in attributing sessions to this activity.

•

The set of Urchin Tracking Module used in the URL for tracking this marketing activity.

Show
deprecated fields Deprecated
•
MarketingChannel!non-nullDeprecated

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

•

The severity of the marketing activity's status. Use statusBadgeTypeV2 instead.


Was this section helpful?

•
query

A list of marketing activities associated with the marketing app.

•
query

Returns a MarketingActivity resource by ID.


Was this section helpful?

•
mutation

Create new marketing activity.

•
mutation

Creates a new external marketing activity.

•
mutation

Updates a marketing activity with the latest information.

•
mutation

Update an external marketing activity.

•
mutation

Creates a new external marketing activity or updates an existing one. When optional fields are absent or null, associated information will be removed from an existing marketing activity.


Was this section helpful?

•
interface

Was this section helpful?