late-sdk 0.0.880 → 0.0.881
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/README.md +12 -2
- data/docs/{CreateCtwaAd201Response.md → CreateMessagingAd201Response.md} +6 -6
- data/docs/CreatePost200Response.md +39 -12
- data/docs/MessagingAdsApi.md +18 -16
- data/docs/TikTokDryRunVerdict.md +22 -0
- data/docs/{CreatePost200ResponseTiktokInner.md → TikTokDryRunVerdictTiktokInner.md} +2 -2
- data/docs/TrackingTagsApi.md +7 -6
- data/docs/UpdateAdTrackingTags200Response.md +18 -0
- data/docs/UpdateGoogleBusinessLocationDetailsRequest.md +19 -1
- data/docs/UpdateGoogleBusinessLocationDetailsRequestAdWordsLocationExtensions.md +18 -0
- data/docs/UpdateGoogleBusinessLocationDetailsRequestLatlng.md +20 -0
- data/docs/UpdateGoogleBusinessLocationDetailsRequestMoreHoursInner.md +20 -0
- data/docs/UpdateGoogleBusinessLocationDetailsRequestOpenInfo.md +20 -0
- data/docs/UpdateGoogleBusinessLocationDetailsRequestServiceArea.md +22 -0
- data/docs/UpdateGoogleBusinessLocationDetailsRequestServiceAreaPlaces.md +18 -0
- data/docs/UpdateGoogleBusinessLocationDetailsRequestServiceAreaPlacesPlaceInfosInner.md +20 -0
- data/docs/UpdateGoogleBusinessLocationDetailsRequestStorefrontAddress.md +28 -0
- data/lib/zernio-sdk/api/messaging_ads_api.rb +13 -13
- data/lib/zernio-sdk/api/tracking_tags_api.rb +5 -5
- data/lib/zernio-sdk/models/{create_ctwa_ad201_response.rb → create_messaging_ad201_response.rb} +1 -1
- data/lib/zernio-sdk/models/create_post200_response.rb +74 -191
- data/lib/zernio-sdk/models/tik_tok_dry_run_verdict.rb +221 -0
- data/lib/zernio-sdk/models/{create_post200_response_tiktok_inner.rb → tik_tok_dry_run_verdict_tiktok_inner.rb} +3 -3
- data/lib/zernio-sdk/models/update_ad_tracking_tags200_response.rb +147 -0
- data/lib/zernio-sdk/models/update_google_business_location_details_request.rb +93 -4
- data/lib/zernio-sdk/models/update_google_business_location_details_request_ad_words_location_extensions.rb +148 -0
- data/lib/zernio-sdk/models/update_google_business_location_details_request_latlng.rb +157 -0
- data/lib/zernio-sdk/models/update_google_business_location_details_request_more_hours_inner.rb +159 -0
- data/lib/zernio-sdk/models/update_google_business_location_details_request_open_info.rb +191 -0
- data/lib/zernio-sdk/models/update_google_business_location_details_request_service_area.rb +201 -0
- data/lib/zernio-sdk/models/update_google_business_location_details_request_service_area_places.rb +149 -0
- data/lib/zernio-sdk/models/update_google_business_location_details_request_service_area_places_place_infos_inner.rb +158 -0
- data/lib/zernio-sdk/models/update_google_business_location_details_request_storefront_address.rb +198 -0
- data/lib/zernio-sdk/version.rb +1 -1
- data/lib/zernio-sdk.rb +12 -2
- data/openapi.yaml +150 -35
- data/spec/api/messaging_ads_api_spec.rb +3 -3
- data/spec/api/tracking_tags_api_spec.rb +1 -1
- data/spec/models/{create_ctwa_ad201_response_spec.rb → create_messaging_ad201_response_spec.rb} +2 -2
- data/spec/models/create_post200_response_spec.rb +5 -21
- data/spec/models/tik_tok_dry_run_verdict_spec.rb +48 -0
- data/spec/models/{create_post200_response_tiktok_inner_spec.rb → tik_tok_dry_run_verdict_tiktok_inner_spec.rb} +6 -6
- data/spec/models/update_ad_tracking_tags200_response_spec.rb +36 -0
- data/spec/models/update_google_business_location_details_request_ad_words_location_extensions_spec.rb +36 -0
- data/spec/models/update_google_business_location_details_request_latlng_spec.rb +42 -0
- data/spec/models/update_google_business_location_details_request_more_hours_inner_spec.rb +42 -0
- data/spec/models/update_google_business_location_details_request_open_info_spec.rb +46 -0
- data/spec/models/update_google_business_location_details_request_service_area_places_place_infos_inner_spec.rb +42 -0
- data/spec/models/update_google_business_location_details_request_service_area_places_spec.rb +36 -0
- data/spec/models/update_google_business_location_details_request_service_area_spec.rb +52 -0
- data/spec/models/update_google_business_location_details_request_spec.rb +54 -0
- data/spec/models/update_google_business_location_details_request_storefront_address_spec.rb +66 -0
- data/zernio-sdk-0.0.881.gem +0 -0
- metadata +50 -10
- data/zernio-sdk-0.0.880.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: ebf97e3f9277b1746f4221add740864ba6abe40e233828b7571d8e43e4d81d7b
|
|
4
|
+
data.tar.gz: b15fc99555995a032e328fdfa2fda5b41d2eef3c1b726ac18d2759d5de7432dc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1eb535b3144cee48637854a02747f8ae5abdd5b011c47833c4989524fe6e3e9c5e14e6efcdf24fcbaebb2e2a1a1ae059cb9f1e7c3bb682383b29dbf09ce24781
|
|
7
|
+
data.tar.gz: 9ae606bc58c6cc7aa6e73f38f0c8ff8535e8e3ebb0e219263f36f5e4f1f24db1907752e39e2b370c2f24966efe1a4209bdb178b7095988489699a6da16bc3ef5
|
data/README.md
CHANGED
|
@@ -1034,7 +1034,6 @@ Class | Method | HTTP request | Description
|
|
|
1034
1034
|
- [Zernio::CreateConversionDestination201Response](docs/CreateConversionDestination201Response.md)
|
|
1035
1035
|
- [Zernio::CreateConversionDestinationRequest](docs/CreateConversionDestinationRequest.md)
|
|
1036
1036
|
- [Zernio::CreateConversionDestinationRequestValue](docs/CreateConversionDestinationRequestValue.md)
|
|
1037
|
-
- [Zernio::CreateCtwaAd201Response](docs/CreateCtwaAd201Response.md)
|
|
1038
1037
|
- [Zernio::CreateCustomConversionRequest](docs/CreateCustomConversionRequest.md)
|
|
1039
1038
|
- [Zernio::CreateCustomField200Response](docs/CreateCustomField200Response.md)
|
|
1040
1039
|
- [Zernio::CreateCustomFieldRequest](docs/CreateCustomFieldRequest.md)
|
|
@@ -1071,6 +1070,7 @@ Class | Method | HTTP request | Description
|
|
|
1071
1070
|
- [Zernio::CreateLeadFormRequest](docs/CreateLeadFormRequest.md)
|
|
1072
1071
|
- [Zernio::CreateLeadFormRequestPlatformSpecificData](docs/CreateLeadFormRequestPlatformSpecificData.md)
|
|
1073
1072
|
- [Zernio::CreateLeadFormRequestQuestionsInner](docs/CreateLeadFormRequestQuestionsInner.md)
|
|
1073
|
+
- [Zernio::CreateMessagingAd201Response](docs/CreateMessagingAd201Response.md)
|
|
1074
1074
|
- [Zernio::CreateMessagingAdRequest](docs/CreateMessagingAdRequest.md)
|
|
1075
1075
|
- [Zernio::CreatePhoneNumberKycLink200Response](docs/CreatePhoneNumberKycLink200Response.md)
|
|
1076
1076
|
- [Zernio::CreatePhoneNumberKycLinkRequest](docs/CreatePhoneNumberKycLinkRequest.md)
|
|
@@ -1085,7 +1085,6 @@ Class | Method | HTTP request | Description
|
|
|
1085
1085
|
- [Zernio::CreatePinterestBoard201ResponseBoard](docs/CreatePinterestBoard201ResponseBoard.md)
|
|
1086
1086
|
- [Zernio::CreatePinterestBoardRequest](docs/CreatePinterestBoardRequest.md)
|
|
1087
1087
|
- [Zernio::CreatePost200Response](docs/CreatePost200Response.md)
|
|
1088
|
-
- [Zernio::CreatePost200ResponseTiktokInner](docs/CreatePost200ResponseTiktokInner.md)
|
|
1089
1088
|
- [Zernio::CreatePost403Response](docs/CreatePost403Response.md)
|
|
1090
1089
|
- [Zernio::CreatePost409Response](docs/CreatePost409Response.md)
|
|
1091
1090
|
- [Zernio::CreatePost409ResponseDetails](docs/CreatePost409ResponseDetails.md)
|
|
@@ -2264,6 +2263,8 @@ Class | Method | HTTP request | Description
|
|
|
2264
2263
|
- [Zernio::TelegramPlatformData](docs/TelegramPlatformData.md)
|
|
2265
2264
|
- [Zernio::TestWebhookRequest](docs/TestWebhookRequest.md)
|
|
2266
2265
|
- [Zernio::ThreadsPlatformData](docs/ThreadsPlatformData.md)
|
|
2266
|
+
- [Zernio::TikTokDryRunVerdict](docs/TikTokDryRunVerdict.md)
|
|
2267
|
+
- [Zernio::TikTokDryRunVerdictTiktokInner](docs/TikTokDryRunVerdictTiktokInner.md)
|
|
2267
2268
|
- [Zernio::TikTokPlatformData](docs/TikTokPlatformData.md)
|
|
2268
2269
|
- [Zernio::TrackingTag](docs/TrackingTag.md)
|
|
2269
2270
|
- [Zernio::TransferVoiceCall200Response](docs/TransferVoiceCall200Response.md)
|
|
@@ -2321,6 +2322,7 @@ Class | Method | HTTP request | Description
|
|
|
2321
2322
|
- [Zernio::UpdateAdSetRequestPlatformSpecificDataPromotedObject](docs/UpdateAdSetRequestPlatformSpecificDataPromotedObject.md)
|
|
2322
2323
|
- [Zernio::UpdateAdSetStatus200Response](docs/UpdateAdSetStatus200Response.md)
|
|
2323
2324
|
- [Zernio::UpdateAdStatus200Response](docs/UpdateAdStatus200Response.md)
|
|
2325
|
+
- [Zernio::UpdateAdTrackingTags200Response](docs/UpdateAdTrackingTags200Response.md)
|
|
2324
2326
|
- [Zernio::UpdateAdTrackingTagsRequest](docs/UpdateAdTrackingTagsRequest.md)
|
|
2325
2327
|
- [Zernio::UpdateAdTrackingTagsRequestCreative](docs/UpdateAdTrackingTagsRequestCreative.md)
|
|
2326
2328
|
- [Zernio::UpdateAdTrackingTagsRequestUrlTagsInner](docs/UpdateAdTrackingTagsRequestUrlTagsInner.md)
|
|
@@ -2379,16 +2381,24 @@ Class | Method | HTTP request | Description
|
|
|
2379
2381
|
- [Zernio::UpdateGoogleBusinessFoodMenusRequest](docs/UpdateGoogleBusinessFoodMenusRequest.md)
|
|
2380
2382
|
- [Zernio::UpdateGoogleBusinessLocationDetails200Response](docs/UpdateGoogleBusinessLocationDetails200Response.md)
|
|
2381
2383
|
- [Zernio::UpdateGoogleBusinessLocationDetailsRequest](docs/UpdateGoogleBusinessLocationDetailsRequest.md)
|
|
2384
|
+
- [Zernio::UpdateGoogleBusinessLocationDetailsRequestAdWordsLocationExtensions](docs/UpdateGoogleBusinessLocationDetailsRequestAdWordsLocationExtensions.md)
|
|
2382
2385
|
- [Zernio::UpdateGoogleBusinessLocationDetailsRequestCategories](docs/UpdateGoogleBusinessLocationDetailsRequestCategories.md)
|
|
2383
2386
|
- [Zernio::UpdateGoogleBusinessLocationDetailsRequestCategoriesAdditionalCategoriesInner](docs/UpdateGoogleBusinessLocationDetailsRequestCategoriesAdditionalCategoriesInner.md)
|
|
2384
2387
|
- [Zernio::UpdateGoogleBusinessLocationDetailsRequestCategoriesPrimaryCategory](docs/UpdateGoogleBusinessLocationDetailsRequestCategoriesPrimaryCategory.md)
|
|
2388
|
+
- [Zernio::UpdateGoogleBusinessLocationDetailsRequestLatlng](docs/UpdateGoogleBusinessLocationDetailsRequestLatlng.md)
|
|
2389
|
+
- [Zernio::UpdateGoogleBusinessLocationDetailsRequestMoreHoursInner](docs/UpdateGoogleBusinessLocationDetailsRequestMoreHoursInner.md)
|
|
2390
|
+
- [Zernio::UpdateGoogleBusinessLocationDetailsRequestOpenInfo](docs/UpdateGoogleBusinessLocationDetailsRequestOpenInfo.md)
|
|
2385
2391
|
- [Zernio::UpdateGoogleBusinessLocationDetailsRequestProfile](docs/UpdateGoogleBusinessLocationDetailsRequestProfile.md)
|
|
2386
2392
|
- [Zernio::UpdateGoogleBusinessLocationDetailsRequestRegularHours](docs/UpdateGoogleBusinessLocationDetailsRequestRegularHours.md)
|
|
2387
2393
|
- [Zernio::UpdateGoogleBusinessLocationDetailsRequestRegularHoursPeriodsInner](docs/UpdateGoogleBusinessLocationDetailsRequestRegularHoursPeriodsInner.md)
|
|
2394
|
+
- [Zernio::UpdateGoogleBusinessLocationDetailsRequestServiceArea](docs/UpdateGoogleBusinessLocationDetailsRequestServiceArea.md)
|
|
2395
|
+
- [Zernio::UpdateGoogleBusinessLocationDetailsRequestServiceAreaPlaces](docs/UpdateGoogleBusinessLocationDetailsRequestServiceAreaPlaces.md)
|
|
2396
|
+
- [Zernio::UpdateGoogleBusinessLocationDetailsRequestServiceAreaPlacesPlaceInfosInner](docs/UpdateGoogleBusinessLocationDetailsRequestServiceAreaPlacesPlaceInfosInner.md)
|
|
2388
2397
|
- [Zernio::UpdateGoogleBusinessLocationDetailsRequestServiceItemsInner](docs/UpdateGoogleBusinessLocationDetailsRequestServiceItemsInner.md)
|
|
2389
2398
|
- [Zernio::UpdateGoogleBusinessLocationDetailsRequestServiceItemsInnerFreeFormServiceItem](docs/UpdateGoogleBusinessLocationDetailsRequestServiceItemsInnerFreeFormServiceItem.md)
|
|
2390
2399
|
- [Zernio::UpdateGoogleBusinessLocationDetailsRequestServiceItemsInnerPrice](docs/UpdateGoogleBusinessLocationDetailsRequestServiceItemsInnerPrice.md)
|
|
2391
2400
|
- [Zernio::UpdateGoogleBusinessLocationDetailsRequestServiceItemsInnerStructuredServiceItem](docs/UpdateGoogleBusinessLocationDetailsRequestServiceItemsInnerStructuredServiceItem.md)
|
|
2401
|
+
- [Zernio::UpdateGoogleBusinessLocationDetailsRequestStorefrontAddress](docs/UpdateGoogleBusinessLocationDetailsRequestStorefrontAddress.md)
|
|
2392
2402
|
- [Zernio::UpdateGoogleBusinessPlaceAction200Response](docs/UpdateGoogleBusinessPlaceAction200Response.md)
|
|
2393
2403
|
- [Zernio::UpdateGoogleBusinessPlaceActionRequest](docs/UpdateGoogleBusinessPlaceActionRequest.md)
|
|
2394
2404
|
- [Zernio::UpdateGoogleBusinessServices200Response](docs/UpdateGoogleBusinessServices200Response.md)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Zernio::
|
|
1
|
+
# Zernio::CreateMessagingAd201Response
|
|
2
2
|
|
|
3
3
|
## Class instance methods
|
|
4
4
|
|
|
@@ -11,7 +11,7 @@ Returns the list of classes defined in oneOf.
|
|
|
11
11
|
```ruby
|
|
12
12
|
require 'zernio-sdk'
|
|
13
13
|
|
|
14
|
-
Zernio::
|
|
14
|
+
Zernio::CreateMessagingAd201Response.openapi_one_of
|
|
15
15
|
# =>
|
|
16
16
|
# [
|
|
17
17
|
# :'CtwaMultiResponse',
|
|
@@ -28,7 +28,7 @@ Returns the discriminator's property name.
|
|
|
28
28
|
```ruby
|
|
29
29
|
require 'zernio-sdk'
|
|
30
30
|
|
|
31
|
-
Zernio::
|
|
31
|
+
Zernio::CreateMessagingAd201Response.openapi_discriminator_name
|
|
32
32
|
# => :'ad_type'
|
|
33
33
|
```
|
|
34
34
|
|
|
@@ -41,7 +41,7 @@ Returns the discriminator's mapping.
|
|
|
41
41
|
```ruby
|
|
42
42
|
require 'zernio-sdk'
|
|
43
43
|
|
|
44
|
-
Zernio::
|
|
44
|
+
Zernio::CreateMessagingAd201Response.openapi_discriminator_mapping
|
|
45
45
|
# =>
|
|
46
46
|
# {
|
|
47
47
|
# :'multi' => :'CtwaMultiResponse',
|
|
@@ -58,10 +58,10 @@ Find the appropriate object from the `openapi_one_of` list and casts the data in
|
|
|
58
58
|
```ruby
|
|
59
59
|
require 'zernio-sdk'
|
|
60
60
|
|
|
61
|
-
Zernio::
|
|
61
|
+
Zernio::CreateMessagingAd201Response.build(data)
|
|
62
62
|
# => #<CtwaMultiResponse:0x00007fdd4aab02a0>
|
|
63
63
|
|
|
64
|
-
Zernio::
|
|
64
|
+
Zernio::CreateMessagingAd201Response.build(data_that_doesnt_match)
|
|
65
65
|
# => nil
|
|
66
66
|
```
|
|
67
67
|
|
|
@@ -1,22 +1,49 @@
|
|
|
1
1
|
# Zernio::CreatePost200Response
|
|
2
2
|
|
|
3
|
-
##
|
|
3
|
+
## Class instance methods
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **dry_run** | **Boolean** | Always true on this response | |
|
|
8
|
-
| **can_publish** | **Boolean** | True only when every evaluated TikTok account can publish now | |
|
|
9
|
-
| **tiktok** | [**Array<CreatePost200ResponseTiktokInner>**](CreatePost200ResponseTiktokInner.md) | One verdict per `tiktok` entry in the request, in request order | |
|
|
5
|
+
### `openapi_one_of`
|
|
10
6
|
|
|
11
|
-
|
|
7
|
+
Returns the list of classes defined in oneOf.
|
|
8
|
+
|
|
9
|
+
#### Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'zernio-sdk'
|
|
13
|
+
|
|
14
|
+
Zernio::CreatePost200Response.openapi_one_of
|
|
15
|
+
# =>
|
|
16
|
+
# [
|
|
17
|
+
# :'PostCreateResponse',
|
|
18
|
+
# :'TikTokDryRunVerdict'
|
|
19
|
+
# ]
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
### build
|
|
23
|
+
|
|
24
|
+
Find the appropriate object from the `openapi_one_of` list and casts the data into it.
|
|
25
|
+
|
|
26
|
+
#### Example
|
|
12
27
|
|
|
13
28
|
```ruby
|
|
14
29
|
require 'zernio-sdk'
|
|
15
30
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
31
|
+
Zernio::CreatePost200Response.build(data)
|
|
32
|
+
# => #<PostCreateResponse:0x00007fdd4aab02a0>
|
|
33
|
+
|
|
34
|
+
Zernio::CreatePost200Response.build(data_that_doesnt_match)
|
|
35
|
+
# => nil
|
|
21
36
|
```
|
|
22
37
|
|
|
38
|
+
#### Parameters
|
|
39
|
+
|
|
40
|
+
| Name | Type | Description |
|
|
41
|
+
| ---- | ---- | ----------- |
|
|
42
|
+
| **data** | **Mixed** | data to be matched against the list of oneOf items |
|
|
43
|
+
|
|
44
|
+
#### Return type
|
|
45
|
+
|
|
46
|
+
- `PostCreateResponse`
|
|
47
|
+
- `TikTokDryRunVerdict`
|
|
48
|
+
- `nil` (if no type matches)
|
|
49
|
+
|
data/docs/MessagingAdsApi.md
CHANGED
|
@@ -11,7 +11,7 @@ All URIs are relative to *https://zernio.com/api*
|
|
|
11
11
|
|
|
12
12
|
## create_call_ad
|
|
13
13
|
|
|
14
|
-
> create_call_ad(create_call_ad_request)
|
|
14
|
+
> <CreateMessagingAd201Response> create_call_ad(create_call_ad_request)
|
|
15
15
|
|
|
16
16
|
Create Click-to-Call ad
|
|
17
17
|
|
|
@@ -33,7 +33,8 @@ create_call_ad_request = Zernio::CreateCallAdRequest.new({account_id: 'account_i
|
|
|
33
33
|
|
|
34
34
|
begin
|
|
35
35
|
# Create Click-to-Call ad
|
|
36
|
-
api_instance.create_call_ad(create_call_ad_request)
|
|
36
|
+
result = api_instance.create_call_ad(create_call_ad_request)
|
|
37
|
+
p result
|
|
37
38
|
rescue Zernio::ApiError => e
|
|
38
39
|
puts "Error when calling MessagingAdsApi->create_call_ad: #{e}"
|
|
39
40
|
end
|
|
@@ -41,9 +42,9 @@ end
|
|
|
41
42
|
|
|
42
43
|
#### Using the create_call_ad_with_http_info variant
|
|
43
44
|
|
|
44
|
-
This returns an Array which contains the response data
|
|
45
|
+
This returns an Array which contains the response data, status code and headers.
|
|
45
46
|
|
|
46
|
-
> <Array(
|
|
47
|
+
> <Array(<CreateMessagingAd201Response>, Integer, Hash)> create_call_ad_with_http_info(create_call_ad_request)
|
|
47
48
|
|
|
48
49
|
```ruby
|
|
49
50
|
begin
|
|
@@ -51,7 +52,7 @@ begin
|
|
|
51
52
|
data, status_code, headers = api_instance.create_call_ad_with_http_info(create_call_ad_request)
|
|
52
53
|
p status_code # => 2xx
|
|
53
54
|
p headers # => { ... }
|
|
54
|
-
p data # =>
|
|
55
|
+
p data # => <CreateMessagingAd201Response>
|
|
55
56
|
rescue Zernio::ApiError => e
|
|
56
57
|
puts "Error when calling MessagingAdsApi->create_call_ad_with_http_info: #{e}"
|
|
57
58
|
end
|
|
@@ -65,7 +66,7 @@ end
|
|
|
65
66
|
|
|
66
67
|
### Return type
|
|
67
68
|
|
|
68
|
-
|
|
69
|
+
[**CreateMessagingAd201Response**](CreateMessagingAd201Response.md)
|
|
69
70
|
|
|
70
71
|
### Authorization
|
|
71
72
|
|
|
@@ -79,7 +80,7 @@ nil (empty response body)
|
|
|
79
80
|
|
|
80
81
|
## create_ctwa_ad
|
|
81
82
|
|
|
82
|
-
> <
|
|
83
|
+
> <CreateMessagingAd201Response> create_ctwa_ad(ctwa_ad_request_body)
|
|
83
84
|
|
|
84
85
|
Create Click-to-WhatsApp ad (deprecated)
|
|
85
86
|
|
|
@@ -112,7 +113,7 @@ end
|
|
|
112
113
|
|
|
113
114
|
This returns an Array which contains the response data, status code and headers.
|
|
114
115
|
|
|
115
|
-
> <Array(<
|
|
116
|
+
> <Array(<CreateMessagingAd201Response>, Integer, Hash)> create_ctwa_ad_with_http_info(ctwa_ad_request_body)
|
|
116
117
|
|
|
117
118
|
```ruby
|
|
118
119
|
begin
|
|
@@ -120,7 +121,7 @@ begin
|
|
|
120
121
|
data, status_code, headers = api_instance.create_ctwa_ad_with_http_info(ctwa_ad_request_body)
|
|
121
122
|
p status_code # => 2xx
|
|
122
123
|
p headers # => { ... }
|
|
123
|
-
p data # => <
|
|
124
|
+
p data # => <CreateMessagingAd201Response>
|
|
124
125
|
rescue Zernio::ApiError => e
|
|
125
126
|
puts "Error when calling MessagingAdsApi->create_ctwa_ad_with_http_info: #{e}"
|
|
126
127
|
end
|
|
@@ -134,7 +135,7 @@ end
|
|
|
134
135
|
|
|
135
136
|
### Return type
|
|
136
137
|
|
|
137
|
-
[**
|
|
138
|
+
[**CreateMessagingAd201Response**](CreateMessagingAd201Response.md)
|
|
138
139
|
|
|
139
140
|
### Authorization
|
|
140
141
|
|
|
@@ -148,7 +149,7 @@ end
|
|
|
148
149
|
|
|
149
150
|
## create_messaging_ad
|
|
150
151
|
|
|
151
|
-
> create_messaging_ad(create_messaging_ad_request)
|
|
152
|
+
> <CreateMessagingAd201Response> create_messaging_ad(create_messaging_ad_request)
|
|
152
153
|
|
|
153
154
|
Create click-to-message ad (WhatsApp / Messenger / Instagram Direct)
|
|
154
155
|
|
|
@@ -170,7 +171,8 @@ create_messaging_ad_request = Zernio::CreateMessagingAdRequest.new({account_id:
|
|
|
170
171
|
|
|
171
172
|
begin
|
|
172
173
|
# Create click-to-message ad (WhatsApp / Messenger / Instagram Direct)
|
|
173
|
-
api_instance.create_messaging_ad(create_messaging_ad_request)
|
|
174
|
+
result = api_instance.create_messaging_ad(create_messaging_ad_request)
|
|
175
|
+
p result
|
|
174
176
|
rescue Zernio::ApiError => e
|
|
175
177
|
puts "Error when calling MessagingAdsApi->create_messaging_ad: #{e}"
|
|
176
178
|
end
|
|
@@ -178,9 +180,9 @@ end
|
|
|
178
180
|
|
|
179
181
|
#### Using the create_messaging_ad_with_http_info variant
|
|
180
182
|
|
|
181
|
-
This returns an Array which contains the response data
|
|
183
|
+
This returns an Array which contains the response data, status code and headers.
|
|
182
184
|
|
|
183
|
-
> <Array(
|
|
185
|
+
> <Array(<CreateMessagingAd201Response>, Integer, Hash)> create_messaging_ad_with_http_info(create_messaging_ad_request)
|
|
184
186
|
|
|
185
187
|
```ruby
|
|
186
188
|
begin
|
|
@@ -188,7 +190,7 @@ begin
|
|
|
188
190
|
data, status_code, headers = api_instance.create_messaging_ad_with_http_info(create_messaging_ad_request)
|
|
189
191
|
p status_code # => 2xx
|
|
190
192
|
p headers # => { ... }
|
|
191
|
-
p data # =>
|
|
193
|
+
p data # => <CreateMessagingAd201Response>
|
|
192
194
|
rescue Zernio::ApiError => e
|
|
193
195
|
puts "Error when calling MessagingAdsApi->create_messaging_ad_with_http_info: #{e}"
|
|
194
196
|
end
|
|
@@ -202,7 +204,7 @@ end
|
|
|
202
204
|
|
|
203
205
|
### Return type
|
|
204
206
|
|
|
205
|
-
|
|
207
|
+
[**CreateMessagingAd201Response**](CreateMessagingAd201Response.md)
|
|
206
208
|
|
|
207
209
|
### Authorization
|
|
208
210
|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Zernio::TikTokDryRunVerdict
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **dry_run** | **Boolean** | Always true on this response | |
|
|
8
|
+
| **can_publish** | **Boolean** | True only when every evaluated TikTok account can publish now | |
|
|
9
|
+
| **tiktok** | [**Array<TikTokDryRunVerdictTiktokInner>**](TikTokDryRunVerdictTiktokInner.md) | One verdict per `tiktok` entry in the request, in request order | |
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'zernio-sdk'
|
|
15
|
+
|
|
16
|
+
instance = Zernio::TikTokDryRunVerdict.new(
|
|
17
|
+
dry_run: null,
|
|
18
|
+
can_publish: null,
|
|
19
|
+
tiktok: null
|
|
20
|
+
)
|
|
21
|
+
```
|
|
22
|
+
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Zernio::
|
|
1
|
+
# Zernio::TikTokDryRunVerdictTiktokInner
|
|
2
2
|
|
|
3
3
|
## Properties
|
|
4
4
|
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
```ruby
|
|
15
15
|
require 'zernio-sdk'
|
|
16
16
|
|
|
17
|
-
instance = Zernio::
|
|
17
|
+
instance = Zernio::TikTokDryRunVerdictTiktokInner.new(
|
|
18
18
|
account_id: null,
|
|
19
19
|
can_publish: null,
|
|
20
20
|
already_posted_today: null,
|
data/docs/TrackingTagsApi.md
CHANGED
|
@@ -599,7 +599,7 @@ nil (empty response body)
|
|
|
599
599
|
|
|
600
600
|
## update_ad_tracking_tags
|
|
601
601
|
|
|
602
|
-
> update_ad_tracking_tags(ad_id, update_ad_tracking_tags_request)
|
|
602
|
+
> <UpdateAdTrackingTags200Response> update_ad_tracking_tags(ad_id, update_ad_tracking_tags_request)
|
|
603
603
|
|
|
604
604
|
Set ad tracking tags
|
|
605
605
|
|
|
@@ -622,7 +622,8 @@ update_ad_tracking_tags_request = Zernio::UpdateAdTrackingTagsRequest.new # Upda
|
|
|
622
622
|
|
|
623
623
|
begin
|
|
624
624
|
# Set ad tracking tags
|
|
625
|
-
api_instance.update_ad_tracking_tags(ad_id, update_ad_tracking_tags_request)
|
|
625
|
+
result = api_instance.update_ad_tracking_tags(ad_id, update_ad_tracking_tags_request)
|
|
626
|
+
p result
|
|
626
627
|
rescue Zernio::ApiError => e
|
|
627
628
|
puts "Error when calling TrackingTagsApi->update_ad_tracking_tags: #{e}"
|
|
628
629
|
end
|
|
@@ -630,9 +631,9 @@ end
|
|
|
630
631
|
|
|
631
632
|
#### Using the update_ad_tracking_tags_with_http_info variant
|
|
632
633
|
|
|
633
|
-
This returns an Array which contains the response data
|
|
634
|
+
This returns an Array which contains the response data, status code and headers.
|
|
634
635
|
|
|
635
|
-
> <Array(
|
|
636
|
+
> <Array(<UpdateAdTrackingTags200Response>, Integer, Hash)> update_ad_tracking_tags_with_http_info(ad_id, update_ad_tracking_tags_request)
|
|
636
637
|
|
|
637
638
|
```ruby
|
|
638
639
|
begin
|
|
@@ -640,7 +641,7 @@ begin
|
|
|
640
641
|
data, status_code, headers = api_instance.update_ad_tracking_tags_with_http_info(ad_id, update_ad_tracking_tags_request)
|
|
641
642
|
p status_code # => 2xx
|
|
642
643
|
p headers # => { ... }
|
|
643
|
-
p data # =>
|
|
644
|
+
p data # => <UpdateAdTrackingTags200Response>
|
|
644
645
|
rescue Zernio::ApiError => e
|
|
645
646
|
puts "Error when calling TrackingTagsApi->update_ad_tracking_tags_with_http_info: #{e}"
|
|
646
647
|
end
|
|
@@ -655,7 +656,7 @@ end
|
|
|
655
656
|
|
|
656
657
|
### Return type
|
|
657
658
|
|
|
658
|
-
|
|
659
|
+
[**UpdateAdTrackingTags200Response**](UpdateAdTrackingTags200Response.md)
|
|
659
660
|
|
|
660
661
|
### Authorization
|
|
661
662
|
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Zernio::UpdateAdTrackingTags200Response
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **platform** | **String** | | [optional] |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'zernio-sdk'
|
|
13
|
+
|
|
14
|
+
instance = Zernio::UpdateAdTrackingTags200Response.new(
|
|
15
|
+
platform: null
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|
|
@@ -12,6 +12,15 @@
|
|
|
12
12
|
| **phone_numbers** | [**GetGoogleBusinessLocationDetails200ResponsePhoneNumbers**](GetGoogleBusinessLocationDetails200ResponsePhoneNumbers.md) | | [optional] |
|
|
13
13
|
| **categories** | [**UpdateGoogleBusinessLocationDetailsRequestCategories**](UpdateGoogleBusinessLocationDetailsRequestCategories.md) | | [optional] |
|
|
14
14
|
| **service_items** | [**Array<UpdateGoogleBusinessLocationDetailsRequestServiceItemsInner>**](UpdateGoogleBusinessLocationDetailsRequestServiceItemsInner.md) | Services offered by the business. Use updateMask='serviceItems' to update. | [optional] |
|
|
15
|
+
| **title** | **String** | Business name. Use updateMask='title'. | [optional] |
|
|
16
|
+
| **store_code** | **String** | External store identifier, unique within the account. Use updateMask='storeCode'. | [optional] |
|
|
17
|
+
| **labels** | **Array<String>** | Free-form, internal-only labels for grouping (1-255 characters each). Use updateMask='labels'. | [optional] |
|
|
18
|
+
| **storefront_address** | [**UpdateGoogleBusinessLocationDetailsRequestStorefrontAddress**](UpdateGoogleBusinessLocationDetailsRequestStorefrontAddress.md) | | [optional] |
|
|
19
|
+
| **service_area** | [**UpdateGoogleBusinessLocationDetailsRequestServiceArea**](UpdateGoogleBusinessLocationDetailsRequestServiceArea.md) | | [optional] |
|
|
20
|
+
| **open_info** | [**UpdateGoogleBusinessLocationDetailsRequestOpenInfo**](UpdateGoogleBusinessLocationDetailsRequestOpenInfo.md) | | [optional] |
|
|
21
|
+
| **more_hours** | [**Array<UpdateGoogleBusinessLocationDetailsRequestMoreHoursInner>**](UpdateGoogleBusinessLocationDetailsRequestMoreHoursInner.md) | Additional hours for specific services (delivery, drive-through, etc.). Use updateMask='moreHours'. | [optional] |
|
|
22
|
+
| **latlng** | [**UpdateGoogleBusinessLocationDetailsRequestLatlng**](UpdateGoogleBusinessLocationDetailsRequestLatlng.md) | | [optional] |
|
|
23
|
+
| **ad_words_location_extensions** | [**UpdateGoogleBusinessLocationDetailsRequestAdWordsLocationExtensions**](UpdateGoogleBusinessLocationDetailsRequestAdWordsLocationExtensions.md) | | [optional] |
|
|
15
24
|
|
|
16
25
|
## Example
|
|
17
26
|
|
|
@@ -26,7 +35,16 @@ instance = Zernio::UpdateGoogleBusinessLocationDetailsRequest.new(
|
|
|
26
35
|
website_uri: null,
|
|
27
36
|
phone_numbers: null,
|
|
28
37
|
categories: null,
|
|
29
|
-
service_items: null
|
|
38
|
+
service_items: null,
|
|
39
|
+
title: null,
|
|
40
|
+
store_code: null,
|
|
41
|
+
labels: null,
|
|
42
|
+
storefront_address: null,
|
|
43
|
+
service_area: null,
|
|
44
|
+
open_info: null,
|
|
45
|
+
more_hours: null,
|
|
46
|
+
latlng: null,
|
|
47
|
+
ad_words_location_extensions: null
|
|
30
48
|
)
|
|
31
49
|
```
|
|
32
50
|
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Zernio::UpdateGoogleBusinessLocationDetailsRequestAdWordsLocationExtensions
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **ad_phone** | **String** | | [optional] |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'zernio-sdk'
|
|
13
|
+
|
|
14
|
+
instance = Zernio::UpdateGoogleBusinessLocationDetailsRequestAdWordsLocationExtensions.new(
|
|
15
|
+
ad_phone: null
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Zernio::UpdateGoogleBusinessLocationDetailsRequestLatlng
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **latitude** | **Float** | | [optional] |
|
|
8
|
+
| **longitude** | **Float** | | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'zernio-sdk'
|
|
14
|
+
|
|
15
|
+
instance = Zernio::UpdateGoogleBusinessLocationDetailsRequestLatlng.new(
|
|
16
|
+
latitude: null,
|
|
17
|
+
longitude: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Zernio::UpdateGoogleBusinessLocationDetailsRequestMoreHoursInner
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **hours_type_id** | **String** | Hours type from Google's catalog (e.g. 'DELIVERY', 'DRIVE_THROUGH') | [optional] |
|
|
8
|
+
| **periods** | [**Array<UpdateGoogleBusinessLocationDetailsRequestRegularHoursPeriodsInner>**](UpdateGoogleBusinessLocationDetailsRequestRegularHoursPeriodsInner.md) | | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'zernio-sdk'
|
|
14
|
+
|
|
15
|
+
instance = Zernio::UpdateGoogleBusinessLocationDetailsRequestMoreHoursInner.new(
|
|
16
|
+
hours_type_id: null,
|
|
17
|
+
periods: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Zernio::UpdateGoogleBusinessLocationDetailsRequestOpenInfo
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **status** | **String** | | [optional] |
|
|
8
|
+
| **opening_date** | [**GbpSpecialHourPeriodStartDate**](GbpSpecialHourPeriodStartDate.md) | | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'zernio-sdk'
|
|
14
|
+
|
|
15
|
+
instance = Zernio::UpdateGoogleBusinessLocationDetailsRequestOpenInfo.new(
|
|
16
|
+
status: null,
|
|
17
|
+
opening_date: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Zernio::UpdateGoogleBusinessLocationDetailsRequestServiceArea
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **business_type** | **String** | | [optional] |
|
|
8
|
+
| **places** | [**UpdateGoogleBusinessLocationDetailsRequestServiceAreaPlaces**](UpdateGoogleBusinessLocationDetailsRequestServiceAreaPlaces.md) | | [optional] |
|
|
9
|
+
| **region_code** | **String** | Immutable. CLDR region code of the country the business is based in (e.g. 'BR') | [optional] |
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'zernio-sdk'
|
|
15
|
+
|
|
16
|
+
instance = Zernio::UpdateGoogleBusinessLocationDetailsRequestServiceArea.new(
|
|
17
|
+
business_type: null,
|
|
18
|
+
places: null,
|
|
19
|
+
region_code: null
|
|
20
|
+
)
|
|
21
|
+
```
|
|
22
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Zernio::UpdateGoogleBusinessLocationDetailsRequestServiceAreaPlaces
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **place_infos** | [**Array<UpdateGoogleBusinessLocationDetailsRequestServiceAreaPlacesPlaceInfosInner>**](UpdateGoogleBusinessLocationDetailsRequestServiceAreaPlacesPlaceInfosInner.md) | | [optional] |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'zernio-sdk'
|
|
13
|
+
|
|
14
|
+
instance = Zernio::UpdateGoogleBusinessLocationDetailsRequestServiceAreaPlaces.new(
|
|
15
|
+
place_infos: null
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Zernio::UpdateGoogleBusinessLocationDetailsRequestServiceAreaPlacesPlaceInfosInner
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **place_name** | **String** | Localized area name (e.g. 'Sao Paulo, SP, Brasil') | [optional] |
|
|
8
|
+
| **place_id** | **String** | Google Place ID for the area | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'zernio-sdk'
|
|
14
|
+
|
|
15
|
+
instance = Zernio::UpdateGoogleBusinessLocationDetailsRequestServiceAreaPlacesPlaceInfosInner.new(
|
|
16
|
+
place_name: null,
|
|
17
|
+
place_id: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Zernio::UpdateGoogleBusinessLocationDetailsRequestStorefrontAddress
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **region_code** | **String** | ISO 3166-1 alpha-2 country code (e.g. 'BR') | [optional] |
|
|
8
|
+
| **language_code** | **String** | | [optional] |
|
|
9
|
+
| **postal_code** | **String** | | [optional] |
|
|
10
|
+
| **administrative_area** | **String** | State or province | [optional] |
|
|
11
|
+
| **locality** | **String** | City | [optional] |
|
|
12
|
+
| **address_lines** | **Array<String>** | | [optional] |
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```ruby
|
|
17
|
+
require 'zernio-sdk'
|
|
18
|
+
|
|
19
|
+
instance = Zernio::UpdateGoogleBusinessLocationDetailsRequestStorefrontAddress.new(
|
|
20
|
+
region_code: null,
|
|
21
|
+
language_code: null,
|
|
22
|
+
postal_code: null,
|
|
23
|
+
administrative_area: null,
|
|
24
|
+
locality: null,
|
|
25
|
+
address_lines: null
|
|
26
|
+
)
|
|
27
|
+
```
|
|
28
|
+
|