late-sdk 0.0.748 → 0.0.750
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/AdCampaignsApi.md +2 -2
- data/docs/AdCreativesApi.md +1 -1
- data/lib/zernio-sdk/api/ad_campaigns_api.rb +2 -2
- data/lib/zernio-sdk/api/ad_creatives_api.rb +2 -2
- data/lib/zernio-sdk/version.rb +1 -1
- data/openapi.yaml +9 -5
- data/spec/api/ad_campaigns_api_spec.rb +1 -1
- data/spec/api/ad_creatives_api_spec.rb +1 -1
- data/zernio-sdk-0.0.750.gem +0 -0
- metadata +2 -2
- data/zernio-sdk-0.0.748.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: bcd28790240c43b4e2f3250f4afd7789d94126f453e303d84e4634978158a46a
|
|
4
|
+
data.tar.gz: 7a33228d49298d3209c2cf02faa647d3a1fcde0ca81063b9665c9e46110caebe
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 565fb61b86be4191912b9d04e06a01aa68ab907b4a0580f078f33047a0ba2a66e09fc8b87ff9e5a67b9c03e6e5fab267a6d2dffe6edd0ca2d84d4c580de543cf
|
|
7
|
+
data.tar.gz: 7b974bc809226d396176f9f6f23642c1adb830b46b7ec43d96e7d6fbc5975face2a0af558f48879131be260fda4a82dc8e5c84c34c3b6be17a036b9a294bd431
|
data/docs/AdCampaignsApi.md
CHANGED
|
@@ -851,7 +851,7 @@ opts = {
|
|
|
851
851
|
source: 'zernio', # String | `all` (default) returns both Zernio-created ads and those discovered from the platform's ad manager — matches the web UI's default view. Pass `zernio` to restrict to isExternal=false only. Status is NOT filtered by default — use the `status` param for that.
|
|
852
852
|
platform: 'facebook', # String |
|
|
853
853
|
status: Zernio::AdStatus::ACTIVE, # AdStatus | Filter by derived campaign status (post-aggregation)
|
|
854
|
-
ad_account_id: 'ad_account_id_example', # String |
|
|
854
|
+
ad_account_id: 'ad_account_id_example', # String | One or more platform ad account IDs to scope the tree to (agency profiles connect a whole Business Manager but a workspace usually cares about a subset). Comma-separate for multiple (`?adAccountId=act_1,act_2,act_3`); single value keeps its old shape. Max 50 accounts per request; the plural aliases `adAccountIds` and `platformAdAccountIds` are rejected with a 400 to stop them from silently returning the unfiltered fleet.
|
|
855
855
|
page_id: 'page_id_example', # String | Meta only: Facebook Page ID. Prunes the tree to ads whose creative is backed by this Page — campaigns and ad sets with no ad on the Page drop out, and rolled-up metrics cover only the Page's ads. Mirrors the same filter on /v1/ads and /v1/ads/campaigns.
|
|
856
856
|
account_id: 'account_id_example', # String | Social account ID
|
|
857
857
|
profile_id: 'profile_id_example', # String | Profile ID
|
|
@@ -901,7 +901,7 @@ end
|
|
|
901
901
|
| **source** | **String** | `all` (default) returns both Zernio-created ads and those discovered from the platform's ad manager — matches the web UI's default view. Pass `zernio` to restrict to isExternal=false only. Status is NOT filtered by default — use the `status` param for that. | [optional][default to 'all'] |
|
|
902
902
|
| **platform** | **String** | | [optional] |
|
|
903
903
|
| **status** | [**AdStatus**](.md) | Filter by derived campaign status (post-aggregation) | [optional] |
|
|
904
|
-
| **ad_account_id** | **String** |
|
|
904
|
+
| **ad_account_id** | **String** | One or more platform ad account IDs to scope the tree to (agency profiles connect a whole Business Manager but a workspace usually cares about a subset). Comma-separate for multiple (`?adAccountId=act_1,act_2,act_3`); single value keeps its old shape. Max 50 accounts per request; the plural aliases `adAccountIds` and `platformAdAccountIds` are rejected with a 400 to stop them from silently returning the unfiltered fleet. | [optional] |
|
|
905
905
|
| **page_id** | **String** | Meta only: Facebook Page ID. Prunes the tree to ads whose creative is backed by this Page — campaigns and ad sets with no ad on the Page drop out, and rolled-up metrics cover only the Page's ads. Mirrors the same filter on /v1/ads and /v1/ads/campaigns. | [optional] |
|
|
906
906
|
| **account_id** | **String** | Social account ID | [optional] |
|
|
907
907
|
| **profile_id** | **String** | Profile ID | [optional] |
|
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
|
|
|
@@ -832,7 +832,7 @@ module Zernio
|
|
|
832
832
|
# @option opts [String] :source `all` (default) returns both Zernio-created ads and those discovered from the platform's ad manager — matches the web UI's default view. Pass `zernio` to restrict to isExternal=false only. Status is NOT filtered by default — use the `status` param for that. (default to 'all')
|
|
833
833
|
# @option opts [String] :platform
|
|
834
834
|
# @option opts [AdStatus] :status Filter by derived campaign status (post-aggregation)
|
|
835
|
-
# @option opts [String] :ad_account_id
|
|
835
|
+
# @option opts [String] :ad_account_id One or more platform ad account IDs to scope the tree to (agency profiles connect a whole Business Manager but a workspace usually cares about a subset). Comma-separate for multiple (`?adAccountId=act_1,act_2,act_3`); single value keeps its old shape. Max 50 accounts per request; the plural aliases `adAccountIds` and `platformAdAccountIds` are rejected with a 400 to stop them from silently returning the unfiltered fleet.
|
|
836
836
|
# @option opts [String] :page_id Meta only: Facebook Page ID. Prunes the tree to ads whose creative is backed by this Page — campaigns and ad sets with no ad on the Page drop out, and rolled-up metrics cover only the Page's ads. Mirrors the same filter on /v1/ads and /v1/ads/campaigns.
|
|
837
837
|
# @option opts [String] :account_id Social account ID
|
|
838
838
|
# @option opts [String] :profile_id Profile ID
|
|
@@ -858,7 +858,7 @@ module Zernio
|
|
|
858
858
|
# @option opts [String] :source `all` (default) returns both Zernio-created ads and those discovered from the platform's ad manager — matches the web UI's default view. Pass `zernio` to restrict to isExternal=false only. Status is NOT filtered by default — use the `status` param for that. (default to 'all')
|
|
859
859
|
# @option opts [String] :platform
|
|
860
860
|
# @option opts [AdStatus] :status Filter by derived campaign status (post-aggregation)
|
|
861
|
-
# @option opts [String] :ad_account_id
|
|
861
|
+
# @option opts [String] :ad_account_id One or more platform ad account IDs to scope the tree to (agency profiles connect a whole Business Manager but a workspace usually cares about a subset). Comma-separate for multiple (`?adAccountId=act_1,act_2,act_3`); single value keeps its old shape. Max 50 accounts per request; the plural aliases `adAccountIds` and `platformAdAccountIds` are rejected with a 400 to stop them from silently returning the unfiltered fleet.
|
|
862
862
|
# @option opts [String] :page_id Meta only: Facebook Page ID. Prunes the tree to ads whose creative is backed by this Page — campaigns and ad sets with no ad on the Page drop out, and rolled-up metrics cover only the Page's ads. Mirrors the same filter on /v1/ads and /v1/ads/campaigns.
|
|
863
863
|
# @option opts [String] :account_id Social account ID
|
|
864
864
|
# @option opts [String] :profile_id Profile ID
|
|
@@ -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
|
data/lib/zernio-sdk/version.rb
CHANGED
data/openapi.yaml
CHANGED
|
@@ -39941,7 +39941,7 @@ paths:
|
|
|
39941
39941
|
- { name: source, in: query, schema: { type: string, enum: [zernio, all], default: all }, description: "`all` (default) returns both Zernio-created ads and those discovered from the platform's ad manager — matches the web UI's default view. Pass `zernio` to restrict to isExternal=false only. Status is NOT filtered by default — use the `status` param for that." }
|
|
39942
39942
|
- { name: platform, in: query, schema: { type: string, enum: [facebook, instagram, tiktok, linkedin, pinterest, google, twitter, openai] } }
|
|
39943
39943
|
- { name: status, in: query, schema: { $ref: '#/components/schemas/AdStatus' }, description: Filter by derived campaign status (post-aggregation) }
|
|
39944
|
-
- { name: adAccountId, in: query, schema: { type: string }, description:
|
|
39944
|
+
- { name: adAccountId, in: query, schema: { type: string }, description: "One or more platform ad account IDs to scope the tree to (agency profiles connect a whole Business Manager but a workspace usually cares about a subset). Comma-separate for multiple (`?adAccountId=act_1,act_2,act_3`); single value keeps its old shape. Max 50 accounts per request; the plural aliases `adAccountIds` and `platformAdAccountIds` are rejected with a 400 to stop them from silently returning the unfiltered fleet." }
|
|
39945
39945
|
- { name: pageId, in: query, schema: { type: string }, description: "Meta only: Facebook Page ID. Prunes the tree to ads whose creative is backed by this Page — campaigns and ad sets with no ad on the Page drop out, and rolled-up metrics cover only the Page's ads. Mirrors the same filter on /v1/ads and /v1/ads/campaigns." }
|
|
39946
39946
|
- { name: accountId, in: query, schema: { type: string }, description: Social account ID }
|
|
39947
39947
|
- { name: profileId, in: query, schema: { type: string }, description: Profile ID }
|
|
@@ -43902,9 +43902,13 @@ paths:
|
|
|
43902
43902
|
summary: Ad video library
|
|
43903
43903
|
description: |-
|
|
43904
43904
|
Lists the ad account's video library (Meta's `/act_X/advideos`), rows returned verbatim.
|
|
43905
|
-
The default projection covers id, title, status, poster frames and
|
|
43906
|
-
raw-passthrough override. Any `id` here is reusable as
|
|
43907
|
-
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.
|
|
43908
43912
|
|
|
43909
43913
|
This is the only way to reach a video uploaded OUTSIDE Zernio (Ads Manager, another
|
|
43910
43914
|
tool); videos we uploaded also come back as `creative.videoId` on GET /v1/ads.
|
|
@@ -43931,7 +43935,7 @@ paths:
|
|
|
43931
43935
|
adAccountId: { type: string }
|
|
43932
43936
|
data:
|
|
43933
43937
|
type: array
|
|
43934
|
-
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)." }
|
|
43935
43939
|
paging:
|
|
43936
43940
|
type: object
|
|
43937
43941
|
properties:
|
|
@@ -185,7 +185,7 @@ describe 'AdCampaignsApi' do
|
|
|
185
185
|
# @option opts [String] :source `all` (default) returns both Zernio-created ads and those discovered from the platform's ad manager — matches the web UI's default view. Pass `zernio` to restrict to isExternal=false only. Status is NOT filtered by default — use the `status` param for that.
|
|
186
186
|
# @option opts [String] :platform
|
|
187
187
|
# @option opts [AdStatus] :status Filter by derived campaign status (post-aggregation)
|
|
188
|
-
# @option opts [String] :ad_account_id
|
|
188
|
+
# @option opts [String] :ad_account_id One or more platform ad account IDs to scope the tree to (agency profiles connect a whole Business Manager but a workspace usually cares about a subset). Comma-separate for multiple (`?adAccountId=act_1,act_2,act_3`); single value keeps its old shape. Max 50 accounts per request; the plural aliases `adAccountIds` and `platformAdAccountIds` are rejected with a 400 to stop them from silently returning the unfiltered fleet.
|
|
189
189
|
# @option opts [String] :page_id Meta only: Facebook Page ID. Prunes the tree to ads whose creative is backed by this Page — campaigns and ad sets with no ad on the Page drop out, and rolled-up metrics cover only the Page's ads. Mirrors the same filter on /v1/ads and /v1/ads/campaigns.
|
|
190
190
|
# @option opts [String] :account_id Social account ID
|
|
191
191
|
# @option opts [String] :profile_id Profile ID
|
|
@@ -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.750
|
|
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.750.gem
|
|
5426
5426
|
- zernio-sdk.gemspec
|
|
5427
5427
|
homepage: https://openapi-generator.tech
|
|
5428
5428
|
licenses:
|
data/zernio-sdk-0.0.748.gem
DELETED
|
Binary file
|