late-sdk 0.0.942 → 0.0.944
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/CreateCallAdRequest.md +2 -0
- data/docs/CreateMessagingAdRequest.md +2 -0
- data/docs/CtwaAdRequestBody.md +2 -0
- data/docs/GetInboxConversationMessages200ResponseMessagesInnerDeliveryError.md +5 -1
- data/docs/TargetingSpec.md +2 -0
- data/docs/WebhookPayloadMessageDeliveryStatusError.md +5 -1
- data/lib/zernio-sdk/api/ad_targeting_api.rb +1 -1
- data/lib/zernio-sdk/models/create_call_ad_request.rb +13 -1
- data/lib/zernio-sdk/models/create_messaging_ad_request.rb +13 -1
- data/lib/zernio-sdk/models/ctwa_ad_request_body.rb +13 -1
- data/lib/zernio-sdk/models/get_inbox_conversation_messages200_response_messages_inner_delivery_error.rb +24 -4
- data/lib/zernio-sdk/models/targeting_spec.rb +13 -1
- data/lib/zernio-sdk/models/webhook_payload_message_delivery_status_error.rb +22 -2
- data/lib/zernio-sdk/version.rb +1 -1
- data/openapi.yaml +39 -2
- data/spec/models/create_call_ad_request_spec.rb +10 -0
- data/spec/models/create_messaging_ad_request_spec.rb +10 -0
- data/spec/models/ctwa_ad_request_body_spec.rb +10 -0
- data/spec/models/get_inbox_conversation_messages200_response_messages_inner_delivery_error_spec.rb +12 -0
- data/spec/models/targeting_spec_spec.rb +10 -0
- data/spec/models/webhook_payload_message_delivery_status_error_spec.rb +12 -0
- data/zernio-sdk-0.0.944.gem +0 -0
- metadata +2 -2
- data/zernio-sdk-0.0.942.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: 0cf9ac51582227f71f17759cba3912705b1a80cc209d819f80157b031f88b7a0
|
|
4
|
+
data.tar.gz: 958f659258a85e6bcd4e57429b661e57b41f02a6334edb392271e35008aabe6a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8f348fb5d4bef86c721fff6e7ba2d245efba89b18cce101beef6cfa14faa7a8562550d6cd8683bc9b8977a66d20fe1268ce313aa4de90fd62b33b505397b93bb
|
|
7
|
+
data.tar.gz: 92dc204283820fb337e9bfa21de9fee0071aaf37d2576b0844af41943fa4acab2f85c7b84f4c2a9aa2e66f0234fa1e249479276d35f07e8772748d85dcba55bc
|
data/docs/CreateCallAdRequest.md
CHANGED
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
| **regions** | [**Array<CtwaAdRequestBodyRegionsInner>**](CtwaAdRequestBodyRegionsInner.md) | Region / state-level geo targeting. `key` is Meta's region ID (lookupable via GET /v1/ads/targeting/search?type=region). | [optional] |
|
|
29
29
|
| **zips** | [**Array<CtwaAdRequestBodyZipsInner>**](CtwaAdRequestBodyZipsInner.md) | ZIP / postal-code geo targeting. `key` is the platform's postal id resolved via /v1/ads/targeting/search. | [optional] |
|
|
30
30
|
| **metros** | [**Array<CtwaAdRequestBodyZipsInner>**](CtwaAdRequestBodyZipsInner.md) | DMA / metro-area geo targeting. `key` is Meta's metro id (e.g. `DMA:807`). | [optional] |
|
|
31
|
+
| **country_groups** | **Array<String>** | Meta only. Continents and trade blocs (`geo_locations.country_groups`), for targeting a whole region without listing its countries. Combines with `countries` rather than replacing it, and is also accepted under `excludedLocations`. Discoverable via `GET /v1/ads/targeting/search?dimension=geo&geoType=country_group`. | [optional] |
|
|
31
32
|
| **custom_locations** | [**Array<CreateStandaloneAdRequestCustomLocationsInner>**](CreateStandaloneAdRequestCustomLocationsInner.md) | Point-radius geo (Meta `geo_locations.custom_locations`). Use for targeting a radius around a specific lat/long when no Meta city/region key fits. `distanceUnit` is required. | [optional] |
|
|
32
33
|
| **age_min** | **Integer** | | [optional] |
|
|
33
34
|
| **age_max** | **Integer** | | [optional] |
|
|
@@ -78,6 +79,7 @@ instance = Zernio::CreateCallAdRequest.new(
|
|
|
78
79
|
regions: null,
|
|
79
80
|
zips: null,
|
|
80
81
|
metros: null,
|
|
82
|
+
country_groups: null,
|
|
81
83
|
custom_locations: null,
|
|
82
84
|
age_min: null,
|
|
83
85
|
age_max: null,
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
| **regions** | [**Array<CtwaAdRequestBodyRegionsInner>**](CtwaAdRequestBodyRegionsInner.md) | Region / state-level geo targeting. `key` is Meta's region ID (lookupable via GET /v1/ads/targeting/search?type=region). | [optional] |
|
|
29
29
|
| **zips** | [**Array<CtwaAdRequestBodyZipsInner>**](CtwaAdRequestBodyZipsInner.md) | ZIP / postal-code geo targeting. `key` is the platform's postal id resolved via /v1/ads/targeting/search. | [optional] |
|
|
30
30
|
| **metros** | [**Array<CtwaAdRequestBodyZipsInner>**](CtwaAdRequestBodyZipsInner.md) | DMA / metro-area geo targeting. `key` is Meta's metro id (e.g. `DMA:807`). | [optional] |
|
|
31
|
+
| **country_groups** | **Array<String>** | Meta only. Continents and trade blocs (`geo_locations.country_groups`), for targeting a whole region without listing its countries. Combines with `countries` rather than replacing it, and is also accepted under `excludedLocations`. Discoverable via `GET /v1/ads/targeting/search?dimension=geo&geoType=country_group`. | [optional] |
|
|
31
32
|
| **custom_locations** | [**Array<CreateStandaloneAdRequestCustomLocationsInner>**](CreateStandaloneAdRequestCustomLocationsInner.md) | Point-radius geo (Meta `geo_locations.custom_locations`). Use for targeting a radius around a specific lat/long when no Meta city/region key fits. `distanceUnit` is required. | [optional] |
|
|
32
33
|
| **age_min** | **Integer** | | [optional] |
|
|
33
34
|
| **age_max** | **Integer** | | [optional] |
|
|
@@ -77,6 +78,7 @@ instance = Zernio::CreateMessagingAdRequest.new(
|
|
|
77
78
|
regions: null,
|
|
78
79
|
zips: null,
|
|
79
80
|
metros: null,
|
|
81
|
+
country_groups: null,
|
|
80
82
|
custom_locations: null,
|
|
81
83
|
age_min: null,
|
|
82
84
|
age_max: null,
|
data/docs/CtwaAdRequestBody.md
CHANGED
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
| **regions** | [**Array<CtwaAdRequestBodyRegionsInner>**](CtwaAdRequestBodyRegionsInner.md) | Region / state-level geo targeting. `key` is Meta's region ID (lookupable via GET /v1/ads/targeting/search?type=region). | [optional] |
|
|
29
29
|
| **zips** | [**Array<CtwaAdRequestBodyZipsInner>**](CtwaAdRequestBodyZipsInner.md) | ZIP / postal-code geo targeting. `key` is the platform's postal id resolved via /v1/ads/targeting/search. | [optional] |
|
|
30
30
|
| **metros** | [**Array<CtwaAdRequestBodyZipsInner>**](CtwaAdRequestBodyZipsInner.md) | DMA / metro-area geo targeting. `key` is Meta's metro id (e.g. `DMA:807`). | [optional] |
|
|
31
|
+
| **country_groups** | **Array<String>** | Meta only. Continents and trade blocs (`geo_locations.country_groups`), for targeting a whole region without listing its countries. Combines with `countries` rather than replacing it, and is also accepted under `excludedLocations`. Discoverable via `GET /v1/ads/targeting/search?dimension=geo&geoType=country_group`. | [optional] |
|
|
31
32
|
| **custom_locations** | [**Array<CreateStandaloneAdRequestCustomLocationsInner>**](CreateStandaloneAdRequestCustomLocationsInner.md) | Point-radius geo (Meta `geo_locations.custom_locations`). Use for targeting a radius around a specific lat/long when no Meta city/region key fits. `distanceUnit` is required. | [optional] |
|
|
32
33
|
| **age_min** | **Integer** | | [optional] |
|
|
33
34
|
| **age_max** | **Integer** | | [optional] |
|
|
@@ -76,6 +77,7 @@ instance = Zernio::CtwaAdRequestBody.new(
|
|
|
76
77
|
regions: null,
|
|
77
78
|
zips: null,
|
|
78
79
|
metros: null,
|
|
80
|
+
country_groups: null,
|
|
79
81
|
custom_locations: null,
|
|
80
82
|
age_min: null,
|
|
81
83
|
age_max: null,
|
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
| **code** | **Integer** | | [optional] |
|
|
8
8
|
| **title** | **String** | | [optional] |
|
|
9
9
|
| **message** | **String** | | [optional] |
|
|
10
|
+
| **details** | **String** | Platform's extended detail for `code` (WhatsApp: Meta's `error_data.details`), when the platform sent one. Absent on SMS. | [optional] |
|
|
11
|
+
| **href** | **String** | Link to the platform's documentation for `code`, when the platform sent one. | [optional] |
|
|
10
12
|
|
|
11
13
|
## Example
|
|
12
14
|
|
|
@@ -16,7 +18,9 @@ require 'zernio-sdk'
|
|
|
16
18
|
instance = Zernio::GetInboxConversationMessages200ResponseMessagesInnerDeliveryError.new(
|
|
17
19
|
code: null,
|
|
18
20
|
title: null,
|
|
19
|
-
message: null
|
|
21
|
+
message: null,
|
|
22
|
+
details: null,
|
|
23
|
+
href: null
|
|
20
24
|
)
|
|
21
25
|
```
|
|
22
26
|
|
data/docs/TargetingSpec.md
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
| **cities** | [**Array<TargetingSpecCitiesInner>**](TargetingSpecCitiesInner.md) | City targeting. Optional `radius` + `distanceUnit` extend beyond the city limits; both must be set together or both omitted. `radius` is only honoured on platforms whose capability map allows city radius (Meta). | [optional] |
|
|
12
12
|
| **zips** | [**Array<UpdateCampaignTargetingRequestTargetingLocationsOneOfRegionsInner>**](UpdateCampaignTargetingRequestTargetingLocationsOneOfRegionsInner.md) | Postal/ZIP targeting. `key` is the platform's postal location ID (e.g. Meta `US:94304`). Supported on Meta, Google, TikTok, Pinterest, X. | [optional] |
|
|
13
13
|
| **metros** | [**Array<UpdateCampaignTargetingRequestTargetingLocationsOneOfRegionsInner>**](UpdateCampaignTargetingRequestTargetingLocationsOneOfRegionsInner.md) | DMA / metro-area targeting. `key` is the platform's metro ID (e.g. Meta `DMA:807`). | [optional] |
|
|
14
|
+
| **country_groups** | **Array<String>** | Meta only. Continents and trade blocs (`geo_locations.country_groups`), for targeting a whole region without listing its countries. Combines with `countries` rather than replacing it, and is also accepted under `excludedLocations`. Discoverable via `GET /v1/ads/targeting/search?dimension=geo&geoType=country_group`. | [optional] |
|
|
14
15
|
| **custom_locations** | [**Array<TargetingSpecCustomLocationsInner>**](TargetingSpecCustomLocationsInner.md) | Point-radius (lat/lng) targeting (Meta custom_locations / Google proximity). Honoured on Meta and Google; ignored on platforms without radius support. | [optional] |
|
|
15
16
|
| **excluded_locations** | [**TargetingSpecExcludedLocations**](TargetingSpecExcludedLocations.md) | | [optional] |
|
|
16
17
|
| **age_min** | **Integer** | Minimum age. Applied on Meta, TikTok and Pinterest; ignored on Google, LinkedIn and X. Each platform clamps to its own range: Meta and Pinterest effectively cap at 65 (65 = 65+), TikTok maps up to 100. Pinterest has no under-18 bucket, so an ageMin below 18 starts at 18 there. | [optional] |
|
|
@@ -43,6 +44,7 @@ instance = Zernio::TargetingSpec.new(
|
|
|
43
44
|
cities: null,
|
|
44
45
|
zips: null,
|
|
45
46
|
metros: null,
|
|
47
|
+
country_groups: null,
|
|
46
48
|
custom_locations: null,
|
|
47
49
|
excluded_locations: null,
|
|
48
50
|
age_min: null,
|
|
@@ -7,7 +7,9 @@
|
|
|
7
7
|
| **code** | **Integer** | | [optional] |
|
|
8
8
|
| **title** | **String** | | [optional] |
|
|
9
9
|
| **message** | **String** | | [optional] |
|
|
10
|
-
| **
|
|
10
|
+
| **details** | **String** | Platform's extended detail for `code` (WhatsApp: Meta's `error_data.details`), when the platform sent one. Absent on SMS. | [optional] |
|
|
11
|
+
| **href** | **String** | Link to the platform's documentation for `code`, when the platform sent one. | [optional] |
|
|
12
|
+
| **explanation** | **String** | Plain-language translation of `code` (e.g. for 131026, that the recipient has likely opted out of marketing messages while utility templates are unaffected, or for 131031, that Meta restricted the WhatsApp Business Account). Null for unmapped codes; fall back to title/message. | [optional] |
|
|
11
13
|
|
|
12
14
|
## Example
|
|
13
15
|
|
|
@@ -18,6 +20,8 @@ instance = Zernio::WebhookPayloadMessageDeliveryStatusError.new(
|
|
|
18
20
|
code: null,
|
|
19
21
|
title: null,
|
|
20
22
|
message: null,
|
|
23
|
+
details: null,
|
|
24
|
+
href: null,
|
|
21
25
|
explanation: null
|
|
22
26
|
)
|
|
23
27
|
```
|
|
@@ -335,7 +335,7 @@ module Zernio
|
|
|
335
335
|
if @api_client.config.client_side_validation && opts[:'dimension'] && !allowable_values.include?(opts[:'dimension'])
|
|
336
336
|
fail ArgumentError, "invalid value for \"dimension\", must be one of #{allowable_values}"
|
|
337
337
|
end
|
|
338
|
-
allowable_values = ["all", "country", "region", "city", "subcity", "neighborhood", "place", "zip", "metro_area", "geo_market"]
|
|
338
|
+
allowable_values = ["all", "country", "country_group", "region", "city", "subcity", "neighborhood", "place", "zip", "metro_area", "geo_market"]
|
|
339
339
|
if @api_client.config.client_side_validation && opts[:'geo_type'] && !allowable_values.include?(opts[:'geo_type'])
|
|
340
340
|
fail ArgumentError, "invalid value for \"geo_type\", must be one of #{allowable_values}"
|
|
341
341
|
end
|
|
@@ -84,6 +84,9 @@ module Zernio
|
|
|
84
84
|
# DMA / metro-area geo targeting. `key` is Meta's metro id (e.g. `DMA:807`).
|
|
85
85
|
attr_accessor :metros
|
|
86
86
|
|
|
87
|
+
# Meta only. Continents and trade blocs (`geo_locations.country_groups`), for targeting a whole region without listing its countries. Combines with `countries` rather than replacing it, and is also accepted under `excludedLocations`. Discoverable via `GET /v1/ads/targeting/search?dimension=geo&geoType=country_group`.
|
|
88
|
+
attr_accessor :country_groups
|
|
89
|
+
|
|
87
90
|
# Point-radius geo (Meta `geo_locations.custom_locations`). Use for targeting a radius around a specific lat/long when no Meta city/region key fits. `distanceUnit` is required.
|
|
88
91
|
attr_accessor :custom_locations
|
|
89
92
|
|
|
@@ -186,6 +189,7 @@ module Zernio
|
|
|
186
189
|
:'regions' => :'regions',
|
|
187
190
|
:'zips' => :'zips',
|
|
188
191
|
:'metros' => :'metros',
|
|
192
|
+
:'country_groups' => :'countryGroups',
|
|
189
193
|
:'custom_locations' => :'customLocations',
|
|
190
194
|
:'age_min' => :'ageMin',
|
|
191
195
|
:'age_max' => :'ageMax',
|
|
@@ -245,6 +249,7 @@ module Zernio
|
|
|
245
249
|
:'regions' => :'Array<CtwaAdRequestBodyRegionsInner>',
|
|
246
250
|
:'zips' => :'Array<CtwaAdRequestBodyZipsInner>',
|
|
247
251
|
:'metros' => :'Array<CtwaAdRequestBodyZipsInner>',
|
|
252
|
+
:'country_groups' => :'Array<String>',
|
|
248
253
|
:'custom_locations' => :'Array<CreateStandaloneAdRequestCustomLocationsInner>',
|
|
249
254
|
:'age_min' => :'Integer',
|
|
250
255
|
:'age_max' => :'Integer',
|
|
@@ -412,6 +417,12 @@ module Zernio
|
|
|
412
417
|
end
|
|
413
418
|
end
|
|
414
419
|
|
|
420
|
+
if attributes.key?(:'country_groups')
|
|
421
|
+
if (value = attributes[:'country_groups']).is_a?(Array)
|
|
422
|
+
self.country_groups = value
|
|
423
|
+
end
|
|
424
|
+
end
|
|
425
|
+
|
|
415
426
|
if attributes.key?(:'custom_locations')
|
|
416
427
|
if (value = attributes[:'custom_locations']).is_a?(Array)
|
|
417
428
|
self.custom_locations = value
|
|
@@ -968,6 +979,7 @@ module Zernio
|
|
|
968
979
|
regions == o.regions &&
|
|
969
980
|
zips == o.zips &&
|
|
970
981
|
metros == o.metros &&
|
|
982
|
+
country_groups == o.country_groups &&
|
|
971
983
|
custom_locations == o.custom_locations &&
|
|
972
984
|
age_min == o.age_min &&
|
|
973
985
|
age_max == o.age_max &&
|
|
@@ -998,7 +1010,7 @@ module Zernio
|
|
|
998
1010
|
# Calculates hash code according to all attributes.
|
|
999
1011
|
# @return [Integer] Hash code
|
|
1000
1012
|
def hash
|
|
1001
|
-
[creative_features, tracking, account_id, ad_account_id, name, existing_post_id, object_story_id, whatsapp_phone_number, headline, body, image_url, video, welcome_message, creatives, ad_set_id, budget_amount, budget_type, currency, end_date, countries, cities, regions, zips, metros, custom_locations, age_min, age_max, interests, audience_id, placements, advantage_audience, objective, status, campaign_status, bid_strategy, bid_amount, roas_average_floor, dsa_beneficiary, dsa_payor, regional_regulated_categories, regional_regulation_identities, phone_number, link_url].hash
|
|
1013
|
+
[creative_features, tracking, account_id, ad_account_id, name, existing_post_id, object_story_id, whatsapp_phone_number, headline, body, image_url, video, welcome_message, creatives, ad_set_id, budget_amount, budget_type, currency, end_date, countries, cities, regions, zips, metros, country_groups, custom_locations, age_min, age_max, interests, audience_id, placements, advantage_audience, objective, status, campaign_status, bid_strategy, bid_amount, roas_average_floor, dsa_beneficiary, dsa_payor, regional_regulated_categories, regional_regulation_identities, phone_number, link_url].hash
|
|
1002
1014
|
end
|
|
1003
1015
|
|
|
1004
1016
|
# Builds the object from hash
|
|
@@ -84,6 +84,9 @@ module Zernio
|
|
|
84
84
|
# DMA / metro-area geo targeting. `key` is Meta's metro id (e.g. `DMA:807`).
|
|
85
85
|
attr_accessor :metros
|
|
86
86
|
|
|
87
|
+
# Meta only. Continents and trade blocs (`geo_locations.country_groups`), for targeting a whole region without listing its countries. Combines with `countries` rather than replacing it, and is also accepted under `excludedLocations`. Discoverable via `GET /v1/ads/targeting/search?dimension=geo&geoType=country_group`.
|
|
88
|
+
attr_accessor :country_groups
|
|
89
|
+
|
|
87
90
|
# Point-radius geo (Meta `geo_locations.custom_locations`). Use for targeting a radius around a specific lat/long when no Meta city/region key fits. `distanceUnit` is required.
|
|
88
91
|
attr_accessor :custom_locations
|
|
89
92
|
|
|
@@ -183,6 +186,7 @@ module Zernio
|
|
|
183
186
|
:'regions' => :'regions',
|
|
184
187
|
:'zips' => :'zips',
|
|
185
188
|
:'metros' => :'metros',
|
|
189
|
+
:'country_groups' => :'countryGroups',
|
|
186
190
|
:'custom_locations' => :'customLocations',
|
|
187
191
|
:'age_min' => :'ageMin',
|
|
188
192
|
:'age_max' => :'ageMax',
|
|
@@ -241,6 +245,7 @@ module Zernio
|
|
|
241
245
|
:'regions' => :'Array<CtwaAdRequestBodyRegionsInner>',
|
|
242
246
|
:'zips' => :'Array<CtwaAdRequestBodyZipsInner>',
|
|
243
247
|
:'metros' => :'Array<CtwaAdRequestBodyZipsInner>',
|
|
248
|
+
:'country_groups' => :'Array<String>',
|
|
244
249
|
:'custom_locations' => :'Array<CreateStandaloneAdRequestCustomLocationsInner>',
|
|
245
250
|
:'age_min' => :'Integer',
|
|
246
251
|
:'age_max' => :'Integer',
|
|
@@ -407,6 +412,12 @@ module Zernio
|
|
|
407
412
|
end
|
|
408
413
|
end
|
|
409
414
|
|
|
415
|
+
if attributes.key?(:'country_groups')
|
|
416
|
+
if (value = attributes[:'country_groups']).is_a?(Array)
|
|
417
|
+
self.country_groups = value
|
|
418
|
+
end
|
|
419
|
+
end
|
|
420
|
+
|
|
410
421
|
if attributes.key?(:'custom_locations')
|
|
411
422
|
if (value = attributes[:'custom_locations']).is_a?(Array)
|
|
412
423
|
self.custom_locations = value
|
|
@@ -944,6 +955,7 @@ module Zernio
|
|
|
944
955
|
regions == o.regions &&
|
|
945
956
|
zips == o.zips &&
|
|
946
957
|
metros == o.metros &&
|
|
958
|
+
country_groups == o.country_groups &&
|
|
947
959
|
custom_locations == o.custom_locations &&
|
|
948
960
|
age_min == o.age_min &&
|
|
949
961
|
age_max == o.age_max &&
|
|
@@ -973,7 +985,7 @@ module Zernio
|
|
|
973
985
|
# Calculates hash code according to all attributes.
|
|
974
986
|
# @return [Integer] Hash code
|
|
975
987
|
def hash
|
|
976
|
-
[creative_features, tracking, account_id, ad_account_id, name, existing_post_id, object_story_id, whatsapp_phone_number, headline, body, image_url, video, welcome_message, creatives, ad_set_id, budget_amount, budget_type, currency, end_date, countries, cities, regions, zips, metros, custom_locations, age_min, age_max, interests, audience_id, placements, advantage_audience, objective, status, campaign_status, bid_strategy, bid_amount, roas_average_floor, dsa_beneficiary, dsa_payor, regional_regulated_categories, regional_regulation_identities, destination].hash
|
|
988
|
+
[creative_features, tracking, account_id, ad_account_id, name, existing_post_id, object_story_id, whatsapp_phone_number, headline, body, image_url, video, welcome_message, creatives, ad_set_id, budget_amount, budget_type, currency, end_date, countries, cities, regions, zips, metros, country_groups, custom_locations, age_min, age_max, interests, audience_id, placements, advantage_audience, objective, status, campaign_status, bid_strategy, bid_amount, roas_average_floor, dsa_beneficiary, dsa_payor, regional_regulated_categories, regional_regulation_identities, destination].hash
|
|
977
989
|
end
|
|
978
990
|
|
|
979
991
|
# Builds the object from hash
|
|
@@ -85,6 +85,9 @@ module Zernio
|
|
|
85
85
|
# DMA / metro-area geo targeting. `key` is Meta's metro id (e.g. `DMA:807`).
|
|
86
86
|
attr_accessor :metros
|
|
87
87
|
|
|
88
|
+
# Meta only. Continents and trade blocs (`geo_locations.country_groups`), for targeting a whole region without listing its countries. Combines with `countries` rather than replacing it, and is also accepted under `excludedLocations`. Discoverable via `GET /v1/ads/targeting/search?dimension=geo&geoType=country_group`.
|
|
89
|
+
attr_accessor :country_groups
|
|
90
|
+
|
|
88
91
|
# Point-radius geo (Meta `geo_locations.custom_locations`). Use for targeting a radius around a specific lat/long when no Meta city/region key fits. `distanceUnit` is required.
|
|
89
92
|
attr_accessor :custom_locations
|
|
90
93
|
|
|
@@ -181,6 +184,7 @@ module Zernio
|
|
|
181
184
|
:'regions' => :'regions',
|
|
182
185
|
:'zips' => :'zips',
|
|
183
186
|
:'metros' => :'metros',
|
|
187
|
+
:'country_groups' => :'countryGroups',
|
|
184
188
|
:'custom_locations' => :'customLocations',
|
|
185
189
|
:'age_min' => :'ageMin',
|
|
186
190
|
:'age_max' => :'ageMax',
|
|
@@ -238,6 +242,7 @@ module Zernio
|
|
|
238
242
|
:'regions' => :'Array<CtwaAdRequestBodyRegionsInner>',
|
|
239
243
|
:'zips' => :'Array<CtwaAdRequestBodyZipsInner>',
|
|
240
244
|
:'metros' => :'Array<CtwaAdRequestBodyZipsInner>',
|
|
245
|
+
:'country_groups' => :'Array<String>',
|
|
241
246
|
:'custom_locations' => :'Array<CreateStandaloneAdRequestCustomLocationsInner>',
|
|
242
247
|
:'age_min' => :'Integer',
|
|
243
248
|
:'age_max' => :'Integer',
|
|
@@ -396,6 +401,12 @@ module Zernio
|
|
|
396
401
|
end
|
|
397
402
|
end
|
|
398
403
|
|
|
404
|
+
if attributes.key?(:'country_groups')
|
|
405
|
+
if (value = attributes[:'country_groups']).is_a?(Array)
|
|
406
|
+
self.country_groups = value
|
|
407
|
+
end
|
|
408
|
+
end
|
|
409
|
+
|
|
399
410
|
if attributes.key?(:'custom_locations')
|
|
400
411
|
if (value = attributes[:'custom_locations']).is_a?(Array)
|
|
401
412
|
self.custom_locations = value
|
|
@@ -910,6 +921,7 @@ module Zernio
|
|
|
910
921
|
regions == o.regions &&
|
|
911
922
|
zips == o.zips &&
|
|
912
923
|
metros == o.metros &&
|
|
924
|
+
country_groups == o.country_groups &&
|
|
913
925
|
custom_locations == o.custom_locations &&
|
|
914
926
|
age_min == o.age_min &&
|
|
915
927
|
age_max == o.age_max &&
|
|
@@ -938,7 +950,7 @@ module Zernio
|
|
|
938
950
|
# Calculates hash code according to all attributes.
|
|
939
951
|
# @return [Integer] Hash code
|
|
940
952
|
def hash
|
|
941
|
-
[creative_features, tracking, account_id, ad_account_id, name, existing_post_id, object_story_id, whatsapp_phone_number, headline, body, image_url, video, welcome_message, creatives, ad_set_id, budget_amount, budget_type, currency, end_date, countries, cities, regions, zips, metros, custom_locations, age_min, age_max, interests, audience_id, placements, advantage_audience, objective, status, campaign_status, bid_strategy, bid_amount, roas_average_floor, dsa_beneficiary, dsa_payor, regional_regulated_categories, regional_regulation_identities].hash
|
|
953
|
+
[creative_features, tracking, account_id, ad_account_id, name, existing_post_id, object_story_id, whatsapp_phone_number, headline, body, image_url, video, welcome_message, creatives, ad_set_id, budget_amount, budget_type, currency, end_date, countries, cities, regions, zips, metros, country_groups, custom_locations, age_min, age_max, interests, audience_id, placements, advantage_audience, objective, status, campaign_status, bid_strategy, bid_amount, roas_average_floor, dsa_beneficiary, dsa_payor, regional_regulated_categories, regional_regulation_identities].hash
|
|
942
954
|
end
|
|
943
955
|
|
|
944
956
|
# Builds the object from hash
|
|
@@ -22,12 +22,20 @@ module Zernio
|
|
|
22
22
|
|
|
23
23
|
attr_accessor :message
|
|
24
24
|
|
|
25
|
+
# Platform's extended detail for `code` (WhatsApp: Meta's `error_data.details`), when the platform sent one. Absent on SMS.
|
|
26
|
+
attr_accessor :details
|
|
27
|
+
|
|
28
|
+
# Link to the platform's documentation for `code`, when the platform sent one.
|
|
29
|
+
attr_accessor :href
|
|
30
|
+
|
|
25
31
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
26
32
|
def self.attribute_map
|
|
27
33
|
{
|
|
28
34
|
:'code' => :'code',
|
|
29
35
|
:'title' => :'title',
|
|
30
|
-
:'message' => :'message'
|
|
36
|
+
:'message' => :'message',
|
|
37
|
+
:'details' => :'details',
|
|
38
|
+
:'href' => :'href'
|
|
31
39
|
}
|
|
32
40
|
end
|
|
33
41
|
|
|
@@ -46,7 +54,9 @@ module Zernio
|
|
|
46
54
|
{
|
|
47
55
|
:'code' => :'Integer',
|
|
48
56
|
:'title' => :'String',
|
|
49
|
-
:'message' => :'String'
|
|
57
|
+
:'message' => :'String',
|
|
58
|
+
:'details' => :'String',
|
|
59
|
+
:'href' => :'String'
|
|
50
60
|
}
|
|
51
61
|
end
|
|
52
62
|
|
|
@@ -83,6 +93,14 @@ module Zernio
|
|
|
83
93
|
if attributes.key?(:'message')
|
|
84
94
|
self.message = attributes[:'message']
|
|
85
95
|
end
|
|
96
|
+
|
|
97
|
+
if attributes.key?(:'details')
|
|
98
|
+
self.details = attributes[:'details']
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
if attributes.key?(:'href')
|
|
102
|
+
self.href = attributes[:'href']
|
|
103
|
+
end
|
|
86
104
|
end
|
|
87
105
|
|
|
88
106
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -107,7 +125,9 @@ module Zernio
|
|
|
107
125
|
self.class == o.class &&
|
|
108
126
|
code == o.code &&
|
|
109
127
|
title == o.title &&
|
|
110
|
-
message == o.message
|
|
128
|
+
message == o.message &&
|
|
129
|
+
details == o.details &&
|
|
130
|
+
href == o.href
|
|
111
131
|
end
|
|
112
132
|
|
|
113
133
|
# @see the `==` method
|
|
@@ -119,7 +139,7 @@ module Zernio
|
|
|
119
139
|
# Calculates hash code according to all attributes.
|
|
120
140
|
# @return [Integer] Hash code
|
|
121
141
|
def hash
|
|
122
|
-
[code, title, message].hash
|
|
142
|
+
[code, title, message, details, href].hash
|
|
123
143
|
end
|
|
124
144
|
|
|
125
145
|
# Builds the object from hash
|
|
@@ -37,6 +37,9 @@ module Zernio
|
|
|
37
37
|
# DMA / metro-area targeting. `key` is the platform's metro ID (e.g. Meta `DMA:807`).
|
|
38
38
|
attr_accessor :metros
|
|
39
39
|
|
|
40
|
+
# Meta only. Continents and trade blocs (`geo_locations.country_groups`), for targeting a whole region without listing its countries. Combines with `countries` rather than replacing it, and is also accepted under `excludedLocations`. Discoverable via `GET /v1/ads/targeting/search?dimension=geo&geoType=country_group`.
|
|
41
|
+
attr_accessor :country_groups
|
|
42
|
+
|
|
40
43
|
# Point-radius (lat/lng) targeting (Meta custom_locations / Google proximity). Honoured on Meta and Google; ignored on platforms without radius support.
|
|
41
44
|
attr_accessor :custom_locations
|
|
42
45
|
|
|
@@ -122,6 +125,7 @@ module Zernio
|
|
|
122
125
|
:'cities' => :'cities',
|
|
123
126
|
:'zips' => :'zips',
|
|
124
127
|
:'metros' => :'metros',
|
|
128
|
+
:'country_groups' => :'countryGroups',
|
|
125
129
|
:'custom_locations' => :'customLocations',
|
|
126
130
|
:'excluded_locations' => :'excludedLocations',
|
|
127
131
|
:'age_min' => :'ageMin',
|
|
@@ -163,6 +167,7 @@ module Zernio
|
|
|
163
167
|
:'cities' => :'Array<TargetingSpecCitiesInner>',
|
|
164
168
|
:'zips' => :'Array<UpdateCampaignTargetingRequestTargetingLocationsOneOfRegionsInner>',
|
|
165
169
|
:'metros' => :'Array<UpdateCampaignTargetingRequestTargetingLocationsOneOfRegionsInner>',
|
|
170
|
+
:'country_groups' => :'Array<String>',
|
|
166
171
|
:'custom_locations' => :'Array<TargetingSpecCustomLocationsInner>',
|
|
167
172
|
:'excluded_locations' => :'TargetingSpecExcludedLocations',
|
|
168
173
|
:'age_min' => :'Integer',
|
|
@@ -248,6 +253,12 @@ module Zernio
|
|
|
248
253
|
end
|
|
249
254
|
end
|
|
250
255
|
|
|
256
|
+
if attributes.key?(:'country_groups')
|
|
257
|
+
if (value = attributes[:'country_groups']).is_a?(Array)
|
|
258
|
+
self.country_groups = value
|
|
259
|
+
end
|
|
260
|
+
end
|
|
261
|
+
|
|
251
262
|
if attributes.key?(:'custom_locations')
|
|
252
263
|
if (value = attributes[:'custom_locations']).is_a?(Array)
|
|
253
264
|
self.custom_locations = value
|
|
@@ -492,6 +503,7 @@ module Zernio
|
|
|
492
503
|
cities == o.cities &&
|
|
493
504
|
zips == o.zips &&
|
|
494
505
|
metros == o.metros &&
|
|
506
|
+
country_groups == o.country_groups &&
|
|
495
507
|
custom_locations == o.custom_locations &&
|
|
496
508
|
excluded_locations == o.excluded_locations &&
|
|
497
509
|
age_min == o.age_min &&
|
|
@@ -521,7 +533,7 @@ module Zernio
|
|
|
521
533
|
# Calculates hash code according to all attributes.
|
|
522
534
|
# @return [Integer] Hash code
|
|
523
535
|
def hash
|
|
524
|
-
[user_os, user_device, countries, regions, cities, zips, metros, custom_locations, excluded_locations, age_min, age_max, gender, income_tier, languages, interests, behaviors, work_positions, work_employers, work_industries, industries, company_sizes, seniorities, job_functions, audience_include, audience_exclude].hash
|
|
536
|
+
[user_os, user_device, countries, regions, cities, zips, metros, country_groups, custom_locations, excluded_locations, age_min, age_max, gender, income_tier, languages, interests, behaviors, work_positions, work_employers, work_industries, industries, company_sizes, seniorities, job_functions, audience_include, audience_exclude].hash
|
|
525
537
|
end
|
|
526
538
|
|
|
527
539
|
# Builds the object from hash
|
|
@@ -22,7 +22,13 @@ module Zernio
|
|
|
22
22
|
|
|
23
23
|
attr_accessor :message
|
|
24
24
|
|
|
25
|
-
#
|
|
25
|
+
# Platform's extended detail for `code` (WhatsApp: Meta's `error_data.details`), when the platform sent one. Absent on SMS.
|
|
26
|
+
attr_accessor :details
|
|
27
|
+
|
|
28
|
+
# Link to the platform's documentation for `code`, when the platform sent one.
|
|
29
|
+
attr_accessor :href
|
|
30
|
+
|
|
31
|
+
# Plain-language translation of `code` (e.g. for 131026, that the recipient has likely opted out of marketing messages while utility templates are unaffected, or for 131031, that Meta restricted the WhatsApp Business Account). Null for unmapped codes; fall back to title/message.
|
|
26
32
|
attr_accessor :explanation
|
|
27
33
|
|
|
28
34
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -31,6 +37,8 @@ module Zernio
|
|
|
31
37
|
:'code' => :'code',
|
|
32
38
|
:'title' => :'title',
|
|
33
39
|
:'message' => :'message',
|
|
40
|
+
:'details' => :'details',
|
|
41
|
+
:'href' => :'href',
|
|
34
42
|
:'explanation' => :'explanation'
|
|
35
43
|
}
|
|
36
44
|
end
|
|
@@ -51,6 +59,8 @@ module Zernio
|
|
|
51
59
|
:'code' => :'Integer',
|
|
52
60
|
:'title' => :'String',
|
|
53
61
|
:'message' => :'String',
|
|
62
|
+
:'details' => :'String',
|
|
63
|
+
:'href' => :'String',
|
|
54
64
|
:'explanation' => :'String'
|
|
55
65
|
}
|
|
56
66
|
end
|
|
@@ -90,6 +100,14 @@ module Zernio
|
|
|
90
100
|
self.message = attributes[:'message']
|
|
91
101
|
end
|
|
92
102
|
|
|
103
|
+
if attributes.key?(:'details')
|
|
104
|
+
self.details = attributes[:'details']
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
if attributes.key?(:'href')
|
|
108
|
+
self.href = attributes[:'href']
|
|
109
|
+
end
|
|
110
|
+
|
|
93
111
|
if attributes.key?(:'explanation')
|
|
94
112
|
self.explanation = attributes[:'explanation']
|
|
95
113
|
end
|
|
@@ -118,6 +136,8 @@ module Zernio
|
|
|
118
136
|
code == o.code &&
|
|
119
137
|
title == o.title &&
|
|
120
138
|
message == o.message &&
|
|
139
|
+
details == o.details &&
|
|
140
|
+
href == o.href &&
|
|
121
141
|
explanation == o.explanation
|
|
122
142
|
end
|
|
123
143
|
|
|
@@ -130,7 +150,7 @@ module Zernio
|
|
|
130
150
|
# Calculates hash code according to all attributes.
|
|
131
151
|
# @return [Integer] Hash code
|
|
132
152
|
def hash
|
|
133
|
-
[code, title, message, explanation].hash
|
|
153
|
+
[code, title, message, details, href, explanation].hash
|
|
134
154
|
end
|
|
135
155
|
|
|
136
156
|
# Builds the object from hash
|
data/lib/zernio-sdk/version.rb
CHANGED
data/openapi.yaml
CHANGED
|
@@ -1277,6 +1277,17 @@ components:
|
|
|
1277
1277
|
properties:
|
|
1278
1278
|
key: { type: string, minLength: 1 }
|
|
1279
1279
|
name: { type: string }
|
|
1280
|
+
countryGroups:
|
|
1281
|
+
type: array
|
|
1282
|
+
description: |
|
|
1283
|
+
Meta only. Continents and trade blocs (`geo_locations.country_groups`),
|
|
1284
|
+
for targeting a whole region without listing its countries. Combines
|
|
1285
|
+
with `countries` rather than replacing it, and is also accepted under
|
|
1286
|
+
`excludedLocations`. Discoverable via
|
|
1287
|
+
`GET /v1/ads/targeting/search?dimension=geo&geoType=country_group`.
|
|
1288
|
+
items:
|
|
1289
|
+
type: string
|
|
1290
|
+
enum: [africa, asia, europe, north_america, south_america, oceania, central_america, caribbean, eea, euro_area, nafta, mercosur, afta, apec, gcc, cisfta, emerging_markets, itunes_app_store, android_free_store, android_paid_store]
|
|
1280
1291
|
customLocations:
|
|
1281
1292
|
type: array
|
|
1282
1293
|
description: |
|
|
@@ -4738,12 +4749,20 @@ components:
|
|
|
4738
4749
|
code: { type: integer }
|
|
4739
4750
|
title: { type: string }
|
|
4740
4751
|
message: { type: string }
|
|
4752
|
+
details:
|
|
4753
|
+
type: string
|
|
4754
|
+
description: "Platform's extended detail for `code` (WhatsApp: Meta's `error_data.details`), when the platform sent one. Absent on SMS."
|
|
4755
|
+
href:
|
|
4756
|
+
type: string
|
|
4757
|
+
format: uri
|
|
4758
|
+
description: "Link to the platform's documentation for `code`, when the platform sent one."
|
|
4741
4759
|
explanation:
|
|
4742
4760
|
type: [string, "null"]
|
|
4743
4761
|
description: |
|
|
4744
4762
|
Plain-language translation of `code` (e.g. for 131026, that the
|
|
4745
4763
|
recipient has likely opted out of marketing messages while utility
|
|
4746
|
-
templates are unaffected
|
|
4764
|
+
templates are unaffected, or for 131031, that Meta restricted the
|
|
4765
|
+
WhatsApp Business Account). Null for unmapped codes; fall back to
|
|
4747
4766
|
title/message.
|
|
4748
4767
|
conversation:
|
|
4749
4768
|
$ref: '#/components/schemas/InboxWebhookConversation'
|
|
@@ -9205,6 +9224,17 @@ components:
|
|
|
9205
9224
|
properties:
|
|
9206
9225
|
key: { type: string }
|
|
9207
9226
|
name: { type: string }
|
|
9227
|
+
countryGroups:
|
|
9228
|
+
type: array
|
|
9229
|
+
description: |
|
|
9230
|
+
Meta only. Continents and trade blocs (`geo_locations.country_groups`),
|
|
9231
|
+
for targeting a whole region without listing its countries. Combines
|
|
9232
|
+
with `countries` rather than replacing it, and is also accepted under
|
|
9233
|
+
`excludedLocations`. Discoverable via
|
|
9234
|
+
`GET /v1/ads/targeting/search?dimension=geo&geoType=country_group`.
|
|
9235
|
+
items:
|
|
9236
|
+
type: string
|
|
9237
|
+
enum: [africa, asia, europe, north_america, south_america, oceania, central_america, caribbean, eea, euro_area, nafta, mercosur, afta, apec, gcc, cisfta, emerging_markets, itunes_app_store, android_free_store, android_paid_store]
|
|
9208
9238
|
customLocations:
|
|
9209
9239
|
type: array
|
|
9210
9240
|
description: "Point-radius (lat/lng) targeting (Meta custom_locations / Google proximity). Honoured on Meta and Google; ignored on platforms without radius support."
|
|
@@ -29751,6 +29781,13 @@ paths:
|
|
|
29751
29781
|
code: { type: integer }
|
|
29752
29782
|
title: { type: string }
|
|
29753
29783
|
message: { type: string }
|
|
29784
|
+
details:
|
|
29785
|
+
type: string
|
|
29786
|
+
description: "Platform's extended detail for `code` (WhatsApp: Meta's `error_data.details`), when the platform sent one. Absent on SMS."
|
|
29787
|
+
href:
|
|
29788
|
+
type: string
|
|
29789
|
+
format: uri
|
|
29790
|
+
description: "Link to the platform's documentation for `code`, when the platform sent one."
|
|
29754
29791
|
reactions:
|
|
29755
29792
|
type: array
|
|
29756
29793
|
description: Emoji reactions on this message (WhatsApp / Telegram). At most one per party in a 1:1 thread.
|
|
@@ -53310,7 +53347,7 @@ paths:
|
|
|
53310
53347
|
- { name: accountId, in: query, required: true, schema: { type: string }, description: "Account ID (a connected account on the target ad platform)." }
|
|
53311
53348
|
- { name: q, in: query, required: true, schema: { type: string }, description: "Search query. For geo, the locality name only (no region/country suffix)." }
|
|
53312
53349
|
- { name: dimension, in: query, required: false, schema: { type: string, enum: [geo, interest, behavior, income, language, workPosition, workEmployer, workIndustry, industry, jobFunction, seniority, companySize], default: interest }, description: "What to search. `geo` resolves locations (scope further with `geoType`), `interest`/`behavior` resolve audience entities, `income` resolves income-tier options, `language` resolves Google's targetable language_constant table (Google only), `workPosition`/`workEmployer`/`workIndustry` resolve Meta work demographics, `industry`/`jobFunction`/`seniority`/`companySize` resolve LinkedIn B2B facets (LinkedIn only). Defaults to `interest` for backward compatibility with the deprecated /v1/ads/interests alias." }
|
|
53313
|
-
- { name: geoType, in: query, required: false, schema: { type: string, enum: [all, country, region, city, subcity, neighborhood, place, zip, metro_area, geo_market], default: city }, description: "Only used when `dimension=geo`. The kind of location to resolve. `all` searches every type in one relevance-ranked call. Defaults to `city`." }
|
|
53350
|
+
- { name: geoType, in: query, required: false, schema: { type: string, enum: [all, country, country_group, region, city, subcity, neighborhood, place, zip, metro_area, geo_market], default: city }, description: "Only used when `dimension=geo`. The kind of location to resolve. `all` searches every type in one relevance-ranked call. Defaults to `city`." }
|
|
53314
53351
|
- { name: countryCode, in: query, required: false, schema: { type: string, minLength: 2, maxLength: 2 }, description: "ISO 3166-1 alpha-2 country code (e.g. NL) to scope a geo search." }
|
|
53315
53352
|
- { name: limit, in: query, required: false, schema: { type: integer, minimum: 1, maximum: 100, default: 25 }, description: "Maximum results to return." }
|
|
53316
53353
|
responses:
|
|
@@ -179,6 +179,16 @@ describe Zernio::CreateCallAdRequest do
|
|
|
179
179
|
end
|
|
180
180
|
end
|
|
181
181
|
|
|
182
|
+
describe 'test attribute "country_groups"' do
|
|
183
|
+
it 'should work' do
|
|
184
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
185
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('Array<String>', ["africa", "asia", "europe", "north_america", "south_america", "oceania", "central_america", "caribbean", "eea", "euro_area", "nafta", "mercosur", "afta", "apec", "gcc", "cisfta", "emerging_markets", "itunes_app_store", "android_free_store", "android_paid_store"])
|
|
186
|
+
# validator.allowable_values.each do |value|
|
|
187
|
+
# expect { instance.country_groups = value }.not_to raise_error
|
|
188
|
+
# end
|
|
189
|
+
end
|
|
190
|
+
end
|
|
191
|
+
|
|
182
192
|
describe 'test attribute "custom_locations"' do
|
|
183
193
|
it 'should work' do
|
|
184
194
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -179,6 +179,16 @@ describe Zernio::CreateMessagingAdRequest do
|
|
|
179
179
|
end
|
|
180
180
|
end
|
|
181
181
|
|
|
182
|
+
describe 'test attribute "country_groups"' do
|
|
183
|
+
it 'should work' do
|
|
184
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
185
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('Array<String>', ["africa", "asia", "europe", "north_america", "south_america", "oceania", "central_america", "caribbean", "eea", "euro_area", "nafta", "mercosur", "afta", "apec", "gcc", "cisfta", "emerging_markets", "itunes_app_store", "android_free_store", "android_paid_store"])
|
|
186
|
+
# validator.allowable_values.each do |value|
|
|
187
|
+
# expect { instance.country_groups = value }.not_to raise_error
|
|
188
|
+
# end
|
|
189
|
+
end
|
|
190
|
+
end
|
|
191
|
+
|
|
182
192
|
describe 'test attribute "custom_locations"' do
|
|
183
193
|
it 'should work' do
|
|
184
194
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -179,6 +179,16 @@ describe Zernio::CtwaAdRequestBody do
|
|
|
179
179
|
end
|
|
180
180
|
end
|
|
181
181
|
|
|
182
|
+
describe 'test attribute "country_groups"' do
|
|
183
|
+
it 'should work' do
|
|
184
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
185
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('Array<String>', ["africa", "asia", "europe", "north_america", "south_america", "oceania", "central_america", "caribbean", "eea", "euro_area", "nafta", "mercosur", "afta", "apec", "gcc", "cisfta", "emerging_markets", "itunes_app_store", "android_free_store", "android_paid_store"])
|
|
186
|
+
# validator.allowable_values.each do |value|
|
|
187
|
+
# expect { instance.country_groups = value }.not_to raise_error
|
|
188
|
+
# end
|
|
189
|
+
end
|
|
190
|
+
end
|
|
191
|
+
|
|
182
192
|
describe 'test attribute "custom_locations"' do
|
|
183
193
|
it 'should work' do
|
|
184
194
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
data/spec/models/get_inbox_conversation_messages200_response_messages_inner_delivery_error_spec.rb
CHANGED
|
@@ -45,4 +45,16 @@ describe Zernio::GetInboxConversationMessages200ResponseMessagesInnerDeliveryErr
|
|
|
45
45
|
end
|
|
46
46
|
end
|
|
47
47
|
|
|
48
|
+
describe 'test attribute "details"' 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
|
+
|
|
54
|
+
describe 'test attribute "href"' 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
|
+
|
|
48
60
|
end
|
|
@@ -69,6 +69,16 @@ describe Zernio::TargetingSpec do
|
|
|
69
69
|
end
|
|
70
70
|
end
|
|
71
71
|
|
|
72
|
+
describe 'test attribute "country_groups"' do
|
|
73
|
+
it 'should work' do
|
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('Array<String>', ["africa", "asia", "europe", "north_america", "south_america", "oceania", "central_america", "caribbean", "eea", "euro_area", "nafta", "mercosur", "afta", "apec", "gcc", "cisfta", "emerging_markets", "itunes_app_store", "android_free_store", "android_paid_store"])
|
|
76
|
+
# validator.allowable_values.each do |value|
|
|
77
|
+
# expect { instance.country_groups = value }.not_to raise_error
|
|
78
|
+
# end
|
|
79
|
+
end
|
|
80
|
+
end
|
|
81
|
+
|
|
72
82
|
describe 'test attribute "custom_locations"' do
|
|
73
83
|
it 'should work' do
|
|
74
84
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -45,6 +45,18 @@ describe Zernio::WebhookPayloadMessageDeliveryStatusError do
|
|
|
45
45
|
end
|
|
46
46
|
end
|
|
47
47
|
|
|
48
|
+
describe 'test attribute "details"' 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
|
+
|
|
54
|
+
describe 'test attribute "href"' 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
|
+
|
|
48
60
|
describe 'test attribute "explanation"' do
|
|
49
61
|
it 'should work' do
|
|
50
62
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
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.944
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
@@ -6400,7 +6400,7 @@ files:
|
|
|
6400
6400
|
- spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
|
|
6401
6401
|
- spec/models/you_tube_video_retention_response_spec.rb
|
|
6402
6402
|
- spec/spec_helper.rb
|
|
6403
|
-
- zernio-sdk-0.0.
|
|
6403
|
+
- zernio-sdk-0.0.944.gem
|
|
6404
6404
|
- zernio-sdk.gemspec
|
|
6405
6405
|
homepage: https://openapi-generator.tech
|
|
6406
6406
|
licenses:
|
data/zernio-sdk-0.0.942.gem
DELETED
|
Binary file
|