late-sdk 0.0.750 → 0.0.752
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/README.md +1 -1
- data/docs/AdAccountsApi.md +1 -1
- data/docs/ListInboxConversations200ResponseMeta.md +3 -1
- data/docs/{SearchInboxConversations200ResponseMetaAccountsSkippedInner.md → ListInboxConversations200ResponseMetaAccountsSkippedInner.md} +2 -2
- data/docs/SearchInboxConversations200ResponseMeta.md +1 -1
- data/lib/zernio-sdk/api/ad_accounts_api.rb +2 -2
- data/lib/zernio-sdk/models/list_inbox_conversations200_response_meta.rb +16 -4
- data/lib/zernio-sdk/models/{search_inbox_conversations200_response_meta_accounts_skipped_inner.rb → list_inbox_conversations200_response_meta_accounts_skipped_inner.rb} +3 -3
- data/lib/zernio-sdk/models/search_inbox_conversations200_response_meta.rb +1 -1
- data/lib/zernio-sdk/version.rb +1 -1
- data/lib/zernio-sdk.rb +1 -1
- data/openapi.yaml +26 -2
- data/spec/api/ad_accounts_api_spec.rb +1 -1
- data/spec/models/{search_inbox_conversations200_response_meta_accounts_skipped_inner_spec.rb → list_inbox_conversations200_response_meta_accounts_skipped_inner_spec.rb} +6 -6
- data/spec/models/list_inbox_conversations200_response_meta_spec.rb +6 -0
- data/zernio-sdk-0.0.752.gem +0 -0
- metadata +6 -6
- data/zernio-sdk-0.0.750.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: 3da9ae0c1ab9b1a67505b991bdbb97cfef470896e014f639a68a6ba38ebd9223
|
|
4
|
+
data.tar.gz: 63538f7ab5fe99494bc4102adf07f5528bd73f06f66feafd6f30ebd262450123
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 556e56dfb33fe40f882a3c4bbc88b44754e337841571d71447c0ab9b37bfb469c96198473105e98bda38f2f1f03d65fe342d87c4d5ac140d571b9970d5417f50
|
|
7
|
+
data.tar.gz: 59fd820a0a8eece0cbb5f883fb486b298f6d2cfab1dca2521f337db58116838cb8470c2aab1f32248e88359124c7a6ea697768e71be2ab1dd922439df97728af
|
data/README.md
CHANGED
|
@@ -1596,6 +1596,7 @@ Class | Method | HTTP request | Description
|
|
|
1596
1596
|
- [Zernio::ListInboxConversations200ResponseDataInnerInstagramProfile](docs/ListInboxConversations200ResponseDataInnerInstagramProfile.md)
|
|
1597
1597
|
- [Zernio::ListInboxConversations200ResponseDataInnerMetadata](docs/ListInboxConversations200ResponseDataInnerMetadata.md)
|
|
1598
1598
|
- [Zernio::ListInboxConversations200ResponseMeta](docs/ListInboxConversations200ResponseMeta.md)
|
|
1599
|
+
- [Zernio::ListInboxConversations200ResponseMetaAccountsSkippedInner](docs/ListInboxConversations200ResponseMetaAccountsSkippedInner.md)
|
|
1599
1600
|
- [Zernio::ListInboxConversations200ResponseMetaFailedAccountsInner](docs/ListInboxConversations200ResponseMetaFailedAccountsInner.md)
|
|
1600
1601
|
- [Zernio::ListInboxConversations200ResponsePagination](docs/ListInboxConversations200ResponsePagination.md)
|
|
1601
1602
|
- [Zernio::ListInboxMentions200Response](docs/ListInboxMentions200Response.md)
|
|
@@ -1855,7 +1856,6 @@ Class | Method | HTTP request | Description
|
|
|
1855
1856
|
- [Zernio::SearchInboxConversations200ResponseDataInnerConversation](docs/SearchInboxConversations200ResponseDataInnerConversation.md)
|
|
1856
1857
|
- [Zernio::SearchInboxConversations200ResponseDataInnerMatchesInner](docs/SearchInboxConversations200ResponseDataInnerMatchesInner.md)
|
|
1857
1858
|
- [Zernio::SearchInboxConversations200ResponseMeta](docs/SearchInboxConversations200ResponseMeta.md)
|
|
1858
|
-
- [Zernio::SearchInboxConversations200ResponseMetaAccountsSkippedInner](docs/SearchInboxConversations200ResponseMetaAccountsSkippedInner.md)
|
|
1859
1859
|
- [Zernio::SearchInboxConversations200ResponseMetaFailedAccountsInner](docs/SearchInboxConversations200ResponseMetaFailedAccountsInner.md)
|
|
1860
1860
|
- [Zernio::SearchInstagramAudio200Response](docs/SearchInstagramAudio200Response.md)
|
|
1861
1861
|
- [Zernio::SearchReddit200Response](docs/SearchReddit200Response.md)
|
data/docs/AdAccountsApi.md
CHANGED
|
@@ -383,7 +383,7 @@ end
|
|
|
383
383
|
|
|
384
384
|
List comments on an ad
|
|
385
385
|
|
|
386
|
-
Returns comments on an ad's underlying creative post. Useful for moderating or analyzing engagement on dark posts (ad creatives that never went live organically), which the regular GET /v1/inbox/comments/{postId} endpoint cannot serve because dark posts are not in Zernio's post database. An ad that runs on both Facebook feed and Instagram feed has two separate underlying posts with separate comment threads (the creative's effective_object_story_id and effective_instagram_media_id). Use the `placement` query param to pick one; with no param the Instagram side is returned when it exists, otherwise Facebook. The identifiers are read from the ad record (persisted during sync) with a Marketing-API fallback for ads that predate the field. For Instagram-placed comments, the Instagram account that runs the ad must be connected to Zernio — those comments are read through that account's token. If no connected Instagram account on the profile can read the ad's media, the call returns ads_connection_required (the Facebook side, if any, is still readable via ?placement=facebook). Meta-only. Other ad platforms (TikTok, LinkedIn, Pinterest, Google, X)
|
|
386
|
+
Returns comments on an ad's underlying creative post. Useful for moderating or analyzing engagement on dark posts (ad creatives that never went live organically), which the regular GET /v1/inbox/comments/{postId} endpoint cannot serve because dark posts are not in Zernio's post database. An ad that runs on both Facebook feed and Instagram feed has two separate underlying posts with separate comment threads (the creative's effective_object_story_id and effective_instagram_media_id). Use the `placement` query param to pick one; with no param the Instagram side is returned when it exists, otherwise Facebook. The identifiers are read from the ad record (persisted during sync) with a Marketing-API fallback for ads that predate the field. For Instagram-placed comments, the Instagram account that runs the ad must be connected to Zernio — those comments are read through that account's token. If no connected Instagram account on the profile can read the ad's media, the call returns ads_connection_required (the Facebook side, if any, is still readable via ?placement=facebook). Meta-only for now. Other ad platforms (TikTok, LinkedIn, Pinterest, Google, X) are not wired to this endpoint and return feature_not_available. Requires the Ads add-on. Response shape matches GET /v1/inbox/comments/{postId}. The `{adId}` path segment accepts any identifier dialect Zernio indexes for the ad: Zernio internal `_id` (24-char hex), Meta's numeric `platformAdId` (the value shipped in `comment.received` webhooks as `comment.ad.id`), or the creative's `effective_object_story_id` / `effective_instagram_media_id`. Caller doesn't need a translation step.
|
|
387
387
|
|
|
388
388
|
### Examples
|
|
389
389
|
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
| **accounts_failed** | **Integer** | | [optional] |
|
|
9
9
|
| **failed_accounts** | [**Array<ListInboxConversations200ResponseMetaFailedAccountsInner>**](ListInboxConversations200ResponseMetaFailedAccountsInner.md) | | [optional] |
|
|
10
10
|
| **last_updated** | **Time** | | [optional] |
|
|
11
|
+
| **accounts_skipped** | [**Array<ListInboxConversations200ResponseMetaAccountsSkippedInner>**](ListInboxConversations200ResponseMetaAccountsSkippedInner.md) | Connected accounts that were not queried: their platform does not support this feature, or the account is not enabled for it | [optional] |
|
|
11
12
|
|
|
12
13
|
## Example
|
|
13
14
|
|
|
@@ -18,7 +19,8 @@ instance = Zernio::ListInboxConversations200ResponseMeta.new(
|
|
|
18
19
|
accounts_queried: null,
|
|
19
20
|
accounts_failed: null,
|
|
20
21
|
failed_accounts: null,
|
|
21
|
-
last_updated: null
|
|
22
|
+
last_updated: null,
|
|
23
|
+
accounts_skipped: null
|
|
22
24
|
)
|
|
23
25
|
```
|
|
24
26
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Zernio::
|
|
1
|
+
# Zernio::ListInboxConversations200ResponseMetaAccountsSkippedInner
|
|
2
2
|
|
|
3
3
|
## Properties
|
|
4
4
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
```ruby
|
|
13
13
|
require 'zernio-sdk'
|
|
14
14
|
|
|
15
|
-
instance = Zernio::
|
|
15
|
+
instance = Zernio::ListInboxConversations200ResponseMetaAccountsSkippedInner.new(
|
|
16
16
|
account_id: null,
|
|
17
17
|
platform: null
|
|
18
18
|
)
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
| **accounts_failed** | **Integer** | | [optional] |
|
|
9
9
|
| **failed_accounts** | [**Array<SearchInboxConversations200ResponseMetaFailedAccountsInner>**](SearchInboxConversations200ResponseMetaFailedAccountsInner.md) | | [optional] |
|
|
10
10
|
| **last_updated** | **Time** | | [optional] |
|
|
11
|
-
| **accounts_skipped** | [**Array<
|
|
11
|
+
| **accounts_skipped** | [**Array<ListInboxConversations200ResponseMetaAccountsSkippedInner>**](ListInboxConversations200ResponseMetaAccountsSkippedInner.md) | Connected messaging accounts that cannot be searched (live-fetched platforms) | [optional] |
|
|
12
12
|
|
|
13
13
|
## Example
|
|
14
14
|
|
|
@@ -371,7 +371,7 @@ module Zernio
|
|
|
371
371
|
end
|
|
372
372
|
|
|
373
373
|
# List comments on an ad
|
|
374
|
-
# Returns comments on an ad's underlying creative post. Useful for moderating or analyzing engagement on dark posts (ad creatives that never went live organically), which the regular GET /v1/inbox/comments/{postId} endpoint cannot serve because dark posts are not in Zernio's post database. An ad that runs on both Facebook feed and Instagram feed has two separate underlying posts with separate comment threads (the creative's effective_object_story_id and effective_instagram_media_id). Use the `placement` query param to pick one; with no param the Instagram side is returned when it exists, otherwise Facebook. The identifiers are read from the ad record (persisted during sync) with a Marketing-API fallback for ads that predate the field. For Instagram-placed comments, the Instagram account that runs the ad must be connected to Zernio — those comments are read through that account's token. If no connected Instagram account on the profile can read the ad's media, the call returns ads_connection_required (the Facebook side, if any, is still readable via ?placement=facebook). Meta-only. Other ad platforms (TikTok, LinkedIn, Pinterest, Google, X)
|
|
374
|
+
# Returns comments on an ad's underlying creative post. Useful for moderating or analyzing engagement on dark posts (ad creatives that never went live organically), which the regular GET /v1/inbox/comments/{postId} endpoint cannot serve because dark posts are not in Zernio's post database. An ad that runs on both Facebook feed and Instagram feed has two separate underlying posts with separate comment threads (the creative's effective_object_story_id and effective_instagram_media_id). Use the `placement` query param to pick one; with no param the Instagram side is returned when it exists, otherwise Facebook. The identifiers are read from the ad record (persisted during sync) with a Marketing-API fallback for ads that predate the field. For Instagram-placed comments, the Instagram account that runs the ad must be connected to Zernio — those comments are read through that account's token. If no connected Instagram account on the profile can read the ad's media, the call returns ads_connection_required (the Facebook side, if any, is still readable via ?placement=facebook). Meta-only for now. Other ad platforms (TikTok, LinkedIn, Pinterest, Google, X) are not wired to this endpoint and return feature_not_available. Requires the Ads add-on. Response shape matches GET /v1/inbox/comments/{postId}. The `{adId}` path segment accepts any identifier dialect Zernio indexes for the ad: Zernio internal `_id` (24-char hex), Meta's numeric `platformAdId` (the value shipped in `comment.received` webhooks as `comment.ad.id`), or the creative's `effective_object_story_id` / `effective_instagram_media_id`. Caller doesn't need a translation step.
|
|
375
375
|
# @param ad_id [String] Internal Zernio ad ID (ObjectId).
|
|
376
376
|
# @param [Hash] opts the optional parameters
|
|
377
377
|
# @option opts [String] :placement Which side of the ad to return comments for. Omit to default to the Instagram side when present, else Facebook. Returns ad_not_commentable if the ad has no such placement.
|
|
@@ -384,7 +384,7 @@ module Zernio
|
|
|
384
384
|
end
|
|
385
385
|
|
|
386
386
|
# List comments on an ad
|
|
387
|
-
# Returns comments on an ad's underlying creative post. Useful for moderating or analyzing engagement on dark posts (ad creatives that never went live organically), which the regular GET /v1/inbox/comments/{postId} endpoint cannot serve because dark posts are not in Zernio's post database. An ad that runs on both Facebook feed and Instagram feed has two separate underlying posts with separate comment threads (the creative's effective_object_story_id and effective_instagram_media_id). Use the `placement` query param to pick one; with no param the Instagram side is returned when it exists, otherwise Facebook. The identifiers are read from the ad record (persisted during sync) with a Marketing-API fallback for ads that predate the field. For Instagram-placed comments, the Instagram account that runs the ad must be connected to Zernio — those comments are read through that account's token. If no connected Instagram account on the profile can read the ad's media, the call returns ads_connection_required (the Facebook side, if any, is still readable via ?placement=facebook). Meta-only. Other ad platforms (TikTok, LinkedIn, Pinterest, Google, X)
|
|
387
|
+
# Returns comments on an ad's underlying creative post. Useful for moderating or analyzing engagement on dark posts (ad creatives that never went live organically), which the regular GET /v1/inbox/comments/{postId} endpoint cannot serve because dark posts are not in Zernio's post database. An ad that runs on both Facebook feed and Instagram feed has two separate underlying posts with separate comment threads (the creative's effective_object_story_id and effective_instagram_media_id). Use the `placement` query param to pick one; with no param the Instagram side is returned when it exists, otherwise Facebook. The identifiers are read from the ad record (persisted during sync) with a Marketing-API fallback for ads that predate the field. For Instagram-placed comments, the Instagram account that runs the ad must be connected to Zernio — those comments are read through that account's token. If no connected Instagram account on the profile can read the ad's media, the call returns ads_connection_required (the Facebook side, if any, is still readable via ?placement=facebook). Meta-only for now. Other ad platforms (TikTok, LinkedIn, Pinterest, Google, X) are not wired to this endpoint and return feature_not_available. Requires the Ads add-on. Response shape matches GET /v1/inbox/comments/{postId}. The `{adId}` path segment accepts any identifier dialect Zernio indexes for the ad: Zernio internal `_id` (24-char hex), Meta's numeric `platformAdId` (the value shipped in `comment.received` webhooks as `comment.ad.id`), or the creative's `effective_object_story_id` / `effective_instagram_media_id`. Caller doesn't need a translation step.
|
|
388
388
|
# @param ad_id [String] Internal Zernio ad ID (ObjectId).
|
|
389
389
|
# @param [Hash] opts the optional parameters
|
|
390
390
|
# @option opts [String] :placement Which side of the ad to return comments for. Omit to default to the Instagram side when present, else Facebook. Returns ad_not_commentable if the ad has no such placement.
|
|
@@ -23,13 +23,17 @@ module Zernio
|
|
|
23
23
|
|
|
24
24
|
attr_accessor :last_updated
|
|
25
25
|
|
|
26
|
+
# Connected accounts that were not queried: their platform does not support this feature, or the account is not enabled for it
|
|
27
|
+
attr_accessor :accounts_skipped
|
|
28
|
+
|
|
26
29
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
27
30
|
def self.attribute_map
|
|
28
31
|
{
|
|
29
32
|
:'accounts_queried' => :'accountsQueried',
|
|
30
33
|
:'accounts_failed' => :'accountsFailed',
|
|
31
34
|
:'failed_accounts' => :'failedAccounts',
|
|
32
|
-
:'last_updated' => :'lastUpdated'
|
|
35
|
+
:'last_updated' => :'lastUpdated',
|
|
36
|
+
:'accounts_skipped' => :'accountsSkipped'
|
|
33
37
|
}
|
|
34
38
|
end
|
|
35
39
|
|
|
@@ -49,7 +53,8 @@ module Zernio
|
|
|
49
53
|
:'accounts_queried' => :'Integer',
|
|
50
54
|
:'accounts_failed' => :'Integer',
|
|
51
55
|
:'failed_accounts' => :'Array<ListInboxConversations200ResponseMetaFailedAccountsInner>',
|
|
52
|
-
:'last_updated' => :'Time'
|
|
56
|
+
:'last_updated' => :'Time',
|
|
57
|
+
:'accounts_skipped' => :'Array<ListInboxConversations200ResponseMetaAccountsSkippedInner>'
|
|
53
58
|
}
|
|
54
59
|
end
|
|
55
60
|
|
|
@@ -92,6 +97,12 @@ module Zernio
|
|
|
92
97
|
if attributes.key?(:'last_updated')
|
|
93
98
|
self.last_updated = attributes[:'last_updated']
|
|
94
99
|
end
|
|
100
|
+
|
|
101
|
+
if attributes.key?(:'accounts_skipped')
|
|
102
|
+
if (value = attributes[:'accounts_skipped']).is_a?(Array)
|
|
103
|
+
self.accounts_skipped = value
|
|
104
|
+
end
|
|
105
|
+
end
|
|
95
106
|
end
|
|
96
107
|
|
|
97
108
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -117,7 +128,8 @@ module Zernio
|
|
|
117
128
|
accounts_queried == o.accounts_queried &&
|
|
118
129
|
accounts_failed == o.accounts_failed &&
|
|
119
130
|
failed_accounts == o.failed_accounts &&
|
|
120
|
-
last_updated == o.last_updated
|
|
131
|
+
last_updated == o.last_updated &&
|
|
132
|
+
accounts_skipped == o.accounts_skipped
|
|
121
133
|
end
|
|
122
134
|
|
|
123
135
|
# @see the `==` method
|
|
@@ -129,7 +141,7 @@ module Zernio
|
|
|
129
141
|
# Calculates hash code according to all attributes.
|
|
130
142
|
# @return [Integer] Hash code
|
|
131
143
|
def hash
|
|
132
|
-
[accounts_queried, accounts_failed, failed_accounts, last_updated].hash
|
|
144
|
+
[accounts_queried, accounts_failed, failed_accounts, last_updated, accounts_skipped].hash
|
|
133
145
|
end
|
|
134
146
|
|
|
135
147
|
# Builds the object from hash
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module Zernio
|
|
17
|
-
class
|
|
17
|
+
class ListInboxConversations200ResponseMetaAccountsSkippedInner < ApiModelBase
|
|
18
18
|
attr_accessor :account_id
|
|
19
19
|
|
|
20
20
|
attr_accessor :platform
|
|
@@ -55,14 +55,14 @@ module Zernio
|
|
|
55
55
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
56
56
|
def initialize(attributes = {})
|
|
57
57
|
if (!attributes.is_a?(Hash))
|
|
58
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `Zernio::
|
|
58
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Zernio::ListInboxConversations200ResponseMetaAccountsSkippedInner` initialize method"
|
|
59
59
|
end
|
|
60
60
|
|
|
61
61
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
62
62
|
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
63
63
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
64
64
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
65
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Zernio::
|
|
65
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Zernio::ListInboxConversations200ResponseMetaAccountsSkippedInner`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
66
66
|
end
|
|
67
67
|
h[k.to_sym] = v
|
|
68
68
|
}
|
|
@@ -54,7 +54,7 @@ module Zernio
|
|
|
54
54
|
:'accounts_failed' => :'Integer',
|
|
55
55
|
:'failed_accounts' => :'Array<SearchInboxConversations200ResponseMetaFailedAccountsInner>',
|
|
56
56
|
:'last_updated' => :'Time',
|
|
57
|
-
:'accounts_skipped' => :'Array<
|
|
57
|
+
:'accounts_skipped' => :'Array<ListInboxConversations200ResponseMetaAccountsSkippedInner>'
|
|
58
58
|
}
|
|
59
59
|
end
|
|
60
60
|
|
data/lib/zernio-sdk/version.rb
CHANGED
data/lib/zernio-sdk.rb
CHANGED
|
@@ -952,6 +952,7 @@ require 'zernio-sdk/models/list_inbox_conversations200_response_data_inner'
|
|
|
952
952
|
require 'zernio-sdk/models/list_inbox_conversations200_response_data_inner_instagram_profile'
|
|
953
953
|
require 'zernio-sdk/models/list_inbox_conversations200_response_data_inner_metadata'
|
|
954
954
|
require 'zernio-sdk/models/list_inbox_conversations200_response_meta'
|
|
955
|
+
require 'zernio-sdk/models/list_inbox_conversations200_response_meta_accounts_skipped_inner'
|
|
955
956
|
require 'zernio-sdk/models/list_inbox_conversations200_response_meta_failed_accounts_inner'
|
|
956
957
|
require 'zernio-sdk/models/list_inbox_conversations200_response_pagination'
|
|
957
958
|
require 'zernio-sdk/models/list_inbox_mentions200_response'
|
|
@@ -1211,7 +1212,6 @@ require 'zernio-sdk/models/search_inbox_conversations200_response_data_inner'
|
|
|
1211
1212
|
require 'zernio-sdk/models/search_inbox_conversations200_response_data_inner_conversation'
|
|
1212
1213
|
require 'zernio-sdk/models/search_inbox_conversations200_response_data_inner_matches_inner'
|
|
1213
1214
|
require 'zernio-sdk/models/search_inbox_conversations200_response_meta'
|
|
1214
|
-
require 'zernio-sdk/models/search_inbox_conversations200_response_meta_accounts_skipped_inner'
|
|
1215
1215
|
require 'zernio-sdk/models/search_inbox_conversations200_response_meta_failed_accounts_inner'
|
|
1216
1216
|
require 'zernio-sdk/models/search_instagram_audio200_response'
|
|
1217
1217
|
require 'zernio-sdk/models/search_reddit200_response'
|
data/openapi.yaml
CHANGED
|
@@ -25320,6 +25320,14 @@ paths:
|
|
|
25320
25320
|
code: { type: [string, "null"], description: Error code if available }
|
|
25321
25321
|
retryAfter: { type: [integer, "null"], description: Seconds to wait before retry (rate limits) }
|
|
25322
25322
|
lastUpdated: { type: string, format: date-time }
|
|
25323
|
+
accountsSkipped:
|
|
25324
|
+
type: array
|
|
25325
|
+
description: 'Connected accounts that were not queried: their platform does not support this feature, or the account is not enabled for it'
|
|
25326
|
+
items:
|
|
25327
|
+
type: object
|
|
25328
|
+
properties:
|
|
25329
|
+
accountId: { type: string }
|
|
25330
|
+
platform: { type: string }
|
|
25323
25331
|
'401': { $ref: '#/components/responses/Unauthorized' }
|
|
25324
25332
|
'403':
|
|
25325
25333
|
description: Inbox addon required
|
|
@@ -27503,6 +27511,14 @@ paths:
|
|
|
27503
27511
|
code: { type: [string, "null"], description: Error code if available }
|
|
27504
27512
|
retryAfter: { type: [integer, "null"], description: Seconds to wait before retry (rate limits) }
|
|
27505
27513
|
lastUpdated: { type: string, format: date-time }
|
|
27514
|
+
accountsSkipped:
|
|
27515
|
+
type: array
|
|
27516
|
+
description: 'Connected accounts that were not queried: their platform does not support this feature, or the account is not enabled for it'
|
|
27517
|
+
items:
|
|
27518
|
+
type: object
|
|
27519
|
+
properties:
|
|
27520
|
+
accountId: { type: string }
|
|
27521
|
+
platform: { type: string }
|
|
27506
27522
|
'401': { $ref: '#/components/responses/Unauthorized' }
|
|
27507
27523
|
'403':
|
|
27508
27524
|
description: Inbox addon required
|
|
@@ -29021,6 +29037,14 @@ paths:
|
|
|
29021
29037
|
code: { type: [string, "null"], description: Error code if available }
|
|
29022
29038
|
retryAfter: { type: [integer, "null"], description: Seconds to wait before retry (rate limits) }
|
|
29023
29039
|
lastUpdated: { type: string, format: date-time }
|
|
29040
|
+
accountsSkipped:
|
|
29041
|
+
type: array
|
|
29042
|
+
description: 'Connected accounts that were not queried: their platform does not support this feature, or the account is not enabled for it'
|
|
29043
|
+
items:
|
|
29044
|
+
type: object
|
|
29045
|
+
properties:
|
|
29046
|
+
accountId: { type: string }
|
|
29047
|
+
platform: { type: string }
|
|
29024
29048
|
summary:
|
|
29025
29049
|
type: object
|
|
29026
29050
|
properties:
|
|
@@ -40916,8 +40940,8 @@ paths:
|
|
|
40916
40940
|
Instagram account on the profile can read the ad's media, the call returns
|
|
40917
40941
|
ads_connection_required (the Facebook side, if any, is still readable via ?placement=facebook).
|
|
40918
40942
|
|
|
40919
|
-
Meta-only. Other ad platforms (TikTok, LinkedIn, Pinterest, Google, X)
|
|
40920
|
-
|
|
40943
|
+
Meta-only for now. Other ad platforms (TikTok, LinkedIn, Pinterest, Google, X)
|
|
40944
|
+
are not wired to this endpoint and return feature_not_available.
|
|
40921
40945
|
|
|
40922
40946
|
Requires the Ads add-on. Response shape matches GET /v1/inbox/comments/{postId}.
|
|
40923
40947
|
|
|
@@ -97,7 +97,7 @@ describe 'AdAccountsApi' do
|
|
|
97
97
|
|
|
98
98
|
# unit tests for get_ad_comments
|
|
99
99
|
# List comments on an ad
|
|
100
|
-
# Returns comments on an ad's underlying creative post. Useful for moderating or analyzing engagement on dark posts (ad creatives that never went live organically), which the regular GET /v1/inbox/comments/{postId} endpoint cannot serve because dark posts are not in Zernio's post database. An ad that runs on both Facebook feed and Instagram feed has two separate underlying posts with separate comment threads (the creative's effective_object_story_id and effective_instagram_media_id). Use the `placement` query param to pick one; with no param the Instagram side is returned when it exists, otherwise Facebook. The identifiers are read from the ad record (persisted during sync) with a Marketing-API fallback for ads that predate the field. For Instagram-placed comments, the Instagram account that runs the ad must be connected to Zernio — those comments are read through that account's token. If no connected Instagram account on the profile can read the ad's media, the call returns ads_connection_required (the Facebook side, if any, is still readable via ?placement=facebook). Meta-only. Other ad platforms (TikTok, LinkedIn, Pinterest, Google, X)
|
|
100
|
+
# Returns comments on an ad's underlying creative post. Useful for moderating or analyzing engagement on dark posts (ad creatives that never went live organically), which the regular GET /v1/inbox/comments/{postId} endpoint cannot serve because dark posts are not in Zernio's post database. An ad that runs on both Facebook feed and Instagram feed has two separate underlying posts with separate comment threads (the creative's effective_object_story_id and effective_instagram_media_id). Use the `placement` query param to pick one; with no param the Instagram side is returned when it exists, otherwise Facebook. The identifiers are read from the ad record (persisted during sync) with a Marketing-API fallback for ads that predate the field. For Instagram-placed comments, the Instagram account that runs the ad must be connected to Zernio — those comments are read through that account's token. If no connected Instagram account on the profile can read the ad's media, the call returns ads_connection_required (the Facebook side, if any, is still readable via ?placement=facebook). Meta-only for now. Other ad platforms (TikTok, LinkedIn, Pinterest, Google, X) are not wired to this endpoint and return feature_not_available. Requires the Ads add-on. Response shape matches GET /v1/inbox/comments/{postId}. The `{adId}` path segment accepts any identifier dialect Zernio indexes for the ad: Zernio internal `_id` (24-char hex), Meta's numeric `platformAdId` (the value shipped in `comment.received` webhooks as `comment.ad.id`), or the creative's `effective_object_story_id` / `effective_instagram_media_id`. Caller doesn't need a translation step.
|
|
101
101
|
# @param ad_id Internal Zernio ad ID (ObjectId).
|
|
102
102
|
# @param [Hash] opts the optional parameters
|
|
103
103
|
# @option opts [String] :placement Which side of the ad to return comments for. Omit to default to the Instagram side when present, else Facebook. Returns ad_not_commentable if the ad has no such placement.
|
|
@@ -14,16 +14,16 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for Zernio::
|
|
17
|
+
# Unit tests for Zernio::ListInboxConversations200ResponseMetaAccountsSkippedInner
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe Zernio::
|
|
21
|
-
#let(:instance) { Zernio::
|
|
20
|
+
describe Zernio::ListInboxConversations200ResponseMetaAccountsSkippedInner do
|
|
21
|
+
#let(:instance) { Zernio::ListInboxConversations200ResponseMetaAccountsSkippedInner.new }
|
|
22
22
|
|
|
23
|
-
describe 'test an instance of
|
|
24
|
-
it 'should create an instance of
|
|
23
|
+
describe 'test an instance of ListInboxConversations200ResponseMetaAccountsSkippedInner' do
|
|
24
|
+
it 'should create an instance of ListInboxConversations200ResponseMetaAccountsSkippedInner' do
|
|
25
25
|
# uncomment below to test the instance creation
|
|
26
|
-
#expect(instance).to be_instance_of(Zernio::
|
|
26
|
+
#expect(instance).to be_instance_of(Zernio::ListInboxConversations200ResponseMetaAccountsSkippedInner)
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
@@ -51,4 +51,10 @@ describe Zernio::ListInboxConversations200ResponseMeta do
|
|
|
51
51
|
end
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
+
describe 'test attribute "accounts_skipped"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
54
60
|
end
|
|
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.752
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
@@ -1037,6 +1037,7 @@ files:
|
|
|
1037
1037
|
- docs/ListInboxConversations200ResponseDataInnerInstagramProfile.md
|
|
1038
1038
|
- docs/ListInboxConversations200ResponseDataInnerMetadata.md
|
|
1039
1039
|
- docs/ListInboxConversations200ResponseMeta.md
|
|
1040
|
+
- docs/ListInboxConversations200ResponseMetaAccountsSkippedInner.md
|
|
1040
1041
|
- docs/ListInboxConversations200ResponseMetaFailedAccountsInner.md
|
|
1041
1042
|
- docs/ListInboxConversations200ResponsePagination.md
|
|
1042
1043
|
- docs/ListInboxMentions200Response.md
|
|
@@ -1309,7 +1310,6 @@ files:
|
|
|
1309
1310
|
- docs/SearchInboxConversations200ResponseDataInnerConversation.md
|
|
1310
1311
|
- docs/SearchInboxConversations200ResponseDataInnerMatchesInner.md
|
|
1311
1312
|
- docs/SearchInboxConversations200ResponseMeta.md
|
|
1312
|
-
- docs/SearchInboxConversations200ResponseMetaAccountsSkippedInner.md
|
|
1313
1313
|
- docs/SearchInboxConversations200ResponseMetaFailedAccountsInner.md
|
|
1314
1314
|
- docs/SearchInstagramAudio200Response.md
|
|
1315
1315
|
- docs/SearchReddit200Response.md
|
|
@@ -2857,6 +2857,7 @@ files:
|
|
|
2857
2857
|
- lib/zernio-sdk/models/list_inbox_conversations200_response_data_inner_instagram_profile.rb
|
|
2858
2858
|
- lib/zernio-sdk/models/list_inbox_conversations200_response_data_inner_metadata.rb
|
|
2859
2859
|
- lib/zernio-sdk/models/list_inbox_conversations200_response_meta.rb
|
|
2860
|
+
- lib/zernio-sdk/models/list_inbox_conversations200_response_meta_accounts_skipped_inner.rb
|
|
2860
2861
|
- lib/zernio-sdk/models/list_inbox_conversations200_response_meta_failed_accounts_inner.rb
|
|
2861
2862
|
- lib/zernio-sdk/models/list_inbox_conversations200_response_pagination.rb
|
|
2862
2863
|
- lib/zernio-sdk/models/list_inbox_mentions200_response.rb
|
|
@@ -3116,7 +3117,6 @@ files:
|
|
|
3116
3117
|
- lib/zernio-sdk/models/search_inbox_conversations200_response_data_inner_conversation.rb
|
|
3117
3118
|
- lib/zernio-sdk/models/search_inbox_conversations200_response_data_inner_matches_inner.rb
|
|
3118
3119
|
- lib/zernio-sdk/models/search_inbox_conversations200_response_meta.rb
|
|
3119
|
-
- lib/zernio-sdk/models/search_inbox_conversations200_response_meta_accounts_skipped_inner.rb
|
|
3120
3120
|
- lib/zernio-sdk/models/search_inbox_conversations200_response_meta_failed_accounts_inner.rb
|
|
3121
3121
|
- lib/zernio-sdk/models/search_instagram_audio200_response.rb
|
|
3122
3122
|
- lib/zernio-sdk/models/search_reddit200_response.rb
|
|
@@ -4638,6 +4638,7 @@ files:
|
|
|
4638
4638
|
- spec/models/list_inbox_conversations200_response_data_inner_instagram_profile_spec.rb
|
|
4639
4639
|
- spec/models/list_inbox_conversations200_response_data_inner_metadata_spec.rb
|
|
4640
4640
|
- spec/models/list_inbox_conversations200_response_data_inner_spec.rb
|
|
4641
|
+
- spec/models/list_inbox_conversations200_response_meta_accounts_skipped_inner_spec.rb
|
|
4641
4642
|
- spec/models/list_inbox_conversations200_response_meta_failed_accounts_inner_spec.rb
|
|
4642
4643
|
- spec/models/list_inbox_conversations200_response_meta_spec.rb
|
|
4643
4644
|
- spec/models/list_inbox_conversations200_response_pagination_spec.rb
|
|
@@ -4897,7 +4898,6 @@ files:
|
|
|
4897
4898
|
- spec/models/search_inbox_conversations200_response_data_inner_conversation_spec.rb
|
|
4898
4899
|
- spec/models/search_inbox_conversations200_response_data_inner_matches_inner_spec.rb
|
|
4899
4900
|
- spec/models/search_inbox_conversations200_response_data_inner_spec.rb
|
|
4900
|
-
- spec/models/search_inbox_conversations200_response_meta_accounts_skipped_inner_spec.rb
|
|
4901
4901
|
- spec/models/search_inbox_conversations200_response_meta_failed_accounts_inner_spec.rb
|
|
4902
4902
|
- spec/models/search_inbox_conversations200_response_meta_spec.rb
|
|
4903
4903
|
- spec/models/search_inbox_conversations200_response_spec.rb
|
|
@@ -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.752.gem
|
|
5426
5426
|
- zernio-sdk.gemspec
|
|
5427
5427
|
homepage: https://openapi-generator.tech
|
|
5428
5428
|
licenses:
|
|
@@ -6021,6 +6021,7 @@ test_files:
|
|
|
6021
6021
|
- spec/models/get_content_decay200_response_buckets_inner_spec.rb
|
|
6022
6022
|
- spec/models/get_ads_search_terms200_response_paging_spec.rb
|
|
6023
6023
|
- spec/models/linked_in_ads_platform_data_follower_headline_spec.rb
|
|
6024
|
+
- spec/models/list_inbox_conversations200_response_meta_accounts_skipped_inner_spec.rb
|
|
6024
6025
|
- spec/models/create_discord_scheduled_event_request_entity_spec.rb
|
|
6025
6026
|
- spec/models/x_article_block_spec.rb
|
|
6026
6027
|
- spec/models/x_article_entity_one_of3_value_spec.rb
|
|
@@ -7075,7 +7076,6 @@ test_files:
|
|
|
7075
7076
|
- spec/models/get_ad_comments200_response_spec.rb
|
|
7076
7077
|
- spec/models/on_whats_app_automatic_event_request_custom_data_spec.rb
|
|
7077
7078
|
- spec/models/reject_whats_app_group_join_requests_request_spec.rb
|
|
7078
|
-
- spec/models/search_inbox_conversations200_response_meta_accounts_skipped_inner_spec.rb
|
|
7079
7079
|
- spec/models/social_account_profile_id_spec.rb
|
|
7080
7080
|
- spec/models/list_whats_app_conversions200_response_events_inner_spec.rb
|
|
7081
7081
|
- spec/models/get_google_business_performance400_response_spec.rb
|
data/zernio-sdk-0.0.750.gem
DELETED
|
Binary file
|