You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each run supports: text, color, font, font_size, bold, italic, underline, strikethrough, smallCaps, alignment.
Table
Field
Type
Default
Description
type
string
—
"table"
id
string
Auto
Custom object ID
headers
array
[]
Header row text values
rows
array
[]
Data rows (array of arrays)
x
float
0.5
X position in inches
y
float
1.5
Y position in inches
width
float
9
Width in inches
height
float
3.5
Height in inches
header_bg
string
"#2C3E50"
Header background color
header_color
string
"#FFFFFF"
Header text color
alt_row_bg
string
"#F5F5F5"
Alternating row background
body_color
string
"#333333"
Body text color
font_size
float
10
Font size in points
font
string
—
Font family
col_widths
array
Equal
Relative column width ratios
Auto-splitting: If a table has more rows than fit on one slide, it automatically splits across continuation slides. Each continuation slide gets the same headers and a "(continued 2/3)" label.
Shape
Field
Type
Default
Description
type
string
—
"shape"
id
string
Auto
Custom object ID
shape
string
"RECTANGLE"
Shape type (see aliases below)
x
float
0
X position in inches
y
float
0
Y position in inches
width
float
10
Width in inches
height
float
0.05
Height in inches
fill
string
—
Fill color as "#RRGGBB"
outline
bool/object
—
false to hide, or {"color": "#hex", "weight": pt, "dash": "DASH"}
content
string
—
Text inside the shape (auto-shrinks to fit)
color
string
—
Text color (when content is set)
font
string
—
Text font (when content is set)
font_size
float
14
Text size (when content is set)
bold
bool
false
Bold text (when content is set)
alignment
string
—
Text alignment (when content is set)
Shape aliases:
You write
API receives
CIRCLE
ELLIPSE
OVAL
ELLIPSE
SQUARE
RECTANGLE
LINE
RECTANGLE
ROUNDED_RECTANGLE
ROUND_RECTANGLE
ARROW
RIGHT_ARROW
TRIANGLE
RIGHT_ARROW_CALLOUT
CALLOUT
WEDGE_ROUND_RECTANGLE_CALLOUT
Image
Field
Type
Default
Description
type
string
—
"image"
id
string
Auto
Custom object ID
url
string
—
Image URL (HTTPS required, http:// auto-upgraded)
x
float
0.5
X position in inches
y
float
0.5
Y position in inches
width
float
3
Width in inches
height
float
3
Height in inches
Notes:
SVG images are silently skipped (unsupported by the Google Slides API)
http:// URLs are automatically upgraded to https://