late-sdk 0.0.100 → 0.0.102
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/AdMetrics.md +1 -1
- data/docs/GetAdAnalytics200ResponseAnalyticsDailyInner.md +1 -1
- data/docs/SyncExternalAds200Response.md +1 -1
- data/docs/UpdateAdCampaignStatus200Response.md +3 -1
- data/lib/late-sdk/models/ad_metrics.rb +1 -0
- data/lib/late-sdk/models/get_ad_analytics200_response_analytics_daily_inner.rb +1 -0
- data/lib/late-sdk/models/sync_external_ads200_response.rb +1 -1
- data/lib/late-sdk/models/update_ad_campaign_status200_response.rb +14 -4
- data/lib/late-sdk/version.rb +1 -1
- data/openapi.yaml +9 -2
- data/spec/models/update_ad_campaign_status200_response_spec.rb +6 -0
- data/zernio-sdk-0.0.102.gem +0 -0
- metadata +2 -2
- data/zernio-sdk-0.0.100.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: edead27b1444c03bff3e35bbf80be3672aa0c6b5810b7a0199572889d9a6f2de
|
|
4
|
+
data.tar.gz: 3f987047401fd4f69a65ee167a2ca203d1d6d1bfc47ad8fa295e84305f0ae7c8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bf024d0ad1bfc82cdbfec421ba7dc6f6d06a1585a70e0ac0ec3d4b460c692d851deafc6ab72029940b851ab030d86a91cff5611bd5246ac1a60888e25419489e
|
|
7
|
+
data.tar.gz: d6764d1eb6d84becd115a9ef54121022e5c01976c5b71bab828dd5e203b258ae0908af63f5ce33fcdeeded78a133ab9dd4eea41e41b90d6b9ff1808a633fc12a
|
data/docs/AdMetrics.md
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
| **cpc** | **Float** | Cost per click | [optional] |
|
|
13
13
|
| **cpm** | **Float** | Cost per 1000 impressions | [optional] |
|
|
14
14
|
| **engagement** | **Integer** | | [optional] |
|
|
15
|
-
| **last_synced_at** | **Time** |
|
|
15
|
+
| **last_synced_at** | **Time** | Present on individual ads only, not on campaign aggregations | [optional] |
|
|
16
16
|
|
|
17
17
|
## Example
|
|
18
18
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
| **cpc** | **Float** | Cost per click | [optional] |
|
|
13
13
|
| **cpm** | **Float** | Cost per 1000 impressions | [optional] |
|
|
14
14
|
| **engagement** | **Integer** | | [optional] |
|
|
15
|
-
| **last_synced_at** | **Time** |
|
|
15
|
+
| **last_synced_at** | **Time** | Present on individual ads only, not on campaign aggregations | [optional] |
|
|
16
16
|
| **date** | **Date** | | [optional] |
|
|
17
17
|
|
|
18
18
|
## Example
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **success** | **Boolean** | | [optional] |
|
|
8
8
|
| **synced** | **Integer** | New ads imported | [optional] |
|
|
9
|
-
| **skipped** | **Integer** | Already-
|
|
9
|
+
| **skipped** | **Integer** | Already-known ads (skipped import | [optional] |
|
|
10
10
|
| **errors** | **Integer** | Failed ad imports | [optional] |
|
|
11
11
|
|
|
12
12
|
## Example
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
| **updated** | **Integer** | Number of ads updated | [optional] |
|
|
8
8
|
| **skipped** | **Integer** | Number of ads skipped | [optional] |
|
|
9
9
|
| **skipped_reasons** | **Array<String>** | | [optional] |
|
|
10
|
+
| **message** | **String** | Human-readable summary (present when no ads were actionable) | [optional] |
|
|
10
11
|
|
|
11
12
|
## Example
|
|
12
13
|
|
|
@@ -16,7 +17,8 @@ require 'late-sdk'
|
|
|
16
17
|
instance = Late::UpdateAdCampaignStatus200Response.new(
|
|
17
18
|
updated: null,
|
|
18
19
|
skipped: null,
|
|
19
|
-
skipped_reasons: null
|
|
20
|
+
skipped_reasons: null,
|
|
21
|
+
message: null
|
|
20
22
|
)
|
|
21
23
|
```
|
|
22
24
|
|
|
@@ -23,12 +23,16 @@ module Late
|
|
|
23
23
|
|
|
24
24
|
attr_accessor :skipped_reasons
|
|
25
25
|
|
|
26
|
+
# Human-readable summary (present when no ads were actionable)
|
|
27
|
+
attr_accessor :message
|
|
28
|
+
|
|
26
29
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
27
30
|
def self.attribute_map
|
|
28
31
|
{
|
|
29
32
|
:'updated' => :'updated',
|
|
30
33
|
:'skipped' => :'skipped',
|
|
31
|
-
:'skipped_reasons' => :'skippedReasons'
|
|
34
|
+
:'skipped_reasons' => :'skippedReasons',
|
|
35
|
+
:'message' => :'message'
|
|
32
36
|
}
|
|
33
37
|
end
|
|
34
38
|
|
|
@@ -47,7 +51,8 @@ module Late
|
|
|
47
51
|
{
|
|
48
52
|
:'updated' => :'Integer',
|
|
49
53
|
:'skipped' => :'Integer',
|
|
50
|
-
:'skipped_reasons' => :'Array<String>'
|
|
54
|
+
:'skipped_reasons' => :'Array<String>',
|
|
55
|
+
:'message' => :'String'
|
|
51
56
|
}
|
|
52
57
|
end
|
|
53
58
|
|
|
@@ -86,6 +91,10 @@ module Late
|
|
|
86
91
|
self.skipped_reasons = value
|
|
87
92
|
end
|
|
88
93
|
end
|
|
94
|
+
|
|
95
|
+
if attributes.key?(:'message')
|
|
96
|
+
self.message = attributes[:'message']
|
|
97
|
+
end
|
|
89
98
|
end
|
|
90
99
|
|
|
91
100
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -110,7 +119,8 @@ module Late
|
|
|
110
119
|
self.class == o.class &&
|
|
111
120
|
updated == o.updated &&
|
|
112
121
|
skipped == o.skipped &&
|
|
113
|
-
skipped_reasons == o.skipped_reasons
|
|
122
|
+
skipped_reasons == o.skipped_reasons &&
|
|
123
|
+
message == o.message
|
|
114
124
|
end
|
|
115
125
|
|
|
116
126
|
# @see the `==` method
|
|
@@ -122,7 +132,7 @@ module Late
|
|
|
122
132
|
# Calculates hash code according to all attributes.
|
|
123
133
|
# @return [Integer] Hash code
|
|
124
134
|
def hash
|
|
125
|
-
[updated, skipped, skipped_reasons].hash
|
|
135
|
+
[updated, skipped, skipped_reasons, message].hash
|
|
126
136
|
end
|
|
127
137
|
|
|
128
138
|
# Builds the object from hash
|
data/lib/late-sdk/version.rb
CHANGED
data/openapi.yaml
CHANGED
|
@@ -2642,7 +2642,7 @@ components:
|
|
|
2642
2642
|
cpc: { type: number, description: Cost per click }
|
|
2643
2643
|
cpm: { type: number, description: Cost per 1000 impressions }
|
|
2644
2644
|
engagement: { type: integer }
|
|
2645
|
-
lastSyncedAt: { type: string, format: date-time }
|
|
2645
|
+
lastSyncedAt: { type: string, format: date-time, description: "Present on individual ads only, not on campaign aggregations" }
|
|
2646
2646
|
Ad:
|
|
2647
2647
|
type: object
|
|
2648
2648
|
properties:
|
|
@@ -17384,6 +17384,7 @@ paths:
|
|
|
17384
17384
|
updated: { type: integer, description: Number of ads updated }
|
|
17385
17385
|
skipped: { type: integer, description: Number of ads skipped }
|
|
17386
17386
|
skippedReasons: { type: array, items: { type: string } }
|
|
17387
|
+
message: { type: string, description: Human-readable summary (present when no ads were actionable) }
|
|
17387
17388
|
'400':
|
|
17388
17389
|
description: Invalid input or campaign spans multiple social accounts
|
|
17389
17390
|
'401': { $ref: '#/components/responses/Unauthorized' }
|
|
@@ -17627,6 +17628,8 @@ paths:
|
|
|
17627
17628
|
'401': { $ref: '#/components/responses/Unauthorized' }
|
|
17628
17629
|
'403':
|
|
17629
17630
|
description: Ads add-on required
|
|
17631
|
+
'422':
|
|
17632
|
+
description: Platform ads connection required (TikTok Ads, X Ads) or missing linked account
|
|
17630
17633
|
|
|
17631
17634
|
/v1/ads/create:
|
|
17632
17635
|
post:
|
|
@@ -17684,6 +17687,8 @@ paths:
|
|
|
17684
17687
|
'401': { $ref: '#/components/responses/Unauthorized' }
|
|
17685
17688
|
'403':
|
|
17686
17689
|
description: Ads add-on required
|
|
17690
|
+
'422':
|
|
17691
|
+
description: Platform ads connection required (TikTok Ads, X Ads) or missing linked account
|
|
17687
17692
|
|
|
17688
17693
|
/v1/ads/sync:
|
|
17689
17694
|
post:
|
|
@@ -17703,7 +17708,7 @@ paths:
|
|
|
17703
17708
|
properties:
|
|
17704
17709
|
success: { type: boolean }
|
|
17705
17710
|
synced: { type: integer, description: New ads imported }
|
|
17706
|
-
skipped: { type: integer, description: Already-
|
|
17711
|
+
skipped: { type: integer, description: Already-known ads (skipped import, metrics still refreshed) }
|
|
17707
17712
|
errors: { type: integer, description: Failed ad imports }
|
|
17708
17713
|
'401': { $ref: '#/components/responses/Unauthorized' }
|
|
17709
17714
|
'403':
|
|
@@ -17774,6 +17779,8 @@ paths:
|
|
|
17774
17779
|
size: { type: integer }
|
|
17775
17780
|
status: { type: string }
|
|
17776
17781
|
'401': { $ref: '#/components/responses/Unauthorized' }
|
|
17782
|
+
'403':
|
|
17783
|
+
description: Ads add-on required
|
|
17777
17784
|
post:
|
|
17778
17785
|
operationId: createAdAudience
|
|
17779
17786
|
tags: [Ad Audiences]
|
|
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.102
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
@@ -2367,7 +2367,7 @@ files:
|
|
|
2367
2367
|
- spec/models/you_tube_scope_missing_response_scope_status_spec.rb
|
|
2368
2368
|
- spec/models/you_tube_scope_missing_response_spec.rb
|
|
2369
2369
|
- spec/spec_helper.rb
|
|
2370
|
-
- zernio-sdk-0.0.
|
|
2370
|
+
- zernio-sdk-0.0.102.gem
|
|
2371
2371
|
homepage: https://openapi-generator.tech
|
|
2372
2372
|
licenses:
|
|
2373
2373
|
- Unlicense
|
data/zernio-sdk-0.0.100.gem
DELETED
|
Binary file
|