Skip to content

Commit 207ba2b

Browse files
chore: regenerate from OpenAPI spec
- Auto-generated SDK updates - Version: 1.3.120
1 parent af16c7a commit 207ba2b

6 files changed

Lines changed: 10 additions & 13 deletions

File tree

‎openapi.yaml‎

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19821,7 +19821,6 @@ paths:
1982119821
Returns a paginated list of ads with metrics computed over an optional date range.
1982219822
Use source=all to include externally-synced ads from platform ad managers.
1982319823
If no date range is provided, defaults to the last 90 days. Date range is capped at 730 days max.
19824-
Ranges older than 90 days trigger a one-time on-demand fetch from the platform when scoped to a specific accountId, then serve from cache on subsequent requests.
1982519824
security:
1982619825
- bearerAuth: []
1982719826
parameters:
@@ -19834,7 +19833,7 @@ paths:
1983419833
- { name: adAccountId, in: query, schema: { type: string }, description: "Platform ad account ID (e.g. act_123 for Meta). Mirrors the same filter on /v1/ads/campaigns and /v1/ads/tree." }
1983519834
- { name: profileId, in: query, schema: { type: string }, description: Profile ID }
1983619835
- { name: campaignId, in: query, schema: { type: string }, description: Platform campaign ID (filter ads within a campaign) }
19837-
- { name: fromDate, in: query, schema: { type: string, format: date }, description: "Start of metrics date range (YYYY-MM-DD). Defaults to 90 days ago. Ranges older than 90 days trigger an on-demand platform fetch when scoped to a specific accountId." }
19836+
- { name: fromDate, in: query, schema: { type: string, format: date }, description: "Start of metrics date range (YYYY-MM-DD). Defaults to 90 days ago." }
1983819837
- { name: toDate, in: query, schema: { type: string, format: date }, description: "End of metrics date range (YYYY-MM-DD). Defaults to today. Max 730-day range." }
1983919838
responses:
1984019839
'200':
@@ -20275,7 +20274,6 @@ paths:
2027520274
and campaign levels. Pagination is at the campaign level. Ads without a campaign or ad set
2027620275
ID are grouped into synthetic "Ungrouped" buckets.
2027720276
If no date range is provided, defaults to the last 90 days. Date range is capped at 730 days max.
20278-
Ranges older than 90 days trigger a one-time on-demand fetch from the platform when scoped to a specific accountId, then serve from cache on subsequent requests.
2027920277
security:
2028020278
- bearerAuth: []
2028120279
parameters:
@@ -20287,7 +20285,7 @@ paths:
2028720285
- { name: adAccountId, in: query, schema: { type: string }, description: Platform ad account ID }
2028820286
- { name: accountId, in: query, schema: { type: string }, description: Social account ID }
2028920287
- { name: profileId, in: query, schema: { type: string }, description: Profile ID }
20290-
- { name: fromDate, in: query, schema: { type: string, format: date }, description: "Start of metrics date range (YYYY-MM-DD). Defaults to 90 days ago. Ranges older than 90 days trigger an on-demand platform fetch when scoped to a specific accountId." }
20288+
- { name: fromDate, in: query, schema: { type: string, format: date }, description: "Start of metrics date range (YYYY-MM-DD). Defaults to 90 days ago." }
2029120289
- { name: toDate, in: query, schema: { type: string, format: date }, description: "End of metrics date range (YYYY-MM-DD). Defaults to today. Max 730-day range." }
2029220290
responses:
2029320291
'200':
@@ -20439,12 +20437,11 @@ paths:
2043920437
Returns detailed performance analytics for an ad. Includes summary metrics, a daily timeline
2044020438
over the requested date range, and optional demographic breakdowns (Meta and TikTok only).
2044120439
If no date range is provided, defaults to the last 90 days. Date range is capped at 730 days max.
20442-
Ranges older than 90 days trigger a one-time on-demand fetch from the platform, then serve from cache on subsequent requests.
2044320440
security:
2044420441
- bearerAuth: []
2044520442
parameters:
2044620443
- { name: adId, in: path, required: true, schema: { type: string } }
20447-
- { name: fromDate, in: query, schema: { type: string, format: date }, description: "Start of date range (YYYY-MM-DD). Defaults to 90 days ago. Ranges older than 90 days trigger an on-demand platform fetch." }
20444+
- { name: fromDate, in: query, schema: { type: string, format: date }, description: "Start of date range (YYYY-MM-DD). Defaults to 90 days ago." }
2044820445
- { name: toDate, in: query, schema: { type: string, format: date }, description: "End of date range (YYYY-MM-DD). Defaults to today. Max 730-day range." }
2044920446
- name: breakdowns
2045020447
in: query

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "zernio-sdk"
3-
version = "1.3.119"
3+
version = "1.3.120"
44
description = "The official Python library for the Zernio API"
55
readme = "README.md"
66
requires-python = ">=3.10"

‎src/late/__init__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
Visibility,
4343
)
4444

45-
__version__ = "1.3.119"
45+
__version__ = "1.3.120"
4646

4747
__all__ = [
4848
# Client

‎src/late/mcp/generated_tools.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1171,7 +1171,7 @@ def ad_campaigns_get_ad_tree(
11711171
ad_account_id: Platform ad account ID
11721172
account_id: Social account ID
11731173
profile_id: Profile ID
1174-
from_date: Start of metrics date range (YYYY-MM-DD). Defaults to 90 days ago. Ranges older than 90 days trigger an on-demand platform fetch when scoped to a specific accountId.
1174+
from_date: Start of metrics date range (YYYY-MM-DD). Defaults to 90 days ago.
11751175
to_date: End of metrics date range (YYYY-MM-DD). Defaults to today. Max 730-day range."""
11761176
client = _get_client()
11771177
try:
@@ -1219,7 +1219,7 @@ def ads_list_ads(
12191219
ad_account_id: Platform ad account ID (e.g. act_123 for Meta). Mirrors the same filter on /v1/ads/campaigns and /v1/ads/tree.
12201220
profile_id: Profile ID
12211221
campaign_id: Platform campaign ID (filter ads within a campaign)
1222-
from_date: Start of metrics date range (YYYY-MM-DD). Defaults to 90 days ago. Ranges older than 90 days trigger an on-demand platform fetch when scoped to a specific accountId.
1222+
from_date: Start of metrics date range (YYYY-MM-DD). Defaults to 90 days ago.
12231223
to_date: End of metrics date range (YYYY-MM-DD). Defaults to today. Max 730-day range."""
12241224
client = _get_client()
12251225
try:
@@ -1313,7 +1313,7 @@ def ads_get_ad_analytics(
13131313
13141314
Args:
13151315
ad_id: (required)
1316-
from_date: Start of date range (YYYY-MM-DD). Defaults to 90 days ago. Ranges older than 90 days trigger an on-demand platform fetch.
1316+
from_date: Start of date range (YYYY-MM-DD). Defaults to 90 days ago.
13171317
to_date: End of date range (YYYY-MM-DD). Defaults to today. Max 730-day range.
13181318
breakdowns: Comma-separated breakdown dimensions. Meta: age, gender, country, publisher_platform, device_platform, region. TikTok: gender, age, country_code, platform, ac, language."""
13191319
client = _get_client()

‎src/late/models/_generated/models.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# generated by datamodel-codegen:
22
# filename: openapi.yaml
3-
# timestamp: 2026-05-06T13:44:11+00:00
3+
# timestamp: 2026-05-06T14:08:32+00:00
44

55
from __future__ import annotations
66

‎uv.lock‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)