Show campaign templates
When a user creates a design, by default Canva shows templates relevant to a product. Sometimes, a partner may want to show templates specific to a theme, event, or marketing campaign instead. This lets a partner provide a more tailored user experience.
This document explains how to show campaign templates.
If you prefer to set up multiple product catalogs, each with separate products and templates, see Set up multiple product catalogs.
Step 1: Provide Canva with the campaign details and a list of products
Canva maintains the templates to show for each product. This means partners can't directly modify the template settings themselves. Partners must request Canva to make the changes.
To raise a request:
- Navigate to the Canva Helpdesk(opens in a new tab or window).
- Select Homepage Update Request.
- FIll out the required fields.
- Provide the following:
- The campaign title, such as "Back to school" or "Mother's day".
- A list of products for the campaign.
- The campaign launch date.
After receiving the request, Canva:
- Groups the templates for each product under a specific type, such as “BacktoSchoolPoster”, “MothersDayCard”.
- Responds with the type the templates are grouped under.
Step 2: Show the campaign templates
To show the campaign templates for a specific product, pass the partner product ID and the template type to the createDesign method.
(async () => {const api = await Canva.Partnership.initialize({apiKey: "<partner_api_key>",autoAuthToken: "<auto_auth_token>",});api.createDesign({partnerProductId: "Poster11x17in",type: "BacktoSchoolPoster",designSource: "direct",onArtworkCreate,onBackClick,});})();