late-sdk 0.0.888 → 0.0.890

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: a83427f1872fe2252d1f723cdfb3d2a59fddc4c4856b05fdb0f011fee2243ada
4
- data.tar.gz: 1457d5205407e5abf9202595287176c9b48a77556a963082398397399d37387a
3
+ metadata.gz: b5276c61a7a83ea4f82d665041d6dd5e6d2bafdbadaa9db3ec83713b6bc68362
4
+ data.tar.gz: 6ce9ffb1852bf974f33503512edebe0dd3ec0c1f0cb656a4f8710e584c23d560
5
5
  SHA512:
6
- metadata.gz: ec90eb31ba88acd4984cba382d1b5a149b735b5a36c9d76a3b54868a31b9d0903bd1bd8f9aa26a79af81dafc9939a87b9607cf4d43ffea3e72523097a2a3e183
7
- data.tar.gz: 4596258907db67701384571a8a34e092fffef4bd8ecd8c6b2df2036133fb11e9e8f60a5cecdb0fd61eefbc2495a7517a57ede1d59febd4b54f1c79183020ffe4
6
+ metadata.gz: e94acf7ce1317ccc976cab938c2170a876652d47bb1af2934463d8e8a8e36efc3c080fab89c7eb4e3bee02e23ad00a2fc6dcb1dc4065c3b87049112991507c07
7
+ data.tar.gz: 5c90400f53199e0d595f6dc016436524bbb98f3464d1f51f20d2b7a76bdce3699453cdf6180d76bc53a13bbb27c820da22590c95d6ed40cbb128836c7051fb3c
@@ -33,7 +33,7 @@ Zernio.configure do |config|
33
33
  end
34
34
 
35
35
  api_instance = Zernio::AdAudiencesApi.new
36
- audience_id = 'audience_id_example' # String |
36
+ audience_id = 'audience_id_example' # String | The Zernio audience id (the id field of GET /v1/ads/audiences), not the platform segment id.
37
37
  add_users_to_ad_audience_request = Zernio::AddUsersToAdAudienceRequest.new({users: [Zernio::AddUsersToAdAudienceRequestUsersInner.new]}) # AddUsersToAdAudienceRequest |
38
38
 
39
39
  begin
@@ -67,7 +67,7 @@ end
67
67
 
68
68
  | Name | Type | Description | Notes |
69
69
  | ---- | ---- | ----------- | ----- |
70
- | **audience_id** | **String** | | |
70
+ | **audience_id** | **String** | The Zernio audience id (the id field of GET /v1/ads/audiences), not the platform segment id. | |
71
71
  | **add_users_to_ad_audience_request** | [**AddUsersToAdAudienceRequest**](AddUsersToAdAudienceRequest.md) | | |
72
72
 
73
73
  ### Return type
@@ -242,7 +242,7 @@ Zernio.configure do |config|
242
242
  end
243
243
 
244
244
  api_instance = Zernio::AdAudiencesApi.new
245
- audience_id = 'audience_id_example' # String |
245
+ audience_id = 'audience_id_example' # String | The Zernio audience id (the id field of GET /v1/ads/audiences), not the platform segment id.
246
246
 
247
247
  begin
248
248
  # Get audience details
@@ -275,7 +275,7 @@ end
275
275
 
276
276
  | Name | Type | Description | Notes |
277
277
  | ---- | ---- | ----------- | ----- |
278
- | **audience_id** | **String** | | |
278
+ | **audience_id** | **String** | The Zernio audience id (the id field of GET /v1/ads/audiences), not the platform segment id. | |
279
279
 
280
280
  ### Return type
281
281
 
@@ -388,7 +388,7 @@ Zernio.configure do |config|
388
388
  end
389
389
 
390
390
  api_instance = Zernio::AdAudiencesApi.new
391
- audience_id = 'audience_id_example' # String |
391
+ audience_id = 'audience_id_example' # String | The Zernio audience id (the id field of GET /v1/ads/audiences), not the platform segment id.
392
392
  replace_ad_audience_companies_request = Zernio::ReplaceAdAudienceCompaniesRequest.new({companies: [Zernio::ReplaceAdAudienceCompaniesRequestCompaniesInner.new]}) # ReplaceAdAudienceCompaniesRequest |
393
393
 
394
394
  begin
@@ -422,7 +422,7 @@ end
422
422
 
423
423
  | Name | Type | Description | Notes |
424
424
  | ---- | ---- | ----------- | ----- |
425
- | **audience_id** | **String** | | |
425
+ | **audience_id** | **String** | The Zernio audience id (the id field of GET /v1/ads/audiences), not the platform segment id. | |
426
426
  | **replace_ad_audience_companies_request** | [**ReplaceAdAudienceCompaniesRequest**](ReplaceAdAudienceCompaniesRequest.md) | | |
427
427
 
428
428
  ### Return type
@@ -5,7 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **audience** | **Object** | | [optional] |
8
- | **meta_data** | **Object** | Fresh data from Meta API | [optional] |
8
+ | **platform_data** | **Object** | Fresh data from the platform API | [optional] |
9
9
 
10
10
  ## Example
11
11
 
@@ -14,7 +14,7 @@ require 'zernio-sdk'
14
14
 
15
15
  instance = Zernio::GetAdAudience200Response.new(
16
16
  audience: null,
17
- meta_data: null
17
+ platform_data: null
18
18
  )
19
19
  ```
20
20
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **id** | **String** | | [optional] |
7
+ | **id** | **String** | The Zernio audience id. Pass this as audienceId on GET /v1/ads/audiences/{audienceId} and the companies/users upload endpoints. Null when the audience was not created through Zernio. | [optional] |
8
8
  | **account_id** | **String** | Account the audience was created against. Returned for saved_targeting items. | [optional] |
9
9
  | **platform_audience_id** | **String** | | [optional] |
10
10
  | **name** | **String** | | [optional] |
@@ -21,7 +21,7 @@ module Zernio
21
21
  end
22
22
  # Add users to audience
23
23
  # Upload user data to a customer_list audience. Data is SHA256-hashed server-side before sending to the platform. Email is used on every platform; phone is used on Meta only (other platforms ignore it). On TikTok and Pinterest, the first upload also provisions the audience (deferred create). LinkedIn uploads are full-replace. Max 10,000 users per request. customer_list only. A LinkedIn `company_list` audience takes company rows, not people: send those to `POST /v1/ads/audiences/{audienceId}/companies`. This endpoint 422s for every other audience type.
24
- # @param audience_id [String]
24
+ # @param audience_id [String] The Zernio audience id (the id field of GET /v1/ads/audiences), not the platform segment id.
25
25
  # @param add_users_to_ad_audience_request [AddUsersToAdAudienceRequest]
26
26
  # @param [Hash] opts the optional parameters
27
27
  # @return [AddUsersToAdAudience200Response]
@@ -32,7 +32,7 @@ module Zernio
32
32
 
33
33
  # Add users to audience
34
34
  # Upload user data to a customer_list audience. Data is SHA256-hashed server-side before sending to the platform. Email is used on every platform; phone is used on Meta only (other platforms ignore it). On TikTok and Pinterest, the first upload also provisions the audience (deferred create). LinkedIn uploads are full-replace. Max 10,000 users per request. customer_list only. A LinkedIn `company_list` audience takes company rows, not people: send those to `POST /v1/ads/audiences/{audienceId}/companies`. This endpoint 422s for every other audience type.
35
- # @param audience_id [String]
35
+ # @param audience_id [String] The Zernio audience id (the id field of GET /v1/ads/audiences), not the platform segment id.
36
36
  # @param add_users_to_ad_audience_request [AddUsersToAdAudienceRequest]
37
37
  # @param [Hash] opts the optional parameters
38
38
  # @return [Array<(AddUsersToAdAudience200Response, Integer, Hash)>] AddUsersToAdAudience200Response data, response status code and response headers
@@ -226,7 +226,7 @@ module Zernio
226
226
 
227
227
  # Get audience details
228
228
  # Returns the local audience record and fresh data from Meta (if available).
229
- # @param audience_id [String]
229
+ # @param audience_id [String] The Zernio audience id (the id field of GET /v1/ads/audiences), not the platform segment id.
230
230
  # @param [Hash] opts the optional parameters
231
231
  # @return [GetAdAudience200Response]
232
232
  def get_ad_audience(audience_id, opts = {})
@@ -236,7 +236,7 @@ module Zernio
236
236
 
237
237
  # Get audience details
238
238
  # Returns the local audience record and fresh data from Meta (if available).
239
- # @param audience_id [String]
239
+ # @param audience_id [String] The Zernio audience id (the id field of GET /v1/ads/audiences), not the platform segment id.
240
240
  # @param [Hash] opts the optional parameters
241
241
  # @return [Array<(GetAdAudience200Response, Integer, Hash)>] GetAdAudience200Response data, response status code and response headers
242
242
  def get_ad_audience_with_http_info(audience_id, opts = {})
@@ -374,7 +374,7 @@ module Zernio
374
374
 
375
375
  # Replace audience companies
376
376
  # Upload the company rows of a LinkedIn `company_list` audience (account-based marketing). LinkedIn-only, every other platform returns 422. A LinkedIn audience segment holds exactly one uploaded list, so the list you send here REPLACES the segment's list instead of being appended to it: always send the full set of companies. LinkedIn returns only the identifier of the uploaded file, never its rows, so the merge cannot be done for you, keep the source list on your side. How the matching behaves: - Rows are plain text (not hashed), matched against LinkedIn's own company graph. - Matching is asynchronous: LinkedIn takes up to 48h for a new audience and up to 24h for a later update, and the audience stays `processing` meanwhile. - LinkedIn does not document how quickly companies dropped from the list stop being targeted, so treat removals as eventual rather than immediate. - LinkedIn recommends at least 1,000 companies for a usable match rate, and caps a list at 300,000. The initial list is sent with `companies` on `POST /v1/ads/audiences`; this endpoint is for every change after that.
377
- # @param audience_id [String]
377
+ # @param audience_id [String] The Zernio audience id (the id field of GET /v1/ads/audiences), not the platform segment id.
378
378
  # @param replace_ad_audience_companies_request [ReplaceAdAudienceCompaniesRequest]
379
379
  # @param [Hash] opts the optional parameters
380
380
  # @return [ReplaceAdAudienceCompanies200Response]
@@ -385,7 +385,7 @@ module Zernio
385
385
 
386
386
  # Replace audience companies
387
387
  # Upload the company rows of a LinkedIn &#x60;company_list&#x60; audience (account-based marketing). LinkedIn-only, every other platform returns 422. A LinkedIn audience segment holds exactly one uploaded list, so the list you send here REPLACES the segment&#39;s list instead of being appended to it: always send the full set of companies. LinkedIn returns only the identifier of the uploaded file, never its rows, so the merge cannot be done for you, keep the source list on your side. How the matching behaves: - Rows are plain text (not hashed), matched against LinkedIn&#39;s own company graph. - Matching is asynchronous: LinkedIn takes up to 48h for a new audience and up to 24h for a later update, and the audience stays &#x60;processing&#x60; meanwhile. - LinkedIn does not document how quickly companies dropped from the list stop being targeted, so treat removals as eventual rather than immediate. - LinkedIn recommends at least 1,000 companies for a usable match rate, and caps a list at 300,000. The initial list is sent with &#x60;companies&#x60; on &#x60;POST /v1/ads/audiences&#x60;; this endpoint is for every change after that.
388
- # @param audience_id [String]
388
+ # @param audience_id [String] The Zernio audience id (the id field of GET /v1/ads/audiences), not the platform segment id.
389
389
  # @param replace_ad_audience_companies_request [ReplaceAdAudienceCompaniesRequest]
390
390
  # @param [Hash] opts the optional parameters
391
391
  # @return [Array<(ReplaceAdAudienceCompanies200Response, Integer, Hash)>] ReplaceAdAudienceCompanies200Response data, response status code and response headers
@@ -17,14 +17,14 @@ module Zernio
17
17
  class GetAdAudience200Response < ApiModelBase
18
18
  attr_accessor :audience
19
19
 
20
- # Fresh data from Meta API
21
- attr_accessor :meta_data
20
+ # Fresh data from the platform API
21
+ attr_accessor :platform_data
22
22
 
23
23
  # Attribute mapping from ruby-style variable name to JSON key.
24
24
  def self.attribute_map
25
25
  {
26
26
  :'audience' => :'audience',
27
- :'meta_data' => :'metaData'
27
+ :'platform_data' => :'platformData'
28
28
  }
29
29
  end
30
30
 
@@ -42,14 +42,14 @@ module Zernio
42
42
  def self.openapi_types
43
43
  {
44
44
  :'audience' => :'Object',
45
- :'meta_data' => :'Object'
45
+ :'platform_data' => :'Object'
46
46
  }
47
47
  end
48
48
 
49
49
  # List of attributes with nullable: true
50
50
  def self.openapi_nullable
51
51
  Set.new([
52
- :'meta_data'
52
+ :'platform_data'
53
53
  ])
54
54
  end
55
55
 
@@ -73,8 +73,8 @@ module Zernio
73
73
  self.audience = attributes[:'audience']
74
74
  end
75
75
 
76
- if attributes.key?(:'meta_data')
77
- self.meta_data = attributes[:'meta_data']
76
+ if attributes.key?(:'platform_data')
77
+ self.platform_data = attributes[:'platform_data']
78
78
  end
79
79
  end
80
80
 
@@ -99,7 +99,7 @@ module Zernio
99
99
  return true if self.equal?(o)
100
100
  self.class == o.class &&
101
101
  audience == o.audience &&
102
- meta_data == o.meta_data
102
+ platform_data == o.platform_data
103
103
  end
104
104
 
105
105
  # @see the `==` method
@@ -111,7 +111,7 @@ module Zernio
111
111
  # Calculates hash code according to all attributes.
112
112
  # @return [Integer] Hash code
113
113
  def hash
114
- [audience, meta_data].hash
114
+ [audience, platform_data].hash
115
115
  end
116
116
 
117
117
  # Builds the object from hash
@@ -15,6 +15,7 @@ require 'time'
15
15
 
16
16
  module Zernio
17
17
  class ListAdAudiences200ResponseAudiencesInner < ApiModelBase
18
+ # The Zernio audience id. Pass this as audienceId on GET /v1/ads/audiences/{audienceId} and the companies/users upload endpoints. Null when the audience was not created through Zernio.
18
19
  attr_accessor :id
19
20
 
20
21
  # Account the audience was created against. Returned for saved_targeting items.
@@ -11,5 +11,5 @@ Generator version: 7.19.0
11
11
  =end
12
12
 
13
13
  module Zernio
14
- VERSION = '0.0.888'
14
+ VERSION = '0.0.890'
15
15
  end
data/openapi.yaml CHANGED
@@ -49129,7 +49129,7 @@ paths:
49129
49129
  items:
49130
49130
  type: object
49131
49131
  properties:
49132
- id: { type: [string, "null"] }
49132
+ id: { type: [string, "null"], description: "The Zernio audience id. Pass this as audienceId on GET /v1/ads/audiences/{audienceId} and the companies/users upload endpoints. Null when the audience was not created through Zernio." }
49133
49133
  accountId: { type: string, description: "Account the audience was created against. Returned for saved_targeting items." }
49134
49134
  platformAudienceId: { type: string }
49135
49135
  name: { type: string }
@@ -49347,7 +49347,7 @@ paths:
49347
49347
  security:
49348
49348
  - bearerAuth: []
49349
49349
  parameters:
49350
- - { name: audienceId, in: path, required: true, schema: { type: string } }
49350
+ - { name: audienceId, in: path, required: true, schema: { type: string }, description: "The Zernio audience id (the id field of GET /v1/ads/audiences), not the platform segment id." }
49351
49351
  responses:
49352
49352
  '200':
49353
49353
  description: Audience details
@@ -49357,7 +49357,7 @@ paths:
49357
49357
  type: object
49358
49358
  properties:
49359
49359
  audience: { type: object }
49360
- metaData: { type: [object, "null"], description: Fresh data from Meta API }
49360
+ platformData: { type: [object, "null"], description: Fresh data from the platform API }
49361
49361
  '401': { $ref: '#/components/responses/Unauthorized' }
49362
49362
  '403':
49363
49363
  description: Ads access required. Legacy plans need the Ads add-on; included by default on usage-based plans.
@@ -49455,7 +49455,7 @@ paths:
49455
49455
  security:
49456
49456
  - bearerAuth: []
49457
49457
  parameters:
49458
- - { name: audienceId, in: path, required: true, schema: { type: string } }
49458
+ - { name: audienceId, in: path, required: true, schema: { type: string }, description: "The Zernio audience id (the id field of GET /v1/ads/audiences), not the platform segment id." }
49459
49459
  requestBody:
49460
49460
  required: true
49461
49461
  content:
@@ -49524,7 +49524,7 @@ paths:
49524
49524
  security:
49525
49525
  - bearerAuth: []
49526
49526
  parameters:
49527
- - { name: audienceId, in: path, required: true, schema: { type: string } }
49527
+ - { name: audienceId, in: path, required: true, schema: { type: string }, description: "The Zernio audience id (the id field of GET /v1/ads/audiences), not the platform segment id." }
49528
49528
  requestBody:
49529
49529
  required: true
49530
49530
  content:
@@ -35,7 +35,7 @@ describe 'AdAudiencesApi' do
35
35
  # unit tests for add_users_to_ad_audience
36
36
  # Add users to audience
37
37
  # Upload user data to a customer_list audience. Data is SHA256-hashed server-side before sending to the platform. Email is used on every platform; phone is used on Meta only (other platforms ignore it). On TikTok and Pinterest, the first upload also provisions the audience (deferred create). LinkedIn uploads are full-replace. Max 10,000 users per request. customer_list only. A LinkedIn &#x60;company_list&#x60; audience takes company rows, not people: send those to &#x60;POST /v1/ads/audiences/{audienceId}/companies&#x60;. This endpoint 422s for every other audience type.
38
- # @param audience_id
38
+ # @param audience_id The Zernio audience id (the id field of GET /v1/ads/audiences), not the platform segment id.
39
39
  # @param add_users_to_ad_audience_request
40
40
  # @param [Hash] opts the optional parameters
41
41
  # @return [AddUsersToAdAudience200Response]
@@ -72,7 +72,7 @@ describe 'AdAudiencesApi' do
72
72
  # unit tests for get_ad_audience
73
73
  # Get audience details
74
74
  # Returns the local audience record and fresh data from Meta (if available).
75
- # @param audience_id
75
+ # @param audience_id The Zernio audience id (the id field of GET /v1/ads/audiences), not the platform segment id.
76
76
  # @param [Hash] opts the optional parameters
77
77
  # @return [GetAdAudience200Response]
78
78
  describe 'get_ad_audience test' do
@@ -99,7 +99,7 @@ describe 'AdAudiencesApi' do
99
99
  # unit tests for replace_ad_audience_companies
100
100
  # Replace audience companies
101
101
  # Upload the company rows of a LinkedIn &#x60;company_list&#x60; audience (account-based marketing). LinkedIn-only, every other platform returns 422. A LinkedIn audience segment holds exactly one uploaded list, so the list you send here REPLACES the segment&#39;s list instead of being appended to it: always send the full set of companies. LinkedIn returns only the identifier of the uploaded file, never its rows, so the merge cannot be done for you, keep the source list on your side. How the matching behaves: - Rows are plain text (not hashed), matched against LinkedIn&#39;s own company graph. - Matching is asynchronous: LinkedIn takes up to 48h for a new audience and up to 24h for a later update, and the audience stays &#x60;processing&#x60; meanwhile. - LinkedIn does not document how quickly companies dropped from the list stop being targeted, so treat removals as eventual rather than immediate. - LinkedIn recommends at least 1,000 companies for a usable match rate, and caps a list at 300,000. The initial list is sent with &#x60;companies&#x60; on &#x60;POST /v1/ads/audiences&#x60;; this endpoint is for every change after that.
102
- # @param audience_id
102
+ # @param audience_id The Zernio audience id (the id field of GET /v1/ads/audiences), not the platform segment id.
103
103
  # @param replace_ad_audience_companies_request
104
104
  # @param [Hash] opts the optional parameters
105
105
  # @return [ReplaceAdAudienceCompanies200Response]
@@ -33,7 +33,7 @@ describe Zernio::GetAdAudience200Response do
33
33
  end
34
34
  end
35
35
 
36
- describe 'test attribute "meta_data"' do
36
+ describe 'test attribute "platform_data"' do
37
37
  it 'should work' do
38
38
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
39
  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.888
4
+ version: 0.0.890
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
@@ -6067,7 +6067,7 @@ files:
6067
6067
  - spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
6068
6068
  - spec/models/you_tube_video_retention_response_spec.rb
6069
6069
  - spec/spec_helper.rb
6070
- - zernio-sdk-0.0.888.gem
6070
+ - zernio-sdk-0.0.890.gem
6071
6071
  - zernio-sdk.gemspec
6072
6072
  homepage: https://openapi-generator.tech
6073
6073
  licenses:
Binary file