zernio-sdk 0.0.98 → 0.0.100
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 +54 -0
- data/docs/Ad.md +58 -0
- data/docs/AdAudiencesApi.md +365 -0
- data/docs/AdBudget.md +20 -0
- data/docs/AdCampaign.md +40 -0
- data/docs/AdCampaignsApi.md +165 -0
- data/docs/AdMetrics.md +34 -0
- data/docs/AdSchedule.md +20 -0
- data/docs/AddUsersToAdAudience200Response.md +22 -0
- data/docs/AddUsersToAdAudienceRequest.md +18 -0
- data/docs/AddUsersToAdAudienceRequestUsersInner.md +20 -0
- data/docs/AdsApi.md +726 -0
- data/docs/BoostPostRequest.md +42 -0
- data/docs/BoostPostRequestBudget.md +20 -0
- data/docs/BoostPostRequestSchedule.md +20 -0
- data/docs/BoostPostRequestTargeting.md +24 -0
- data/docs/BoostPostRequestTracking.md +20 -0
- data/docs/CreateAdAudience201Response.md +20 -0
- data/docs/CreateAdAudienceRequest.md +40 -0
- data/docs/CreateStandaloneAdRequest.md +66 -0
- data/docs/GetAd200Response.md +18 -0
- data/docs/GetAdAnalytics200Response.md +20 -0
- data/docs/GetAdAnalytics200ResponseAd.md +24 -0
- data/docs/GetAdAnalytics200ResponseAnalytics.md +22 -0
- data/docs/GetAdAnalytics200ResponseAnalyticsDailyInner.md +36 -0
- data/docs/GetAdAudience200Response.md +20 -0
- data/docs/ListAdAccounts200Response.md +18 -0
- data/docs/ListAdAccounts200ResponseAccountsInner.md +24 -0
- data/docs/ListAdAudiences200Response.md +18 -0
- data/docs/ListAdAudiences200ResponseAudiencesInner.md +32 -0
- data/docs/ListAdCampaigns200Response.md +20 -0
- data/docs/ListAds200Response.md +20 -0
- data/docs/SearchAdInterests200Response.md +18 -0
- data/docs/SearchAdInterests200ResponseInterestsInner.md +22 -0
- data/docs/SyncExternalAds200Response.md +24 -0
- data/docs/UpdateAd200Response.md +20 -0
- data/docs/UpdateAdCampaignStatus200Response.md +22 -0
- data/docs/UpdateAdCampaignStatusRequest.md +20 -0
- data/docs/UpdateAdRequest.md +24 -0
- data/docs/UpdateAdRequestBudget.md +20 -0
- data/docs/UpdateAdRequestTargeting.md +24 -0
- data/lib/late-sdk/api/ad_audiences_api.rb +368 -0
- data/lib/late-sdk/api/ad_campaigns_api.rb +201 -0
- data/lib/late-sdk/api/ads_api.rb +719 -0
- data/lib/late-sdk/models/ad.rb +399 -0
- data/lib/late-sdk/models/ad_budget.rb +190 -0
- data/lib/late-sdk/models/ad_campaign.rb +293 -0
- data/lib/late-sdk/models/ad_metrics.rb +222 -0
- data/lib/late-sdk/models/ad_schedule.rb +156 -0
- data/lib/late-sdk/models/add_users_to_ad_audience200_response.rb +165 -0
- data/lib/late-sdk/models/add_users_to_ad_audience_request.rb +175 -0
- data/lib/late-sdk/models/add_users_to_ad_audience_request_users_inner.rb +157 -0
- data/lib/late-sdk/models/boost_post_request.rb +381 -0
- data/lib/late-sdk/models/boost_post_request_budget.rb +215 -0
- data/lib/late-sdk/models/boost_post_request_schedule.rb +157 -0
- data/lib/late-sdk/models/boost_post_request_targeting.rb +234 -0
- data/lib/late-sdk/models/boost_post_request_tracking.rb +157 -0
- data/lib/late-sdk/models/create_ad_audience201_response.rb +156 -0
- data/lib/late-sdk/models/create_ad_audience_request.rb +411 -0
- data/lib/late-sdk/models/create_standalone_ad_request.rb +660 -0
- data/lib/late-sdk/models/get_ad200_response.rb +147 -0
- data/lib/late-sdk/models/get_ad_analytics200_response.rb +156 -0
- data/lib/late-sdk/models/get_ad_analytics200_response_ad.rb +174 -0
- data/lib/late-sdk/models/get_ad_analytics200_response_analytics.rb +169 -0
- data/lib/late-sdk/models/get_ad_analytics200_response_analytics_daily_inner.rb +238 -0
- data/lib/late-sdk/models/get_ad_audience200_response.rb +157 -0
- data/lib/late-sdk/models/list_ad_accounts200_response.rb +149 -0
- data/lib/late-sdk/models/list_ad_accounts200_response_accounts_inner.rb +175 -0
- data/lib/late-sdk/models/list_ad_audiences200_response.rb +149 -0
- data/lib/late-sdk/models/list_ad_audiences200_response_audiences_inner.rb +244 -0
- data/lib/late-sdk/models/list_ad_campaigns200_response.rb +158 -0
- data/lib/late-sdk/models/list_ads200_response.rb +158 -0
- data/lib/late-sdk/models/search_ad_interests200_response.rb +149 -0
- data/lib/late-sdk/models/search_ad_interests200_response_interests_inner.rb +165 -0
- data/lib/late-sdk/models/sync_external_ads200_response.rb +177 -0
- data/lib/late-sdk/models/update_ad200_response.rb +156 -0
- data/lib/late-sdk/models/update_ad_campaign_status200_response.rb +169 -0
- data/lib/late-sdk/models/update_ad_campaign_status_request.rb +216 -0
- data/lib/late-sdk/models/update_ad_request.rb +208 -0
- data/lib/late-sdk/models/update_ad_request_budget.rb +191 -0
- data/lib/late-sdk/models/update_ad_request_targeting.rb +235 -0
- data/lib/late-sdk/version.rb +1 -1
- data/lib/late-sdk.rb +40 -0
- data/openapi.yaml +716 -0
- data/spec/api/ad_audiences_api_spec.rb +98 -0
- data/spec/api/ad_campaigns_api_spec.rb +67 -0
- data/spec/api/ads_api_spec.rb +163 -0
- data/spec/models/ad_budget_spec.rb +46 -0
- data/spec/models/ad_campaign_spec.rb +110 -0
- data/spec/models/ad_metrics_spec.rb +84 -0
- data/spec/models/ad_schedule_spec.rb +42 -0
- data/spec/models/ad_spec.rb +172 -0
- data/spec/models/add_users_to_ad_audience200_response_spec.rb +48 -0
- data/spec/models/add_users_to_ad_audience_request_spec.rb +36 -0
- data/spec/models/add_users_to_ad_audience_request_users_inner_spec.rb +42 -0
- data/spec/models/boost_post_request_budget_spec.rb +46 -0
- data/spec/models/boost_post_request_schedule_spec.rb +42 -0
- data/spec/models/boost_post_request_spec.rb +116 -0
- data/spec/models/boost_post_request_targeting_spec.rb +54 -0
- data/spec/models/boost_post_request_tracking_spec.rb +42 -0
- data/spec/models/create_ad_audience201_response_spec.rb +42 -0
- data/spec/models/create_ad_audience_request_spec.rb +106 -0
- data/spec/models/create_standalone_ad_request_spec.rb +196 -0
- data/spec/models/get_ad200_response_spec.rb +36 -0
- data/spec/models/get_ad_analytics200_response_ad_spec.rb +54 -0
- data/spec/models/get_ad_analytics200_response_analytics_daily_inner_spec.rb +90 -0
- data/spec/models/get_ad_analytics200_response_analytics_spec.rb +48 -0
- data/spec/models/get_ad_analytics200_response_spec.rb +42 -0
- data/spec/models/get_ad_audience200_response_spec.rb +42 -0
- data/spec/models/list_ad_accounts200_response_accounts_inner_spec.rb +54 -0
- data/spec/models/list_ad_accounts200_response_spec.rb +36 -0
- data/spec/models/list_ad_audiences200_response_audiences_inner_spec.rb +82 -0
- data/spec/models/list_ad_audiences200_response_spec.rb +36 -0
- data/spec/models/list_ad_campaigns200_response_spec.rb +42 -0
- data/spec/models/list_ads200_response_spec.rb +42 -0
- data/spec/models/search_ad_interests200_response_interests_inner_spec.rb +48 -0
- data/spec/models/search_ad_interests200_response_spec.rb +36 -0
- data/spec/models/sync_external_ads200_response_spec.rb +54 -0
- data/spec/models/update_ad200_response_spec.rb +42 -0
- data/spec/models/update_ad_campaign_status200_response_spec.rb +48 -0
- data/spec/models/update_ad_campaign_status_request_spec.rb +50 -0
- data/spec/models/update_ad_request_budget_spec.rb +46 -0
- data/spec/models/update_ad_request_spec.rb +58 -0
- data/spec/models/update_ad_request_targeting_spec.rb +54 -0
- metadata +161 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 38a525d4bb08e56592a11454256aaf13bd0df5f8d2f852421c121b424c88b2f5
|
|
4
|
+
data.tar.gz: 94a9f494671048b71f46d91754def558ecac1e128dfcf84648ea4f3ecac72c54
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 268cc43af084aec2fc83058de79081c5c54e9a118694fb61cd2ac2ef6f6c548a4bca46993ead36f1e030e8f461d03724dcdd0af8473a354abef4f7265dadf424
|
|
7
|
+
data.tar.gz: f2d78ad309a469cc51968aa580db12fc8fb811483a903bad1a81cbb984b0d6bc02429fa7f1f7bf07ee62b8a43721db7d34bb6a645046d6736eec113b8f642597
|
data/README.md
CHANGED
|
@@ -87,6 +87,23 @@ Class | Method | HTTP request | Description
|
|
|
87
87
|
*Late::AccountsApi* | [**get_tik_tok_creator_info**](docs/AccountsApi.md#get_tik_tok_creator_info) | **GET** /v1/accounts/{accountId}/tiktok/creator-info | Get TikTok creator info
|
|
88
88
|
*Late::AccountsApi* | [**list_accounts**](docs/AccountsApi.md#list_accounts) | **GET** /v1/accounts | List accounts
|
|
89
89
|
*Late::AccountsApi* | [**update_account**](docs/AccountsApi.md#update_account) | **PUT** /v1/accounts/{accountId} | Update account
|
|
90
|
+
*Late::AdAudiencesApi* | [**add_users_to_ad_audience**](docs/AdAudiencesApi.md#add_users_to_ad_audience) | **POST** /v1/ads/audiences/{audienceId}/users | Add users to a customer list audience
|
|
91
|
+
*Late::AdAudiencesApi* | [**create_ad_audience**](docs/AdAudiencesApi.md#create_ad_audience) | **POST** /v1/ads/audiences | Create a custom audience (Meta only)
|
|
92
|
+
*Late::AdAudiencesApi* | [**delete_ad_audience**](docs/AdAudiencesApi.md#delete_ad_audience) | **DELETE** /v1/ads/audiences/{audienceId} | Delete a custom audience
|
|
93
|
+
*Late::AdAudiencesApi* | [**get_ad_audience**](docs/AdAudiencesApi.md#get_ad_audience) | **GET** /v1/ads/audiences/{audienceId} | Get audience details
|
|
94
|
+
*Late::AdAudiencesApi* | [**list_ad_audiences**](docs/AdAudiencesApi.md#list_ad_audiences) | **GET** /v1/ads/audiences | List custom audiences
|
|
95
|
+
*Late::AdCampaignsApi* | [**list_ad_campaigns**](docs/AdCampaignsApi.md#list_ad_campaigns) | **GET** /v1/ads/campaigns | List campaigns with aggregate metrics
|
|
96
|
+
*Late::AdCampaignsApi* | [**update_ad_campaign_status**](docs/AdCampaignsApi.md#update_ad_campaign_status) | **PUT** /v1/ads/campaigns/{campaignId}/status | Pause or resume a campaign
|
|
97
|
+
*Late::AdsApi* | [**boost_post**](docs/AdsApi.md#boost_post) | **POST** /v1/ads/boost | Boost an existing post as a paid ad
|
|
98
|
+
*Late::AdsApi* | [**create_standalone_ad**](docs/AdsApi.md#create_standalone_ad) | **POST** /v1/ads/create | Create a standalone ad with custom creative
|
|
99
|
+
*Late::AdsApi* | [**delete_ad**](docs/AdsApi.md#delete_ad) | **DELETE** /v1/ads/{adId} | Cancel an ad
|
|
100
|
+
*Late::AdsApi* | [**get_ad**](docs/AdsApi.md#get_ad) | **GET** /v1/ads/{adId} | Get ad details
|
|
101
|
+
*Late::AdsApi* | [**get_ad_analytics**](docs/AdsApi.md#get_ad_analytics) | **GET** /v1/ads/{adId}/analytics | Get ad analytics with daily breakdown
|
|
102
|
+
*Late::AdsApi* | [**list_ad_accounts**](docs/AdsApi.md#list_ad_accounts) | **GET** /v1/ads/accounts | List ad accounts for a social account
|
|
103
|
+
*Late::AdsApi* | [**list_ads**](docs/AdsApi.md#list_ads) | **GET** /v1/ads | List ads
|
|
104
|
+
*Late::AdsApi* | [**search_ad_interests**](docs/AdsApi.md#search_ad_interests) | **GET** /v1/ads/interests | Search targeting interests
|
|
105
|
+
*Late::AdsApi* | [**sync_external_ads**](docs/AdsApi.md#sync_external_ads) | **POST** /v1/ads/sync | Sync external ads from platform ad managers
|
|
106
|
+
*Late::AdsApi* | [**update_ad**](docs/AdsApi.md#update_ad) | **PUT** /v1/ads/{adId} | Update ad (pause/resume, budget, targeting, name)
|
|
90
107
|
*Late::AnalyticsApi* | [**get_analytics**](docs/AnalyticsApi.md#get_analytics) | **GET** /v1/analytics | Get post analytics
|
|
91
108
|
*Late::AnalyticsApi* | [**get_best_time_to_post**](docs/AnalyticsApi.md#get_best_time_to_post) | **GET** /v1/analytics/best-time | Get best times to post
|
|
92
109
|
*Late::AnalyticsApi* | [**get_content_decay**](docs/AnalyticsApi.md#get_content_decay) | **GET** /v1/analytics/content-decay | Get content performance decay
|
|
@@ -318,9 +335,17 @@ Class | Method | HTTP request | Description
|
|
|
318
335
|
- [Late::AccountWithFollowerStatsAllOfAccountStats](docs/AccountWithFollowerStatsAllOfAccountStats.md)
|
|
319
336
|
- [Late::AccountsListResponse](docs/AccountsListResponse.md)
|
|
320
337
|
- [Late::ActivateSequence200Response](docs/ActivateSequence200Response.md)
|
|
338
|
+
- [Late::Ad](docs/Ad.md)
|
|
339
|
+
- [Late::AdBudget](docs/AdBudget.md)
|
|
340
|
+
- [Late::AdCampaign](docs/AdCampaign.md)
|
|
341
|
+
- [Late::AdMetrics](docs/AdMetrics.md)
|
|
342
|
+
- [Late::AdSchedule](docs/AdSchedule.md)
|
|
321
343
|
- [Late::AddBroadcastRecipients200Response](docs/AddBroadcastRecipients200Response.md)
|
|
322
344
|
- [Late::AddBroadcastRecipientsRequest](docs/AddBroadcastRecipientsRequest.md)
|
|
323
345
|
- [Late::AddMessageReactionRequest](docs/AddMessageReactionRequest.md)
|
|
346
|
+
- [Late::AddUsersToAdAudience200Response](docs/AddUsersToAdAudience200Response.md)
|
|
347
|
+
- [Late::AddUsersToAdAudienceRequest](docs/AddUsersToAdAudienceRequest.md)
|
|
348
|
+
- [Late::AddUsersToAdAudienceRequestUsersInner](docs/AddUsersToAdAudienceRequestUsersInner.md)
|
|
324
349
|
- [Late::AddWhatsAppBroadcastRecipients200Response](docs/AddWhatsAppBroadcastRecipients200Response.md)
|
|
325
350
|
- [Late::AddWhatsAppBroadcastRecipientsRequest](docs/AddWhatsAppBroadcastRecipientsRequest.md)
|
|
326
351
|
- [Late::AddWhatsAppBroadcastRecipientsRequestRecipientsInner](docs/AddWhatsAppBroadcastRecipientsRequestRecipientsInner.md)
|
|
@@ -337,6 +362,11 @@ Class | Method | HTTP request | Description
|
|
|
337
362
|
- [Late::BlueskyPlatformData](docs/BlueskyPlatformData.md)
|
|
338
363
|
- [Late::BookmarkPost200Response](docs/BookmarkPost200Response.md)
|
|
339
364
|
- [Late::BookmarkPostRequest](docs/BookmarkPostRequest.md)
|
|
365
|
+
- [Late::BoostPostRequest](docs/BoostPostRequest.md)
|
|
366
|
+
- [Late::BoostPostRequestBudget](docs/BoostPostRequestBudget.md)
|
|
367
|
+
- [Late::BoostPostRequestSchedule](docs/BoostPostRequestSchedule.md)
|
|
368
|
+
- [Late::BoostPostRequestTargeting](docs/BoostPostRequestTargeting.md)
|
|
369
|
+
- [Late::BoostPostRequestTracking](docs/BoostPostRequestTracking.md)
|
|
340
370
|
- [Late::BulkCreateContacts200Response](docs/BulkCreateContacts200Response.md)
|
|
341
371
|
- [Late::BulkCreateContactsRequest](docs/BulkCreateContactsRequest.md)
|
|
342
372
|
- [Late::BulkCreateContactsRequestContactsInner](docs/BulkCreateContactsRequestContactsInner.md)
|
|
@@ -370,6 +400,8 @@ Class | Method | HTTP request | Description
|
|
|
370
400
|
- [Late::ConnectionLogSuccess](docs/ConnectionLogSuccess.md)
|
|
371
401
|
- [Late::CreateAccountGroup201Response](docs/CreateAccountGroup201Response.md)
|
|
372
402
|
- [Late::CreateAccountGroupRequest](docs/CreateAccountGroupRequest.md)
|
|
403
|
+
- [Late::CreateAdAudience201Response](docs/CreateAdAudience201Response.md)
|
|
404
|
+
- [Late::CreateAdAudienceRequest](docs/CreateAdAudienceRequest.md)
|
|
373
405
|
- [Late::CreateApiKey201Response](docs/CreateApiKey201Response.md)
|
|
374
406
|
- [Late::CreateApiKeyRequest](docs/CreateApiKeyRequest.md)
|
|
375
407
|
- [Late::CreateBroadcast200Response](docs/CreateBroadcast200Response.md)
|
|
@@ -411,6 +443,7 @@ Class | Method | HTTP request | Description
|
|
|
411
443
|
- [Late::CreateSequenceRequestStepsInner](docs/CreateSequenceRequestStepsInner.md)
|
|
412
444
|
- [Late::CreateSequenceRequestStepsInnerTemplate](docs/CreateSequenceRequestStepsInnerTemplate.md)
|
|
413
445
|
- [Late::CreateSequenceRequestStepsInnerTemplateVariableMappingValue](docs/CreateSequenceRequestStepsInnerTemplateVariableMappingValue.md)
|
|
446
|
+
- [Late::CreateStandaloneAdRequest](docs/CreateStandaloneAdRequest.md)
|
|
414
447
|
- [Late::CreateWebhookSettingsRequest](docs/CreateWebhookSettingsRequest.md)
|
|
415
448
|
- [Late::CreateWhatsAppBroadcast200Response](docs/CreateWhatsAppBroadcast200Response.md)
|
|
416
449
|
- [Late::CreateWhatsAppBroadcast200ResponseBroadcast](docs/CreateWhatsAppBroadcast200ResponseBroadcast.md)
|
|
@@ -472,6 +505,12 @@ Class | Method | HTTP request | Description
|
|
|
472
505
|
- [Late::GetAccountHealth200ResponsePermissions](docs/GetAccountHealth200ResponsePermissions.md)
|
|
473
506
|
- [Late::GetAccountHealth200ResponsePermissionsPostingInner](docs/GetAccountHealth200ResponsePermissionsPostingInner.md)
|
|
474
507
|
- [Late::GetAccountHealth200ResponseTokenStatus](docs/GetAccountHealth200ResponseTokenStatus.md)
|
|
508
|
+
- [Late::GetAd200Response](docs/GetAd200Response.md)
|
|
509
|
+
- [Late::GetAdAnalytics200Response](docs/GetAdAnalytics200Response.md)
|
|
510
|
+
- [Late::GetAdAnalytics200ResponseAd](docs/GetAdAnalytics200ResponseAd.md)
|
|
511
|
+
- [Late::GetAdAnalytics200ResponseAnalytics](docs/GetAdAnalytics200ResponseAnalytics.md)
|
|
512
|
+
- [Late::GetAdAnalytics200ResponseAnalyticsDailyInner](docs/GetAdAnalytics200ResponseAnalyticsDailyInner.md)
|
|
513
|
+
- [Late::GetAdAudience200Response](docs/GetAdAudience200Response.md)
|
|
475
514
|
- [Late::GetAllAccountsHealth200Response](docs/GetAllAccountsHealth200Response.md)
|
|
476
515
|
- [Late::GetAllAccountsHealth200ResponseAccountsInner](docs/GetAllAccountsHealth200ResponseAccountsInner.md)
|
|
477
516
|
- [Late::GetAllAccountsHealth200ResponseSummary](docs/GetAllAccountsHealth200ResponseSummary.md)
|
|
@@ -671,6 +710,12 @@ Class | Method | HTTP request | Description
|
|
|
671
710
|
- [Late::ListAccountGroups200Response](docs/ListAccountGroups200Response.md)
|
|
672
711
|
- [Late::ListAccountGroups200ResponseGroupsInner](docs/ListAccountGroups200ResponseGroupsInner.md)
|
|
673
712
|
- [Late::ListAccounts200Response](docs/ListAccounts200Response.md)
|
|
713
|
+
- [Late::ListAdAccounts200Response](docs/ListAdAccounts200Response.md)
|
|
714
|
+
- [Late::ListAdAccounts200ResponseAccountsInner](docs/ListAdAccounts200ResponseAccountsInner.md)
|
|
715
|
+
- [Late::ListAdAudiences200Response](docs/ListAdAudiences200Response.md)
|
|
716
|
+
- [Late::ListAdAudiences200ResponseAudiencesInner](docs/ListAdAudiences200ResponseAudiencesInner.md)
|
|
717
|
+
- [Late::ListAdCampaigns200Response](docs/ListAdCampaigns200Response.md)
|
|
718
|
+
- [Late::ListAds200Response](docs/ListAds200Response.md)
|
|
674
719
|
- [Late::ListApiKeys200Response](docs/ListApiKeys200Response.md)
|
|
675
720
|
- [Late::ListBroadcastRecipients200Response](docs/ListBroadcastRecipients200Response.md)
|
|
676
721
|
- [Late::ListBroadcastRecipients200ResponseRecipientsInner](docs/ListBroadcastRecipients200ResponseRecipientsInner.md)
|
|
@@ -800,6 +845,8 @@ Class | Method | HTTP request | Description
|
|
|
800
845
|
- [Late::ScheduleWhatsAppBroadcast200Response](docs/ScheduleWhatsAppBroadcast200Response.md)
|
|
801
846
|
- [Late::ScheduleWhatsAppBroadcast200ResponseBroadcast](docs/ScheduleWhatsAppBroadcast200ResponseBroadcast.md)
|
|
802
847
|
- [Late::ScheduleWhatsAppBroadcastRequest](docs/ScheduleWhatsAppBroadcastRequest.md)
|
|
848
|
+
- [Late::SearchAdInterests200Response](docs/SearchAdInterests200Response.md)
|
|
849
|
+
- [Late::SearchAdInterests200ResponseInterestsInner](docs/SearchAdInterests200ResponseInterestsInner.md)
|
|
803
850
|
- [Late::SearchReddit200Response](docs/SearchReddit200Response.md)
|
|
804
851
|
- [Late::SearchReddit200ResponsePostsInner](docs/SearchReddit200ResponsePostsInner.md)
|
|
805
852
|
- [Late::SelectFacebookPage200Response](docs/SelectFacebookPage200Response.md)
|
|
@@ -852,6 +899,7 @@ Class | Method | HTTP request | Description
|
|
|
852
899
|
- [Late::SnapchatPlatformData](docs/SnapchatPlatformData.md)
|
|
853
900
|
- [Late::SocialAccount](docs/SocialAccount.md)
|
|
854
901
|
- [Late::SocialAccountProfileId](docs/SocialAccountProfileId.md)
|
|
902
|
+
- [Late::SyncExternalAds200Response](docs/SyncExternalAds200Response.md)
|
|
855
903
|
- [Late::TelegramPlatformData](docs/TelegramPlatformData.md)
|
|
856
904
|
- [Late::TestWebhookRequest](docs/TestWebhookRequest.md)
|
|
857
905
|
- [Late::ThreadsPlatformData](docs/ThreadsPlatformData.md)
|
|
@@ -870,6 +918,12 @@ Class | Method | HTTP request | Description
|
|
|
870
918
|
- [Late::UpdateAccountGroup200Response](docs/UpdateAccountGroup200Response.md)
|
|
871
919
|
- [Late::UpdateAccountGroupRequest](docs/UpdateAccountGroupRequest.md)
|
|
872
920
|
- [Late::UpdateAccountRequest](docs/UpdateAccountRequest.md)
|
|
921
|
+
- [Late::UpdateAd200Response](docs/UpdateAd200Response.md)
|
|
922
|
+
- [Late::UpdateAdCampaignStatus200Response](docs/UpdateAdCampaignStatus200Response.md)
|
|
923
|
+
- [Late::UpdateAdCampaignStatusRequest](docs/UpdateAdCampaignStatusRequest.md)
|
|
924
|
+
- [Late::UpdateAdRequest](docs/UpdateAdRequest.md)
|
|
925
|
+
- [Late::UpdateAdRequestBudget](docs/UpdateAdRequestBudget.md)
|
|
926
|
+
- [Late::UpdateAdRequestTargeting](docs/UpdateAdRequestTargeting.md)
|
|
873
927
|
- [Late::UpdateBroadcast200Response](docs/UpdateBroadcast200Response.md)
|
|
874
928
|
- [Late::UpdateBroadcast200ResponseBroadcast](docs/UpdateBroadcast200ResponseBroadcast.md)
|
|
875
929
|
- [Late::UpdateCommentAutomation200Response](docs/UpdateCommentAutomation200Response.md)
|
data/docs/Ad.md
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# Late::Ad
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **_id** | **String** | | [optional] |
|
|
8
|
+
| **name** | **String** | | [optional] |
|
|
9
|
+
| **platform** | **String** | | [optional] |
|
|
10
|
+
| **status** | **String** | | [optional] |
|
|
11
|
+
| **ad_type** | **String** | | [optional] |
|
|
12
|
+
| **goal** | **String** | | [optional] |
|
|
13
|
+
| **is_external** | **Boolean** | True for ads synced from platform ad managers | [optional] |
|
|
14
|
+
| **budget** | [**AdBudget**](AdBudget.md) | | [optional] |
|
|
15
|
+
| **metrics** | [**AdMetrics**](AdMetrics.md) | | [optional] |
|
|
16
|
+
| **platform_ad_id** | **String** | | [optional] |
|
|
17
|
+
| **platform_ad_account_id** | **String** | | [optional] |
|
|
18
|
+
| **platform_campaign_id** | **String** | | [optional] |
|
|
19
|
+
| **platform_ad_set_id** | **String** | | [optional] |
|
|
20
|
+
| **campaign_name** | **String** | | [optional] |
|
|
21
|
+
| **ad_set_name** | **String** | | [optional] |
|
|
22
|
+
| **creative** | **Object** | Platform-specific creative data | [optional] |
|
|
23
|
+
| **targeting** | **Object** | | [optional] |
|
|
24
|
+
| **schedule** | [**AdSchedule**](AdSchedule.md) | | [optional] |
|
|
25
|
+
| **rejection_reason** | **String** | | [optional] |
|
|
26
|
+
| **created_at** | **Time** | | [optional] |
|
|
27
|
+
| **updated_at** | **Time** | | [optional] |
|
|
28
|
+
|
|
29
|
+
## Example
|
|
30
|
+
|
|
31
|
+
```ruby
|
|
32
|
+
require 'late-sdk'
|
|
33
|
+
|
|
34
|
+
instance = Late::Ad.new(
|
|
35
|
+
_id: null,
|
|
36
|
+
name: null,
|
|
37
|
+
platform: null,
|
|
38
|
+
status: null,
|
|
39
|
+
ad_type: null,
|
|
40
|
+
goal: null,
|
|
41
|
+
is_external: null,
|
|
42
|
+
budget: null,
|
|
43
|
+
metrics: null,
|
|
44
|
+
platform_ad_id: null,
|
|
45
|
+
platform_ad_account_id: null,
|
|
46
|
+
platform_campaign_id: null,
|
|
47
|
+
platform_ad_set_id: null,
|
|
48
|
+
campaign_name: null,
|
|
49
|
+
ad_set_name: null,
|
|
50
|
+
creative: null,
|
|
51
|
+
targeting: null,
|
|
52
|
+
schedule: null,
|
|
53
|
+
rejection_reason: null,
|
|
54
|
+
created_at: null,
|
|
55
|
+
updated_at: null
|
|
56
|
+
)
|
|
57
|
+
```
|
|
58
|
+
|
|
@@ -0,0 +1,365 @@
|
|
|
1
|
+
# Late::AdAudiencesApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://zernio.com/api*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
| ------ | ------------ | ----------- |
|
|
7
|
+
| [**add_users_to_ad_audience**](AdAudiencesApi.md#add_users_to_ad_audience) | **POST** /v1/ads/audiences/{audienceId}/users | Add users to a customer list audience |
|
|
8
|
+
| [**create_ad_audience**](AdAudiencesApi.md#create_ad_audience) | **POST** /v1/ads/audiences | Create a custom audience (Meta only) |
|
|
9
|
+
| [**delete_ad_audience**](AdAudiencesApi.md#delete_ad_audience) | **DELETE** /v1/ads/audiences/{audienceId} | Delete a custom audience |
|
|
10
|
+
| [**get_ad_audience**](AdAudiencesApi.md#get_ad_audience) | **GET** /v1/ads/audiences/{audienceId} | Get audience details |
|
|
11
|
+
| [**list_ad_audiences**](AdAudiencesApi.md#list_ad_audiences) | **GET** /v1/ads/audiences | List custom audiences |
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## add_users_to_ad_audience
|
|
15
|
+
|
|
16
|
+
> <AddUsersToAdAudience200Response> add_users_to_ad_audience(audience_id, add_users_to_ad_audience_request)
|
|
17
|
+
|
|
18
|
+
Add users to a customer list audience
|
|
19
|
+
|
|
20
|
+
Upload user data (emails and/or phone numbers) to a customer_list audience. Data is SHA256-hashed server-side before sending to Meta. Max 10,000 users per request.
|
|
21
|
+
|
|
22
|
+
### Examples
|
|
23
|
+
|
|
24
|
+
```ruby
|
|
25
|
+
require 'time'
|
|
26
|
+
require 'late-sdk'
|
|
27
|
+
# setup authorization
|
|
28
|
+
Late.configure do |config|
|
|
29
|
+
# Configure Bearer authorization (JWT): bearerAuth
|
|
30
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
api_instance = Late::AdAudiencesApi.new
|
|
34
|
+
audience_id = 'audience_id_example' # String |
|
|
35
|
+
add_users_to_ad_audience_request = Late::AddUsersToAdAudienceRequest.new({users: [Late::AddUsersToAdAudienceRequestUsersInner.new]}) # AddUsersToAdAudienceRequest |
|
|
36
|
+
|
|
37
|
+
begin
|
|
38
|
+
# Add users to a customer list audience
|
|
39
|
+
result = api_instance.add_users_to_ad_audience(audience_id, add_users_to_ad_audience_request)
|
|
40
|
+
p result
|
|
41
|
+
rescue Late::ApiError => e
|
|
42
|
+
puts "Error when calling AdAudiencesApi->add_users_to_ad_audience: #{e}"
|
|
43
|
+
end
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
#### Using the add_users_to_ad_audience_with_http_info variant
|
|
47
|
+
|
|
48
|
+
This returns an Array which contains the response data, status code and headers.
|
|
49
|
+
|
|
50
|
+
> <Array(<AddUsersToAdAudience200Response>, Integer, Hash)> add_users_to_ad_audience_with_http_info(audience_id, add_users_to_ad_audience_request)
|
|
51
|
+
|
|
52
|
+
```ruby
|
|
53
|
+
begin
|
|
54
|
+
# Add users to a customer list audience
|
|
55
|
+
data, status_code, headers = api_instance.add_users_to_ad_audience_with_http_info(audience_id, add_users_to_ad_audience_request)
|
|
56
|
+
p status_code # => 2xx
|
|
57
|
+
p headers # => { ... }
|
|
58
|
+
p data # => <AddUsersToAdAudience200Response>
|
|
59
|
+
rescue Late::ApiError => e
|
|
60
|
+
puts "Error when calling AdAudiencesApi->add_users_to_ad_audience_with_http_info: #{e}"
|
|
61
|
+
end
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
### Parameters
|
|
65
|
+
|
|
66
|
+
| Name | Type | Description | Notes |
|
|
67
|
+
| ---- | ---- | ----------- | ----- |
|
|
68
|
+
| **audience_id** | **String** | | |
|
|
69
|
+
| **add_users_to_ad_audience_request** | [**AddUsersToAdAudienceRequest**](AddUsersToAdAudienceRequest.md) | | |
|
|
70
|
+
|
|
71
|
+
### Return type
|
|
72
|
+
|
|
73
|
+
[**AddUsersToAdAudience200Response**](AddUsersToAdAudience200Response.md)
|
|
74
|
+
|
|
75
|
+
### Authorization
|
|
76
|
+
|
|
77
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
78
|
+
|
|
79
|
+
### HTTP request headers
|
|
80
|
+
|
|
81
|
+
- **Content-Type**: application/json
|
|
82
|
+
- **Accept**: application/json
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
## create_ad_audience
|
|
86
|
+
|
|
87
|
+
> <CreateAdAudience201Response> create_ad_audience(create_ad_audience_request)
|
|
88
|
+
|
|
89
|
+
Create a custom audience (Meta only)
|
|
90
|
+
|
|
91
|
+
Create a customer list, website retargeting, or lookalike audience on Meta (Facebook/Instagram).
|
|
92
|
+
|
|
93
|
+
### Examples
|
|
94
|
+
|
|
95
|
+
```ruby
|
|
96
|
+
require 'time'
|
|
97
|
+
require 'late-sdk'
|
|
98
|
+
# setup authorization
|
|
99
|
+
Late.configure do |config|
|
|
100
|
+
# Configure Bearer authorization (JWT): bearerAuth
|
|
101
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
api_instance = Late::AdAudiencesApi.new
|
|
105
|
+
create_ad_audience_request = Late::CreateAdAudienceRequest.new({account_id: 'account_id_example', ad_account_id: 'ad_account_id_example', name: 'name_example', type: 'customer_list'}) # CreateAdAudienceRequest |
|
|
106
|
+
|
|
107
|
+
begin
|
|
108
|
+
# Create a custom audience (Meta only)
|
|
109
|
+
result = api_instance.create_ad_audience(create_ad_audience_request)
|
|
110
|
+
p result
|
|
111
|
+
rescue Late::ApiError => e
|
|
112
|
+
puts "Error when calling AdAudiencesApi->create_ad_audience: #{e}"
|
|
113
|
+
end
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
#### Using the create_ad_audience_with_http_info variant
|
|
117
|
+
|
|
118
|
+
This returns an Array which contains the response data, status code and headers.
|
|
119
|
+
|
|
120
|
+
> <Array(<CreateAdAudience201Response>, Integer, Hash)> create_ad_audience_with_http_info(create_ad_audience_request)
|
|
121
|
+
|
|
122
|
+
```ruby
|
|
123
|
+
begin
|
|
124
|
+
# Create a custom audience (Meta only)
|
|
125
|
+
data, status_code, headers = api_instance.create_ad_audience_with_http_info(create_ad_audience_request)
|
|
126
|
+
p status_code # => 2xx
|
|
127
|
+
p headers # => { ... }
|
|
128
|
+
p data # => <CreateAdAudience201Response>
|
|
129
|
+
rescue Late::ApiError => e
|
|
130
|
+
puts "Error when calling AdAudiencesApi->create_ad_audience_with_http_info: #{e}"
|
|
131
|
+
end
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
### Parameters
|
|
135
|
+
|
|
136
|
+
| Name | Type | Description | Notes |
|
|
137
|
+
| ---- | ---- | ----------- | ----- |
|
|
138
|
+
| **create_ad_audience_request** | [**CreateAdAudienceRequest**](CreateAdAudienceRequest.md) | | |
|
|
139
|
+
|
|
140
|
+
### Return type
|
|
141
|
+
|
|
142
|
+
[**CreateAdAudience201Response**](CreateAdAudience201Response.md)
|
|
143
|
+
|
|
144
|
+
### Authorization
|
|
145
|
+
|
|
146
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
147
|
+
|
|
148
|
+
### HTTP request headers
|
|
149
|
+
|
|
150
|
+
- **Content-Type**: application/json
|
|
151
|
+
- **Accept**: application/json
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
## delete_ad_audience
|
|
155
|
+
|
|
156
|
+
> <DeleteAccountGroup200Response> delete_ad_audience(audience_id)
|
|
157
|
+
|
|
158
|
+
Delete a custom audience
|
|
159
|
+
|
|
160
|
+
Deletes the audience from both Meta and the local database.
|
|
161
|
+
|
|
162
|
+
### Examples
|
|
163
|
+
|
|
164
|
+
```ruby
|
|
165
|
+
require 'time'
|
|
166
|
+
require 'late-sdk'
|
|
167
|
+
# setup authorization
|
|
168
|
+
Late.configure do |config|
|
|
169
|
+
# Configure Bearer authorization (JWT): bearerAuth
|
|
170
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
171
|
+
end
|
|
172
|
+
|
|
173
|
+
api_instance = Late::AdAudiencesApi.new
|
|
174
|
+
audience_id = 'audience_id_example' # String |
|
|
175
|
+
|
|
176
|
+
begin
|
|
177
|
+
# Delete a custom audience
|
|
178
|
+
result = api_instance.delete_ad_audience(audience_id)
|
|
179
|
+
p result
|
|
180
|
+
rescue Late::ApiError => e
|
|
181
|
+
puts "Error when calling AdAudiencesApi->delete_ad_audience: #{e}"
|
|
182
|
+
end
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
#### Using the delete_ad_audience_with_http_info variant
|
|
186
|
+
|
|
187
|
+
This returns an Array which contains the response data, status code and headers.
|
|
188
|
+
|
|
189
|
+
> <Array(<DeleteAccountGroup200Response>, Integer, Hash)> delete_ad_audience_with_http_info(audience_id)
|
|
190
|
+
|
|
191
|
+
```ruby
|
|
192
|
+
begin
|
|
193
|
+
# Delete a custom audience
|
|
194
|
+
data, status_code, headers = api_instance.delete_ad_audience_with_http_info(audience_id)
|
|
195
|
+
p status_code # => 2xx
|
|
196
|
+
p headers # => { ... }
|
|
197
|
+
p data # => <DeleteAccountGroup200Response>
|
|
198
|
+
rescue Late::ApiError => e
|
|
199
|
+
puts "Error when calling AdAudiencesApi->delete_ad_audience_with_http_info: #{e}"
|
|
200
|
+
end
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
### Parameters
|
|
204
|
+
|
|
205
|
+
| Name | Type | Description | Notes |
|
|
206
|
+
| ---- | ---- | ----------- | ----- |
|
|
207
|
+
| **audience_id** | **String** | | |
|
|
208
|
+
|
|
209
|
+
### Return type
|
|
210
|
+
|
|
211
|
+
[**DeleteAccountGroup200Response**](DeleteAccountGroup200Response.md)
|
|
212
|
+
|
|
213
|
+
### Authorization
|
|
214
|
+
|
|
215
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
216
|
+
|
|
217
|
+
### HTTP request headers
|
|
218
|
+
|
|
219
|
+
- **Content-Type**: Not defined
|
|
220
|
+
- **Accept**: application/json
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
## get_ad_audience
|
|
224
|
+
|
|
225
|
+
> <GetAdAudience200Response> get_ad_audience(audience_id)
|
|
226
|
+
|
|
227
|
+
Get audience details
|
|
228
|
+
|
|
229
|
+
Returns the local audience record and fresh data from Meta (if available).
|
|
230
|
+
|
|
231
|
+
### Examples
|
|
232
|
+
|
|
233
|
+
```ruby
|
|
234
|
+
require 'time'
|
|
235
|
+
require 'late-sdk'
|
|
236
|
+
# setup authorization
|
|
237
|
+
Late.configure do |config|
|
|
238
|
+
# Configure Bearer authorization (JWT): bearerAuth
|
|
239
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
240
|
+
end
|
|
241
|
+
|
|
242
|
+
api_instance = Late::AdAudiencesApi.new
|
|
243
|
+
audience_id = 'audience_id_example' # String |
|
|
244
|
+
|
|
245
|
+
begin
|
|
246
|
+
# Get audience details
|
|
247
|
+
result = api_instance.get_ad_audience(audience_id)
|
|
248
|
+
p result
|
|
249
|
+
rescue Late::ApiError => e
|
|
250
|
+
puts "Error when calling AdAudiencesApi->get_ad_audience: #{e}"
|
|
251
|
+
end
|
|
252
|
+
```
|
|
253
|
+
|
|
254
|
+
#### Using the get_ad_audience_with_http_info variant
|
|
255
|
+
|
|
256
|
+
This returns an Array which contains the response data, status code and headers.
|
|
257
|
+
|
|
258
|
+
> <Array(<GetAdAudience200Response>, Integer, Hash)> get_ad_audience_with_http_info(audience_id)
|
|
259
|
+
|
|
260
|
+
```ruby
|
|
261
|
+
begin
|
|
262
|
+
# Get audience details
|
|
263
|
+
data, status_code, headers = api_instance.get_ad_audience_with_http_info(audience_id)
|
|
264
|
+
p status_code # => 2xx
|
|
265
|
+
p headers # => { ... }
|
|
266
|
+
p data # => <GetAdAudience200Response>
|
|
267
|
+
rescue Late::ApiError => e
|
|
268
|
+
puts "Error when calling AdAudiencesApi->get_ad_audience_with_http_info: #{e}"
|
|
269
|
+
end
|
|
270
|
+
```
|
|
271
|
+
|
|
272
|
+
### Parameters
|
|
273
|
+
|
|
274
|
+
| Name | Type | Description | Notes |
|
|
275
|
+
| ---- | ---- | ----------- | ----- |
|
|
276
|
+
| **audience_id** | **String** | | |
|
|
277
|
+
|
|
278
|
+
### Return type
|
|
279
|
+
|
|
280
|
+
[**GetAdAudience200Response**](GetAdAudience200Response.md)
|
|
281
|
+
|
|
282
|
+
### Authorization
|
|
283
|
+
|
|
284
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
285
|
+
|
|
286
|
+
### HTTP request headers
|
|
287
|
+
|
|
288
|
+
- **Content-Type**: Not defined
|
|
289
|
+
- **Accept**: application/json
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
## list_ad_audiences
|
|
293
|
+
|
|
294
|
+
> <ListAdAudiences200Response> list_ad_audiences(account_id, ad_account_id, opts)
|
|
295
|
+
|
|
296
|
+
List custom audiences
|
|
297
|
+
|
|
298
|
+
Returns custom audiences for the given ad account. Supports Meta, Google, TikTok, and Pinterest.
|
|
299
|
+
|
|
300
|
+
### Examples
|
|
301
|
+
|
|
302
|
+
```ruby
|
|
303
|
+
require 'time'
|
|
304
|
+
require 'late-sdk'
|
|
305
|
+
# setup authorization
|
|
306
|
+
Late.configure do |config|
|
|
307
|
+
# Configure Bearer authorization (JWT): bearerAuth
|
|
308
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
309
|
+
end
|
|
310
|
+
|
|
311
|
+
api_instance = Late::AdAudiencesApi.new
|
|
312
|
+
account_id = 'account_id_example' # String | Social account ID
|
|
313
|
+
ad_account_id = 'ad_account_id_example' # String | Platform ad account ID
|
|
314
|
+
opts = {
|
|
315
|
+
platform: 'facebook' # String |
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
begin
|
|
319
|
+
# List custom audiences
|
|
320
|
+
result = api_instance.list_ad_audiences(account_id, ad_account_id, opts)
|
|
321
|
+
p result
|
|
322
|
+
rescue Late::ApiError => e
|
|
323
|
+
puts "Error when calling AdAudiencesApi->list_ad_audiences: #{e}"
|
|
324
|
+
end
|
|
325
|
+
```
|
|
326
|
+
|
|
327
|
+
#### Using the list_ad_audiences_with_http_info variant
|
|
328
|
+
|
|
329
|
+
This returns an Array which contains the response data, status code and headers.
|
|
330
|
+
|
|
331
|
+
> <Array(<ListAdAudiences200Response>, Integer, Hash)> list_ad_audiences_with_http_info(account_id, ad_account_id, opts)
|
|
332
|
+
|
|
333
|
+
```ruby
|
|
334
|
+
begin
|
|
335
|
+
# List custom audiences
|
|
336
|
+
data, status_code, headers = api_instance.list_ad_audiences_with_http_info(account_id, ad_account_id, opts)
|
|
337
|
+
p status_code # => 2xx
|
|
338
|
+
p headers # => { ... }
|
|
339
|
+
p data # => <ListAdAudiences200Response>
|
|
340
|
+
rescue Late::ApiError => e
|
|
341
|
+
puts "Error when calling AdAudiencesApi->list_ad_audiences_with_http_info: #{e}"
|
|
342
|
+
end
|
|
343
|
+
```
|
|
344
|
+
|
|
345
|
+
### Parameters
|
|
346
|
+
|
|
347
|
+
| Name | Type | Description | Notes |
|
|
348
|
+
| ---- | ---- | ----------- | ----- |
|
|
349
|
+
| **account_id** | **String** | Social account ID | |
|
|
350
|
+
| **ad_account_id** | **String** | Platform ad account ID | |
|
|
351
|
+
| **platform** | **String** | | [optional] |
|
|
352
|
+
|
|
353
|
+
### Return type
|
|
354
|
+
|
|
355
|
+
[**ListAdAudiences200Response**](ListAdAudiences200Response.md)
|
|
356
|
+
|
|
357
|
+
### Authorization
|
|
358
|
+
|
|
359
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
360
|
+
|
|
361
|
+
### HTTP request headers
|
|
362
|
+
|
|
363
|
+
- **Content-Type**: Not defined
|
|
364
|
+
- **Accept**: application/json
|
|
365
|
+
|
data/docs/AdBudget.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Late::AdBudget
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **amount** | **Float** | | [optional] |
|
|
8
|
+
| **type** | **String** | | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'late-sdk'
|
|
14
|
+
|
|
15
|
+
instance = Late::AdBudget.new(
|
|
16
|
+
amount: null,
|
|
17
|
+
type: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
data/docs/AdCampaign.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Late::AdCampaign
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **platform_campaign_id** | **String** | | [optional] |
|
|
8
|
+
| **platform** | **String** | | [optional] |
|
|
9
|
+
| **campaign_name** | **String** | | [optional] |
|
|
10
|
+
| **status** | **String** | Derived from child ad statuses | [optional] |
|
|
11
|
+
| **ad_count** | **Integer** | | [optional] |
|
|
12
|
+
| **budget** | [**AdBudget**](AdBudget.md) | | [optional] |
|
|
13
|
+
| **metrics** | [**AdMetrics**](AdMetrics.md) | | [optional] |
|
|
14
|
+
| **platform_ad_account_id** | **String** | | [optional] |
|
|
15
|
+
| **account_id** | **String** | | [optional] |
|
|
16
|
+
| **profile_id** | **String** | | [optional] |
|
|
17
|
+
| **earliest_ad** | **Time** | | [optional] |
|
|
18
|
+
| **latest_ad** | **Time** | | [optional] |
|
|
19
|
+
|
|
20
|
+
## Example
|
|
21
|
+
|
|
22
|
+
```ruby
|
|
23
|
+
require 'late-sdk'
|
|
24
|
+
|
|
25
|
+
instance = Late::AdCampaign.new(
|
|
26
|
+
platform_campaign_id: null,
|
|
27
|
+
platform: null,
|
|
28
|
+
campaign_name: null,
|
|
29
|
+
status: null,
|
|
30
|
+
ad_count: null,
|
|
31
|
+
budget: null,
|
|
32
|
+
metrics: null,
|
|
33
|
+
platform_ad_account_id: null,
|
|
34
|
+
account_id: null,
|
|
35
|
+
profile_id: null,
|
|
36
|
+
earliest_ad: null,
|
|
37
|
+
latest_ad: null
|
|
38
|
+
)
|
|
39
|
+
```
|
|
40
|
+
|