late-sdk 0.0.943 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4edff1d77b0994441e06e58e8f6ce23ad0ac7e0cba9cd010f418be5780519472
4
- data.tar.gz: '04439d27b1a6ee30678cfca71e10475408a6789c193d2d5319484bb949d9148e'
3
+ metadata.gz: 0cf9ac51582227f71f17759cba3912705b1a80cc209d819f80157b031f88b7a0
4
+ data.tar.gz: 958f659258a85e6bcd4e57429b661e57b41f02a6334edb392271e35008aabe6a
5
5
  SHA512:
6
- metadata.gz: 70d37d5c9c58d9edbabe3a7fcaa3479a207523be8b151343d1ef1db9a27213dfc1cfe1418977dce2ae1213cde7dd50d81bf7ef2579e94652b573a1c451d4e970
7
- data.tar.gz: 67041ffa2c8002a17f68dd7fd35f8756f9c6d3b5bb9675a9d98908d25ab87c6daeeb6be2ae44e154d4967c7d023b29499cccc629668d285dc32c7b16108c2e89
6
+ metadata.gz: 8f348fb5d4bef86c721fff6e7ba2d245efba89b18cce101beef6cfa14faa7a8562550d6cd8683bc9b8977a66d20fe1268ce313aa4de90fd62b33b505397b93bb
7
+ data.tar.gz: 92dc204283820fb337e9bfa21de9fee0071aaf37d2576b0844af41943fa4acab2f85c7b84f4c2a9aa2e66f0234fa1e249479276d35f07e8772748d85dcba55bc
@@ -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,
@@ -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,
@@ -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,
@@ -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
@@ -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
@@ -11,5 +11,5 @@ Generator version: 7.19.0
11
11
  =end
12
12
 
13
13
  module Zernio
14
- VERSION = '0.0.943'
14
+ VERSION = '0.0.944'
15
15
  end
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: |
@@ -9213,6 +9224,17 @@ components:
9213
9224
  properties:
9214
9225
  key: { type: string }
9215
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]
9216
9238
  customLocations:
9217
9239
  type: array
9218
9240
  description: "Point-radius (lat/lng) targeting (Meta custom_locations / Google proximity). Honoured on Meta and Google; ignored on platforms without radius support."
@@ -53325,7 +53347,7 @@ paths:
53325
53347
  - { name: accountId, in: query, required: true, schema: { type: string }, description: "Account ID (a connected account on the target ad platform)." }
53326
53348
  - { name: q, in: query, required: true, schema: { type: string }, description: "Search query. For geo, the locality name only (no region/country suffix)." }
53327
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." }
53328
- - { 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`." }
53329
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." }
53330
53352
  - { name: limit, in: query, required: false, schema: { type: integer, minimum: 1, maximum: 100, default: 25 }, description: "Maximum results to return." }
53331
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/
@@ -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/
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.943
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.943.gem
6403
+ - zernio-sdk-0.0.944.gem
6404
6404
  - zernio-sdk.gemspec
6405
6405
  homepage: https://openapi-generator.tech
6406
6406
  licenses:
Binary file