zernio-sdk 0.0.100 → 0.0.101
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 +3 -2
- data/spec/models/update_ad_campaign_status200_response_spec.rb +6 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 01e4259778c67fab9f18bc7a883c2b296aaf19920e9a4ce0ecaff7210eab3aaf
|
|
4
|
+
data.tar.gz: f56e4c3dd5d889df01552e9016765f331d3cd1ee73c6fa72f6caaa244501b2ae
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4ed480ab54ff847d67e567f970054625e243f6d0c1207da0c42b4cb776b249658feee808e7e97ba317ab3e2a617dfbfda0a55d17494e1b8db225fa7df21b0709
|
|
7
|
+
data.tar.gz: a750d3da2cd278a8ef03a88ae6804fa36714c3fa559388e53c8d41bd45a2d33c7832c749d96bb81e72c2591eb51fa012ef89152ae6b5dea6ec296706d2b16026
|
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' }
|
|
@@ -17703,7 +17704,7 @@ paths:
|
|
|
17703
17704
|
properties:
|
|
17704
17705
|
success: { type: boolean }
|
|
17705
17706
|
synced: { type: integer, description: New ads imported }
|
|
17706
|
-
skipped: { type: integer, description: Already-
|
|
17707
|
+
skipped: { type: integer, description: Already-known ads (skipped import, metrics still refreshed) }
|
|
17707
17708
|
errors: { type: integer, description: Failed ad imports }
|
|
17708
17709
|
'401': { $ref: '#/components/responses/Unauthorized' }
|
|
17709
17710
|
'403':
|