Skip to main content
Anchor to MarketingActivityUpsertExternalInput

MarketingActivityUpsertExternalInput

input_object

The input fields for creating or updating an externally-managed marketing activity.

•MoneyInput

The amount spent on the marketing activity.

•MarketingActivityBudgetInput

The budget for this marketing activity.

•String

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

•DateTime

The date and time at which the activity started. On creation, if this field is omitted or set to null, the current time will be used if the status is set to INACTIVE or DELETED_EXTERNALLY .

•MarketingActivityHierarchyLevel

The hierarchy level of the activity within a campaign. The hierarchy level can't be updated.

Anchor to marketingChannelTypemarketingChannelType
•MarketingChannel!non-null

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

•String

The remote ID for the parent marketing activity, if creating hierarchical activities.

•String

The domain from which ad clicks are forwarded to the shop.

•String!non-null

A custom unique identifier for the marketing activity, which can be used to manage the activity and send engagement metrics without having to store our marketing activity ID in your systems.

Anchor to remotePreviewImageUrlremotePreviewImageUrl
•URL

The URL for a preview image that's used for the marketing activity.

•URL!non-null

The URL for viewing and/or managing the activity outside of Shopify.

•DateTime

The date and time at which the activity is scheduled to end.

•DateTime

The date and time at which the activity is scheduled to start.

•DateTime

The date and time at which the activity started. On creation, if this field is omitted or set to null, the current time will be used.

•MarketingActivityExternalStatus!non-null

The status of the marketing activity.

•MarketingTactic!non-null

The method of marketing used for this marketing activity. The marketing tactic determines which default fields are included in the marketing activity.

•String!non-null

The title of the marketing activity.

•String

Value for a query parameter that gets inserted into storefront URLs for matching storefront traffic to this activity. This feature is currently available on a limited basis to some partners only. UTMs should continue to be used for most partners. Both the URL parameter value and UTM parameters can be set.

•UTMInput

Specifies the Urchin Traffic Module (UTM) parameters that are associated with a related marketing campaign. Either the URL parameter value or UTM can be set, but not both.


Was this section helpful?