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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 38a525d4bb08e56592a11454256aaf13bd0df5f8d2f852421c121b424c88b2f5
4
- data.tar.gz: 94a9f494671048b71f46d91754def558ecac1e128dfcf84648ea4f3ecac72c54
3
+ metadata.gz: 01e4259778c67fab9f18bc7a883c2b296aaf19920e9a4ce0ecaff7210eab3aaf
4
+ data.tar.gz: f56e4c3dd5d889df01552e9016765f331d3cd1ee73c6fa72f6caaa244501b2ae
5
5
  SHA512:
6
- metadata.gz: 268cc43af084aec2fc83058de79081c5c54e9a118694fb61cd2ac2ef6f6c548a4bca46993ead36f1e030e8f461d03724dcdd0af8473a354abef4f7265dadf424
7
- data.tar.gz: f2d78ad309a469cc51968aa580db12fc8fb811483a903bad1a81cbb984b0d6bc02429fa7f1f7bf07ee62b8a43721db7d34bb6a645046d6736eec113b8f642597
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** | | [optional] |
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** | | [optional] |
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-synced ads updated | [optional] |
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
 
@@ -34,6 +34,7 @@ module Late
34
34
 
35
35
  attr_accessor :engagement
36
36
 
37
+ # Present on individual ads only, not on campaign aggregations
37
38
  attr_accessor :last_synced_at
38
39
 
39
40
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -34,6 +34,7 @@ module Late
34
34
 
35
35
  attr_accessor :engagement
36
36
 
37
+ # Present on individual ads only, not on campaign aggregations
37
38
  attr_accessor :last_synced_at
38
39
 
39
40
  attr_accessor :date
@@ -20,7 +20,7 @@ module Late
20
20
  # New ads imported
21
21
  attr_accessor :synced
22
22
 
23
- # Already-synced ads updated
23
+ # Already-known ads (skipped import
24
24
  attr_accessor :skipped
25
25
 
26
26
  # Failed ad imports
@@ -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
@@ -11,5 +11,5 @@ Generator version: 7.19.0
11
11
  =end
12
12
 
13
13
  module Late
14
- VERSION = '0.0.100'
14
+ VERSION = '0.0.101'
15
15
  end
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-synced ads updated }
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':
@@ -45,4 +45,10 @@ describe Late::UpdateAdCampaignStatus200Response do
45
45
  end
46
46
  end
47
47
 
48
+ describe 'test attribute "message"' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
+ end
52
+ end
53
+
48
54
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zernio-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.100
4
+ version: 0.0.101
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator