This page describes how to perform certain high-level tasks involving presentations such as:
- Create a new presentation
- Copy an existing presentation
The following paragraphs describe these tasks in detail.
Creating a blank presentation
To create a new presentation, use the create method on the presentations collection, as shown in the following example. This example creates a blank presentation with a specified title.
Apps Script
Go
Java
JavaScript
Node.js
PHP
Python
Ruby
Copying an existing presentation
To copy a presentation, use the Google Drive API's files().copy method.
The following example copies an existing presentation, using a provided string for both the presentation title and the name of the new drive file.
Apps Script
Go
Java
JavaScript
Node.js
PHP
Python
Ruby
Note that you need to use an appropriate Drive API scope to make this call.