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.

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:

  1. Navigate to the Canva Helpdesk.
  2. Select Homepage Update Request.
  3. FIll out the required fields.
  4. Provide the following:
    1. The campaign title, such as "Back to school" or "Mother's day".
    2. A list of products for the campaign.
    3. 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.

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,
});
})();
javascript