Questions tagged [google-slides-api]

Google Slides lets you create, edit, collaborate, and deliver presentations using compelling themes and fonts, embedded video, charts, animations, and more.

Apps can integrate with the Google Slides API to create beautiful slide decks automatically from user- and system-provided data. For example, you could use customer details from a database and combine them with predesigned templates and selected configuration options to create finished presentations in a fraction of the time it would take to create them manually.

Important Links

451 questions
0
votes
1 answer

How set Indentation to Google slide Shape Text

We are trying to Indent the Google Slide Shape, by setting the Left/Right indentation values using Google Apps Script. function indentShape(){ var slide = SlidesApp.getActivePresentation().getSlides()[0]; var shape = slide.getShapes()[0]; …
Sarath
  • 67
  • 1
  • 8
0
votes
0 answers

How to add the Wrap Text to google slide shapes

I'm trying to Wrap text in Google Slide Shape using Google Script Sample Code: function wrapText(){ var slide=SlidesApp.getActivePresentation().getSlides()[4] var shape = slide.getShapes()[0]; shape.wrapText(); } Above code, I tried to…
Sarath
  • 67
  • 1
  • 8
0
votes
0 answers

Recoloring images using Google Slides API

I am writing a script for Google Slides using Apps Script (including Slides API) for auto-formatting presentations. Crucial function there is to recolor images using certain color. function img() { var i_id =…
Igor
  • 13
  • 4
0
votes
1 answer

How to use SlidesSnippet tool probably for google slides api python

So I am trying to automate creating google slides using SlidesSnippets (https://github.com/gsuitedevs/python-samples/blob/master/slides/snippets/slides_snippets.py) I have all api credentials handles and access into my api service but having a hard…
Mike
  • 227
  • 1
  • 3
  • 17
0
votes
0 answers

Distribute Shapes or PageElements via the Google Slides API?

How can the Google Slides API be used to do the same as the "Distribute" function which is available from the GUI editor? (as in:
seinecle
  • 10,118
  • 14
  • 61
  • 120
0
votes
1 answer

Why do I get credential read in error on google slide API?

I downloaded the gsuite developers python code from : (https://github.com/gsuitedevs/python-samples) I then enabled api access and downloaded the credentials.json file and ran the quickstart.py in: (python-samples-master/slides/quickstart) and it…
0
votes
1 answer

Google Slides Batch Update Errors - "Invalid JSON payload received. Unknown name" & " Cannot bind query parameter"

I'm trying to write to a slide element. I keep getting the error responses of "Invalid JSON payload received. Unknown name" and " Cannot bind query parameter. Field" My request is { "requests": [ { "deleteText": { "objectId":…
Chris
  • 136
  • 2
  • 12
0
votes
1 answer

Creating new slide request with Google App Script and modifying the created layout

I am creating sheet add-on to print name tags from Google Sheet list to Google Slides document. One slide would contain the name tag and company name. I am no t able to insert title when creating the slide. var dataRangeNotation =…
0
votes
3 answers

Is there a way to get the current slide the user is on? Google Slides, and Apps Script

I'm trying to create a game in Google Slides and need to have a system where if the user is on a certain slide, a variable is changed. How is this possible? I have already tried to use…
user7865887
0
votes
0 answers

Distributing a long text over multiple Google Slides via Apps Script

I am having a long text with list items which I want to add to Google Slides via Apps Script. As the length of the text and the single list items may differ, I need to create multiple slides to cover the entire text. For this purpose, I wanted to do…
0
votes
1 answer

Adjust the chart position of google slide which is created by google spreadsheet

I am trying to adjust the position of Google Apps Script chart on Google Slide. First, the chart is created on a spreadsheet and inserted into the slide. I tried to change the position to right side or center using setLeft() and alignOnPage()…
xcen
  • 652
  • 2
  • 6
  • 22
0
votes
1 answer

How can I use Apps Script to alter the amount of Slides that print on each page

I have a spreadsheet that programmatically creates a Google Slides presentation with multiple slides. I want to use apps script to create a pdf version of these slides but with multiple slides on each page. I know how to use DriveApp.create(blob) to…
BJG87
  • 121
  • 2
  • 9
0
votes
1 answer

Google Slides API: no "client_secret.json"

I'm new to Google Slides API and am trying to build a slide deck for daily news headlines by replacing image and text placeholders (for your reference, see https://www.youtube.com/watch?v=8LSUbKZq4ZY and…
0
votes
1 answer

Edit Text During Google Slides Presentation

I am trying to build a form in google slides. The form will have specific user inputs like first/last name, email, and zipcode. These inputs will be added to a google spreadsheet after the user submits. It isn't necessary that this happens at that…
dilt
  • 1
  • 1
  • 2
0
votes
1 answer

Delete one slide from a Google Presentation using API based off of date

Is it even possible to have a slide presentation delete a slide base off of a date. For example have the slide expire after a certain date. The purpose is for digital signage. I was just hoping to write a script that deleted a slide. Please let me…