zernio-sdk 0.0.531 → 0.0.533

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.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +16 -0
  3. data/docs/AdsApi.md +287 -0
  4. data/docs/CheckPhoneNumberPortability200ResponseResultsInner.md +5 -1
  5. data/docs/CreatePhoneNumberPortInRequest.md +4 -2
  6. data/docs/CreatePhoneNumberPortInRequestEndUser.md +8 -4
  7. data/docs/CreatePhoneNumberPortInRequestRequirementsInner.md +20 -0
  8. data/docs/CreateRfPrediction201Response.md +22 -0
  9. data/docs/CreateRfPredictionRequest.md +34 -0
  10. data/docs/CreateStandaloneAdRequest.md +4 -0
  11. data/docs/GetPhoneNumberPortInOrderRequirements200Response.md +20 -0
  12. data/docs/GetPhoneNumberPortInOrderRequirements200ResponseRequirementsInner.md +32 -0
  13. data/docs/GetPhoneNumberPortInRequirements200Response.md +24 -0
  14. data/docs/GetPhoneNumberPortInRequirements200ResponseFieldsInner.md +28 -0
  15. data/docs/PhoneNumbersApi.md +149 -5
  16. data/docs/ReserveRfPrediction201Response.md +20 -0
  17. data/docs/ReserveRfPredictionRequest.md +20 -0
  18. data/docs/RfPrediction.md +42 -0
  19. data/lib/zernio-sdk/api/ads_api.rb +294 -0
  20. data/lib/zernio-sdk/api/phone_numbers_api.rb +148 -10
  21. data/lib/zernio-sdk/models/check_phone_number_portability200_response_results_inner.rb +24 -2
  22. data/lib/zernio-sdk/models/create_phone_number_port_in_request.rb +36 -5
  23. data/lib/zernio-sdk/models/create_phone_number_port_in_request_end_user.rb +65 -23
  24. data/lib/zernio-sdk/models/create_phone_number_port_in_request_requirements_inner.rb +201 -0
  25. data/lib/zernio-sdk/models/create_rf_prediction201_response.rb +165 -0
  26. data/lib/zernio-sdk/models/create_rf_prediction_request.rb +323 -0
  27. data/lib/zernio-sdk/models/create_standalone_ad_request.rb +33 -1
  28. data/lib/zernio-sdk/models/get_phone_number_port_in_order_requirements200_response.rb +158 -0
  29. data/lib/zernio-sdk/models/get_phone_number_port_in_order_requirements200_response_requirements_inner.rb +247 -0
  30. data/lib/zernio-sdk/models/get_phone_number_port_in_requirements200_response.rb +177 -0
  31. data/lib/zernio-sdk/models/get_phone_number_port_in_requirements200_response_fields_inner.rb +231 -0
  32. data/lib/zernio-sdk/models/reserve_rf_prediction201_response.rb +156 -0
  33. data/lib/zernio-sdk/models/reserve_rf_prediction_request.rb +190 -0
  34. data/lib/zernio-sdk/models/rf_prediction.rb +273 -0
  35. data/lib/zernio-sdk/version.rb +1 -1
  36. data/lib/zernio-sdk.rb +10 -0
  37. data/openapi.yaml +283 -16
  38. data/spec/api/ads_api_spec.rb +52 -0
  39. data/spec/api/phone_numbers_api_spec.rb +28 -3
  40. data/spec/models/check_phone_number_portability200_response_results_inner_spec.rb +12 -0
  41. data/spec/models/create_phone_number_port_in_request_end_user_spec.rb +13 -1
  42. data/spec/models/create_phone_number_port_in_request_requirements_inner_spec.rb +42 -0
  43. data/spec/models/create_phone_number_port_in_request_spec.rb +6 -0
  44. data/spec/models/create_rf_prediction201_response_spec.rb +48 -0
  45. data/spec/models/create_rf_prediction_request_spec.rb +84 -0
  46. data/spec/models/create_standalone_ad_request_spec.rb +16 -0
  47. data/spec/models/get_phone_number_port_in_order_requirements200_response_requirements_inner_spec.rb +82 -0
  48. data/spec/models/get_phone_number_port_in_order_requirements200_response_spec.rb +42 -0
  49. data/spec/models/get_phone_number_port_in_requirements200_response_fields_inner_spec.rb +70 -0
  50. data/spec/models/get_phone_number_port_in_requirements200_response_spec.rb +54 -0
  51. data/spec/models/reserve_rf_prediction201_response_spec.rb +42 -0
  52. data/spec/models/reserve_rf_prediction_request_spec.rb +42 -0
  53. data/spec/models/rf_prediction_spec.rb +108 -0
  54. metadata +41 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eaa5f26849657a92627dca36e035af7aebc2f4a966c08b7d997ba4708c20ee89
4
- data.tar.gz: d363d35b4b938148821659d8d51ea2860e0eae73f71c1acc078a7101c915305b
3
+ metadata.gz: 672e78e5f11272b5a89080eb85d5f6acf82bd6eedd406c7fc3b2a07f54e79adc
4
+ data.tar.gz: b82290e579ddb86b52baadd6ea2f517aaf57bb5cdd67c50df656cd5918388b4a
5
5
  SHA512:
6
- metadata.gz: becc912c9e3733c3d2b0db5f32416a246da50d584735c75ee4f18465e59fc46932c6140474cea5a8fe9b00927110bd94d988a211c5c9696775481038ba07a01c
7
- data.tar.gz: 294b76a7f76b4f716efb3b8e3c095166a39a9b4a0a7b59c3e0b67d9fff4c89ff1f71d7258765fbb4f398f9c0287fcc33d6fe4dd9e56789fb82e4fc9aa45f597c
6
+ metadata.gz: f48c0fdd733cf16ee7181d46dbbeefbf8802374397ebc4038c505e68f2afbf36688d636457dbfefe4130636db276da16efcab826761dbe27c2c3c538363f54d6
7
+ data.tar.gz: '0739f8bb10a105d90588605fc38a9777d90537fa35a44a54b393a68214d8dd42fc9972c5f22b62c1a62ba1707b5f5af4b68e0c85a3f22eff753c91f73d42f945'
data/README.md CHANGED
@@ -111,12 +111,14 @@ Class | Method | HTTP request | Description
111
111
  *Zernio::AdsApi* | [**adjust_conversions**](docs/AdsApi.md#adjust_conversions) | **POST** /v1/ads/conversions/adjustments | Adjust uploaded conversions
112
112
  *Zernio::AdsApi* | [**archive_lead_form**](docs/AdsApi.md#archive_lead_form) | **DELETE** /v1/ads/lead-forms/{formId} | Archive a lead form
113
113
  *Zernio::AdsApi* | [**boost_post**](docs/AdsApi.md#boost_post) | **POST** /v1/ads/boost | Boost post as ad
114
+ *Zernio::AdsApi* | [**cancel_rf_reservation**](docs/AdsApi.md#cancel_rf_reservation) | **DELETE** /v1/ads/rf-predictions/{predictionId} | Cancel a Reach & Frequency reservation (Meta)
114
115
  *Zernio::AdsApi* | [**create_ad_insights_report**](docs/AdsApi.md#create_ad_insights_report) | **POST** /v1/ads/insights/reports | Submit an async insights report run (Meta)
115
116
  *Zernio::AdsApi* | [**create_call_ad**](docs/AdsApi.md#create_call_ad) | **POST** /v1/ads/call | Create Click-to-Call ad
116
117
  *Zernio::AdsApi* | [**create_conversion_destination**](docs/AdsApi.md#create_conversion_destination) | **POST** /v1/accounts/{accountId}/conversion-destinations | Create a conversion destination
117
118
  *Zernio::AdsApi* | [**create_ctwa_ad**](docs/AdsApi.md#create_ctwa_ad) | **POST** /v1/ads/ctwa | Create Click-to-WhatsApp ad (deprecated)
118
119
  *Zernio::AdsApi* | [**create_lead_form**](docs/AdsApi.md#create_lead_form) | **POST** /v1/ads/lead-forms | Create a lead form
119
120
  *Zernio::AdsApi* | [**create_messaging_ad**](docs/AdsApi.md#create_messaging_ad) | **POST** /v1/ads/messaging | Create click-to-message ad (WhatsApp / Messenger / Instagram Direct)
121
+ *Zernio::AdsApi* | [**create_rf_prediction**](docs/AdsApi.md#create_rf_prediction) | **POST** /v1/ads/rf-predictions | Create a Reach & Frequency prediction (Meta)
120
122
  *Zernio::AdsApi* | [**create_standalone_ad**](docs/AdsApi.md#create_standalone_ad) | **POST** /v1/ads/create | Create standalone ad
121
123
  *Zernio::AdsApi* | [**create_test_lead**](docs/AdsApi.md#create_test_lead) | **POST** /v1/ads/lead-forms/{formId}/test-leads | Create a test lead
122
124
  *Zernio::AdsApi* | [**delete_ad**](docs/AdsApi.md#delete_ad) | **DELETE** /v1/ads/{adId} | Cancel an ad
@@ -140,6 +142,7 @@ Class | Method | HTTP request | Description
140
142
  *Zernio::AdsApi* | [**get_lead_form**](docs/AdsApi.md#get_lead_form) | **GET** /v1/ads/lead-forms/{formId} | Get a lead form
141
143
  *Zernio::AdsApi* | [**get_linked_in_bid_pricing**](docs/AdsApi.md#get_linked_in_bid_pricing) | **POST** /v1/ads/targeting/bid-pricing | Suggested bid and budget bounds (LinkedIn)
142
144
  *Zernio::AdsApi* | [**get_linked_in_supply_forecast**](docs/AdsApi.md#get_linked_in_supply_forecast) | **POST** /v1/ads/targeting/supply-forecast | Impressions, clicks and spend forecast (LinkedIn)
145
+ *Zernio::AdsApi* | [**get_rf_prediction**](docs/AdsApi.md#get_rf_prediction) | **GET** /v1/ads/rf-predictions/{predictionId} | Read a Reach & Frequency prediction (Meta)
143
146
  *Zernio::AdsApi* | [**list_ad_accounts**](docs/AdsApi.md#list_ad_accounts) | **GET** /v1/ads/accounts | List ad accounts
144
147
  *Zernio::AdsApi* | [**list_ad_catalog_product_sets**](docs/AdsApi.md#list_ad_catalog_product_sets) | **GET** /v1/ads/catalogs/{catalogId}/product-sets | List a catalog's product sets
145
148
  *Zernio::AdsApi* | [**list_ad_catalogs**](docs/AdsApi.md#list_ad_catalogs) | **GET** /v1/ads/catalogs | List Meta product catalogs
@@ -154,6 +157,7 @@ Class | Method | HTTP request | Description
154
157
  *Zernio::AdsApi* | [**list_whats_app_conversions**](docs/AdsApi.md#list_whats_app_conversions) | **GET** /v1/whatsapp/conversions | List conversion events
155
158
  *Zernio::AdsApi* | [**query_ad_insights**](docs/AdsApi.md#query_ad_insights) | **GET** /v1/ads/insights | Flexible live insights query (Meta)
156
159
  *Zernio::AdsApi* | [**remove_conversion_associations**](docs/AdsApi.md#remove_conversion_associations) | **DELETE** /v1/accounts/{accountId}/conversion-destinations/{destinationId}/associations | Remove associated campaigns
160
+ *Zernio::AdsApi* | [**reserve_rf_prediction**](docs/AdsApi.md#reserve_rf_prediction) | **POST** /v1/ads/rf-predictions/{predictionId}/reserve | Reserve a Reach & Frequency prediction (Meta)
157
161
  *Zernio::AdsApi* | [**search_ad_interests**](docs/AdsApi.md#search_ad_interests) | **GET** /v1/ads/interests | Search targeting interests
158
162
  *Zernio::AdsApi* | [**search_ad_targeting**](docs/AdsApi.md#search_ad_targeting) | **GET** /v1/ads/targeting/search | Search targeting options
159
163
  *Zernio::AdsApi* | [**send_conversions**](docs/AdsApi.md#send_conversions) | **POST** /v1/ads/conversions | Send conversion events
@@ -354,6 +358,8 @@ Class | Method | HTTP request | Description
354
358
  *Zernio::PhoneNumbersApi* | [**create_phone_number_port_in**](docs/PhoneNumbersApi.md#create_phone_number_port_in) | **POST** /v1/phone-numbers/port-in | Port numbers in
355
359
  *Zernio::PhoneNumbersApi* | [**get_phone_number**](docs/PhoneNumbersApi.md#get_phone_number) | **GET** /v1/phone-numbers/{id} | Get phone number
356
360
  *Zernio::PhoneNumbersApi* | [**get_phone_number_kyc_form**](docs/PhoneNumbersApi.md#get_phone_number_kyc_form) | **GET** /v1/phone-numbers/kyc | Get KYC form spec
361
+ *Zernio::PhoneNumbersApi* | [**get_phone_number_port_in_order_requirements**](docs/PhoneNumbersApi.md#get_phone_number_port_in_order_requirements) | **GET** /v1/phone-numbers/port-in/{id}/requirements | A port-in order's pending requirements
362
+ *Zernio::PhoneNumbersApi* | [**get_phone_number_port_in_requirements**](docs/PhoneNumbersApi.md#get_phone_number_port_in_requirements) | **GET** /v1/phone-numbers/port-in/requirements | Country porting requirements
357
363
  *Zernio::PhoneNumbersApi* | [**get_phone_number_remediation**](docs/PhoneNumbersApi.md#get_phone_number_remediation) | **GET** /v1/phone-numbers/{id}/remediate | Get declined requirements
358
364
  *Zernio::PhoneNumbersApi* | [**list_phone_number_countries**](docs/PhoneNumbersApi.md#list_phone_number_countries) | **GET** /v1/phone-numbers/countries | List offerable number countries
359
365
  *Zernio::PhoneNumbersApi* | [**list_phone_number_port_ins**](docs/PhoneNumbersApi.md#list_phone_number_port_ins) | **GET** /v1/phone-numbers/port-in | List port-in orders
@@ -757,6 +763,7 @@ Class | Method | HTTP request | Description
757
763
  - [Zernio::CreatePhoneNumberPortIn201ResponseOrdersInner](docs/CreatePhoneNumberPortIn201ResponseOrdersInner.md)
758
764
  - [Zernio::CreatePhoneNumberPortInRequest](docs/CreatePhoneNumberPortInRequest.md)
759
765
  - [Zernio::CreatePhoneNumberPortInRequestEndUser](docs/CreatePhoneNumberPortInRequestEndUser.md)
766
+ - [Zernio::CreatePhoneNumberPortInRequestRequirementsInner](docs/CreatePhoneNumberPortInRequestRequirementsInner.md)
760
767
  - [Zernio::CreatePinterestBoard201Response](docs/CreatePinterestBoard201Response.md)
761
768
  - [Zernio::CreatePinterestBoard201ResponseBoard](docs/CreatePinterestBoard201ResponseBoard.md)
762
769
  - [Zernio::CreatePinterestBoardRequest](docs/CreatePinterestBoardRequest.md)
@@ -770,6 +777,8 @@ Class | Method | HTTP request | Description
770
777
  - [Zernio::CreateProfileRequest](docs/CreateProfileRequest.md)
771
778
  - [Zernio::CreateQueueSlot201Response](docs/CreateQueueSlot201Response.md)
772
779
  - [Zernio::CreateQueueSlotRequest](docs/CreateQueueSlotRequest.md)
780
+ - [Zernio::CreateRfPrediction201Response](docs/CreateRfPrediction201Response.md)
781
+ - [Zernio::CreateRfPredictionRequest](docs/CreateRfPredictionRequest.md)
773
782
  - [Zernio::CreateSequence200Response](docs/CreateSequence200Response.md)
774
783
  - [Zernio::CreateSequence200ResponseSequence](docs/CreateSequence200ResponseSequence.md)
775
784
  - [Zernio::CreateSequenceRequest](docs/CreateSequenceRequest.md)
@@ -1126,6 +1135,10 @@ Class | Method | HTTP request | Description
1126
1135
  - [Zernio::GetPhoneNumberKycForm200ResponseReusable](docs/GetPhoneNumberKycForm200ResponseReusable.md)
1127
1136
  - [Zernio::GetPhoneNumberKycForm200ResponseReusableDetailsInner](docs/GetPhoneNumberKycForm200ResponseReusableDetailsInner.md)
1128
1137
  - [Zernio::GetPhoneNumberKycForm200ResponseReusableOptionsInner](docs/GetPhoneNumberKycForm200ResponseReusableOptionsInner.md)
1138
+ - [Zernio::GetPhoneNumberPortInOrderRequirements200Response](docs/GetPhoneNumberPortInOrderRequirements200Response.md)
1139
+ - [Zernio::GetPhoneNumberPortInOrderRequirements200ResponseRequirementsInner](docs/GetPhoneNumberPortInOrderRequirements200ResponseRequirementsInner.md)
1140
+ - [Zernio::GetPhoneNumberPortInRequirements200Response](docs/GetPhoneNumberPortInRequirements200Response.md)
1141
+ - [Zernio::GetPhoneNumberPortInRequirements200ResponseFieldsInner](docs/GetPhoneNumberPortInRequirements200ResponseFieldsInner.md)
1129
1142
  - [Zernio::GetPhoneNumberRemediation200Response](docs/GetPhoneNumberRemediation200Response.md)
1130
1143
  - [Zernio::GetPinterestBoards200Response](docs/GetPinterestBoards200Response.md)
1131
1144
  - [Zernio::GetPinterestBoards200ResponseBoardsInner](docs/GetPinterestBoards200ResponseBoardsInner.md)
@@ -1521,6 +1534,8 @@ Class | Method | HTTP request | Description
1521
1534
  - [Zernio::ReplyToMention200Response](docs/ReplyToMention200Response.md)
1522
1535
  - [Zernio::ReplyToMentionRequest](docs/ReplyToMentionRequest.md)
1523
1536
  - [Zernio::ResendSmsRegistrationOtp200Response](docs/ResendSmsRegistrationOtp200Response.md)
1537
+ - [Zernio::ReserveRfPrediction201Response](docs/ReserveRfPrediction201Response.md)
1538
+ - [Zernio::ReserveRfPredictionRequest](docs/ReserveRfPredictionRequest.md)
1524
1539
  - [Zernio::RestoreWorkflowVersion200Response](docs/RestoreWorkflowVersion200Response.md)
1525
1540
  - [Zernio::RestoreWorkflowVersion200ResponseWorkflow](docs/RestoreWorkflowVersion200ResponseWorkflow.md)
1526
1541
  - [Zernio::RetweetPost200Response](docs/RetweetPost200Response.md)
@@ -1532,6 +1547,7 @@ Class | Method | HTTP request | Description
1532
1547
  - [Zernio::ReviewWebhookReview](docs/ReviewWebhookReview.md)
1533
1548
  - [Zernio::ReviewWebhookReviewReply](docs/ReviewWebhookReviewReply.md)
1534
1549
  - [Zernio::ReviewWebhookReviewReviewer](docs/ReviewWebhookReviewReviewer.md)
1550
+ - [Zernio::RfPrediction](docs/RfPrediction.md)
1535
1551
  - [Zernio::SavedTargetingAudience](docs/SavedTargetingAudience.md)
1536
1552
  - [Zernio::ScheduleBroadcast200Response](docs/ScheduleBroadcast200Response.md)
1537
1553
  - [Zernio::ScheduleBroadcast200ResponseBroadcast](docs/ScheduleBroadcast200ResponseBroadcast.md)
data/docs/AdsApi.md CHANGED
@@ -8,12 +8,14 @@ All URIs are relative to *https://zernio.com/api*
8
8
  | [**adjust_conversions**](AdsApi.md#adjust_conversions) | **POST** /v1/ads/conversions/adjustments | Adjust uploaded conversions |
9
9
  | [**archive_lead_form**](AdsApi.md#archive_lead_form) | **DELETE** /v1/ads/lead-forms/{formId} | Archive a lead form |
10
10
  | [**boost_post**](AdsApi.md#boost_post) | **POST** /v1/ads/boost | Boost post as ad |
11
+ | [**cancel_rf_reservation**](AdsApi.md#cancel_rf_reservation) | **DELETE** /v1/ads/rf-predictions/{predictionId} | Cancel a Reach & Frequency reservation (Meta) |
11
12
  | [**create_ad_insights_report**](AdsApi.md#create_ad_insights_report) | **POST** /v1/ads/insights/reports | Submit an async insights report run (Meta) |
12
13
  | [**create_call_ad**](AdsApi.md#create_call_ad) | **POST** /v1/ads/call | Create Click-to-Call ad |
13
14
  | [**create_conversion_destination**](AdsApi.md#create_conversion_destination) | **POST** /v1/accounts/{accountId}/conversion-destinations | Create a conversion destination |
14
15
  | [**create_ctwa_ad**](AdsApi.md#create_ctwa_ad) | **POST** /v1/ads/ctwa | Create Click-to-WhatsApp ad (deprecated) |
15
16
  | [**create_lead_form**](AdsApi.md#create_lead_form) | **POST** /v1/ads/lead-forms | Create a lead form |
16
17
  | [**create_messaging_ad**](AdsApi.md#create_messaging_ad) | **POST** /v1/ads/messaging | Create click-to-message ad (WhatsApp / Messenger / Instagram Direct) |
18
+ | [**create_rf_prediction**](AdsApi.md#create_rf_prediction) | **POST** /v1/ads/rf-predictions | Create a Reach & Frequency prediction (Meta) |
17
19
  | [**create_standalone_ad**](AdsApi.md#create_standalone_ad) | **POST** /v1/ads/create | Create standalone ad |
18
20
  | [**create_test_lead**](AdsApi.md#create_test_lead) | **POST** /v1/ads/lead-forms/{formId}/test-leads | Create a test lead |
19
21
  | [**delete_ad**](AdsApi.md#delete_ad) | **DELETE** /v1/ads/{adId} | Cancel an ad |
@@ -37,6 +39,7 @@ All URIs are relative to *https://zernio.com/api*
37
39
  | [**get_lead_form**](AdsApi.md#get_lead_form) | **GET** /v1/ads/lead-forms/{formId} | Get a lead form |
38
40
  | [**get_linked_in_bid_pricing**](AdsApi.md#get_linked_in_bid_pricing) | **POST** /v1/ads/targeting/bid-pricing | Suggested bid and budget bounds (LinkedIn) |
39
41
  | [**get_linked_in_supply_forecast**](AdsApi.md#get_linked_in_supply_forecast) | **POST** /v1/ads/targeting/supply-forecast | Impressions, clicks and spend forecast (LinkedIn) |
42
+ | [**get_rf_prediction**](AdsApi.md#get_rf_prediction) | **GET** /v1/ads/rf-predictions/{predictionId} | Read a Reach & Frequency prediction (Meta) |
40
43
  | [**list_ad_accounts**](AdsApi.md#list_ad_accounts) | **GET** /v1/ads/accounts | List ad accounts |
41
44
  | [**list_ad_catalog_product_sets**](AdsApi.md#list_ad_catalog_product_sets) | **GET** /v1/ads/catalogs/{catalogId}/product-sets | List a catalog's product sets |
42
45
  | [**list_ad_catalogs**](AdsApi.md#list_ad_catalogs) | **GET** /v1/ads/catalogs | List Meta product catalogs |
@@ -51,6 +54,7 @@ All URIs are relative to *https://zernio.com/api*
51
54
  | [**list_whats_app_conversions**](AdsApi.md#list_whats_app_conversions) | **GET** /v1/whatsapp/conversions | List conversion events |
52
55
  | [**query_ad_insights**](AdsApi.md#query_ad_insights) | **GET** /v1/ads/insights | Flexible live insights query (Meta) |
53
56
  | [**remove_conversion_associations**](AdsApi.md#remove_conversion_associations) | **DELETE** /v1/accounts/{accountId}/conversion-destinations/{destinationId}/associations | Remove associated campaigns |
57
+ | [**reserve_rf_prediction**](AdsApi.md#reserve_rf_prediction) | **POST** /v1/ads/rf-predictions/{predictionId}/reserve | Reserve a Reach & Frequency prediction (Meta) |
54
58
  | [**search_ad_interests**](AdsApi.md#search_ad_interests) | **GET** /v1/ads/interests | Search targeting interests |
55
59
  | [**search_ad_targeting**](AdsApi.md#search_ad_targeting) | **GET** /v1/ads/targeting/search | Search targeting options |
56
60
  | [**send_conversions**](AdsApi.md#send_conversions) | **POST** /v1/ads/conversions | Send conversion events |
@@ -345,6 +349,78 @@ end
345
349
  - **Accept**: application/json
346
350
 
347
351
 
352
+ ## cancel_rf_reservation
353
+
354
+ > cancel_rf_reservation(prediction_id, account_id, ad_account_id)
355
+
356
+ Cancel a Reach & Frequency reservation (Meta)
357
+
358
+ Releases a RESERVATION's locked price and inventory. Unreserved predictions expire on their own.
359
+
360
+ ### Examples
361
+
362
+ ```ruby
363
+ require 'time'
364
+ require 'zernio-sdk'
365
+ # setup authorization
366
+ Zernio.configure do |config|
367
+ # Configure Bearer authorization (JWT): bearerAuth
368
+ config.access_token = 'YOUR_BEARER_TOKEN'
369
+ end
370
+
371
+ api_instance = Zernio::AdsApi.new
372
+ prediction_id = 'prediction_id_example' # String |
373
+ account_id = 'account_id_example' # String |
374
+ ad_account_id = 'ad_account_id_example' # String |
375
+
376
+ begin
377
+ # Cancel a Reach & Frequency reservation (Meta)
378
+ api_instance.cancel_rf_reservation(prediction_id, account_id, ad_account_id)
379
+ rescue Zernio::ApiError => e
380
+ puts "Error when calling AdsApi->cancel_rf_reservation: #{e}"
381
+ end
382
+ ```
383
+
384
+ #### Using the cancel_rf_reservation_with_http_info variant
385
+
386
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
387
+
388
+ > <Array(nil, Integer, Hash)> cancel_rf_reservation_with_http_info(prediction_id, account_id, ad_account_id)
389
+
390
+ ```ruby
391
+ begin
392
+ # Cancel a Reach & Frequency reservation (Meta)
393
+ data, status_code, headers = api_instance.cancel_rf_reservation_with_http_info(prediction_id, account_id, ad_account_id)
394
+ p status_code # => 2xx
395
+ p headers # => { ... }
396
+ p data # => nil
397
+ rescue Zernio::ApiError => e
398
+ puts "Error when calling AdsApi->cancel_rf_reservation_with_http_info: #{e}"
399
+ end
400
+ ```
401
+
402
+ ### Parameters
403
+
404
+ | Name | Type | Description | Notes |
405
+ | ---- | ---- | ----------- | ----- |
406
+ | **prediction_id** | **String** | | |
407
+ | **account_id** | **String** | | |
408
+ | **ad_account_id** | **String** | | |
409
+
410
+ ### Return type
411
+
412
+ nil (empty response body)
413
+
414
+ ### Authorization
415
+
416
+ [bearerAuth](../README.md#bearerAuth)
417
+
418
+ ### HTTP request headers
419
+
420
+ - **Content-Type**: Not defined
421
+ - **Accept**: application/json
422
+
423
+
348
424
  ## create_ad_insights_report
349
425
 
350
426
  > <CreateAdInsightsReport202Response> create_ad_insights_report(create_ad_insights_report_request)
@@ -759,6 +835,75 @@ nil (empty response body)
759
835
  - **Accept**: application/json
760
836
 
761
837
 
838
+ ## create_rf_prediction
839
+
840
+ > <CreateRfPrediction201Response> create_rf_prediction(create_rf_prediction_request)
841
+
842
+ Create a Reach & Frequency prediction (Meta)
843
+
844
+ Creates an R&F prediction — a QUOTE, nothing is bought and no ad entities are created. Provide a date range plus exactly one of `budgetAmount` (Meta predicts reach) or `reach` (Meta predicts the budget). The response carries the estimate and its allowed bounds (min/max budget and reach). Predictions expire on their own; to buy, reserve one via POST /v1/ads/rf-predictions/{predictionId}/reserve and pass the RESERVED id to POST /v1/ads/create with `buyingType: \"RESERVED\"`. Reservation campaigns reject automatic placements, so omitted `placements` default to Facebook feed (+ Instagram stream when a linked IG professional account resolves); Instagram placements require that IG account. Meta only.
845
+
846
+ ### Examples
847
+
848
+ ```ruby
849
+ require 'time'
850
+ require 'zernio-sdk'
851
+ # setup authorization
852
+ Zernio.configure do |config|
853
+ # Configure Bearer authorization (JWT): bearerAuth
854
+ config.access_token = 'YOUR_BEARER_TOKEN'
855
+ end
856
+
857
+ api_instance = Zernio::AdsApi.new
858
+ create_rf_prediction_request = Zernio::CreateRfPredictionRequest.new({account_id: 'account_id_example', ad_account_id: 'ad_account_id_example', start_date: Time.now, end_date: Time.now}) # CreateRfPredictionRequest |
859
+
860
+ begin
861
+ # Create a Reach & Frequency prediction (Meta)
862
+ result = api_instance.create_rf_prediction(create_rf_prediction_request)
863
+ p result
864
+ rescue Zernio::ApiError => e
865
+ puts "Error when calling AdsApi->create_rf_prediction: #{e}"
866
+ end
867
+ ```
868
+
869
+ #### Using the create_rf_prediction_with_http_info variant
870
+
871
+ This returns an Array which contains the response data, status code and headers.
872
+
873
+ > <Array(<CreateRfPrediction201Response>, Integer, Hash)> create_rf_prediction_with_http_info(create_rf_prediction_request)
874
+
875
+ ```ruby
876
+ begin
877
+ # Create a Reach & Frequency prediction (Meta)
878
+ data, status_code, headers = api_instance.create_rf_prediction_with_http_info(create_rf_prediction_request)
879
+ p status_code # => 2xx
880
+ p headers # => { ... }
881
+ p data # => <CreateRfPrediction201Response>
882
+ rescue Zernio::ApiError => e
883
+ puts "Error when calling AdsApi->create_rf_prediction_with_http_info: #{e}"
884
+ end
885
+ ```
886
+
887
+ ### Parameters
888
+
889
+ | Name | Type | Description | Notes |
890
+ | ---- | ---- | ----------- | ----- |
891
+ | **create_rf_prediction_request** | [**CreateRfPredictionRequest**](CreateRfPredictionRequest.md) | | |
892
+
893
+ ### Return type
894
+
895
+ [**CreateRfPrediction201Response**](CreateRfPrediction201Response.md)
896
+
897
+ ### Authorization
898
+
899
+ [bearerAuth](../README.md#bearerAuth)
900
+
901
+ ### HTTP request headers
902
+
903
+ - **Content-Type**: application/json
904
+ - **Accept**: application/json
905
+
906
+
762
907
  ## create_standalone_ad
763
908
 
764
909
  > <CreateStandaloneAd201Response> create_standalone_ad(create_standalone_ad_request, opts)
@@ -2433,6 +2578,77 @@ end
2433
2578
  - **Accept**: application/json
2434
2579
 
2435
2580
 
2581
+ ## get_rf_prediction
2582
+
2583
+ > <CreateRfPrediction201Response> get_rf_prediction(prediction_id, account_id, ad_account_id)
2584
+
2585
+ Read a Reach & Frequency prediction (Meta)
2586
+
2587
+ ### Examples
2588
+
2589
+ ```ruby
2590
+ require 'time'
2591
+ require 'zernio-sdk'
2592
+ # setup authorization
2593
+ Zernio.configure do |config|
2594
+ # Configure Bearer authorization (JWT): bearerAuth
2595
+ config.access_token = 'YOUR_BEARER_TOKEN'
2596
+ end
2597
+
2598
+ api_instance = Zernio::AdsApi.new
2599
+ prediction_id = 'prediction_id_example' # String |
2600
+ account_id = 'account_id_example' # String |
2601
+ ad_account_id = 'ad_account_id_example' # String |
2602
+
2603
+ begin
2604
+ # Read a Reach & Frequency prediction (Meta)
2605
+ result = api_instance.get_rf_prediction(prediction_id, account_id, ad_account_id)
2606
+ p result
2607
+ rescue Zernio::ApiError => e
2608
+ puts "Error when calling AdsApi->get_rf_prediction: #{e}"
2609
+ end
2610
+ ```
2611
+
2612
+ #### Using the get_rf_prediction_with_http_info variant
2613
+
2614
+ This returns an Array which contains the response data, status code and headers.
2615
+
2616
+ > <Array(<CreateRfPrediction201Response>, Integer, Hash)> get_rf_prediction_with_http_info(prediction_id, account_id, ad_account_id)
2617
+
2618
+ ```ruby
2619
+ begin
2620
+ # Read a Reach & Frequency prediction (Meta)
2621
+ data, status_code, headers = api_instance.get_rf_prediction_with_http_info(prediction_id, account_id, ad_account_id)
2622
+ p status_code # => 2xx
2623
+ p headers # => { ... }
2624
+ p data # => <CreateRfPrediction201Response>
2625
+ rescue Zernio::ApiError => e
2626
+ puts "Error when calling AdsApi->get_rf_prediction_with_http_info: #{e}"
2627
+ end
2628
+ ```
2629
+
2630
+ ### Parameters
2631
+
2632
+ | Name | Type | Description | Notes |
2633
+ | ---- | ---- | ----------- | ----- |
2634
+ | **prediction_id** | **String** | | |
2635
+ | **account_id** | **String** | | |
2636
+ | **ad_account_id** | **String** | | |
2637
+
2638
+ ### Return type
2639
+
2640
+ [**CreateRfPrediction201Response**](CreateRfPrediction201Response.md)
2641
+
2642
+ ### Authorization
2643
+
2644
+ [bearerAuth](../README.md#bearerAuth)
2645
+
2646
+ ### HTTP request headers
2647
+
2648
+ - **Content-Type**: Not defined
2649
+ - **Accept**: application/json
2650
+
2651
+
2436
2652
  ## list_ad_accounts
2437
2653
 
2438
2654
  > <ListAdAccounts200Response> list_ad_accounts(account_id, opts)
@@ -3519,6 +3735,77 @@ end
3519
3735
  - **Accept**: application/json
3520
3736
 
3521
3737
 
3738
+ ## reserve_rf_prediction
3739
+
3740
+ > <ReserveRfPrediction201Response> reserve_rf_prediction(prediction_id, reserve_rf_prediction_request)
3741
+
3742
+ Reserve a Reach & Frequency prediction (Meta)
3743
+
3744
+ Locks the quoted price + inventory until the returned `expiresAt` and mints a NEW prediction id — pass that RESERVED id (not the original) as `rfPredictionId` on POST /v1/ads/create. Release an unused reservation via DELETE. Meta only.
3745
+
3746
+ ### Examples
3747
+
3748
+ ```ruby
3749
+ require 'time'
3750
+ require 'zernio-sdk'
3751
+ # setup authorization
3752
+ Zernio.configure do |config|
3753
+ # Configure Bearer authorization (JWT): bearerAuth
3754
+ config.access_token = 'YOUR_BEARER_TOKEN'
3755
+ end
3756
+
3757
+ api_instance = Zernio::AdsApi.new
3758
+ prediction_id = 'prediction_id_example' # String |
3759
+ reserve_rf_prediction_request = Zernio::ReserveRfPredictionRequest.new({account_id: 'account_id_example', ad_account_id: 'ad_account_id_example'}) # ReserveRfPredictionRequest |
3760
+
3761
+ begin
3762
+ # Reserve a Reach & Frequency prediction (Meta)
3763
+ result = api_instance.reserve_rf_prediction(prediction_id, reserve_rf_prediction_request)
3764
+ p result
3765
+ rescue Zernio::ApiError => e
3766
+ puts "Error when calling AdsApi->reserve_rf_prediction: #{e}"
3767
+ end
3768
+ ```
3769
+
3770
+ #### Using the reserve_rf_prediction_with_http_info variant
3771
+
3772
+ This returns an Array which contains the response data, status code and headers.
3773
+
3774
+ > <Array(<ReserveRfPrediction201Response>, Integer, Hash)> reserve_rf_prediction_with_http_info(prediction_id, reserve_rf_prediction_request)
3775
+
3776
+ ```ruby
3777
+ begin
3778
+ # Reserve a Reach & Frequency prediction (Meta)
3779
+ data, status_code, headers = api_instance.reserve_rf_prediction_with_http_info(prediction_id, reserve_rf_prediction_request)
3780
+ p status_code # => 2xx
3781
+ p headers # => { ... }
3782
+ p data # => <ReserveRfPrediction201Response>
3783
+ rescue Zernio::ApiError => e
3784
+ puts "Error when calling AdsApi->reserve_rf_prediction_with_http_info: #{e}"
3785
+ end
3786
+ ```
3787
+
3788
+ ### Parameters
3789
+
3790
+ | Name | Type | Description | Notes |
3791
+ | ---- | ---- | ----------- | ----- |
3792
+ | **prediction_id** | **String** | | |
3793
+ | **reserve_rf_prediction_request** | [**ReserveRfPredictionRequest**](ReserveRfPredictionRequest.md) | | |
3794
+
3795
+ ### Return type
3796
+
3797
+ [**ReserveRfPrediction201Response**](ReserveRfPrediction201Response.md)
3798
+
3799
+ ### Authorization
3800
+
3801
+ [bearerAuth](../README.md#bearerAuth)
3802
+
3803
+ ### HTTP request headers
3804
+
3805
+ - **Content-Type**: application/json
3806
+ - **Accept**: application/json
3807
+
3808
+
3522
3809
  ## search_ad_interests
3523
3810
 
3524
3811
  > <SearchAdInterests200Response> search_ad_interests(q, account_id)
@@ -7,7 +7,9 @@
7
7
  | **phone_number** | **String** | | [optional] |
8
8
  | **portable** | **Boolean** | | [optional] |
9
9
  | **fast_portable** | **Boolean** | Qualifies for the carrier&#39;s accelerated FastPort lane. | [optional] |
10
- | **line_type** | **String** | Line type when known (mobile, landline, voip…). A mobile number requires the transfer PIN at submit. | [optional] |
10
+ | **line_type** | **String** | Line type when known (mobile, landline, voip…). A US/CA mobile number requires the transfer PIN at submit. | [optional] |
11
+ | **country_code** | **String** | ISO country of the number — pass it to GET /v1/phone-numbers/port-in/requirements for international numbers. | [optional] |
12
+ | **phone_number_type** | **String** | Carrier number-type classification (local, mobile, national, toll_free…) — the numberType for the requirements endpoint. | [optional] |
11
13
  | **not_portable_reason** | **String** | Carrier reason when not portable; null when portable. | [optional] |
12
14
 
13
15
  ## Example
@@ -20,6 +22,8 @@ instance = Zernio::CheckPhoneNumberPortability200ResponseResultsInner.new(
20
22
  portable: null,
21
23
  fast_portable: null,
22
24
  line_type: null,
25
+ country_code: null,
26
+ phone_number_type: null,
23
27
  not_portable_reason: null
24
28
  )
25
29
  ```
@@ -8,9 +8,10 @@
8
8
  | **end_user** | [**CreatePhoneNumberPortInRequestEndUser**](CreatePhoneNumberPortInRequestEndUser.md) | | |
9
9
  | **loa_document_id** | **String** | Document id from POST /v1/phone-numbers/port-in/documents (kind&#x3D;loa). | |
10
10
  | **invoice_document_id** | **String** | Document id from POST /v1/phone-numbers/port-in/documents (kind&#x3D;invoice). | |
11
- | **foc_datetime_requested** | **Time** | Requested port date; the carrier confirms the actual FOC later. Defaults to one week out (shifted off weekends) when omitted. | [optional] |
11
+ | **foc_datetime_requested** | **Time** | Requested port date; the carrier confirms the actual FOC later. US/CA default is one week out (shifted off weekends); international orders are scheduled into the carrier&#39;s next allowed porting window at or after this date. | [optional] |
12
12
  | **customer_reference** | **String** | | [optional] |
13
13
  | **port_type** | **String** | Whether the losing account ports all its numbers (full) or keeps some (partial). | [optional][default to &#39;full&#39;] |
14
+ | **requirements** | [**Array&lt;CreatePhoneNumberPortInRequestRequirementsInner&gt;**](CreatePhoneNumberPortInRequestRequirementsInner.md) | Country-specific requirement values for international ports (from GET /v1/phone-numbers/port-in/requirements). Not needed for US/CA. The LOA and invoice requirements are satisfied automatically by loaDocumentId/invoiceDocumentId, and address-type requirements by the endUser service address. | [optional] |
14
15
 
15
16
  ## Example
16
17
 
@@ -24,7 +25,8 @@ instance = Zernio::CreatePhoneNumberPortInRequest.new(
24
25
  invoice_document_id: null,
25
26
  foc_datetime_requested: null,
26
27
  customer_reference: null,
27
- port_type: null
28
+ port_type: null,
29
+ requirements: null
28
30
  )
29
31
  ```
30
32
 
@@ -8,13 +8,15 @@
8
8
  | **auth_person_name** | **String** | Full name (first + last) of the person authorizing the port — must match the LOA signature. | |
9
9
  | **billing_phone_number** | **String** | Phone number on the losing carrier&#39;s bill. Defaults to the ported number itself on single-number orders. Validated as a real phone number when present. | [optional] |
10
10
  | **account_number** | **String** | Account number with the losing carrier — required (carriers reject ports without it; on prepaid mobile plans it is often the phone number itself). | |
11
- | **pin_passcode** | **String** | Transfer PIN. Required for mobile numbers (wireless carriers reject PIN-less ports). Forwarded to the carrier, never stored. | [optional] |
11
+ | **pin_passcode** | **String** | Transfer PIN. Required for US/CA mobile numbers (wireless carriers reject PIN-less ports). Forwarded to the carrier, never stored. International porting codes (e.g. the UK PAC) go through &#x60;requirements&#x60; instead. | [optional] |
12
+ | **tax_identifier** | **String** | Company tax id on the carrier account (EU ports, e.g. Spanish CIF). | [optional] |
13
+ | **business_identifier** | **String** | Business registration id on the carrier account (EU ports). | [optional] |
12
14
  | **street_address** | **String** | | |
13
15
  | **extended_address** | **String** | | [optional] |
14
16
  | **locality** | **String** | | |
15
- | **administrative_area** | **String** | 2-letter US state / CA province code (full names are accepted and normalized). | |
16
- | **postal_code** | **String** | US ZIP (5 digits) or Canadian postal code, matching countryCode. | |
17
- | **country_code** | **String** | | |
17
+ | **administrative_area** | **String** | Region. Required for US/CA as the 2-letter state/province code (full names are accepted and normalized); optional elsewhere. | [optional] |
18
+ | **postal_code** | **String** | Postal code. Validated as a US ZIP / Canadian postal code for US/CA; free-form elsewhere. | |
19
+ | **country_code** | **String** | Service-address country (a supported port-in country). | |
18
20
 
19
21
  ## Example
20
22
 
@@ -27,6 +29,8 @@ instance = Zernio::CreatePhoneNumberPortInRequestEndUser.new(
27
29
  billing_phone_number: null,
28
30
  account_number: null,
29
31
  pin_passcode: null,
32
+ tax_identifier: null,
33
+ business_identifier: null,
30
34
  street_address: null,
31
35
  extended_address: null,
32
36
  locality: null,
@@ -0,0 +1,20 @@
1
+ # Zernio::CreatePhoneNumberPortInRequestRequirementsInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **requirement_type_id** | **String** | The requirement&#39;s id, from the requirements endpoint. | |
8
+ | **field_value** | **String** | Text value, ISO datetime, or a documentId from POST /v1/phone-numbers/port-in/documents, per the requirement&#39;s kind. | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'zernio-sdk'
14
+
15
+ instance = Zernio::CreatePhoneNumberPortInRequestRequirementsInner.new(
16
+ requirement_type_id: null,
17
+ field_value: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,22 @@
1
+ # Zernio::CreateRfPrediction201Response
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **ad_account_id** | **String** | | [optional] |
8
+ | **currency** | **String** | | [optional] |
9
+ | **prediction** | [**RfPrediction**](RfPrediction.md) | | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'zernio-sdk'
15
+
16
+ instance = Zernio::CreateRfPrediction201Response.new(
17
+ ad_account_id: null,
18
+ currency: null,
19
+ prediction: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,34 @@
1
+ # Zernio::CreateRfPredictionRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **account_id** | **String** | Zernio SocialAccount id (posting or ads variant). | |
8
+ | **ad_account_id** | **String** | Meta ad account id (act_&lt;n&gt;). | |
9
+ | **budget_amount** | **Float** | Whole currency units. Exactly one of budgetAmount / reach. | [optional] |
10
+ | **reach** | **Integer** | Target unique reach. Exactly one of budgetAmount / reach. | [optional] |
11
+ | **start_date** | **Time** | Campaign window start (must be in the future). | |
12
+ | **end_date** | **Time** | | |
13
+ | **frequency_cap** | **Integer** | Max impressions per person over the window. | [optional] |
14
+ | **targeting** | **Object** | Canonical camelCase TargetingSpec (same shape as /v1/ads/create&#39;s &#x60;targeting&#x60;). Defaults to countries: [US]. | [optional] |
15
+ | **placements** | **Object** | Meta placements object (same shape as /v1/ads/create&#39;s &#x60;placements&#x60;). | [optional] |
16
+
17
+ ## Example
18
+
19
+ ```ruby
20
+ require 'zernio-sdk'
21
+
22
+ instance = Zernio::CreateRfPredictionRequest.new(
23
+ account_id: null,
24
+ ad_account_id: null,
25
+ budget_amount: null,
26
+ reach: null,
27
+ start_date: null,
28
+ end_date: null,
29
+ frequency_cap: null,
30
+ targeting: null,
31
+ placements: null
32
+ )
33
+ ```
34
+
@@ -14,6 +14,8 @@
14
14
  | **goal** | **String** | Required on legacy and multi-creative shapes; the attach shape inherits it from the ad set. Available goals vary by platform. **Meta** - &#x60;conversions&#x60;: OUTCOME_SALES. Requires &#x60;promotedObject.pixelId&#x60; and &#x60;promotedObject.customEventType&#x60; with a commerce event such as PURCHASE or START_TRIAL. - &#x60;lead_conversion&#x60;: OUTCOME_LEADS optimizing website pixel leads. Same pixel and event fields, but with a leads-class event such as LEAD, SUBMIT_APPLICATION, SCHEDULE or CONTACT. Meta gates conversion events by objective, so leads-class events are rejected under &#x60;conversions&#x60;. - &#x60;lead_generation&#x60;: OUTCOME_LEADS with instant forms. Requires &#x60;leadGenFormId&#x60;. &#x60;promotedObject.pageId&#x60; is optional and auto-filled from the connected Page. - &#x60;app_promotion&#x60;: requires &#x60;promotedObject.applicationId&#x60; and &#x60;promotedObject.objectStoreUrl&#x60;. - &#x60;catalog_sales&#x60;: Advantage+ catalog ads, for example vehicle inventory. Requires &#x60;promotedObject.productSetId&#x60;, &#x60;promotedObject.pixelId&#x60; and &#x60;promotedObject.customEventType&#x60;. Builds a catalog TEMPLATE creative from the copy fields, which may carry template tags like {{product.name}} or {{vehicle.make}}. No imageUrl or video is sent; Meta renders the visuals per catalog item. Discover catalogs via GET /v1/ads/catalogs and product sets via GET /v1/ads/catalogs/{catalogId}/product-sets. Single shape only, no creatives[], adSetId, dynamicCreative or placementAssets. **TikTok** - &#x60;conversions&#x60;: website-conversion ad group. Requires &#x60;promotedObject.pixelId&#x60;, your TikTok Pixel ID. Accepts an optional &#x60;promotedObject.customEventType&#x60; with a TikTok optimization_event code your pixel tracks (newer pixels use e.g. SHOPPING for purchase events; legacy pixels use ON_WEB_ORDER, INITIATE_ORDER, ON_WEB_REGISTER or FORM). To inherit pixel and event from an existing ad group, pass &#x60;adSetId&#x60; instead. **LinkedIn** - &#x60;engagement&#x60;, &#x60;traffic&#x60;, &#x60;awareness&#x60; and &#x60;video_views&#x60; create standalone Direct Sponsored Content ads. &#x60;traffic&#x60; requires &#x60;linkUrl&#x60;; &#x60;video_views&#x60; requires &#x60;video&#x60;. - &#x60;job_applicants&#x60; requires a &#x60;platformSpecificData.jobs&#x60; creative. - For &#x60;lead_generation&#x60; or &#x60;conversions&#x60; on LinkedIn, or to promote an existing post, use POST /v1/ads/boost. | [optional] |
15
15
  | **optimization_goal** | **String** | Meta only. Explicit ad-set &#x60;optimization_goal&#x60; (e.g. &#x60;LANDING_PAGE_VIEWS&#x60;, &#x60;LINK_CLICKS&#x60;, &#x60;REACH&#x60;, &#x60;IMPRESSIONS&#x60;, &#x60;OFFSITE_CONVERSIONS&#x60;, &#x60;THRUPLAY&#x60;, &#x60;LEAD_GENERATION&#x60;). Overrides the default derived from &#x60;goal&#x60; (e.g. &#x60;traffic&#x60; defaults to &#x60;LINK_CLICKS&#x60;). Forwarded verbatim to Meta, which validates compatibility with the campaign objective and rejects incompatible combinations. | [optional] |
16
16
  | **billing_event** | **String** | Meta only. Explicit ad-set &#x60;billing_event&#x60;. Defaults to &#x60;IMPRESSIONS&#x60;. Forwarded verbatim to Meta, which validates compatibility with the optimization goal. | [optional] |
17
+ | **buying_type** | **String** | Meta only. RESERVED &#x3D; Reach &amp; Frequency: requires &#x60;rfPredictionId&#x60; (a RESERVED prediction from /v1/ads/rf-predictions + /reserve). Budget, schedule and pricing come from the reservation, so budgetAmount/budgetType are not required and bid fields are ignored. Only the plain single-ad shape (no creatives[], adSetId, existingCampaignId or dynamicCreative). | [optional] |
18
+ | **rf_prediction_id** | **String** | Meta only. The RESERVED prediction id the R&amp;F ad set runs on (reserving mints a new id — pass that one). Requires buyingType RESERVED. | [optional] |
17
19
  | **budget_amount** | **Float** | Required on legacy + multi-creative shapes. Inherited on attach. | [optional] |
18
20
  | **budget_type** | **String** | Required on legacy + multi-creative shapes. Inherited on attach. | [optional] |
19
21
  | **status** | **String** | Meta and TikTok. Publish state of the created entities. Omitted or ACTIVE publishes live (default, back-compat); PAUSED creates them paused and skips activation, so you can review before they spend. On TikTok the whole campaign &gt; ad group &gt; ad hierarchy stays paused. | [optional] |
@@ -93,6 +95,8 @@ instance = Zernio::CreateStandaloneAdRequest.new(
93
95
  goal: null,
94
96
  optimization_goal: null,
95
97
  billing_event: null,
98
+ buying_type: null,
99
+ rf_prediction_id: null,
96
100
  budget_amount: null,
97
101
  budget_type: null,
98
102
  status: null,
@@ -0,0 +1,20 @@
1
+ # Zernio::GetPhoneNumberPortInOrderRequirements200Response
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **country** | **String** | | [optional] |
8
+ | **requirements** | [**Array&lt;GetPhoneNumberPortInOrderRequirements200ResponseRequirementsInner&gt;**](GetPhoneNumberPortInOrderRequirements200ResponseRequirementsInner.md) | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'zernio-sdk'
14
+
15
+ instance = Zernio::GetPhoneNumberPortInOrderRequirements200Response.new(
16
+ country: null,
17
+ requirements: null
18
+ )
19
+ ```
20
+