late-sdk 0.0.109 → 0.0.111
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 +47 -0
- data/docs/AnalyticsApi.md +232 -0
- data/docs/CreateWhatsAppFlow200Response.md +20 -0
- data/docs/CreateWhatsAppFlow200ResponseFlow.md +24 -0
- data/docs/CreateWhatsAppFlowRequest.md +24 -0
- data/docs/GetGoogleBusinessPerformance200Response.md +28 -0
- data/docs/GetGoogleBusinessPerformance200ResponseDateRange.md +20 -0
- data/docs/GetGoogleBusinessPerformance200ResponseMetricsValue.md +20 -0
- data/docs/GetGoogleBusinessPerformance200ResponseMetricsValueValuesInner.md +20 -0
- data/docs/GetGoogleBusinessPerformance400Response.md +20 -0
- data/docs/GetGoogleBusinessSearchKeywords200Response.md +28 -0
- data/docs/GetGoogleBusinessSearchKeywords200ResponseKeywordsInner.md +20 -0
- data/docs/GetGoogleBusinessSearchKeywords200ResponseMonthRange.md +20 -0
- data/docs/GetGoogleBusinessSearchKeywords400Response.md +18 -0
- data/docs/GetWhatsAppFlow200Response.md +20 -0
- data/docs/GetWhatsAppFlow200ResponseFlow.md +30 -0
- data/docs/GetWhatsAppFlow200ResponseFlowPreview.md +20 -0
- data/docs/GetWhatsAppFlowJson200Response.md +20 -0
- data/docs/GetWhatsAppFlowJson200ResponseAssetsInner.md +22 -0
- data/docs/GetYouTubeDemographics412Response.md +24 -0
- data/docs/GetYouTubeDemographics412ResponseScopeStatus.md +22 -0
- data/docs/ListWhatsAppFlows200Response.md +20 -0
- data/docs/ListWhatsAppFlows200ResponseFlowsInner.md +26 -0
- data/docs/PublishWhatsAppFlowRequest.md +18 -0
- data/docs/SendWhatsAppFlowMessage200Response.md +20 -0
- data/docs/SendWhatsAppFlowMessageRequest.md +38 -0
- data/docs/SendWhatsAppFlowMessageRequestFlowActionPayload.md +20 -0
- data/docs/SendWhatsAppFlowMessageRequestHeader.md +20 -0
- data/docs/UpdateWhatsAppFlowRequest.md +22 -0
- data/docs/UploadWhatsAppFlowJson200Response.md +20 -0
- data/docs/UploadWhatsAppFlowJson200ResponseValidationErrorsInner.md +30 -0
- data/docs/UploadWhatsAppFlowJsonRequest.md +20 -0
- data/docs/UploadWhatsAppFlowJsonRequestFlowJson.md +49 -0
- data/docs/WhatsAppFlowsApi.md +725 -0
- data/docs/YouTubeDemographicsResponse.md +28 -0
- data/docs/YouTubeDemographicsResponseDateRange.md +20 -0
- data/docs/YouTubeDemographicsResponseDemographicsValueInner.md +20 -0
- data/lib/late-sdk/api/analytics_api.rb +226 -0
- data/lib/late-sdk/api/whats_app_flows_api.rb +731 -0
- data/lib/late-sdk/models/create_whats_app_flow200_response.rb +156 -0
- data/lib/late-sdk/models/create_whats_app_flow200_response_flow.rb +176 -0
- data/lib/late-sdk/models/create_whats_app_flow_request.rb +257 -0
- data/lib/late-sdk/models/get_google_business_performance200_response.rb +195 -0
- data/lib/late-sdk/models/get_google_business_performance200_response_date_range.rb +156 -0
- data/lib/late-sdk/models/get_google_business_performance200_response_metrics_value.rb +159 -0
- data/lib/late-sdk/models/get_google_business_performance200_response_metrics_value_values_inner.rb +156 -0
- data/lib/late-sdk/models/get_google_business_performance400_response.rb +158 -0
- data/lib/late-sdk/models/get_google_business_search_keywords200_response.rb +194 -0
- data/lib/late-sdk/models/get_google_business_search_keywords200_response_keywords_inner.rb +156 -0
- data/lib/late-sdk/models/get_google_business_search_keywords200_response_month_range.rb +156 -0
- data/lib/late-sdk/models/get_google_business_search_keywords400_response.rb +147 -0
- data/lib/late-sdk/models/get_whats_app_flow200_response.rb +156 -0
- data/lib/late-sdk/models/get_whats_app_flow200_response_flow.rb +205 -0
- data/lib/late-sdk/models/get_whats_app_flow200_response_flow_preview.rb +156 -0
- data/lib/late-sdk/models/get_whats_app_flow_json200_response.rb +158 -0
- data/lib/late-sdk/models/get_whats_app_flow_json200_response_assets_inner.rb +166 -0
- data/lib/late-sdk/models/get_you_tube_demographics412_response.rb +174 -0
- data/lib/late-sdk/models/get_you_tube_demographics412_response_scope_status.rb +165 -0
- data/lib/late-sdk/models/list_whats_app_flows200_response.rb +158 -0
- data/lib/late-sdk/models/list_whats_app_flows200_response_flows_inner.rb +221 -0
- data/lib/late-sdk/models/publish_whats_app_flow_request.rb +165 -0
- data/lib/late-sdk/models/send_whats_app_flow_message200_response.rb +157 -0
- data/lib/late-sdk/models/send_whats_app_flow_message_request.rb +395 -0
- data/lib/late-sdk/models/send_whats_app_flow_message_request_flow_action_payload.rb +158 -0
- data/lib/late-sdk/models/send_whats_app_flow_message_request_header.rb +190 -0
- data/lib/late-sdk/models/update_whats_app_flow_request.rb +232 -0
- data/lib/late-sdk/models/upload_whats_app_flow_json200_response.rb +159 -0
- data/lib/late-sdk/models/upload_whats_app_flow_json200_response_validation_errors_inner.rb +201 -0
- data/lib/late-sdk/models/upload_whats_app_flow_json_request.rb +191 -0
- data/lib/late-sdk/models/upload_whats_app_flow_json_request_flow_json.rb +105 -0
- data/lib/late-sdk/models/you_tube_demographics_response.rb +196 -0
- data/lib/late-sdk/models/you_tube_demographics_response_date_range.rb +156 -0
- data/lib/late-sdk/models/you_tube_demographics_response_demographics_value_inner.rb +158 -0
- data/lib/late-sdk/version.rb +1 -1
- data/lib/late-sdk.rb +35 -0
- data/openapi.yaml +831 -0
- data/spec/api/analytics_api_spec.rb +44 -0
- data/spec/api/whats_app_flows_api_spec.rb +163 -0
- data/spec/models/create_whats_app_flow200_response_flow_spec.rb +54 -0
- data/spec/models/create_whats_app_flow200_response_spec.rb +42 -0
- data/spec/models/create_whats_app_flow_request_spec.rb +58 -0
- data/spec/models/get_google_business_performance200_response_date_range_spec.rb +42 -0
- data/spec/models/get_google_business_performance200_response_metrics_value_spec.rb +42 -0
- data/spec/models/get_google_business_performance200_response_metrics_value_values_inner_spec.rb +42 -0
- data/spec/models/get_google_business_performance200_response_spec.rb +66 -0
- data/spec/models/get_google_business_performance400_response_spec.rb +42 -0
- data/spec/models/get_google_business_search_keywords200_response_keywords_inner_spec.rb +42 -0
- data/spec/models/get_google_business_search_keywords200_response_month_range_spec.rb +42 -0
- data/spec/models/get_google_business_search_keywords200_response_spec.rb +66 -0
- data/spec/models/get_google_business_search_keywords400_response_spec.rb +36 -0
- data/spec/models/get_whats_app_flow200_response_flow_preview_spec.rb +42 -0
- data/spec/models/get_whats_app_flow200_response_flow_spec.rb +72 -0
- data/spec/models/get_whats_app_flow200_response_spec.rb +42 -0
- data/spec/models/get_whats_app_flow_json200_response_assets_inner_spec.rb +48 -0
- data/spec/models/get_whats_app_flow_json200_response_spec.rb +42 -0
- data/spec/models/get_you_tube_demographics412_response_scope_status_spec.rb +48 -0
- data/spec/models/get_you_tube_demographics412_response_spec.rb +54 -0
- data/spec/models/list_whats_app_flows200_response_flows_inner_spec.rb +64 -0
- data/spec/models/list_whats_app_flows200_response_spec.rb +42 -0
- data/spec/models/publish_whats_app_flow_request_spec.rb +36 -0
- data/spec/models/send_whats_app_flow_message200_response_spec.rb +42 -0
- data/spec/models/send_whats_app_flow_message_request_flow_action_payload_spec.rb +42 -0
- data/spec/models/send_whats_app_flow_message_request_header_spec.rb +46 -0
- data/spec/models/send_whats_app_flow_message_request_spec.rb +100 -0
- data/spec/models/update_whats_app_flow_request_spec.rb +52 -0
- data/spec/models/upload_whats_app_flow_json200_response_spec.rb +42 -0
- data/spec/models/upload_whats_app_flow_json200_response_validation_errors_inner_spec.rb +72 -0
- data/spec/models/upload_whats_app_flow_json_request_flow_json_spec.rb +32 -0
- data/spec/models/upload_whats_app_flow_json_request_spec.rb +42 -0
- data/spec/models/you_tube_demographics_response_date_range_spec.rb +42 -0
- data/spec/models/you_tube_demographics_response_demographics_value_inner_spec.rb +42 -0
- data/spec/models/you_tube_demographics_response_spec.rb +66 -0
- data/zernio-sdk-0.0.111.gem +0 -0
- metadata +143 -3
- data/zernio-sdk-0.0.109.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: aee9ed8e893fedf45e4eadfc12f3faac5f9443b06da905cbc2089efab69a2273
|
|
4
|
+
data.tar.gz: eac0f429572b338933b0273bd2078f4bbad6f64f9ee6cc85ebdcf999bd04118f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 96a637bedcbbaff8909484fbc0c0b490ac774b61904809291ec667c3c0ed6245376e5feea3e011cb49de89e45feb55ce9bafddd8ad549e2abe552f8d3f951c23
|
|
7
|
+
data.tar.gz: 9660e5d02afd22ef9ddbac955f32a3672045d74303b05f3bca6674867f7c8ad8a16c0559dfed00ac9562d2515fcdb0df97e91b9ae4ddbe5ce9f6744e59da2ce0
|
data/README.md
CHANGED
|
@@ -110,6 +110,8 @@ Class | Method | HTTP request | Description
|
|
|
110
110
|
*Late::AnalyticsApi* | [**get_content_decay**](docs/AnalyticsApi.md#get_content_decay) | **GET** /v1/analytics/content-decay | Get content performance decay
|
|
111
111
|
*Late::AnalyticsApi* | [**get_daily_metrics**](docs/AnalyticsApi.md#get_daily_metrics) | **GET** /v1/analytics/daily-metrics | Get daily aggregated metrics
|
|
112
112
|
*Late::AnalyticsApi* | [**get_follower_stats**](docs/AnalyticsApi.md#get_follower_stats) | **GET** /v1/accounts/follower-stats | Get follower stats
|
|
113
|
+
*Late::AnalyticsApi* | [**get_google_business_performance**](docs/AnalyticsApi.md#get_google_business_performance) | **GET** /v1/analytics/googlebusiness/performance | Get Google Business Profile performance metrics
|
|
114
|
+
*Late::AnalyticsApi* | [**get_google_business_search_keywords**](docs/AnalyticsApi.md#get_google_business_search_keywords) | **GET** /v1/analytics/googlebusiness/search-keywords | Get Google Business Profile search keywords
|
|
113
115
|
*Late::AnalyticsApi* | [**get_instagram_account_insights**](docs/AnalyticsApi.md#get_instagram_account_insights) | **GET** /v1/analytics/instagram/account-insights | Get Instagram account-level insights
|
|
114
116
|
*Late::AnalyticsApi* | [**get_instagram_demographics**](docs/AnalyticsApi.md#get_instagram_demographics) | **GET** /v1/analytics/instagram/demographics | Get Instagram audience demographics
|
|
115
117
|
*Late::AnalyticsApi* | [**get_linked_in_aggregate_analytics**](docs/AnalyticsApi.md#get_linked_in_aggregate_analytics) | **GET** /v1/accounts/{accountId}/linkedin-aggregate-analytics | Get LinkedIn aggregate stats
|
|
@@ -118,6 +120,7 @@ Class | Method | HTTP request | Description
|
|
|
118
120
|
*Late::AnalyticsApi* | [**get_post_timeline**](docs/AnalyticsApi.md#get_post_timeline) | **GET** /v1/analytics/post-timeline | Get post analytics timeline
|
|
119
121
|
*Late::AnalyticsApi* | [**get_posting_frequency**](docs/AnalyticsApi.md#get_posting_frequency) | **GET** /v1/analytics/posting-frequency | Get posting frequency vs engagement
|
|
120
122
|
*Late::AnalyticsApi* | [**get_you_tube_daily_views**](docs/AnalyticsApi.md#get_you_tube_daily_views) | **GET** /v1/analytics/youtube/daily-views | Get YouTube daily views
|
|
123
|
+
*Late::AnalyticsApi* | [**get_you_tube_demographics**](docs/AnalyticsApi.md#get_you_tube_demographics) | **GET** /v1/analytics/youtube/demographics | Get YouTube audience demographics
|
|
121
124
|
*Late::BroadcastsApi* | [**add_broadcast_recipients**](docs/BroadcastsApi.md#add_broadcast_recipients) | **POST** /v1/broadcasts/{broadcastId}/recipients | Add recipients to a broadcast
|
|
122
125
|
*Late::BroadcastsApi* | [**cancel_broadcast**](docs/BroadcastsApi.md#cancel_broadcast) | **POST** /v1/broadcasts/{broadcastId}/cancel | Cancel a broadcast
|
|
123
126
|
*Late::BroadcastsApi* | [**create_broadcast**](docs/BroadcastsApi.md#create_broadcast) | **POST** /v1/broadcasts | Create a broadcast draft
|
|
@@ -314,6 +317,16 @@ Class | Method | HTTP request | Description
|
|
|
314
317
|
*Late::WhatsAppApi* | [**update_whats_app_group_chat**](docs/WhatsAppApi.md#update_whats_app_group_chat) | **POST** /v1/whatsapp/wa-groups/{groupId} | Update group settings
|
|
315
318
|
*Late::WhatsAppApi* | [**update_whats_app_template**](docs/WhatsAppApi.md#update_whats_app_template) | **PATCH** /v1/whatsapp/templates/{templateName} | Update template
|
|
316
319
|
*Late::WhatsAppApi* | [**upload_whats_app_profile_photo**](docs/WhatsAppApi.md#upload_whats_app_profile_photo) | **POST** /v1/whatsapp/business-profile/photo | Upload profile picture
|
|
320
|
+
*Late::WhatsAppFlowsApi* | [**create_whats_app_flow**](docs/WhatsAppFlowsApi.md#create_whats_app_flow) | **POST** /v1/whatsapp/flows | Create flow
|
|
321
|
+
*Late::WhatsAppFlowsApi* | [**delete_whats_app_flow**](docs/WhatsAppFlowsApi.md#delete_whats_app_flow) | **DELETE** /v1/whatsapp/flows/{flowId} | Delete flow
|
|
322
|
+
*Late::WhatsAppFlowsApi* | [**deprecate_whats_app_flow**](docs/WhatsAppFlowsApi.md#deprecate_whats_app_flow) | **POST** /v1/whatsapp/flows/{flowId}/deprecate | Deprecate flow
|
|
323
|
+
*Late::WhatsAppFlowsApi* | [**get_whats_app_flow**](docs/WhatsAppFlowsApi.md#get_whats_app_flow) | **GET** /v1/whatsapp/flows/{flowId} | Get flow
|
|
324
|
+
*Late::WhatsAppFlowsApi* | [**get_whats_app_flow_json**](docs/WhatsAppFlowsApi.md#get_whats_app_flow_json) | **GET** /v1/whatsapp/flows/{flowId}/json | Get flow JSON asset
|
|
325
|
+
*Late::WhatsAppFlowsApi* | [**list_whats_app_flows**](docs/WhatsAppFlowsApi.md#list_whats_app_flows) | **GET** /v1/whatsapp/flows | List flows
|
|
326
|
+
*Late::WhatsAppFlowsApi* | [**publish_whats_app_flow**](docs/WhatsAppFlowsApi.md#publish_whats_app_flow) | **POST** /v1/whatsapp/flows/{flowId}/publish | Publish flow
|
|
327
|
+
*Late::WhatsAppFlowsApi* | [**send_whats_app_flow_message**](docs/WhatsAppFlowsApi.md#send_whats_app_flow_message) | **POST** /v1/whatsapp/flows/send | Send flow message
|
|
328
|
+
*Late::WhatsAppFlowsApi* | [**update_whats_app_flow**](docs/WhatsAppFlowsApi.md#update_whats_app_flow) | **PATCH** /v1/whatsapp/flows/{flowId} | Update flow
|
|
329
|
+
*Late::WhatsAppFlowsApi* | [**upload_whats_app_flow_json**](docs/WhatsAppFlowsApi.md#upload_whats_app_flow_json) | **PUT** /v1/whatsapp/flows/{flowId}/json | Upload flow JSON
|
|
317
330
|
*Late::WhatsAppPhoneNumbersApi* | [**get_whats_app_phone_number**](docs/WhatsAppPhoneNumbersApi.md#get_whats_app_phone_number) | **GET** /v1/whatsapp/phone-numbers/{phoneNumberId} | Get phone number
|
|
318
331
|
*Late::WhatsAppPhoneNumbersApi* | [**get_whats_app_phone_numbers**](docs/WhatsAppPhoneNumbersApi.md#get_whats_app_phone_numbers) | **GET** /v1/whatsapp/phone-numbers | List phone numbers
|
|
319
332
|
*Late::WhatsAppPhoneNumbersApi* | [**purchase_whats_app_phone_number**](docs/WhatsAppPhoneNumbersApi.md#purchase_whats_app_phone_number) | **POST** /v1/whatsapp/phone-numbers/purchase | Purchase phone number
|
|
@@ -442,6 +455,9 @@ Class | Method | HTTP request | Description
|
|
|
442
455
|
- [Late::CreateWhatsAppContact200Response](docs/CreateWhatsAppContact200Response.md)
|
|
443
456
|
- [Late::CreateWhatsAppContact200ResponseContact](docs/CreateWhatsAppContact200ResponseContact.md)
|
|
444
457
|
- [Late::CreateWhatsAppContactRequest](docs/CreateWhatsAppContactRequest.md)
|
|
458
|
+
- [Late::CreateWhatsAppFlow200Response](docs/CreateWhatsAppFlow200Response.md)
|
|
459
|
+
- [Late::CreateWhatsAppFlow200ResponseFlow](docs/CreateWhatsAppFlow200ResponseFlow.md)
|
|
460
|
+
- [Late::CreateWhatsAppFlowRequest](docs/CreateWhatsAppFlowRequest.md)
|
|
445
461
|
- [Late::CreateWhatsAppGroupChat201Response](docs/CreateWhatsAppGroupChat201Response.md)
|
|
446
462
|
- [Late::CreateWhatsAppGroupChat201ResponseGroup](docs/CreateWhatsAppGroupChat201ResponseGroup.md)
|
|
447
463
|
- [Late::CreateWhatsAppGroupChatRequest](docs/CreateWhatsAppGroupChatRequest.md)
|
|
@@ -545,10 +561,19 @@ Class | Method | HTTP request | Description
|
|
|
545
561
|
- [Late::GetGoogleBusinessLocationDetails200ResponseServiceItemsInnerPrice](docs/GetGoogleBusinessLocationDetails200ResponseServiceItemsInnerPrice.md)
|
|
546
562
|
- [Late::GetGoogleBusinessLocationDetails200ResponseServiceItemsInnerStructuredServiceItem](docs/GetGoogleBusinessLocationDetails200ResponseServiceItemsInnerStructuredServiceItem.md)
|
|
547
563
|
- [Late::GetGoogleBusinessLocationDetails200ResponseSpecialHours](docs/GetGoogleBusinessLocationDetails200ResponseSpecialHours.md)
|
|
564
|
+
- [Late::GetGoogleBusinessPerformance200Response](docs/GetGoogleBusinessPerformance200Response.md)
|
|
565
|
+
- [Late::GetGoogleBusinessPerformance200ResponseDateRange](docs/GetGoogleBusinessPerformance200ResponseDateRange.md)
|
|
566
|
+
- [Late::GetGoogleBusinessPerformance200ResponseMetricsValue](docs/GetGoogleBusinessPerformance200ResponseMetricsValue.md)
|
|
567
|
+
- [Late::GetGoogleBusinessPerformance200ResponseMetricsValueValuesInner](docs/GetGoogleBusinessPerformance200ResponseMetricsValueValuesInner.md)
|
|
568
|
+
- [Late::GetGoogleBusinessPerformance400Response](docs/GetGoogleBusinessPerformance400Response.md)
|
|
548
569
|
- [Late::GetGoogleBusinessReviews200Response](docs/GetGoogleBusinessReviews200Response.md)
|
|
549
570
|
- [Late::GetGoogleBusinessReviews200ResponseReviewsInner](docs/GetGoogleBusinessReviews200ResponseReviewsInner.md)
|
|
550
571
|
- [Late::GetGoogleBusinessReviews200ResponseReviewsInnerReviewReply](docs/GetGoogleBusinessReviews200ResponseReviewsInnerReviewReply.md)
|
|
551
572
|
- [Late::GetGoogleBusinessReviews200ResponseReviewsInnerReviewer](docs/GetGoogleBusinessReviews200ResponseReviewsInnerReviewer.md)
|
|
573
|
+
- [Late::GetGoogleBusinessSearchKeywords200Response](docs/GetGoogleBusinessSearchKeywords200Response.md)
|
|
574
|
+
- [Late::GetGoogleBusinessSearchKeywords200ResponseKeywordsInner](docs/GetGoogleBusinessSearchKeywords200ResponseKeywordsInner.md)
|
|
575
|
+
- [Late::GetGoogleBusinessSearchKeywords200ResponseMonthRange](docs/GetGoogleBusinessSearchKeywords200ResponseMonthRange.md)
|
|
576
|
+
- [Late::GetGoogleBusinessSearchKeywords400Response](docs/GetGoogleBusinessSearchKeywords400Response.md)
|
|
552
577
|
- [Late::GetInboxConversation200Response](docs/GetInboxConversation200Response.md)
|
|
553
578
|
- [Late::GetInboxConversation200ResponseData](docs/GetInboxConversation200ResponseData.md)
|
|
554
579
|
- [Late::GetInboxConversationMessages200Response](docs/GetInboxConversationMessages200Response.md)
|
|
@@ -632,6 +657,11 @@ Class | Method | HTTP request | Description
|
|
|
632
657
|
- [Late::GetWhatsAppContacts200ResponsePagination](docs/GetWhatsAppContacts200ResponsePagination.md)
|
|
633
658
|
- [Late::GetWhatsAppDisplayName200Response](docs/GetWhatsAppDisplayName200Response.md)
|
|
634
659
|
- [Late::GetWhatsAppDisplayName200ResponseDisplayName](docs/GetWhatsAppDisplayName200ResponseDisplayName.md)
|
|
660
|
+
- [Late::GetWhatsAppFlow200Response](docs/GetWhatsAppFlow200Response.md)
|
|
661
|
+
- [Late::GetWhatsAppFlow200ResponseFlow](docs/GetWhatsAppFlow200ResponseFlow.md)
|
|
662
|
+
- [Late::GetWhatsAppFlow200ResponseFlowPreview](docs/GetWhatsAppFlow200ResponseFlowPreview.md)
|
|
663
|
+
- [Late::GetWhatsAppFlowJson200Response](docs/GetWhatsAppFlowJson200Response.md)
|
|
664
|
+
- [Late::GetWhatsAppFlowJson200ResponseAssetsInner](docs/GetWhatsAppFlowJson200ResponseAssetsInner.md)
|
|
635
665
|
- [Late::GetWhatsAppGroupChat200Response](docs/GetWhatsAppGroupChat200Response.md)
|
|
636
666
|
- [Late::GetWhatsAppGroupChat200ResponseGroup](docs/GetWhatsAppGroupChat200ResponseGroup.md)
|
|
637
667
|
- [Late::GetWhatsAppGroupChat200ResponseGroupParticipantsInner](docs/GetWhatsAppGroupChat200ResponseGroupParticipantsInner.md)
|
|
@@ -649,6 +679,8 @@ Class | Method | HTTP request | Description
|
|
|
649
679
|
- [Late::GetYouTubeDailyViews400Response](docs/GetYouTubeDailyViews400Response.md)
|
|
650
680
|
- [Late::GetYouTubeDailyViews403Response](docs/GetYouTubeDailyViews403Response.md)
|
|
651
681
|
- [Late::GetYouTubeDailyViews500Response](docs/GetYouTubeDailyViews500Response.md)
|
|
682
|
+
- [Late::GetYouTubeDemographics412Response](docs/GetYouTubeDemographics412Response.md)
|
|
683
|
+
- [Late::GetYouTubeDemographics412ResponseScopeStatus](docs/GetYouTubeDemographics412ResponseScopeStatus.md)
|
|
652
684
|
- [Late::GetYoutubePlaylists200Response](docs/GetYoutubePlaylists200Response.md)
|
|
653
685
|
- [Late::GetYoutubePlaylists200ResponsePlaylistsInner](docs/GetYoutubePlaylists200ResponsePlaylistsInner.md)
|
|
654
686
|
- [Late::GoogleBusinessPlatformData](docs/GoogleBusinessPlatformData.md)
|
|
@@ -748,6 +780,8 @@ Class | Method | HTTP request | Description
|
|
|
748
780
|
- [Late::ListSnapchatProfiles200ResponsePublicProfilesInner](docs/ListSnapchatProfiles200ResponsePublicProfilesInner.md)
|
|
749
781
|
- [Late::ListUsers200Response](docs/ListUsers200Response.md)
|
|
750
782
|
- [Late::ListUsers200ResponseUsersInner](docs/ListUsers200ResponseUsersInner.md)
|
|
783
|
+
- [Late::ListWhatsAppFlows200Response](docs/ListWhatsAppFlows200Response.md)
|
|
784
|
+
- [Late::ListWhatsAppFlows200ResponseFlowsInner](docs/ListWhatsAppFlows200ResponseFlowsInner.md)
|
|
751
785
|
- [Late::ListWhatsAppGroupChats200Response](docs/ListWhatsAppGroupChats200Response.md)
|
|
752
786
|
- [Late::ListWhatsAppGroupChats200ResponseGroupsInner](docs/ListWhatsAppGroupChats200ResponseGroupsInner.md)
|
|
753
787
|
- [Late::ListWhatsAppGroupChats200ResponsePaging](docs/ListWhatsAppGroupChats200ResponsePaging.md)
|
|
@@ -785,6 +819,7 @@ Class | Method | HTTP request | Description
|
|
|
785
819
|
- [Late::ProfileGetResponse](docs/ProfileGetResponse.md)
|
|
786
820
|
- [Late::ProfileUpdateResponse](docs/ProfileUpdateResponse.md)
|
|
787
821
|
- [Late::ProfilesListResponse](docs/ProfilesListResponse.md)
|
|
822
|
+
- [Late::PublishWhatsAppFlowRequest](docs/PublishWhatsAppFlowRequest.md)
|
|
788
823
|
- [Late::PurchaseWhatsAppPhoneNumber200Response](docs/PurchaseWhatsAppPhoneNumber200Response.md)
|
|
789
824
|
- [Late::PurchaseWhatsAppPhoneNumber200ResponseOneOf](docs/PurchaseWhatsAppPhoneNumber200ResponseOneOf.md)
|
|
790
825
|
- [Late::PurchaseWhatsAppPhoneNumber200ResponseOneOf1](docs/PurchaseWhatsAppPhoneNumber200ResponseOneOf1.md)
|
|
@@ -868,6 +903,10 @@ Class | Method | HTTP request | Description
|
|
|
868
903
|
- [Late::SendWhatsAppBulkRequest](docs/SendWhatsAppBulkRequest.md)
|
|
869
904
|
- [Late::SendWhatsAppBulkRequestRecipientsInner](docs/SendWhatsAppBulkRequestRecipientsInner.md)
|
|
870
905
|
- [Late::SendWhatsAppBulkRequestTemplate](docs/SendWhatsAppBulkRequestTemplate.md)
|
|
906
|
+
- [Late::SendWhatsAppFlowMessage200Response](docs/SendWhatsAppFlowMessage200Response.md)
|
|
907
|
+
- [Late::SendWhatsAppFlowMessageRequest](docs/SendWhatsAppFlowMessageRequest.md)
|
|
908
|
+
- [Late::SendWhatsAppFlowMessageRequestFlowActionPayload](docs/SendWhatsAppFlowMessageRequestFlowActionPayload.md)
|
|
909
|
+
- [Late::SendWhatsAppFlowMessageRequestHeader](docs/SendWhatsAppFlowMessageRequestHeader.md)
|
|
871
910
|
- [Late::SetContactFieldValueRequest](docs/SetContactFieldValueRequest.md)
|
|
872
911
|
- [Late::SetInstagramIceBreakersRequest](docs/SetInstagramIceBreakersRequest.md)
|
|
873
912
|
- [Late::SetInstagramIceBreakersRequestIceBreakersInner](docs/SetInstagramIceBreakersRequestIceBreakersInner.md)
|
|
@@ -957,6 +996,7 @@ Class | Method | HTTP request | Description
|
|
|
957
996
|
- [Late::UpdateWhatsAppDisplayName200Response](docs/UpdateWhatsAppDisplayName200Response.md)
|
|
958
997
|
- [Late::UpdateWhatsAppDisplayName200ResponseDisplayName](docs/UpdateWhatsAppDisplayName200ResponseDisplayName.md)
|
|
959
998
|
- [Late::UpdateWhatsAppDisplayNameRequest](docs/UpdateWhatsAppDisplayNameRequest.md)
|
|
999
|
+
- [Late::UpdateWhatsAppFlowRequest](docs/UpdateWhatsAppFlowRequest.md)
|
|
960
1000
|
- [Late::UpdateWhatsAppGroupChatRequest](docs/UpdateWhatsAppGroupChatRequest.md)
|
|
961
1001
|
- [Late::UpdateWhatsAppTemplate200Response](docs/UpdateWhatsAppTemplate200Response.md)
|
|
962
1002
|
- [Late::UpdateWhatsAppTemplate200ResponseTemplate](docs/UpdateWhatsAppTemplate200ResponseTemplate.md)
|
|
@@ -966,6 +1006,10 @@ Class | Method | HTTP request | Description
|
|
|
966
1006
|
- [Late::UploadMediaDirect200Response](docs/UploadMediaDirect200Response.md)
|
|
967
1007
|
- [Late::UploadTokenResponse](docs/UploadTokenResponse.md)
|
|
968
1008
|
- [Late::UploadTokenStatusResponse](docs/UploadTokenStatusResponse.md)
|
|
1009
|
+
- [Late::UploadWhatsAppFlowJson200Response](docs/UploadWhatsAppFlowJson200Response.md)
|
|
1010
|
+
- [Late::UploadWhatsAppFlowJson200ResponseValidationErrorsInner](docs/UploadWhatsAppFlowJson200ResponseValidationErrorsInner.md)
|
|
1011
|
+
- [Late::UploadWhatsAppFlowJsonRequest](docs/UploadWhatsAppFlowJsonRequest.md)
|
|
1012
|
+
- [Late::UploadWhatsAppFlowJsonRequestFlowJson](docs/UploadWhatsAppFlowJsonRequestFlowJson.md)
|
|
969
1013
|
- [Late::UploadedFile](docs/UploadedFile.md)
|
|
970
1014
|
- [Late::UsageStats](docs/UsageStats.md)
|
|
971
1015
|
- [Late::UsageStatsLimits](docs/UsageStatsLimits.md)
|
|
@@ -1027,6 +1071,9 @@ Class | Method | HTTP request | Description
|
|
|
1027
1071
|
- [Late::YouTubeDailyViewsResponseDailyViewsInner](docs/YouTubeDailyViewsResponseDailyViewsInner.md)
|
|
1028
1072
|
- [Late::YouTubeDailyViewsResponseDateRange](docs/YouTubeDailyViewsResponseDateRange.md)
|
|
1029
1073
|
- [Late::YouTubeDailyViewsResponseScopeStatus](docs/YouTubeDailyViewsResponseScopeStatus.md)
|
|
1074
|
+
- [Late::YouTubeDemographicsResponse](docs/YouTubeDemographicsResponse.md)
|
|
1075
|
+
- [Late::YouTubeDemographicsResponseDateRange](docs/YouTubeDemographicsResponseDateRange.md)
|
|
1076
|
+
- [Late::YouTubeDemographicsResponseDemographicsValueInner](docs/YouTubeDemographicsResponseDemographicsValueInner.md)
|
|
1030
1077
|
- [Late::YouTubePlatformData](docs/YouTubePlatformData.md)
|
|
1031
1078
|
- [Late::YouTubeScopeMissingResponse](docs/YouTubeScopeMissingResponse.md)
|
|
1032
1079
|
- [Late::YouTubeScopeMissingResponseScopeStatus](docs/YouTubeScopeMissingResponseScopeStatus.md)
|
data/docs/AnalyticsApi.md
CHANGED
|
@@ -9,6 +9,8 @@ All URIs are relative to *https://zernio.com/api*
|
|
|
9
9
|
| [**get_content_decay**](AnalyticsApi.md#get_content_decay) | **GET** /v1/analytics/content-decay | Get content performance decay |
|
|
10
10
|
| [**get_daily_metrics**](AnalyticsApi.md#get_daily_metrics) | **GET** /v1/analytics/daily-metrics | Get daily aggregated metrics |
|
|
11
11
|
| [**get_follower_stats**](AnalyticsApi.md#get_follower_stats) | **GET** /v1/accounts/follower-stats | Get follower stats |
|
|
12
|
+
| [**get_google_business_performance**](AnalyticsApi.md#get_google_business_performance) | **GET** /v1/analytics/googlebusiness/performance | Get Google Business Profile performance metrics |
|
|
13
|
+
| [**get_google_business_search_keywords**](AnalyticsApi.md#get_google_business_search_keywords) | **GET** /v1/analytics/googlebusiness/search-keywords | Get Google Business Profile search keywords |
|
|
12
14
|
| [**get_instagram_account_insights**](AnalyticsApi.md#get_instagram_account_insights) | **GET** /v1/analytics/instagram/account-insights | Get Instagram account-level insights |
|
|
13
15
|
| [**get_instagram_demographics**](AnalyticsApi.md#get_instagram_demographics) | **GET** /v1/analytics/instagram/demographics | Get Instagram audience demographics |
|
|
14
16
|
| [**get_linked_in_aggregate_analytics**](AnalyticsApi.md#get_linked_in_aggregate_analytics) | **GET** /v1/accounts/{accountId}/linkedin-aggregate-analytics | Get LinkedIn aggregate stats |
|
|
@@ -17,6 +19,7 @@ All URIs are relative to *https://zernio.com/api*
|
|
|
17
19
|
| [**get_post_timeline**](AnalyticsApi.md#get_post_timeline) | **GET** /v1/analytics/post-timeline | Get post analytics timeline |
|
|
18
20
|
| [**get_posting_frequency**](AnalyticsApi.md#get_posting_frequency) | **GET** /v1/analytics/posting-frequency | Get posting frequency vs engagement |
|
|
19
21
|
| [**get_you_tube_daily_views**](AnalyticsApi.md#get_you_tube_daily_views) | **GET** /v1/analytics/youtube/daily-views | Get YouTube daily views |
|
|
22
|
+
| [**get_you_tube_demographics**](AnalyticsApi.md#get_you_tube_demographics) | **GET** /v1/analytics/youtube/demographics | Get YouTube audience demographics |
|
|
20
23
|
|
|
21
24
|
|
|
22
25
|
## get_analytics
|
|
@@ -420,6 +423,158 @@ end
|
|
|
420
423
|
- **Accept**: application/json
|
|
421
424
|
|
|
422
425
|
|
|
426
|
+
## get_google_business_performance
|
|
427
|
+
|
|
428
|
+
> <GetGoogleBusinessPerformance200Response> get_google_business_performance(account_id, opts)
|
|
429
|
+
|
|
430
|
+
Get Google Business Profile performance metrics
|
|
431
|
+
|
|
432
|
+
Returns daily performance metrics for a Google Business Profile location. Metrics include impressions (Maps/Search, desktop/mobile), website clicks, call clicks, direction requests, conversations, bookings, and food orders. Data may be delayed 2-3 days. Max 18 months of historical data. Requires the Analytics add-on.
|
|
433
|
+
|
|
434
|
+
### Examples
|
|
435
|
+
|
|
436
|
+
```ruby
|
|
437
|
+
require 'time'
|
|
438
|
+
require 'late-sdk'
|
|
439
|
+
# setup authorization
|
|
440
|
+
Late.configure do |config|
|
|
441
|
+
# Configure Bearer authorization (JWT): bearerAuth
|
|
442
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
443
|
+
end
|
|
444
|
+
|
|
445
|
+
api_instance = Late::AnalyticsApi.new
|
|
446
|
+
account_id = 'account_id_example' # String | The Zernio SocialAccount ID for the Google Business Profile account.
|
|
447
|
+
opts = {
|
|
448
|
+
metrics: 'metrics_example', # String | Comma-separated metric names. Defaults to all available metrics. Valid values: BUSINESS_IMPRESSIONS_DESKTOP_MAPS, BUSINESS_IMPRESSIONS_DESKTOP_SEARCH, BUSINESS_IMPRESSIONS_MOBILE_MAPS, BUSINESS_IMPRESSIONS_MOBILE_SEARCH, BUSINESS_CONVERSATIONS, BUSINESS_DIRECTION_REQUESTS, CALL_CLICKS, WEBSITE_CLICKS, BUSINESS_BOOKINGS, BUSINESS_FOOD_ORDERS, BUSINESS_FOOD_MENU_CLICKS
|
|
449
|
+
start_date: Date.parse('2013-10-20'), # Date | Start date (YYYY-MM-DD). Defaults to 30 days ago. Max 18 months back.
|
|
450
|
+
end_date: Date.parse('2013-10-20') # Date | End date (YYYY-MM-DD). Defaults to today.
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
begin
|
|
454
|
+
# Get Google Business Profile performance metrics
|
|
455
|
+
result = api_instance.get_google_business_performance(account_id, opts)
|
|
456
|
+
p result
|
|
457
|
+
rescue Late::ApiError => e
|
|
458
|
+
puts "Error when calling AnalyticsApi->get_google_business_performance: #{e}"
|
|
459
|
+
end
|
|
460
|
+
```
|
|
461
|
+
|
|
462
|
+
#### Using the get_google_business_performance_with_http_info variant
|
|
463
|
+
|
|
464
|
+
This returns an Array which contains the response data, status code and headers.
|
|
465
|
+
|
|
466
|
+
> <Array(<GetGoogleBusinessPerformance200Response>, Integer, Hash)> get_google_business_performance_with_http_info(account_id, opts)
|
|
467
|
+
|
|
468
|
+
```ruby
|
|
469
|
+
begin
|
|
470
|
+
# Get Google Business Profile performance metrics
|
|
471
|
+
data, status_code, headers = api_instance.get_google_business_performance_with_http_info(account_id, opts)
|
|
472
|
+
p status_code # => 2xx
|
|
473
|
+
p headers # => { ... }
|
|
474
|
+
p data # => <GetGoogleBusinessPerformance200Response>
|
|
475
|
+
rescue Late::ApiError => e
|
|
476
|
+
puts "Error when calling AnalyticsApi->get_google_business_performance_with_http_info: #{e}"
|
|
477
|
+
end
|
|
478
|
+
```
|
|
479
|
+
|
|
480
|
+
### Parameters
|
|
481
|
+
|
|
482
|
+
| Name | Type | Description | Notes |
|
|
483
|
+
| ---- | ---- | ----------- | ----- |
|
|
484
|
+
| **account_id** | **String** | The Zernio SocialAccount ID for the Google Business Profile account. | |
|
|
485
|
+
| **metrics** | **String** | Comma-separated metric names. Defaults to all available metrics. Valid values: BUSINESS_IMPRESSIONS_DESKTOP_MAPS, BUSINESS_IMPRESSIONS_DESKTOP_SEARCH, BUSINESS_IMPRESSIONS_MOBILE_MAPS, BUSINESS_IMPRESSIONS_MOBILE_SEARCH, BUSINESS_CONVERSATIONS, BUSINESS_DIRECTION_REQUESTS, CALL_CLICKS, WEBSITE_CLICKS, BUSINESS_BOOKINGS, BUSINESS_FOOD_ORDERS, BUSINESS_FOOD_MENU_CLICKS | [optional] |
|
|
486
|
+
| **start_date** | **Date** | Start date (YYYY-MM-DD). Defaults to 30 days ago. Max 18 months back. | [optional] |
|
|
487
|
+
| **end_date** | **Date** | End date (YYYY-MM-DD). Defaults to today. | [optional] |
|
|
488
|
+
|
|
489
|
+
### Return type
|
|
490
|
+
|
|
491
|
+
[**GetGoogleBusinessPerformance200Response**](GetGoogleBusinessPerformance200Response.md)
|
|
492
|
+
|
|
493
|
+
### Authorization
|
|
494
|
+
|
|
495
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
496
|
+
|
|
497
|
+
### HTTP request headers
|
|
498
|
+
|
|
499
|
+
- **Content-Type**: Not defined
|
|
500
|
+
- **Accept**: application/json
|
|
501
|
+
|
|
502
|
+
|
|
503
|
+
## get_google_business_search_keywords
|
|
504
|
+
|
|
505
|
+
> <GetGoogleBusinessSearchKeywords200Response> get_google_business_search_keywords(account_id, opts)
|
|
506
|
+
|
|
507
|
+
Get Google Business Profile search keywords
|
|
508
|
+
|
|
509
|
+
Returns search keywords that triggered impressions for a Google Business Profile location. Data is aggregated monthly. Keywords below a minimum impression threshold set by Google are excluded. Max 18 months of historical data. Requires the Analytics add-on.
|
|
510
|
+
|
|
511
|
+
### Examples
|
|
512
|
+
|
|
513
|
+
```ruby
|
|
514
|
+
require 'time'
|
|
515
|
+
require 'late-sdk'
|
|
516
|
+
# setup authorization
|
|
517
|
+
Late.configure do |config|
|
|
518
|
+
# Configure Bearer authorization (JWT): bearerAuth
|
|
519
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
520
|
+
end
|
|
521
|
+
|
|
522
|
+
api_instance = Late::AnalyticsApi.new
|
|
523
|
+
account_id = 'account_id_example' # String | The Zernio SocialAccount ID for the Google Business Profile account.
|
|
524
|
+
opts = {
|
|
525
|
+
start_month: 'start_month_example', # String | Start month (YYYY-MM). Defaults to 3 months ago.
|
|
526
|
+
end_month: 'end_month_example' # String | End month (YYYY-MM). Defaults to current month.
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
begin
|
|
530
|
+
# Get Google Business Profile search keywords
|
|
531
|
+
result = api_instance.get_google_business_search_keywords(account_id, opts)
|
|
532
|
+
p result
|
|
533
|
+
rescue Late::ApiError => e
|
|
534
|
+
puts "Error when calling AnalyticsApi->get_google_business_search_keywords: #{e}"
|
|
535
|
+
end
|
|
536
|
+
```
|
|
537
|
+
|
|
538
|
+
#### Using the get_google_business_search_keywords_with_http_info variant
|
|
539
|
+
|
|
540
|
+
This returns an Array which contains the response data, status code and headers.
|
|
541
|
+
|
|
542
|
+
> <Array(<GetGoogleBusinessSearchKeywords200Response>, Integer, Hash)> get_google_business_search_keywords_with_http_info(account_id, opts)
|
|
543
|
+
|
|
544
|
+
```ruby
|
|
545
|
+
begin
|
|
546
|
+
# Get Google Business Profile search keywords
|
|
547
|
+
data, status_code, headers = api_instance.get_google_business_search_keywords_with_http_info(account_id, opts)
|
|
548
|
+
p status_code # => 2xx
|
|
549
|
+
p headers # => { ... }
|
|
550
|
+
p data # => <GetGoogleBusinessSearchKeywords200Response>
|
|
551
|
+
rescue Late::ApiError => e
|
|
552
|
+
puts "Error when calling AnalyticsApi->get_google_business_search_keywords_with_http_info: #{e}"
|
|
553
|
+
end
|
|
554
|
+
```
|
|
555
|
+
|
|
556
|
+
### Parameters
|
|
557
|
+
|
|
558
|
+
| Name | Type | Description | Notes |
|
|
559
|
+
| ---- | ---- | ----------- | ----- |
|
|
560
|
+
| **account_id** | **String** | The Zernio SocialAccount ID for the Google Business Profile account. | |
|
|
561
|
+
| **start_month** | **String** | Start month (YYYY-MM). Defaults to 3 months ago. | [optional] |
|
|
562
|
+
| **end_month** | **String** | End month (YYYY-MM). Defaults to current month. | [optional] |
|
|
563
|
+
|
|
564
|
+
### Return type
|
|
565
|
+
|
|
566
|
+
[**GetGoogleBusinessSearchKeywords200Response**](GetGoogleBusinessSearchKeywords200Response.md)
|
|
567
|
+
|
|
568
|
+
### Authorization
|
|
569
|
+
|
|
570
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
571
|
+
|
|
572
|
+
### HTTP request headers
|
|
573
|
+
|
|
574
|
+
- **Content-Type**: Not defined
|
|
575
|
+
- **Accept**: application/json
|
|
576
|
+
|
|
577
|
+
|
|
423
578
|
## get_instagram_account_insights
|
|
424
579
|
|
|
425
580
|
> <InstagramAccountInsightsResponse> get_instagram_account_insights(account_id, opts)
|
|
@@ -1031,3 +1186,80 @@ end
|
|
|
1031
1186
|
- **Content-Type**: Not defined
|
|
1032
1187
|
- **Accept**: application/json
|
|
1033
1188
|
|
|
1189
|
+
|
|
1190
|
+
## get_you_tube_demographics
|
|
1191
|
+
|
|
1192
|
+
> <YouTubeDemographicsResponse> get_you_tube_demographics(account_id, opts)
|
|
1193
|
+
|
|
1194
|
+
Get YouTube audience demographics
|
|
1195
|
+
|
|
1196
|
+
Returns audience demographic insights for a YouTube channel, broken down by age, gender, and/or country. Age and gender values are viewer percentages (0-100). Country values are view counts. Data is based on signed-in viewers only, with a 2-3 day delay. Requires the Analytics add-on.
|
|
1197
|
+
|
|
1198
|
+
### Examples
|
|
1199
|
+
|
|
1200
|
+
```ruby
|
|
1201
|
+
require 'time'
|
|
1202
|
+
require 'late-sdk'
|
|
1203
|
+
# setup authorization
|
|
1204
|
+
Late.configure do |config|
|
|
1205
|
+
# Configure Bearer authorization (JWT): bearerAuth
|
|
1206
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1207
|
+
end
|
|
1208
|
+
|
|
1209
|
+
api_instance = Late::AnalyticsApi.new
|
|
1210
|
+
account_id = 'account_id_example' # String | The Zernio SocialAccount ID for the YouTube account
|
|
1211
|
+
opts = {
|
|
1212
|
+
breakdown: 'breakdown_example', # String | Comma-separated list of demographic dimensions: age, gender, country. Defaults to all three if omitted.
|
|
1213
|
+
start_date: Date.parse('2013-10-20'), # Date | Start date in YYYY-MM-DD format. Defaults to 90 days ago.
|
|
1214
|
+
end_date: Date.parse('2013-10-20') # Date | End date in YYYY-MM-DD format. Defaults to 3 days ago (YouTube data latency).
|
|
1215
|
+
}
|
|
1216
|
+
|
|
1217
|
+
begin
|
|
1218
|
+
# Get YouTube audience demographics
|
|
1219
|
+
result = api_instance.get_you_tube_demographics(account_id, opts)
|
|
1220
|
+
p result
|
|
1221
|
+
rescue Late::ApiError => e
|
|
1222
|
+
puts "Error when calling AnalyticsApi->get_you_tube_demographics: #{e}"
|
|
1223
|
+
end
|
|
1224
|
+
```
|
|
1225
|
+
|
|
1226
|
+
#### Using the get_you_tube_demographics_with_http_info variant
|
|
1227
|
+
|
|
1228
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1229
|
+
|
|
1230
|
+
> <Array(<YouTubeDemographicsResponse>, Integer, Hash)> get_you_tube_demographics_with_http_info(account_id, opts)
|
|
1231
|
+
|
|
1232
|
+
```ruby
|
|
1233
|
+
begin
|
|
1234
|
+
# Get YouTube audience demographics
|
|
1235
|
+
data, status_code, headers = api_instance.get_you_tube_demographics_with_http_info(account_id, opts)
|
|
1236
|
+
p status_code # => 2xx
|
|
1237
|
+
p headers # => { ... }
|
|
1238
|
+
p data # => <YouTubeDemographicsResponse>
|
|
1239
|
+
rescue Late::ApiError => e
|
|
1240
|
+
puts "Error when calling AnalyticsApi->get_you_tube_demographics_with_http_info: #{e}"
|
|
1241
|
+
end
|
|
1242
|
+
```
|
|
1243
|
+
|
|
1244
|
+
### Parameters
|
|
1245
|
+
|
|
1246
|
+
| Name | Type | Description | Notes |
|
|
1247
|
+
| ---- | ---- | ----------- | ----- |
|
|
1248
|
+
| **account_id** | **String** | The Zernio SocialAccount ID for the YouTube account | |
|
|
1249
|
+
| **breakdown** | **String** | Comma-separated list of demographic dimensions: age, gender, country. Defaults to all three if omitted. | [optional] |
|
|
1250
|
+
| **start_date** | **Date** | Start date in YYYY-MM-DD format. Defaults to 90 days ago. | [optional] |
|
|
1251
|
+
| **end_date** | **Date** | End date in YYYY-MM-DD format. Defaults to 3 days ago (YouTube data latency). | [optional] |
|
|
1252
|
+
|
|
1253
|
+
### Return type
|
|
1254
|
+
|
|
1255
|
+
[**YouTubeDemographicsResponse**](YouTubeDemographicsResponse.md)
|
|
1256
|
+
|
|
1257
|
+
### Authorization
|
|
1258
|
+
|
|
1259
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
1260
|
+
|
|
1261
|
+
### HTTP request headers
|
|
1262
|
+
|
|
1263
|
+
- **Content-Type**: Not defined
|
|
1264
|
+
- **Accept**: application/json
|
|
1265
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Late::CreateWhatsAppFlow200Response
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **success** | **Boolean** | | [optional] |
|
|
8
|
+
| **flow** | [**CreateWhatsAppFlow200ResponseFlow**](CreateWhatsAppFlow200ResponseFlow.md) | | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'late-sdk'
|
|
14
|
+
|
|
15
|
+
instance = Late::CreateWhatsAppFlow200Response.new(
|
|
16
|
+
success: null,
|
|
17
|
+
flow: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Late::CreateWhatsAppFlow200ResponseFlow
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **id** | **String** | | [optional] |
|
|
8
|
+
| **name** | **String** | | [optional] |
|
|
9
|
+
| **status** | **String** | | [optional] |
|
|
10
|
+
| **categories** | **Array<String>** | | [optional] |
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'late-sdk'
|
|
16
|
+
|
|
17
|
+
instance = Late::CreateWhatsAppFlow200ResponseFlow.new(
|
|
18
|
+
id: null,
|
|
19
|
+
name: null,
|
|
20
|
+
status: DRAFT,
|
|
21
|
+
categories: null
|
|
22
|
+
)
|
|
23
|
+
```
|
|
24
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Late::CreateWhatsAppFlowRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **account_id** | **String** | WhatsApp social account ID | |
|
|
8
|
+
| **name** | **String** | Flow display name | |
|
|
9
|
+
| **categories** | **Array<String>** | Flow categories | |
|
|
10
|
+
| **clone_flow_id** | **String** | Optional: ID of an existing flow to clone | [optional] |
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'late-sdk'
|
|
16
|
+
|
|
17
|
+
instance = Late::CreateWhatsAppFlowRequest.new(
|
|
18
|
+
account_id: null,
|
|
19
|
+
name: null,
|
|
20
|
+
categories: null,
|
|
21
|
+
clone_flow_id: null
|
|
22
|
+
)
|
|
23
|
+
```
|
|
24
|
+
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Late::GetGoogleBusinessPerformance200Response
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **success** | **Boolean** | | [optional] |
|
|
8
|
+
| **account_id** | **String** | | [optional] |
|
|
9
|
+
| **platform** | **String** | | [optional] |
|
|
10
|
+
| **date_range** | [**GetGoogleBusinessPerformance200ResponseDateRange**](GetGoogleBusinessPerformance200ResponseDateRange.md) | | [optional] |
|
|
11
|
+
| **metrics** | [**Hash<String, GetGoogleBusinessPerformance200ResponseMetricsValue>**](GetGoogleBusinessPerformance200ResponseMetricsValue.md) | Each key is a metric name containing total and daily values. | [optional] |
|
|
12
|
+
| **data_delay** | **String** | | [optional] |
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```ruby
|
|
17
|
+
require 'late-sdk'
|
|
18
|
+
|
|
19
|
+
instance = Late::GetGoogleBusinessPerformance200Response.new(
|
|
20
|
+
success: true,
|
|
21
|
+
account_id: null,
|
|
22
|
+
platform: googlebusiness,
|
|
23
|
+
date_range: null,
|
|
24
|
+
metrics: null,
|
|
25
|
+
data_delay: Data may be delayed 2-3 days
|
|
26
|
+
)
|
|
27
|
+
```
|
|
28
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Late::GetGoogleBusinessPerformance200ResponseDateRange
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **start_date** | **Date** | | [optional] |
|
|
8
|
+
| **end_date** | **Date** | | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'late-sdk'
|
|
14
|
+
|
|
15
|
+
instance = Late::GetGoogleBusinessPerformance200ResponseDateRange.new(
|
|
16
|
+
start_date: 2026-03-01,
|
|
17
|
+
end_date: 2026-03-31
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Late::GetGoogleBusinessPerformance200ResponseMetricsValue
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **total** | **Integer** | Sum of all daily values in the range | [optional] |
|
|
8
|
+
| **values** | [**Array<GetGoogleBusinessPerformance200ResponseMetricsValueValuesInner>**](GetGoogleBusinessPerformance200ResponseMetricsValueValuesInner.md) | | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'late-sdk'
|
|
14
|
+
|
|
15
|
+
instance = Late::GetGoogleBusinessPerformance200ResponseMetricsValue.new(
|
|
16
|
+
total: null,
|
|
17
|
+
values: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Late::GetGoogleBusinessPerformance200ResponseMetricsValueValuesInner
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **date** | **Date** | | [optional] |
|
|
8
|
+
| **value** | **Integer** | | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'late-sdk'
|
|
14
|
+
|
|
15
|
+
instance = Late::GetGoogleBusinessPerformance200ResponseMetricsValueValuesInner.new(
|
|
16
|
+
date: null,
|
|
17
|
+
value: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Late::GetGoogleBusinessPerformance400Response
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **error** | **String** | | [optional] |
|
|
8
|
+
| **valid_metrics** | **Array<String>** | | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'late-sdk'
|
|
14
|
+
|
|
15
|
+
instance = Late::GetGoogleBusinessPerformance400Response.new(
|
|
16
|
+
error: Invalid metrics: INVALID_METRIC,
|
|
17
|
+
valid_metrics: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Late::GetGoogleBusinessSearchKeywords200Response
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **success** | **Boolean** | | [optional] |
|
|
8
|
+
| **account_id** | **String** | | [optional] |
|
|
9
|
+
| **platform** | **String** | | [optional] |
|
|
10
|
+
| **month_range** | [**GetGoogleBusinessSearchKeywords200ResponseMonthRange**](GetGoogleBusinessSearchKeywords200ResponseMonthRange.md) | | [optional] |
|
|
11
|
+
| **keywords** | [**Array<GetGoogleBusinessSearchKeywords200ResponseKeywordsInner>**](GetGoogleBusinessSearchKeywords200ResponseKeywordsInner.md) | | [optional] |
|
|
12
|
+
| **note** | **String** | | [optional] |
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```ruby
|
|
17
|
+
require 'late-sdk'
|
|
18
|
+
|
|
19
|
+
instance = Late::GetGoogleBusinessSearchKeywords200Response.new(
|
|
20
|
+
success: true,
|
|
21
|
+
account_id: null,
|
|
22
|
+
platform: googlebusiness,
|
|
23
|
+
month_range: null,
|
|
24
|
+
keywords: null,
|
|
25
|
+
note: Keywords below a minimum impression threshold are excluded by Google
|
|
26
|
+
)
|
|
27
|
+
```
|
|
28
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Late::GetGoogleBusinessSearchKeywords200ResponseKeywordsInner
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **keyword** | **String** | | [optional] |
|
|
8
|
+
| **impressions** | **Integer** | | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'late-sdk'
|
|
14
|
+
|
|
15
|
+
instance = Late::GetGoogleBusinessSearchKeywords200ResponseKeywordsInner.new(
|
|
16
|
+
keyword: restaurant near me,
|
|
17
|
+
impressions: 245
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|