Shopify merchants can use the Marketing section in the Shopify admin to create marketing activities, such as ad campaigns for Facebook or Google. You can add the marketing activity extension to your app to enable merchants to create and monitor your app's promotional campaigns directly in the Shopify admin.
The marketing activity app extension provides a form that merchants can use to create their marketing activities. You can define the form components and other UI elements in your Partner Dashboard. Based on that information, the form is rendered to the merchant in the Shopify admin. To learn more about the form components, see the Marketing activity components reference.
After the merchant enters information into the form, it's sent to your app. To receive the information, your app needs to have the appropriate marketing activity endpoints.