late-sdk 0.0.747 → 0.0.749
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/docs/AdCreativesApi.md +1 -1
- data/docs/CreateStandaloneAdRequest.md +1 -1
- data/lib/zernio-sdk/api/ad_creatives_api.rb +2 -2
- data/lib/zernio-sdk/models/create_standalone_ad_request.rb +1 -1
- data/lib/zernio-sdk/version.rb +1 -1
- data/openapi.yaml +10 -5
- data/spec/api/ad_creatives_api_spec.rb +1 -1
- data/zernio-sdk-0.0.749.gem +0 -0
- metadata +2 -2
- data/zernio-sdk-0.0.747.gem +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 32af3f975304c34e27f4aedc7d0ccd9f87a5a624ba0d4c3c2207ee308b63d41b
|
|
4
|
+
data.tar.gz: f7d51d2bfc2aac66aeaf3fa0e6cae5edc417da7563d4330a178c61113ab80940
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 624d96188e9cf19e6498f93ca3700372a9df3a7a938cb656318d9bfe99ebf9cb198b21a2602d9c6e8065d321ebf09ba0e0afa10f56c3c0b7c8143175d8315121
|
|
7
|
+
data.tar.gz: '09631f2c5e07c460f4ef7fd76b4b34196cc7f7e2bc94aec96f62dcb853aabb45f69a4552eea3983c7cbb5a04b88bfc912d26759ae347a8ef96478d3f4fa2517a'
|
data/docs/AdCreativesApi.md
CHANGED
|
@@ -826,7 +826,7 @@ end
|
|
|
826
826
|
|
|
827
827
|
Ad video library
|
|
828
828
|
|
|
829
|
-
Lists the ad account's video library (Meta's `/act_X/advideos`), rows returned verbatim. The default projection covers id, title, status, poster frames and
|
|
829
|
+
Lists the ad account's video library (Meta's `/act_X/advideos`), rows returned verbatim. The default projection covers id, title, status, poster frames, length and `source` (the playable MP4); `fields` is a raw-passthrough override. Any `id` here is reusable as `video.id` on the create endpoints, so N ads that differ only in copy share one upload. `source` lets you PLAY a video before picking it, which a poster frame alone can't settle when several videos share a first frame. It is a signed CDN URL that EXPIRES, so treat it as good for preview at selection time only — never persist it, re-list to get a fresh one. This is the only way to reach a video uploaded OUTSIDE Zernio (Ads Manager, another tool); videos we uploaded also come back as `creative.videoId` on GET /v1/ads. Meta transcodes asynchronously, so a row is only usable once `status.video_status` reads `ready`. Upload a new video via POST /v1/ads/videos, or inline via `video.url` on POST /v1/ads/create.
|
|
830
830
|
|
|
831
831
|
### Examples
|
|
832
832
|
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
| **start_date** | **Time** | Meta only. Ad-set start time (ISO 8601, e.g. \"2026-06-10T09:00:00Z\"), mapped to the ad set's `start_time`. When omitted the ad starts delivering immediately. For lifetime budgets Meta also requires `endDate`. (Same `schedule.startDate` semantics already available on `POST /v1/ads/boost`.) | [optional] |
|
|
65
65
|
| **instagram_account_id** | **String** | Meta only. Override the Instagram account the ad is delivered as — pass an Instagram Business Account ID (e.g. 17841...), mapped to the creative's `instagram_user_id`. When omitted we use the Instagram actor Meta already runs the Page's other ads as, falling back to the Page's page-backed Instagram account. Useful when a Page has more than one eligible IG account. | [optional] |
|
|
66
66
|
| **dynamic_creative** | [**CreateStandaloneAdRequestDynamicCreative**](CreateStandaloneAdRequestDynamicCreative.md) | | [optional] |
|
|
67
|
-
| **carousel_cards** | [**Array<CreateStandaloneAdRequestCarouselCardsInner>**](CreateStandaloneAdRequestCarouselCardsInner.md) | Meta only. Hand-built carousel: 2-10 authored cards in DETERMINISTIC order, mapped to the creative's `link_data.child_attachments`. Unlike `dynamicCreative`, you control the card order and per-card copy/link. Requires top-level `body`, `linkUrl` and `callToAction`. Mutually exclusive with `imageUrl`/`video`, `creatives[]`, `dynamicCreative`, `placementAssets`, `existingCreativeId`, `adSetId`, `leadGenFormId` and goal `catalog_sales`. | [optional] |
|
|
67
|
+
| **carousel_cards** | [**Array<CreateStandaloneAdRequestCarouselCardsInner>**](CreateStandaloneAdRequestCarouselCardsInner.md) | Meta only. Hand-built carousel: 2-10 authored cards in DETERMINISTIC order, mapped to the creative's `link_data.child_attachments`. Unlike `dynamicCreative`, you control the card order and per-card copy/link. Requires top-level `body`, `linkUrl` and `callToAction`. Those become the ad's own Destination and button (`link_data.link` / `link_data.call_to_action`), and double as the per-card fallback when a card omits its own. Mutually exclusive with `imageUrl`/`video`, `creatives[]`, `dynamicCreative`, `placementAssets`, `existingCreativeId`, `adSetId`, `leadGenFormId` and goal `catalog_sales`. | [optional] |
|
|
68
68
|
| **default_locale** | **String** | Meta only. Language the top-level copy is written in (e.g. `en`, `pt_BR`), used by the `translations` default rule. Defaults to `en`. Meta rejects a language asset feed whose default rule carries no locales of its own. Must NOT also appear as an entry in `translations`. | [optional] |
|
|
69
69
|
| **translations** | [**Array<CreateStandaloneAdRequestTranslationsInner>**](CreateStandaloneAdRequestTranslationsInner.md) | Meta only. Multi-language ads (Dynamic Language Optimization): ONE ad carrying per-locale copy and, optionally, per-locale media — the \"Languages\" toggle in Ads Manager. Keeps social proof (likes/comments/shares) on a SINGLE post instead of splitting it across one ad per language. The ad's top-level copy is the DEFAULT shown to every locale you do NOT list, and it counts as one of the language variants. IMPORTANT, and the opposite of what you might expect: text does NOT inherit. Every entry must carry its own `headline`, `body` AND `description`, and all of them must be DISTINCT from each other and from the ad's top-level copy. Meta deduplicates identical strings inside the asset feed, so two locales sharing a string collapse into one asset and the create fails with a misleading \"Too few ... texts provided in asset creation\" (subcode 1885817) that names a field which is actually present. We validate this before calling Meta and return a 400 naming the offending locale and field. `description` is therefore effectively required on the ad whenever `translations` is present, even though it is optional otherwise. Do NOT list `defaultLocale` inside `translations`: Meta rejects the duplicate with \"The language asset feed includes an unsupported targeting field\" (subcode 1885985). Media DOES inherit and is uploaded once when shared, and `linkUrl` inherits too: each locale may name its own landing page and unlisted locales fall back to the ad's top-level `linkUrl`. Note that Meta enforces Dynamic Creative image dimensions on language feeds, so an `imageUrl` that works on a normal ad may be rejected with \"The following images have invalid dimensions for Dynamic Creative\" (subcode 1885558). Video is not affected. Mutually exclusive with `dynamicCreative`, `placementAssets`, `carouselCards`, `existingCreativeId` and `creatives[]`. Meta allows one `asset_feed_spec` shape per creative. | [optional] |
|
|
70
70
|
| **placement_assets** | [**CreateStandaloneAdRequestPlacementAssets**](CreateStandaloneAdRequestPlacementAssets.md) | | [optional] |
|
|
@@ -822,7 +822,7 @@ module Zernio
|
|
|
822
822
|
end
|
|
823
823
|
|
|
824
824
|
# Ad video library
|
|
825
|
-
# Lists the ad account's video library (Meta's `/act_X/advideos`), rows returned verbatim. The default projection covers id, title, status, poster frames and
|
|
825
|
+
# Lists the ad account's video library (Meta's `/act_X/advideos`), rows returned verbatim. The default projection covers id, title, status, poster frames, length and `source` (the playable MP4); `fields` is a raw-passthrough override. Any `id` here is reusable as `video.id` on the create endpoints, so N ads that differ only in copy share one upload. `source` lets you PLAY a video before picking it, which a poster frame alone can't settle when several videos share a first frame. It is a signed CDN URL that EXPIRES, so treat it as good for preview at selection time only — never persist it, re-list to get a fresh one. This is the only way to reach a video uploaded OUTSIDE Zernio (Ads Manager, another tool); videos we uploaded also come back as `creative.videoId` on GET /v1/ads. Meta transcodes asynchronously, so a row is only usable once `status.video_status` reads `ready`. Upload a new video via POST /v1/ads/videos, or inline via `video.url` on POST /v1/ads/create.
|
|
826
826
|
# @param account_id [String] Zernio SocialAccount id (posting or ads variant) used to resolve the Meta token.
|
|
827
827
|
# @param ad_account_id [String] Meta ad account id (act_<n>).
|
|
828
828
|
# @param [Hash] opts the optional parameters
|
|
@@ -836,7 +836,7 @@ module Zernio
|
|
|
836
836
|
end
|
|
837
837
|
|
|
838
838
|
# Ad video library
|
|
839
|
-
# Lists the ad account's video library (Meta's `/act_X/advideos`), rows returned verbatim. The default projection covers id, title, status, poster frames and
|
|
839
|
+
# Lists the ad account's video library (Meta's `/act_X/advideos`), rows returned verbatim. The default projection covers id, title, status, poster frames, length and `source` (the playable MP4); `fields` is a raw-passthrough override. Any `id` here is reusable as `video.id` on the create endpoints, so N ads that differ only in copy share one upload. `source` lets you PLAY a video before picking it, which a poster frame alone can't settle when several videos share a first frame. It is a signed CDN URL that EXPIRES, so treat it as good for preview at selection time only — never persist it, re-list to get a fresh one. This is the only way to reach a video uploaded OUTSIDE Zernio (Ads Manager, another tool); videos we uploaded also come back as `creative.videoId` on GET /v1/ads. Meta transcodes asynchronously, so a row is only usable once `status.video_status` reads `ready`. Upload a new video via POST /v1/ads/videos, or inline via `video.url` on POST /v1/ads/create.
|
|
840
840
|
# @param account_id [String] Zernio SocialAccount id (posting or ads variant) used to resolve the Meta token.
|
|
841
841
|
# @param ad_account_id [String] Meta ad account id (act_<n>).
|
|
842
842
|
# @param [Hash] opts the optional parameters
|
|
@@ -185,7 +185,7 @@ module Zernio
|
|
|
185
185
|
|
|
186
186
|
attr_accessor :dynamic_creative
|
|
187
187
|
|
|
188
|
-
# Meta only. Hand-built carousel: 2-10 authored cards in DETERMINISTIC order, mapped to the creative's `link_data.child_attachments`. Unlike `dynamicCreative`, you control the card order and per-card copy/link. Requires top-level `body`, `linkUrl` and `callToAction`. Mutually exclusive with `imageUrl`/`video`, `creatives[]`, `dynamicCreative`, `placementAssets`, `existingCreativeId`, `adSetId`, `leadGenFormId` and goal `catalog_sales`.
|
|
188
|
+
# Meta only. Hand-built carousel: 2-10 authored cards in DETERMINISTIC order, mapped to the creative's `link_data.child_attachments`. Unlike `dynamicCreative`, you control the card order and per-card copy/link. Requires top-level `body`, `linkUrl` and `callToAction`. Those become the ad's own Destination and button (`link_data.link` / `link_data.call_to_action`), and double as the per-card fallback when a card omits its own. Mutually exclusive with `imageUrl`/`video`, `creatives[]`, `dynamicCreative`, `placementAssets`, `existingCreativeId`, `adSetId`, `leadGenFormId` and goal `catalog_sales`.
|
|
189
189
|
attr_accessor :carousel_cards
|
|
190
190
|
|
|
191
191
|
# Meta only. Language the top-level copy is written in (e.g. `en`, `pt_BR`), used by the `translations` default rule. Defaults to `en`. Meta rejects a language asset feed whose default rule carries no locales of its own. Must NOT also appear as an entry in `translations`.
|
data/lib/zernio-sdk/version.rb
CHANGED
data/openapi.yaml
CHANGED
|
@@ -42904,7 +42904,8 @@ paths:
|
|
|
42904
42904
|
Meta only. Hand-built carousel: 2-10 authored cards in DETERMINISTIC order, mapped to
|
|
42905
42905
|
the creative's `link_data.child_attachments`. Unlike `dynamicCreative`,
|
|
42906
42906
|
you control the card order and per-card copy/link. Requires top-level `body`,
|
|
42907
|
-
`linkUrl` and `callToAction`.
|
|
42907
|
+
`linkUrl` and `callToAction`. Those become the ad's own Destination and
|
|
42908
|
+
button (`link_data.link` / `link_data.call_to_action`), and double as the per-card fallback when a card omits its own.
|
|
42908
42909
|
Mutually exclusive with `imageUrl`/`video`, `creatives[]`, `dynamicCreative`,
|
|
42909
42910
|
`placementAssets`, `existingCreativeId`, `adSetId`, `leadGenFormId` and goal
|
|
42910
42911
|
`catalog_sales`.
|
|
@@ -43901,9 +43902,13 @@ paths:
|
|
|
43901
43902
|
summary: Ad video library
|
|
43902
43903
|
description: |-
|
|
43903
43904
|
Lists the ad account's video library (Meta's `/act_X/advideos`), rows returned verbatim.
|
|
43904
|
-
The default projection covers id, title, status, poster frames and
|
|
43905
|
-
raw-passthrough override. Any `id` here is reusable as
|
|
43906
|
-
endpoints, so N ads that differ only in copy share one upload.
|
|
43905
|
+
The default projection covers id, title, status, poster frames, length and `source` (the
|
|
43906
|
+
playable MP4); `fields` is a raw-passthrough override. Any `id` here is reusable as
|
|
43907
|
+
`video.id` on the create endpoints, so N ads that differ only in copy share one upload.
|
|
43908
|
+
|
|
43909
|
+
`source` lets you PLAY a video before picking it, which a poster frame alone can't settle
|
|
43910
|
+
when several videos share a first frame. It is a signed CDN URL that EXPIRES, so treat it
|
|
43911
|
+
as good for preview at selection time only — never persist it, re-list to get a fresh one.
|
|
43907
43912
|
|
|
43908
43913
|
This is the only way to reach a video uploaded OUTSIDE Zernio (Ads Manager, another
|
|
43909
43914
|
tool); videos we uploaded also come back as `creative.videoId` on GET /v1/ads.
|
|
@@ -43930,7 +43935,7 @@ paths:
|
|
|
43930
43935
|
adAccountId: { type: string }
|
|
43931
43936
|
data:
|
|
43932
43937
|
type: array
|
|
43933
|
-
items: { type: object, description: "Raw Meta ad video row (id, title, status, picture, thumbnails, length)." }
|
|
43938
|
+
items: { type: object, description: "Raw Meta ad video row (id, title, status, picture, thumbnails, length, source)." }
|
|
43934
43939
|
paging:
|
|
43935
43940
|
type: object
|
|
43936
43941
|
properties:
|
|
@@ -182,7 +182,7 @@ describe 'AdCreativesApi' do
|
|
|
182
182
|
|
|
183
183
|
# unit tests for list_ad_videos
|
|
184
184
|
# Ad video library
|
|
185
|
-
# Lists the ad account's video library (Meta's `/act_X/advideos`), rows returned verbatim. The default projection covers id, title, status, poster frames and
|
|
185
|
+
# Lists the ad account's video library (Meta's `/act_X/advideos`), rows returned verbatim. The default projection covers id, title, status, poster frames, length and `source` (the playable MP4); `fields` is a raw-passthrough override. Any `id` here is reusable as `video.id` on the create endpoints, so N ads that differ only in copy share one upload. `source` lets you PLAY a video before picking it, which a poster frame alone can't settle when several videos share a first frame. It is a signed CDN URL that EXPIRES, so treat it as good for preview at selection time only — never persist it, re-list to get a fresh one. This is the only way to reach a video uploaded OUTSIDE Zernio (Ads Manager, another tool); videos we uploaded also come back as `creative.videoId` on GET /v1/ads. Meta transcodes asynchronously, so a row is only usable once `status.video_status` reads `ready`. Upload a new video via POST /v1/ads/videos, or inline via `video.url` on POST /v1/ads/create.
|
|
186
186
|
# @param account_id Zernio SocialAccount id (posting or ads variant) used to resolve the Meta token.
|
|
187
187
|
# @param ad_account_id Meta ad account id (act_<n>).
|
|
188
188
|
# @param [Hash] opts the optional parameters
|
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: late-sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.749
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
@@ -5422,7 +5422,7 @@ files:
|
|
|
5422
5422
|
- spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
|
|
5423
5423
|
- spec/models/you_tube_video_retention_response_spec.rb
|
|
5424
5424
|
- spec/spec_helper.rb
|
|
5425
|
-
- zernio-sdk-0.0.
|
|
5425
|
+
- zernio-sdk-0.0.749.gem
|
|
5426
5426
|
- zernio-sdk.gemspec
|
|
5427
5427
|
homepage: https://openapi-generator.tech
|
|
5428
5428
|
licenses:
|
data/zernio-sdk-0.0.747.gem
DELETED
|
Binary file
|