--- title: marketingActivity - GraphQL Admin description: Returns a `MarketingActivity` resource by ID. api_version: 2024-10 api_name: admin type: query api_type: graphql source_url: html: 'https://shopify.dev/docs/api/admin-graphql/2024-10/queries/marketingActivity' md: >- https://shopify.dev/docs/api/admin-graphql/2024-10/queries/marketingActivity.txt --- # marketing​Activity query Returns a `MarketingActivity` resource by ID. ## Arguments * id [ID!](https://shopify.dev/docs/api/admin-graphql/2024-10/scalars/ID) required The ID of the `MarketingActivity` to return. *** ## Possible returns * Marketing​Activity [Marketing​Activity](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/MarketingActivity) The marketing activity resource represents marketing that a merchant created through an app. *** ## Examples * ### marketingActivity reference ## Query Reference ```graphql { marketingActivity(id) { # marketingActivity fields } } ```