Skip to main content
Anchor to MarketingActivityUserError

MarketingActivityUserError

object

An error that occurs during the execution of marketing activity and engagement mutations.

•MarketingActivityUserErrorCode

The error code.

•[String!]

The path to the input field that caused the error.

•String!
non-null

The error message.


Was this section helpful?

•mutation

Deletes all external marketing activities. Deletion is performed by a background job, as it may take a bit of time to complete if a large number of activities are to be deleted. Attempting to create or modify external activities before the job has completed will result in the create/update/upsert mutation returning an error.

•mutation

Creates a new external marketing activity.

Arguments

•MarketingActivityCreateExternalInput!
required

The input field for creating an external marketing activity.


•mutation

Deletes an external marketing activity.

Arguments

•ID

The ID of the marketing activity. A marketing activity ID or remote ID must be provided.

•String

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. A marketing activity ID or remote ID must be provided.


•mutation

Update an external marketing activity.

Arguments

•MarketingActivityUpdateExternalInput!
required

The input field for updating an external marketing activity.

•ID

The ID of the marketing activity. Specify either the marketing activity ID, remote ID, or UTM to update the marketing activity.

•String

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. Specify either the marketing activity ID, remote ID, or UTM to update the marketing activity.

•UTMInput

Specifies the Urchin Traffic Module (UTM) parameters that are associated with a related marketing campaign. Specify either the marketing activity ID, remote ID, or UTM to update the 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.

Arguments

•MarketingActivityUpsertExternalInput!
required

The input field for creating or updating an external marketing activity.


•mutation

Creates a new marketing engagement for a marketing activity or a marketing channel.

Arguments

•ID

The identifier of the marketing activity for which the engagement metrics are being provided. This or the remoteId should be set when and only when providing activity-level engagements. This should be nil when providing channel-level engagements.

•String

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. This or the marketingActivityId should be set when and only when providing activity-level engagements. This should be nil when providing channel-level engagements.

•String

The unique string identifier of the channel to which the engagement metrics are being provided. This should be set when and only when providing channel-level engagements. This should be nil when providing activity-level engagements. For the correct handle for your channel, contact your partner manager.

•MarketingEngagementInput!
required

The marketing engagement's attributes.


•mutation

Marks channel-level engagement data such that it no longer appears in reports. Activity-level data cannot be deleted directly, instead the MarketingActivity itself should be deleted to hide it from reports.

Arguments

•String

The handle of the channel for which engagement data should be deleted.

Anchor to deleteEngagementsForAllChannelsdeleteEngagementsForAllChannels
•Boolean
Default:false

When true, engagements for all channels that belong to the api client will be deleted.



Was this section helpful?


Was this section helpful?