Skip to content

Commit a339514

Browse files
chore: regenerate from OpenAPI spec
- Auto-generated SDK updates - Version: 1.4.747
1 parent b3a2b0d commit a339514

6 files changed

Lines changed: 18 additions & 7 deletions

File tree

‎openapi.yaml‎

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43954,6 +43954,10 @@ paths:
4395443954
| `platformSpecificData.spendCap` | Yes | 400 | 400 |
4395543955
| `accountId` (empty campaigns) | Yes | - | - |
4395643956

43957+
Meta budget edits check the live campaign budget, so an older local ABO stamp
43958+
cannot block a CBO campaign. A successful edit repairs local ad budget fields.
43959+
A live ABO campaign still returns 409 with the ad-set budget endpoint.
43960+
4395743961
On Google: `LOWEST_COST_WITHOUT_CAP` = Maximize Conversions, `COST_CAP` +
4395843962
`bidAmount` = Target CPA, `LOWEST_COST_WITH_MIN_ROAS` + `roasAverageFloor` =
4395943963
Target ROAS, `LOWEST_COST_WITH_BID_CAP` + `bidAmount` = Maximize Clicks with a
@@ -44003,9 +44007,8 @@ paths:
4400344007
properties:
4400444008
spendCap: { type: [number, "null"], description: "Campaign lifetime spend cap, in the ad account's currency (Meta `spend_cap`). Pass null to remove the cap; 0 is rejected by Meta." }
4400544009
example:
44006-
platform: google
44007-
budget: { amount: 5, type: daily }
44008-
allowSharedBudgetUpdate: false
44010+
platform: facebook
44011+
budget: { amount: 8, type: daily }
4400944012
responses:
4401044013
'200':
4401144014
description: Campaign updated
@@ -51059,6 +51062,10 @@ paths:
5105951062
- `campaign`: CBO (Campaign Budget Optimization / Advantage Campaign Budget). The
5106051063
budget AND `bidStrategy` are set on the CAMPAIGN, and Meta distributes spend
5106151064
across ad sets automatically.
51065+
The returned ad stores the applied `budgetLevel` and budget in `campaignBudget`
51066+
for CBO or `adSetBudget` for ABO. Edit CBO budgets with
51067+
`PUT /v1/ads/campaigns/{campaignId}` and ABO budgets with
51068+
`PUT /v1/ads/ad-sets/{adSetId}`.
5106251069
Meta requires the budget at exactly one level, never both. Non-Meta platforms ignore
5106351070
this field. Ignored on the attach shape (`adSetId`), which inherits the existing budget.
5106451071
currency: { type: string, minLength: 3, maxLength: 3, description: "ISO 4217 currency code matching the ad account's currency (e.g. `USD`). Meta only. Optional: Zernio resolves it from the ad account when omitted. The value selects the minor-unit exponent Zernio converts budget/bid amounts by before calling Meta (most currencies are cents; zero-decimal currencies like JPY/KRW are sent as-is)." }

‎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.4.746"
3+
version = "1.4.747"
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.4.746"
45+
__version__ = "1.4.747"
4646

4747
__all__ = [
4848
# Client

‎src/late/mcp/generated_tools.py‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5007,6 +5007,10 @@ def ad_campaigns_create_standalone_ad(
50075007
- `campaign`: CBO (Campaign Budget Optimization / Advantage Campaign Budget). The
50085008
budget AND `bidStrategy` are set on the CAMPAIGN, and Meta distributes spend
50095009
across ad sets automatically.
5010+
The returned ad stores the applied `budgetLevel` and budget in `campaignBudget`
5011+
for CBO or `adSetBudget` for ABO. Edit CBO budgets with
5012+
`PUT /v1/ads/campaigns/{campaignId}` and ABO budgets with
5013+
`PUT /v1/ads/ad-sets/{adSetId}`.
50105014
Meta requires the budget at exactly one level, never both. Non-Meta platforms ignore
50115015
this field. Ignored on the attach shape (`adSetId`), which inherits the existing budget.
50125016
currency: ISO 4217 currency code matching the ad account's currency (e.g. `USD`). Meta only. Optional: Zernio resolves it from the ad account when omitted. The value selects the minor-unit exponent Zernio converts budget/bid amounts by before calling Meta (most currencies are cents; zero-decimal currencies like JPY/KRW are sent as-is).

‎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-09-10T17:27:55+00:00
3+
# timestamp: 2026-09-10T18:08:20+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)