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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
27 views

Google slides add image binary to slide

I working on creating Google slides via java using service account. I'm able to: authenticate create drive and slide service create presentation and add empty slide I'm struggling with adding image ...
adi's user avatar
  • 31
0 votes
1 answer
44 views

Is it possible to get the placeholder ID from a placeholder in Google Slides?

I've created a text content placeholder in Google Slides by editing the Google Slides theme. I'd like to dynamically insert content into that placeholder and to do that I need to know the placeholder ...
Takeshi Patterson's user avatar
1 vote
1 answer
37 views

screenshot from copy of google slide

I'm new to google App Script. I made this script for copying a template slide show and after the copy is made i fill it with tekst of a google sheet. When it's ready I want to make screenshots of the ...
aaron's user avatar
  • 13
0 votes
0 answers
19 views

Is there a way to split Google Slides table using Apps Script?

I have a long table that can't fit into one slide of Google Slides. I can split it manually, but I want to use Apps Script to make it faster. The idea is that when certain rows of the table reach ...
Kalvin Pratama's user avatar
1 vote
0 answers
15 views

Get the speaker notes from embeding

I am builiding a website for slide teaching based on Google Slides. However, i cannot get the speaker notes from slides. As the figure below, i created a html website including "get speaker notes&...
noname18's user avatar
0 votes
1 answer
78 views

Google Slides Tables: setColumnWidth

in Google Slides you can add a Table and each Column in said table can be configured to a certain length in my case i want each column to be column1: 50pts column2: 200pts column3: 30pts column4: ...
Aspectx's user avatar
0 votes
1 answer
97 views

Python Google Slides API How to replace rectangle with an image?

I have a google slide presentation with a slide and a rectangle. The rectangle serves as a placeholder and will be replaced by an image. I have followed this tutorial on how to replace the shape with ...
zvz's user avatar
  • 112
0 votes
1 answer
84 views

Python Google Slides API How to insert a text with hyperlink?

I have looked through the documentation of Google Slides API, but I can't seem to find the section where you can insert a text with hyperlink. I am using python for integrating the API.
zvz's user avatar
  • 112
1 vote
0 answers
90 views

How can you make an animated GIF not play until you click on the slide that it lives on?

When you add a GIF to Google Slides, it will play even if you are not on the slide that it lives on. If you refresh the page, you will see that the GIF starts to play in the thumbnail. Therefore, when ...
Duane Cardinez's user avatar
1 vote
1 answer
76 views

Why do I get this error most of the time trying to use the google API to upload and insert into slides a picture?

I am trying to generate slideshows automatically on Google Slides via the api in python3 and this involves uploading a graph to a particular slide. I created a service account with the slides and ...
thecreamybeige's user avatar
1 vote
1 answer
72 views

Error code 401 when create a google slide API on Laravel

I'm studying google slide API on laravel framework now. i want to create a simple template at first but i stuck. i got this error. { "error": { "code": 401, "message": &...
ferdinand's user avatar
  • 325
0 votes
0 answers
8 views

Adding photos on Google slides from my phone and the app

I have a google slide question. I have added photos from my phone on the google slides app on my phone. When I open the document on my computers, the latest photos are not showing up. I have ...
Laura Riegal's user avatar
0 votes
2 answers
661 views

Is there a way in which I can automatically update a table in google slides linked to google sheets without clicking update?

I'm new to this so please bear with me! As the title states, I am trying to link a Google table to Google Sheets. I copy/pasted the table into Google Slides and linked it to the spreadsheet. Without ...
ForFunLearning's user avatar
-1 votes
1 answer
59 views

exporting google presentation in .net core to pptx

I am creating a presentation via Google.Apis.Slides.v1 in a C# project running on .NET 6. I downloaded the latest nugget package: Install-Package Google.Apis.Slides.v1 When trying to export the ...
elitzur e's user avatar
0 votes
1 answer
72 views

Does Goolge Slides have a 'next slide' event or trigger?

Does Google Slides have a 'next slide' event or trigger? PowerPoint (via Microsoft has a next-side event/trigger that a PowerShell script can listen for, so you can automate a task as each slide is ...
Jibun no Kage's user avatar
0 votes
1 answer
46 views

How to append hyperlink to replaceAllText command in Google Apps Script

Basing a script off of this tutorial - https://spreadsheet.dev/convert-each-row-google-sheets-into-slide-google-slides-apps-script, works perfectly fine. However I'm trying to populate a hyperlink as ...
sixfiveoh's user avatar
1 vote
1 answer
76 views

Google app scripts not replacing all text in a slide

I have a map of slide numbers with an array of associated variables. const slidesMap = { 0: ['firstName', 'date'], 10: ['diversityScore', 'diversityDef', 'butyrateEfficiency', '...
kaiak's user avatar
  • 1,759
1 vote
1 answer
70 views

How to fix/freeze theme color of a shape in google slide using app script

I am trying to freeze the shape color in google slide. So, if the user changes the theme, the shape color should not change. I understand google sheet support Theme and RGB type. I am using below ...
Amira Muzaffar's user avatar
0 votes
0 answers
17 views

Action Not Allowed error when using a Google Slides add-on to copy an object from one presentation to another

I am building an add-on for my colleagues to be able to import the palette they use into a new slides project. The palette is stored in a specific slides presentation and the code pulls it from that ...
SLee's user avatar
  • 1
1 vote
1 answer
50 views

Reordering all slides

I have a NodeJS app I am writing that will manipulate slides in my Google Slides Presentation. I am trying to reorder all the slides in my Google Slides presentation at one time. I keep getting this ...
dmikester1's user avatar
  • 1,434
0 votes
0 answers
7 views

Is it possible to programmatically alter the custom palette of Google Slides using the API?

I'm currently trying to solve a limitation of the Google Slides custom palette only handling 40 colours, tints and shades. Within a specific session the full array of the palette is available but once ...
SLee's user avatar
  • 1
0 votes
0 answers
110 views

Delete text from a Google slides using API

I' m trying to repetetive presentation with Google Slides starting from the events on Google Calendar using an API. I was able to replace some text, but I'd like to delete all the text after the last ...
HonoraryPants's user avatar
0 votes
1 answer
121 views

How to use google-api-python-client package in PyCharm?

I am using PyCharm Community Edition 2022.1, with Python 3.10 interpreter. I am trying to use the google-api-python-client to add elements to a Google Slide. I've tried import googleapiclient, but it ...
Among Us's user avatar
0 votes
0 answers
22 views

Google Slides won't print background JPG

I have a google slides presentation I'm using to send to my team to use as a template to print menu cards. I made a custom layout and inserted a JPG from Illustrator and trim marks (both in the layout)...
Olivia Miller's user avatar
0 votes
1 answer
63 views

Duplicate master Google Slides deck + Populate it from Sheets

I have two scripts that work well separately but I need to combine them. What I am trying to achieve is that from a Google Sheets, someone will run a script and: A copy of a master Google Slides deck ...
coffee709's user avatar
1 vote
1 answer
110 views

Is it possible to generate a thumbnail of an object (e. g. a shape) in a Google Slides File with Apps Script?

With the Slides API getThumbnail it is possible to generate a thumbnail of a specific slide/page (pageObjectId) of a specific presentation (presentationId): GET https://slides.googleapis.com/v1/...
MOS's user avatar
  • 53
1 vote
1 answer
100 views

Why when running the api for google slide batch update I get a 503 Service unavailable response?

The service was working fine, but 48 hours ago this problem started. I have a backend application running, I receive a POST request with a list of slides id´s to remove from a google slides ...
Carlos Membreño's user avatar
0 votes
1 answer
110 views

Rectangular Grid Using Google Apps Script in Google Slides

So, I asked ChatGPT to create a rectangular grid using Google Apps Script within Google Slides. Here are the parameters I gave it: The grid has 5 columns and 4 rows, with each rectangle being no more ...
user14915635's user avatar
0 votes
1 answer
128 views

GAS Script to change the layout of existsing slide

I have a Google Slide where Slide1 has Layout by name "Layout1" Slide2 has Layout by name "Layout2" Slide3 has Layout by name "Layout3" I want to modify the slide ...
Code Guy's user avatar
  • 3,069
1 vote
0 answers
84 views

How to change the theme of the presentation in google slide api?

I can't change the theme of the presentation using the google slide api in a react application. How to change the theme when creating the presentation. Thank you for your help. ` function ...
aloy's user avatar
  • 11
0 votes
1 answer
191 views

Google Apps Script - Exception: Page element is not of type shape

I store in a Google Sheets table some data about quotes, which I inject in a Google Slides (duplicate of a template). My script works replacing the placeholders with the cell content and injecting ...
jdsr's user avatar
  • 29
0 votes
1 answer
52 views

How to remove highlight in the google slides API?

I am using the Google API Python Client to replace text placeholders with generated data. In this example, I detect all instances of "bar" and replace them with "foo", in all ...
MarcelD's user avatar
  • 93
0 votes
1 answer
157 views

Aligning text in the center of a text box using Google app script for slides

I am working on a project that requires text to be aligned in the center of a text box on a google slide, using a google app script. The goal is to pull text from a google worksheet. Then pull an ...
MvD's user avatar
  • 3
1 vote
1 answer
143 views

With Google script, Insert 4:3 image into Google Slide of 16:9 ratio, then export it as PNG file

With Google Apps script I'm trying to automate the process of inserting 4:3 image file (in Google Drive) into an empty slide of 16:9 ratio, aligning the image to the centre, then export the slide as ...
half.dead's user avatar
0 votes
2 answers
59 views

How to convert Date and Time with mailmerge google slides from sheets as it is in cell

I have created a table with which I can record our check in times of our employees with the help of a generated Qr code in each line.The data in the table is generated as slides and converted into pdf....
Pavlos's user avatar
  • 37
1 vote
1 answer
201 views

How can I mailmerge for each row of Google Sheets document to a Slides template (mail merge) using Apps Script if cell match?

I created a spreadsheet that I used as checking in and checking out employees with QR Code and Google Forms. the script works and when I start it it also generates the google slides including the Qr ...
Pavlos's user avatar
  • 37
0 votes
0 answers
78 views

automatically generate for each row of Google Sheets to a Slides template (mail merge) and safe in a folder on drive? using Apps Script?

I want that Apps Script to automatically generate a new set of slides using data from a Sheets document which has rows of the different information I want inserted into a Slides template replacing the ...
Pavlos's user avatar
  • 37
1 vote
1 answer
287 views

How can I automatically insert images for each row of Google Sheets document to a Slides template (mail merge) using Apps Script?

I want that Apps Script to automatically generate a new set of slides using data from a Sheets document which has rows of the different information I want inserted into a Slides template replacing the ...
Pavlos's user avatar
  • 37
0 votes
1 answer
206 views

Google slides - AUTOFIT_TEXT alternative - calculate based on dimensions of element

The google slides API documentation says on shapes/text elements it can accept "AUTOFIT_TEXT" as an autofit type, however this simply doesn't work and the API throws an error saying "...
Shannon Hochkins's user avatar
0 votes
1 answer
75 views

How to assign custom properties to Google Slides contents using Google-App-Script

I would like certain images have an extra property. Essentially my goal is to uniquely identify the images i've added using App Script code and not in the Google Slides app. This is what I have so far ...
Vayun's user avatar
  • 95
0 votes
0 answers
46 views

Autofit Changing with Text Replace

I have used several toturials to set up a script for google sheets that takes a row and turns it into a slide with a template I have layed out. In that template I set all text-boxes to shrink text on ...
James Armstrong's user avatar
0 votes
0 answers
22 views

style object in TextRun returning blank

I have a slide with two text boxes, one with 25 point font another with 18, and I want that style info returned from const res = await slides.presentations.get({ presentationId: '...
Azeli's user avatar
  • 698
0 votes
0 answers
20 views

Add an audio file to a Google slide using API or app script [duplicate]

I'm having trouble finding any reference in the documentation for both Google Slides API or Google Apps Script about programmatically adding an audio file to a slide. For example, https://developers....
Daniel Hug's user avatar
0 votes
0 answers
207 views

How do I resize the text to "Shape to fit text" in Google Slides using AppScript?

I have been trying to resize the rendered text to auto-fit, I searched through the docs, and videos but no luck. Would really appreciate any help. Gooogle AppScript Docs The updateTextAutoFit function ...
Anurag Bhagsain's user avatar
0 votes
1 answer
36 views

revisionId is omitted from Slides API response with new presentations

Any newly created presentations no longer have a revisionId set. Previously a revisionId was set and updated whenever a presentation was modified. This ID was accessible when making requests with the ...
greystash's user avatar
  • 319
0 votes
1 answer
211 views

Image and Data Merge Sheets to Slides Apps Script - Update

I 'm very new to both Apps Script and coding in general. I'm trying to take a google slides presentation, and merge with a csv to create multiple images. I cannot get the merge function to work. I'm ...
Chelsea Ziss's user avatar
3 votes
1 answer
584 views

How to align text vertically in a text box using google app script for slides

I am working on a project that requires text to be aligned vertically in a text box on a google slide. I have the following function that aligns the text horizontally to the left (START) position of ...
Brian Planz's user avatar
0 votes
2 answers
83 views

Linking shapes to slides using text search in Google Slides script

Trying to link shapes to slides the same way it's done with images. . . Reason for this request is linking images seems much harder in terms of locating the exact one to be linked. Have realized it ...
Stephanie's user avatar
1 vote
1 answer
177 views

Duplicating a slide several times - Google Slides

Trying to duplicate 3 (could be more, depending on the presentation) slides multiple times. After searching have found a close result: Google Slide API-How do i duplicate a slide several times and ...
Stephanie's user avatar
0 votes
1 answer
334 views

Get chart from Google Spreadsheet and update chart placeholder in Slides with Python

I'm using Google API to automatize a monthly report. I'm coping a spreadsheet and slide templates, updating the spreadsheet data and I want to add the charts to slides. My spreadsheet have one chart ...
lela_rib's user avatar
  • 147

1
2 3 4 5
9