dataforseo-client 2.1.9 → 2.1.11
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.
- package/dist/cjs/api/AiOptimizationApi.js +54 -54
- package/dist/cjs/api/AiOptimizationApi.js.map +1 -1
- package/dist/cjs/api/AppDataApi.js +42 -42
- package/dist/cjs/api/AppDataApi.js.map +1 -1
- package/dist/cjs/api/AppendixApi.js +4 -4
- package/dist/cjs/api/AppendixApi.js.map +1 -1
- package/dist/cjs/api/BacklinksApi.js +24 -24
- package/dist/cjs/api/BacklinksApi.js.map +1 -1
- package/dist/cjs/api/BusinessDataApi.js +53 -53
- package/dist/cjs/api/BusinessDataApi.js.map +1 -1
- package/dist/cjs/api/ContentAnalysisApi.js +11 -11
- package/dist/cjs/api/ContentAnalysisApi.js.map +1 -1
- package/dist/cjs/api/DataforseoLabsApi.js +48 -48
- package/dist/cjs/api/DataforseoLabsApi.js.map +1 -1
- package/dist/cjs/api/DomainAnalyticsApi.js +14 -14
- package/dist/cjs/api/DomainAnalyticsApi.js.map +1 -1
- package/dist/cjs/api/KeywordsDataApi.js +70 -70
- package/dist/cjs/api/KeywordsDataApi.js.map +1 -1
- package/dist/cjs/api/MerchantApi.js +38 -38
- package/dist/cjs/api/MerchantApi.js.map +1 -1
- package/dist/cjs/api/OnPageApi.js +31 -31
- package/dist/cjs/api/OnPageApi.js.map +1 -1
- package/dist/cjs/api/SerpApi.js +176 -176
- package/dist/cjs/api/SerpApi.js.map +1 -1
- package/dist/cjs/index.d.ts +14 -11
- package/dist/cjs/index.js +206 -200
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/AiModeAiOverviewShoppingElementInfo.d.ts +8 -0
- package/dist/cjs/models/AiModeAiOverviewShoppingElementInfo.js +4 -0
- package/dist/cjs/models/AiModeAiOverviewShoppingElementInfo.js.map +1 -1
- package/dist/cjs/models/AiOptimizationChatGptLlmResponsesLiveResultInfo.d.ts +5 -0
- package/dist/cjs/models/AiOptimizationChatGptLlmResponsesLiveResultInfo.js +16 -0
- package/dist/cjs/models/AiOptimizationChatGptLlmResponsesLiveResultInfo.js.map +1 -1
- package/dist/cjs/models/AiOptimizationChatGptLlmResponsesTaskGetResultInfo.d.ts +5 -0
- package/dist/cjs/models/AiOptimizationChatGptLlmResponsesTaskGetResultInfo.js +16 -0
- package/dist/cjs/models/AiOptimizationChatGptLlmResponsesTaskGetResultInfo.js.map +1 -1
- package/dist/cjs/models/AiOptimizationChatGptLlmScraperLiveAdvancedRequestInfo.d.ts +4 -4
- package/dist/cjs/models/AiOptimizationChatGptLlmScraperLiveAdvancedResultInfo.d.ts +6 -6
- package/dist/cjs/models/AiOptimizationChatGptLlmScraperLiveHtmlRequestInfo.d.ts +4 -4
- package/dist/cjs/models/AiOptimizationChatGptLlmScraperLiveHtmlResultInfo.d.ts +2 -2
- package/dist/cjs/models/AiOptimizationChatGptLlmScraperTaskGetAdvancedResultInfo.d.ts +4 -4
- package/dist/cjs/models/AiOptimizationChatGptLlmScraperTaskGetHtmlResultInfo.d.ts +2 -2
- package/dist/cjs/models/AiOptimizationChatGptLlmScraperTaskPostRequestInfo.d.ts +6 -6
- package/dist/cjs/models/AiOptimizationClaudeLlmResponsesLiveResultInfo.d.ts +5 -0
- package/dist/cjs/models/AiOptimizationClaudeLlmResponsesLiveResultInfo.js +16 -0
- package/dist/cjs/models/AiOptimizationClaudeLlmResponsesLiveResultInfo.js.map +1 -1
- package/dist/cjs/models/AiOptimizationClaudeLlmResponsesTaskGetResultInfo.d.ts +9 -0
- package/dist/cjs/models/AiOptimizationClaudeLlmResponsesTaskGetResultInfo.js +18 -0
- package/dist/cjs/models/AiOptimizationClaudeLlmResponsesTaskGetResultInfo.js.map +1 -1
- package/dist/cjs/models/AiOptimizationGeminiLlmScraperLiveAdvancedRequestInfo.d.ts +2 -2
- package/dist/cjs/models/AiOptimizationGeminiLlmScraperLiveAdvancedResultInfo.d.ts +6 -6
- package/dist/cjs/models/AiOptimizationGeminiLlmScraperLiveHtmlRequestInfo.d.ts +2 -2
- package/dist/cjs/models/AiOptimizationGeminiLlmScraperLiveHtmlResultInfo.d.ts +2 -2
- package/dist/cjs/models/AiOptimizationGeminiLlmScraperTaskGetAdvancedResultInfo.d.ts +4 -4
- package/dist/cjs/models/AiOptimizationGeminiLlmScraperTaskGetHtmlResultInfo.d.ts +2 -2
- package/dist/cjs/models/AiOptimizationGeminiLlmScraperTaskPostRequestInfo.d.ts +4 -4
- package/dist/cjs/models/AiOptimizationLlmMentionsSearchMentionsLiveItem.d.ts +3 -3
- package/dist/cjs/models/AiOptimizationLlmMentionsSearchMentionsLiveItem.js +2 -2
- package/dist/cjs/models/AiOptimizationLlmMentionsSearchMentionsLiveItem.js.map +1 -1
- package/dist/cjs/models/AiOptimizationPerplexityLlmResponsesLiveResultInfo.d.ts +7 -2
- package/dist/cjs/models/AiOptimizationPerplexityLlmResponsesLiveResultInfo.js +16 -0
- package/dist/cjs/models/AiOptimizationPerplexityLlmResponsesLiveResultInfo.js.map +1 -1
- package/dist/cjs/models/AppendixDayStatisticsDataInfo.d.ts +78 -0
- package/dist/cjs/models/AppendixDayStatisticsDataInfo.js +98 -0
- package/dist/cjs/models/AppendixDayStatisticsDataInfo.js.map +1 -0
- package/dist/cjs/models/AppendixMinuteStatisticsRatesData.d.ts +78 -0
- package/dist/cjs/models/AppendixMinuteStatisticsRatesData.js +98 -0
- package/dist/cjs/models/AppendixMinuteStatisticsRatesData.js.map +1 -0
- package/dist/cjs/models/AppendixStatisticsMoneyData.d.ts +15 -0
- package/dist/cjs/models/AppendixStatisticsMoneyData.js +39 -0
- package/dist/cjs/models/AppendixStatisticsMoneyData.js.map +1 -0
- package/dist/cjs/models/AppendixStatisticsRatesData.d.ts +16 -0
- package/dist/cjs/models/AppendixStatisticsRatesData.js +40 -0
- package/dist/cjs/models/AppendixStatisticsRatesData.js.map +1 -0
- package/dist/cjs/models/BacklinksDomainIntersection.d.ts +6 -2
- package/dist/cjs/models/BaseChatGptLlmScraperElementItem.d.ts +4 -4
- package/dist/cjs/models/BaseDataforseoLabsApiElementItem.d.ts +136 -136
- package/dist/cjs/models/BaseDataforseoLabsApiElementItem.js +92 -92
- package/dist/cjs/models/BaseDataforseoLabsApiElementItem.js.map +1 -1
- package/dist/cjs/models/BaseGeminiLlmScraperElementItem.d.ts +6 -6
- package/dist/cjs/models/BaseSerpApiAiModeAiOverviewElementItem.d.ts +22 -4
- package/dist/cjs/models/BaseSerpApiAiModeAiOverviewElementItem.js +36 -1
- package/dist/cjs/models/BaseSerpApiAiModeAiOverviewElementItem.js.map +1 -1
- package/dist/cjs/models/BaseSerpApiAiOverviewElementItem.d.ts +16 -0
- package/dist/cjs/models/BaseSerpApiAiOverviewElementItem.js +36 -1
- package/dist/cjs/models/BaseSerpApiAiOverviewElementItem.js.map +1 -1
- package/dist/cjs/models/BaseSerpApiElementItem.d.ts +8 -8
- package/dist/cjs/models/BaseSerpApiProductConsiderationExpandedElementItem.d.ts +2 -0
- package/dist/cjs/models/BaseSerpApiProductConsiderationExpandedElementItem.js.map +1 -1
- package/dist/cjs/models/DataforseoLabsGooglePageIntersectionLiveRequestInfo.d.ts +2 -2
- package/dist/cjs/models/HotelsPackElement.d.ts +8 -0
- package/dist/cjs/models/HotelsPackElement.js +4 -0
- package/dist/cjs/models/HotelsPackElement.js.map +1 -1
- package/dist/cjs/models/ItemsSearchResults.d.ts +38 -0
- package/dist/cjs/models/ItemsSearchResults.js +47 -0
- package/dist/cjs/models/ItemsSearchResults.js.map +1 -0
- package/dist/cjs/models/KnowledgeGraphHotelsBookingElement.d.ts +2 -2
- package/dist/cjs/models/OnPageLighthouseTaskGetJsonTaskInfo.d.ts +2 -0
- package/dist/cjs/models/OnPageLighthouseTaskGetJsonTaskInfo.js.map +1 -1
- package/dist/cjs/models/OnPageTaskPostRequestInfo.d.ts +4 -4
- package/dist/cjs/models/PopularProductsElement.d.ts +8 -0
- package/dist/cjs/models/PopularProductsElement.js +4 -0
- package/dist/cjs/models/PopularProductsElement.js.map +1 -1
- package/dist/cjs/models/RelatedResult.d.ts +2 -2
- package/dist/cjs/models/SearchResults.d.ts +12 -24
- package/dist/cjs/models/SearchResults.js +4 -10
- package/dist/cjs/models/SearchResults.js.map +1 -1
- package/dist/cjs/models/SerpGoogleAiModeLiveAdvancedRequestInfo.d.ts +2 -2
- package/dist/cjs/models/SerpGoogleAiModeLiveHtmlRequestInfo.d.ts +8 -8
- package/dist/cjs/models/SerpGoogleAiModeTaskPostRequestInfo.d.ts +2 -2
- package/dist/cjs/models/SerpGoogleMapsLiveAdvancedRequestInfo.d.ts +2 -2
- package/dist/cjs/models/SerpGoogleMapsTaskPostRequestInfo.d.ts +2 -2
- package/dist/cjs/models/SerpGoogleOrganicLiveAdvancedRequestInfo.d.ts +56 -56
- package/dist/cjs/models/SerpGoogleOrganicLiveAdvancedResponseInfo.d.ts +2 -2
- package/dist/cjs/models/SerpGoogleOrganicLiveAdvancedResultInfo.d.ts +26 -26
- package/dist/cjs/models/SerpGoogleOrganicLiveAdvancedTaskInfo.d.ts +2 -2
- package/dist/cjs/models/SerpNaverOrganicTaskPostRequestInfo.d.ts +2 -2
- package/dist/cjs/models/SerpYahooOrganicLiveAdvancedRequestInfo.d.ts +38 -30
- package/dist/cjs/models/SerpYahooOrganicLiveAdvancedRequestInfo.js +4 -0
- package/dist/cjs/models/SerpYahooOrganicLiveAdvancedRequestInfo.js.map +1 -1
- package/dist/cjs/models/SerpYahooOrganicLiveAdvancedResponseInfo.d.ts +2 -2
- package/dist/cjs/models/SerpYahooOrganicLiveAdvancedResultInfo.d.ts +26 -26
- package/dist/cjs/models/SerpYahooOrganicLiveAdvancedTaskInfo.d.ts +2 -2
- package/dist/cjs/models/SerpYahooOrganicTaskGetAdvancedResponseInfo.d.ts +2 -2
- package/dist/cjs/models/SerpYahooOrganicTaskGetAdvancedResultInfo.d.ts +26 -26
- package/dist/cjs/models/SerpYahooOrganicTaskGetAdvancedTaskInfo.d.ts +2 -2
- package/dist/cjs/models/SerpYoutubeOrganicLiveAdvancedRequestInfo.d.ts +20 -20
- package/dist/cjs/models/SerpYoutubeOrganicLiveAdvancedResponseInfo.d.ts +2 -2
- package/dist/cjs/models/SerpYoutubeOrganicLiveAdvancedResultInfo.d.ts +22 -22
- package/dist/cjs/models/SerpYoutubeOrganicLiveAdvancedTaskInfo.d.ts +2 -2
- package/dist/cjs/models/SerpYoutubeOrganicTaskPostRequestInfo.d.ts +28 -28
- package/dist/cjs/models/SerpYoutubeOrganicTaskPostResponseInfo.d.ts +2 -2
- package/dist/cjs/models/SerpYoutubeOrganicTaskPostTaskInfo.d.ts +2 -2
- package/dist/cjs/models/SerpYoutubeVideoCommentsTaskPostRequestInfo.d.ts +26 -26
- package/dist/cjs/models/SerpYoutubeVideoCommentsTaskPostResponseInfo.d.ts +2 -2
- package/dist/cjs/models/SerpYoutubeVideoCommentsTaskPostTaskInfo.d.ts +2 -2
- package/dist/cjs/models/SerpYoutubeVideoInfoLiveAdvancedRequestInfo.d.ts +16 -16
- package/dist/cjs/models/SerpYoutubeVideoInfoLiveAdvancedResponseInfo.d.ts +2 -2
- package/dist/cjs/models/SerpYoutubeVideoInfoLiveAdvancedResultInfo.d.ts +20 -20
- package/dist/cjs/models/SerpYoutubeVideoInfoLiveAdvancedTaskInfo.d.ts +2 -2
- package/dist/cjs/models/SerpYoutubeVideoInfoTaskPostRequestInfo.d.ts +24 -24
- package/dist/cjs/models/SerpYoutubeVideoInfoTaskPostResponseInfo.d.ts +2 -2
- package/dist/cjs/models/SerpYoutubeVideoInfoTaskPostTaskInfo.d.ts +2 -2
- package/dist/cjs/models/SerpYoutubeVideoSubtitlesLiveAdvancedRequestInfo.d.ts +20 -20
- package/dist/cjs/models/SerpYoutubeVideoSubtitlesLiveAdvancedResponseInfo.d.ts +2 -2
- package/dist/cjs/models/SerpYoutubeVideoSubtitlesLiveAdvancedResultInfo.d.ts +32 -32
- package/dist/cjs/models/SerpYoutubeVideoSubtitlesLiveAdvancedTaskInfo.d.ts +2 -2
- package/dist/cjs/models/SerpYoutubeVideoSubtitlesTaskPostRequestInfo.d.ts +28 -28
- package/dist/cjs/models/SerpYoutubeVideoSubtitlesTaskPostResponseInfo.d.ts +2 -2
- package/dist/cjs/models/SerpYoutubeVideoSubtitlesTaskPostTaskInfo.d.ts +2 -2
- package/dist/cjs/models/SourceInfo.d.ts +4 -4
- package/dist/cjs/models/index.d.ts +14 -11
- package/dist/cjs/models/index.js +206 -199
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/esm/api/AiOptimizationApi.js +54 -54
- package/dist/esm/api/AiOptimizationApi.js.map +1 -1
- package/dist/esm/api/AppDataApi.js +42 -42
- package/dist/esm/api/AppDataApi.js.map +1 -1
- package/dist/esm/api/AppendixApi.js +4 -4
- package/dist/esm/api/AppendixApi.js.map +1 -1
- package/dist/esm/api/BacklinksApi.js +24 -24
- package/dist/esm/api/BacklinksApi.js.map +1 -1
- package/dist/esm/api/BusinessDataApi.js +53 -53
- package/dist/esm/api/BusinessDataApi.js.map +1 -1
- package/dist/esm/api/ContentAnalysisApi.js +11 -11
- package/dist/esm/api/ContentAnalysisApi.js.map +1 -1
- package/dist/esm/api/DataforseoLabsApi.js +48 -48
- package/dist/esm/api/DataforseoLabsApi.js.map +1 -1
- package/dist/esm/api/DomainAnalyticsApi.js +14 -14
- package/dist/esm/api/DomainAnalyticsApi.js.map +1 -1
- package/dist/esm/api/KeywordsDataApi.js +70 -70
- package/dist/esm/api/KeywordsDataApi.js.map +1 -1
- package/dist/esm/api/MerchantApi.js +38 -38
- package/dist/esm/api/MerchantApi.js.map +1 -1
- package/dist/esm/api/OnPageApi.js +31 -31
- package/dist/esm/api/OnPageApi.js.map +1 -1
- package/dist/esm/api/SerpApi.js +176 -176
- package/dist/esm/api/SerpApi.js.map +1 -1
- package/dist/esm/index.d.ts +14 -11
- package/dist/esm/index.js +14 -11
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/models/AiModeAiOverviewShoppingElementInfo.d.ts +8 -0
- package/dist/esm/models/AiModeAiOverviewShoppingElementInfo.js +4 -0
- package/dist/esm/models/AiModeAiOverviewShoppingElementInfo.js.map +1 -1
- package/dist/esm/models/AiOptimizationChatGptLlmResponsesLiveResultInfo.d.ts +5 -0
- package/dist/esm/models/AiOptimizationChatGptLlmResponsesLiveResultInfo.js +16 -0
- package/dist/esm/models/AiOptimizationChatGptLlmResponsesLiveResultInfo.js.map +1 -1
- package/dist/esm/models/AiOptimizationChatGptLlmResponsesTaskGetResultInfo.d.ts +5 -0
- package/dist/esm/models/AiOptimizationChatGptLlmResponsesTaskGetResultInfo.js +16 -0
- package/dist/esm/models/AiOptimizationChatGptLlmResponsesTaskGetResultInfo.js.map +1 -1
- package/dist/esm/models/AiOptimizationChatGptLlmScraperLiveAdvancedRequestInfo.d.ts +4 -4
- package/dist/esm/models/AiOptimizationChatGptLlmScraperLiveAdvancedResultInfo.d.ts +6 -6
- package/dist/esm/models/AiOptimizationChatGptLlmScraperLiveHtmlRequestInfo.d.ts +4 -4
- package/dist/esm/models/AiOptimizationChatGptLlmScraperLiveHtmlResultInfo.d.ts +2 -2
- package/dist/esm/models/AiOptimizationChatGptLlmScraperTaskGetAdvancedResultInfo.d.ts +4 -4
- package/dist/esm/models/AiOptimizationChatGptLlmScraperTaskGetHtmlResultInfo.d.ts +2 -2
- package/dist/esm/models/AiOptimizationChatGptLlmScraperTaskPostRequestInfo.d.ts +6 -6
- package/dist/esm/models/AiOptimizationClaudeLlmResponsesLiveResultInfo.d.ts +5 -0
- package/dist/esm/models/AiOptimizationClaudeLlmResponsesLiveResultInfo.js +16 -0
- package/dist/esm/models/AiOptimizationClaudeLlmResponsesLiveResultInfo.js.map +1 -1
- package/dist/esm/models/AiOptimizationClaudeLlmResponsesTaskGetResultInfo.d.ts +9 -0
- package/dist/esm/models/AiOptimizationClaudeLlmResponsesTaskGetResultInfo.js +18 -0
- package/dist/esm/models/AiOptimizationClaudeLlmResponsesTaskGetResultInfo.js.map +1 -1
- package/dist/esm/models/AiOptimizationGeminiLlmScraperLiveAdvancedRequestInfo.d.ts +2 -2
- package/dist/esm/models/AiOptimizationGeminiLlmScraperLiveAdvancedResultInfo.d.ts +6 -6
- package/dist/esm/models/AiOptimizationGeminiLlmScraperLiveHtmlRequestInfo.d.ts +2 -2
- package/dist/esm/models/AiOptimizationGeminiLlmScraperLiveHtmlResultInfo.d.ts +2 -2
- package/dist/esm/models/AiOptimizationGeminiLlmScraperTaskGetAdvancedResultInfo.d.ts +4 -4
- package/dist/esm/models/AiOptimizationGeminiLlmScraperTaskGetHtmlResultInfo.d.ts +2 -2
- package/dist/esm/models/AiOptimizationGeminiLlmScraperTaskPostRequestInfo.d.ts +4 -4
- package/dist/esm/models/AiOptimizationLlmMentionsSearchMentionsLiveItem.d.ts +3 -3
- package/dist/esm/models/AiOptimizationLlmMentionsSearchMentionsLiveItem.js +2 -2
- package/dist/esm/models/AiOptimizationLlmMentionsSearchMentionsLiveItem.js.map +1 -1
- package/dist/esm/models/AiOptimizationPerplexityLlmResponsesLiveResultInfo.d.ts +7 -2
- package/dist/esm/models/AiOptimizationPerplexityLlmResponsesLiveResultInfo.js +16 -0
- package/dist/esm/models/AiOptimizationPerplexityLlmResponsesLiveResultInfo.js.map +1 -1
- package/dist/esm/models/AppendixDayStatisticsDataInfo.d.ts +78 -0
- package/dist/esm/models/AppendixDayStatisticsDataInfo.js +94 -0
- package/dist/esm/models/AppendixDayStatisticsDataInfo.js.map +1 -0
- package/dist/esm/models/AppendixMinuteStatisticsRatesData.d.ts +78 -0
- package/dist/esm/models/AppendixMinuteStatisticsRatesData.js +94 -0
- package/dist/esm/models/AppendixMinuteStatisticsRatesData.js.map +1 -0
- package/dist/esm/models/AppendixStatisticsMoneyData.d.ts +15 -0
- package/dist/esm/models/AppendixStatisticsMoneyData.js +35 -0
- package/dist/esm/models/AppendixStatisticsMoneyData.js.map +1 -0
- package/dist/esm/models/AppendixStatisticsRatesData.d.ts +16 -0
- package/dist/esm/models/AppendixStatisticsRatesData.js +36 -0
- package/dist/esm/models/AppendixStatisticsRatesData.js.map +1 -0
- package/dist/esm/models/BacklinksDomainIntersection.d.ts +6 -2
- package/dist/esm/models/BaseChatGptLlmScraperElementItem.d.ts +4 -4
- package/dist/esm/models/BaseDataforseoLabsApiElementItem.d.ts +136 -136
- package/dist/esm/models/BaseDataforseoLabsApiElementItem.js +88 -88
- package/dist/esm/models/BaseDataforseoLabsApiElementItem.js.map +1 -1
- package/dist/esm/models/BaseGeminiLlmScraperElementItem.d.ts +6 -6
- package/dist/esm/models/BaseSerpApiAiModeAiOverviewElementItem.d.ts +22 -4
- package/dist/esm/models/BaseSerpApiAiModeAiOverviewElementItem.js +34 -0
- package/dist/esm/models/BaseSerpApiAiModeAiOverviewElementItem.js.map +1 -1
- package/dist/esm/models/BaseSerpApiAiOverviewElementItem.d.ts +16 -0
- package/dist/esm/models/BaseSerpApiAiOverviewElementItem.js +34 -0
- package/dist/esm/models/BaseSerpApiAiOverviewElementItem.js.map +1 -1
- package/dist/esm/models/BaseSerpApiElementItem.d.ts +8 -8
- package/dist/esm/models/BaseSerpApiProductConsiderationExpandedElementItem.d.ts +2 -0
- package/dist/esm/models/BaseSerpApiProductConsiderationExpandedElementItem.js.map +1 -1
- package/dist/esm/models/DataforseoLabsGooglePageIntersectionLiveRequestInfo.d.ts +2 -2
- package/dist/esm/models/HotelsPackElement.d.ts +8 -0
- package/dist/esm/models/HotelsPackElement.js +4 -0
- package/dist/esm/models/HotelsPackElement.js.map +1 -1
- package/dist/esm/models/ItemsSearchResults.d.ts +38 -0
- package/dist/esm/models/ItemsSearchResults.js +43 -0
- package/dist/esm/models/ItemsSearchResults.js.map +1 -0
- package/dist/esm/models/KnowledgeGraphHotelsBookingElement.d.ts +2 -2
- package/dist/esm/models/OnPageLighthouseTaskGetJsonTaskInfo.d.ts +2 -0
- package/dist/esm/models/OnPageLighthouseTaskGetJsonTaskInfo.js.map +1 -1
- package/dist/esm/models/OnPageTaskPostRequestInfo.d.ts +4 -4
- package/dist/esm/models/PopularProductsElement.d.ts +8 -0
- package/dist/esm/models/PopularProductsElement.js +4 -0
- package/dist/esm/models/PopularProductsElement.js.map +1 -1
- package/dist/esm/models/RelatedResult.d.ts +2 -2
- package/dist/esm/models/SearchResults.d.ts +12 -24
- package/dist/esm/models/SearchResults.js +4 -10
- package/dist/esm/models/SearchResults.js.map +1 -1
- package/dist/esm/models/SerpGoogleAiModeLiveAdvancedRequestInfo.d.ts +2 -2
- package/dist/esm/models/SerpGoogleAiModeLiveHtmlRequestInfo.d.ts +8 -8
- package/dist/esm/models/SerpGoogleAiModeTaskPostRequestInfo.d.ts +2 -2
- package/dist/esm/models/SerpGoogleMapsLiveAdvancedRequestInfo.d.ts +2 -2
- package/dist/esm/models/SerpGoogleMapsTaskPostRequestInfo.d.ts +2 -2
- package/dist/esm/models/SerpGoogleOrganicLiveAdvancedRequestInfo.d.ts +56 -56
- package/dist/esm/models/SerpGoogleOrganicLiveAdvancedResponseInfo.d.ts +2 -2
- package/dist/esm/models/SerpGoogleOrganicLiveAdvancedResultInfo.d.ts +26 -26
- package/dist/esm/models/SerpGoogleOrganicLiveAdvancedTaskInfo.d.ts +2 -2
- package/dist/esm/models/SerpNaverOrganicTaskPostRequestInfo.d.ts +2 -2
- package/dist/esm/models/SerpYahooOrganicLiveAdvancedRequestInfo.d.ts +38 -30
- package/dist/esm/models/SerpYahooOrganicLiveAdvancedRequestInfo.js +4 -0
- package/dist/esm/models/SerpYahooOrganicLiveAdvancedRequestInfo.js.map +1 -1
- package/dist/esm/models/SerpYahooOrganicLiveAdvancedResponseInfo.d.ts +2 -2
- package/dist/esm/models/SerpYahooOrganicLiveAdvancedResultInfo.d.ts +26 -26
- package/dist/esm/models/SerpYahooOrganicLiveAdvancedTaskInfo.d.ts +2 -2
- package/dist/esm/models/SerpYahooOrganicTaskGetAdvancedResponseInfo.d.ts +2 -2
- package/dist/esm/models/SerpYahooOrganicTaskGetAdvancedResultInfo.d.ts +26 -26
- package/dist/esm/models/SerpYahooOrganicTaskGetAdvancedTaskInfo.d.ts +2 -2
- package/dist/esm/models/SerpYoutubeOrganicLiveAdvancedRequestInfo.d.ts +20 -20
- package/dist/esm/models/SerpYoutubeOrganicLiveAdvancedResponseInfo.d.ts +2 -2
- package/dist/esm/models/SerpYoutubeOrganicLiveAdvancedResultInfo.d.ts +22 -22
- package/dist/esm/models/SerpYoutubeOrganicLiveAdvancedTaskInfo.d.ts +2 -2
- package/dist/esm/models/SerpYoutubeOrganicTaskPostRequestInfo.d.ts +28 -28
- package/dist/esm/models/SerpYoutubeOrganicTaskPostResponseInfo.d.ts +2 -2
- package/dist/esm/models/SerpYoutubeOrganicTaskPostTaskInfo.d.ts +2 -2
- package/dist/esm/models/SerpYoutubeVideoCommentsTaskPostRequestInfo.d.ts +26 -26
- package/dist/esm/models/SerpYoutubeVideoCommentsTaskPostResponseInfo.d.ts +2 -2
- package/dist/esm/models/SerpYoutubeVideoCommentsTaskPostTaskInfo.d.ts +2 -2
- package/dist/esm/models/SerpYoutubeVideoInfoLiveAdvancedRequestInfo.d.ts +16 -16
- package/dist/esm/models/SerpYoutubeVideoInfoLiveAdvancedResponseInfo.d.ts +2 -2
- package/dist/esm/models/SerpYoutubeVideoInfoLiveAdvancedResultInfo.d.ts +20 -20
- package/dist/esm/models/SerpYoutubeVideoInfoLiveAdvancedTaskInfo.d.ts +2 -2
- package/dist/esm/models/SerpYoutubeVideoInfoTaskPostRequestInfo.d.ts +24 -24
- package/dist/esm/models/SerpYoutubeVideoInfoTaskPostResponseInfo.d.ts +2 -2
- package/dist/esm/models/SerpYoutubeVideoInfoTaskPostTaskInfo.d.ts +2 -2
- package/dist/esm/models/SerpYoutubeVideoSubtitlesLiveAdvancedRequestInfo.d.ts +20 -20
- package/dist/esm/models/SerpYoutubeVideoSubtitlesLiveAdvancedResponseInfo.d.ts +2 -2
- package/dist/esm/models/SerpYoutubeVideoSubtitlesLiveAdvancedResultInfo.d.ts +32 -32
- package/dist/esm/models/SerpYoutubeVideoSubtitlesLiveAdvancedTaskInfo.d.ts +2 -2
- package/dist/esm/models/SerpYoutubeVideoSubtitlesTaskPostRequestInfo.d.ts +28 -28
- package/dist/esm/models/SerpYoutubeVideoSubtitlesTaskPostResponseInfo.d.ts +2 -2
- package/dist/esm/models/SerpYoutubeVideoSubtitlesTaskPostTaskInfo.d.ts +2 -2
- package/dist/esm/models/SourceInfo.d.ts +4 -4
- package/dist/esm/models/index.d.ts +14 -11
- package/dist/esm/models/index.js +14 -11
- package/dist/esm/models/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -16,13 +16,10 @@ class SearchResults {
|
|
|
16
16
|
if (data.hasOwnProperty(property))
|
|
17
17
|
this[property] = data[property];
|
|
18
18
|
}
|
|
19
|
-
this.description = data["description"];
|
|
20
|
-
this.breadcrumb = data["breadcrumb"];
|
|
21
|
-
this.rank = data["rank"];
|
|
22
19
|
this.title = data["title"];
|
|
23
|
-
this.domain = data["domain"];
|
|
24
20
|
this.url = data["url"];
|
|
25
|
-
this.
|
|
21
|
+
this.date = data["date"];
|
|
22
|
+
this.snippet = data["snippet"];
|
|
26
23
|
}
|
|
27
24
|
}
|
|
28
25
|
static fromJS(data) {
|
|
@@ -33,13 +30,10 @@ class SearchResults {
|
|
|
33
30
|
}
|
|
34
31
|
toJSON(data) {
|
|
35
32
|
data = typeof data === 'object' ? data : {};
|
|
36
|
-
data["description"] = this.description;
|
|
37
|
-
data["breadcrumb"] = this.breadcrumb;
|
|
38
|
-
data["rank"] = this.rank;
|
|
39
33
|
data["title"] = this.title;
|
|
40
|
-
data["domain"] = this.domain;
|
|
41
34
|
data["url"] = this.url;
|
|
42
|
-
data["
|
|
35
|
+
data["date"] = this.date;
|
|
36
|
+
data["snippet"] = this.snippet;
|
|
43
37
|
return data;
|
|
44
38
|
}
|
|
45
39
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchResults.js","sourceRoot":"","sources":["../../../src/models/SearchResults.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"SearchResults.js","sourceRoot":"","sources":["../../../src/models/SearchResults.ts"],"names":[],"mappings":";;;AAkBA,MAAa,aAAa;IAyBtB,YAAY,IAAqB;QAEjC,IAAI,IAAI,EAAE,CAAC;YACP,KAAK,IAAI,QAAQ,IAAI,IAAI,EAAE,CAAC;gBACxB,IAAI,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC;oBACvB,IAAK,CAAC,QAAQ,CAAC,GAAS,IAAK,CAAC,QAAQ,CAAC,CAAC;YACtD,CAAC;QACL,CAAC;IAED,CAAC;IAED,IAAI,CAAC,IAAU;QACX,IAAI,IAAI,EAAE,CAAC;YACP,KAAK,IAAI,QAAQ,IAAI,IAAI,EAAE,CAAC;gBACxB,IAAI,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC;oBAC7B,IAAI,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC;YACxC,CAAC;YACD,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC;YAC3B,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC;YACvB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC;YACzB,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,SAAS,CAAC,CAAC;QACnC,CAAC;IACL,CAAC;IAED,MAAM,CAAC,MAAM,CAAC,IAAS;QACnB,IAAI,GAAG,OAAO,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC;QAG5C,IAAI,MAAM,GAAG,IAAI,aAAa,EAAE,CAAC;QACjC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAClB,OAAO,MAAM,CAAC;IAClB,CAAC;IAED,MAAM,CAAC,IAAU;QACb,IAAI,GAAG,OAAO,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC;QAI5C,IAAI,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC;QAC3B,IAAI,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC;QACvB,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC;QACzB,IAAI,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC;QAC/B,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AArED,sCAqEC"}
|
|
@@ -9,7 +9,7 @@ export interface ISerpGoogleAiModeLiveAdvancedRequestInfo {
|
|
|
9
9
|
device?: string | undefined;
|
|
10
10
|
/** *full name of search engine location* **required field if you don't specify** `location_code` or `location_coordinate` **if you use this field, you don't need to specify `location_code` or `location_coordinate`** you can receive the list of available locations of the search engine with their `location_name` by making a separate request to the `https://api.dataforseo.com/v3/serp/google/locations` **Note:** check [Google Search Help](https://support.google.com/websearch/answer/16011537?hl=en&co=GENIE.Platform%3DAndroid#) for the list of countries where AI Mode is currently available */
|
|
11
11
|
location_name?: string | undefined;
|
|
12
|
-
/** *full name of search engine language* required field if you don't specify `language_code`; if you use this field, you don't need to specify `language_code`; you can receive the list of available languages of the search engine with their `language_name` by making a separate request to the `https://api.dataforseo.com/v3/serp/google/ai_mode/languages
|
|
12
|
+
/** *full name of search engine language* required field if you don't specify `language_code`; if you use this field, you don't need to specify `language_code`; you can receive the list of available languages of the search engine with their `language_name` by making a separate request to the `https://api.dataforseo.com/v3/serp/google/ai_mode/languages` */
|
|
13
13
|
language_name?: string | undefined;
|
|
14
14
|
/** *device operating system* optional field if you specify `desktop` in the `device` field, choose from the following values: `windows`, `macos` default value: `windows` if you specify `mobile` in the `device` field, choose from the following values: `android`, `ios` default value: `android` */
|
|
15
15
|
os?: string | undefined;
|
|
@@ -38,7 +38,7 @@ export declare class SerpGoogleAiModeLiveAdvancedRequestInfo implements ISerpGoo
|
|
|
38
38
|
device?: string | undefined;
|
|
39
39
|
/** *full name of search engine location* **required field if you don't specify** `location_code` or `location_coordinate` **if you use this field, you don't need to specify `location_code` or `location_coordinate`** you can receive the list of available locations of the search engine with their `location_name` by making a separate request to the `https://api.dataforseo.com/v3/serp/google/locations` **Note:** check [Google Search Help](https://support.google.com/websearch/answer/16011537?hl=en&co=GENIE.Platform%3DAndroid#) for the list of countries where AI Mode is currently available */
|
|
40
40
|
location_name?: string | undefined;
|
|
41
|
-
/** *full name of search engine language* required field if you don't specify `language_code`; if you use this field, you don't need to specify `language_code`; you can receive the list of available languages of the search engine with their `language_name` by making a separate request to the `https://api.dataforseo.com/v3/serp/google/ai_mode/languages
|
|
41
|
+
/** *full name of search engine language* required field if you don't specify `language_code`; if you use this field, you don't need to specify `language_code`; you can receive the list of available languages of the search engine with their `language_name` by making a separate request to the `https://api.dataforseo.com/v3/serp/google/ai_mode/languages` */
|
|
42
42
|
language_name?: string | undefined;
|
|
43
43
|
/** *device operating system* optional field if you specify `desktop` in the `device` field, choose from the following values: `windows`, `macos` default value: `windows` if you specify `mobile` in the `device` field, choose from the following values: `android`, `ios` default value: `android` */
|
|
44
44
|
os?: string | undefined;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
export interface ISerpGoogleAiModeLiveHtmlRequestInfo {
|
|
2
2
|
/** *keyword* **required field** you can specify **up to 700 characters** in the `keyword` field all %## will be decoded (plus character '+' will be decoded to a space character) if you need to use the '%' character for your `keyword`, please specify it as '%25'; if you need to use the “+” character for your `keyword`, please specify it as “%2B”; */
|
|
3
3
|
keyword?: string | undefined;
|
|
4
|
-
/** *full name of search engine location* **required field if you don't specify** `location_code` or `location_coordinate` **if you use this field, you don't need to specify `location_code` or `location_coordinate`** you can receive the list of available locations of the search engine with their `location_name` by making a separate request to the `https://api.dataforseo.com/v3/serp/
|
|
4
|
+
/** *full name of search engine location* **required field if you don't specify** `location_code` or `location_coordinate` **if you use this field, you don't need to specify `location_code` or `location_coordinate`** you can receive the list of available locations of the search engine with their `location_name` by making a separate request to the `https://api.dataforseo.com/v3/serp/google/locations` example: `London,England,United Kingdom` */
|
|
5
5
|
location_name?: string | undefined;
|
|
6
|
-
/** *search engine location code* **required field if you don't specify** `location_name`_or `location_coordinate` **if you use this field, you don't need to specify `location_name` or `location_coordinate`** you can receive the list of available locations of the search engines with their `location_code` by making a separate request to the `https://api.dataforseo.com/v3/serp/
|
|
6
|
+
/** *search engine location code* **required field if you don't specify** `location_name`_or `location_coordinate` **if you use this field, you don't need to specify `location_name` or `location_coordinate`** you can receive the list of available locations of the search engines with their `location_code` by making a separate request to the `https://api.dataforseo.com/v3/serp/google/locations` example: `2840` */
|
|
7
7
|
location_code?: number | undefined;
|
|
8
8
|
/** *GPS coordinates of a location* **required field if you don't specify** `location_name`_or `location_code` **if you use this field, you don't need to specify `location_name` or `location_code`** `location_coordinate` parameter should be specified in the *'latitude,longitude,radius'* format the maximum number of decimal digits for *'latitude'* and *'longitude'*: 7 the minimum value for *'radius'*: 199.9 (mm) the maximum value for *'radius'*: 199999 (mm) example: `53.476225,-2.243572,200`n */
|
|
9
9
|
location_coordinate?: string | undefined;
|
|
10
|
-
/** *full name of search engine language* required field if you don't specify `language_code`; if you use this field, you don't need to specify `language_code`; you can receive the list of available languages of the search engine with their `language_name` by making a separate request to the `https://api.dataforseo.com/v3/serp/google/ai_mode/languages
|
|
10
|
+
/** *full name of search engine language* required field if you don't specify `language_code`; if you use this field, you don't need to specify `language_code`; you can receive the list of available languages of the search engine with their `language_name` by making a separate request to the `https://api.dataforseo.com/v3/serp/google/ai_mode/languages` */
|
|
11
11
|
language_name?: string | undefined;
|
|
12
|
-
/** *search engine language code* required field if you don't specify `language_name`; if you use this field, you don't need to specify `language_name`; you can receive the list of available languages of the search engine with their `language_code`_by making a separate request to the `https://api.dataforseo.com/v3/serp/google/ai_mode/languages`
|
|
12
|
+
/** *search engine language code* required field if you don't specify `language_name`; if you use this field, you don't need to specify `language_name`; you can receive the list of available languages of the search engine with their `language_code`_by making a separate request to the `https://api.dataforseo.com/v3/serp/google/ai_mode/languages` */
|
|
13
13
|
language_code?: string | undefined;
|
|
14
14
|
/** *device type* optional field return results for a specific device type can take the values:`desktop`, `mobile` default value: `desktop` */
|
|
15
15
|
device?: string | undefined;
|
|
@@ -22,15 +22,15 @@ export interface ISerpGoogleAiModeLiveHtmlRequestInfo {
|
|
|
22
22
|
export declare class SerpGoogleAiModeLiveHtmlRequestInfo implements ISerpGoogleAiModeLiveHtmlRequestInfo {
|
|
23
23
|
/** *keyword* **required field** you can specify **up to 700 characters** in the `keyword` field all %## will be decoded (plus character '+' will be decoded to a space character) if you need to use the '%' character for your `keyword`, please specify it as '%25'; if you need to use the “+” character for your `keyword`, please specify it as “%2B”; */
|
|
24
24
|
keyword?: string | undefined;
|
|
25
|
-
/** *full name of search engine location* **required field if you don't specify** `location_code` or `location_coordinate` **if you use this field, you don't need to specify `location_code` or `location_coordinate`** you can receive the list of available locations of the search engine with their `location_name` by making a separate request to the `https://api.dataforseo.com/v3/serp/
|
|
25
|
+
/** *full name of search engine location* **required field if you don't specify** `location_code` or `location_coordinate` **if you use this field, you don't need to specify `location_code` or `location_coordinate`** you can receive the list of available locations of the search engine with their `location_name` by making a separate request to the `https://api.dataforseo.com/v3/serp/google/locations` example: `London,England,United Kingdom` */
|
|
26
26
|
location_name?: string | undefined;
|
|
27
|
-
/** *search engine location code* **required field if you don't specify** `location_name`_or `location_coordinate` **if you use this field, you don't need to specify `location_name` or `location_coordinate`** you can receive the list of available locations of the search engines with their `location_code` by making a separate request to the `https://api.dataforseo.com/v3/serp/
|
|
27
|
+
/** *search engine location code* **required field if you don't specify** `location_name`_or `location_coordinate` **if you use this field, you don't need to specify `location_name` or `location_coordinate`** you can receive the list of available locations of the search engines with their `location_code` by making a separate request to the `https://api.dataforseo.com/v3/serp/google/locations` example: `2840` */
|
|
28
28
|
location_code?: number | undefined;
|
|
29
29
|
/** *GPS coordinates of a location* **required field if you don't specify** `location_name`_or `location_code` **if you use this field, you don't need to specify `location_name` or `location_code`** `location_coordinate` parameter should be specified in the *'latitude,longitude,radius'* format the maximum number of decimal digits for *'latitude'* and *'longitude'*: 7 the minimum value for *'radius'*: 199.9 (mm) the maximum value for *'radius'*: 199999 (mm) example: `53.476225,-2.243572,200`n */
|
|
30
30
|
location_coordinate?: string | undefined;
|
|
31
|
-
/** *full name of search engine language* required field if you don't specify `language_code`; if you use this field, you don't need to specify `language_code`; you can receive the list of available languages of the search engine with their `language_name` by making a separate request to the `https://api.dataforseo.com/v3/serp/google/ai_mode/languages
|
|
31
|
+
/** *full name of search engine language* required field if you don't specify `language_code`; if you use this field, you don't need to specify `language_code`; you can receive the list of available languages of the search engine with their `language_name` by making a separate request to the `https://api.dataforseo.com/v3/serp/google/ai_mode/languages` */
|
|
32
32
|
language_name?: string | undefined;
|
|
33
|
-
/** *search engine language code* required field if you don't specify `language_name`; if you use this field, you don't need to specify `language_name`; you can receive the list of available languages of the search engine with their `language_code`_by making a separate request to the `https://api.dataforseo.com/v3/serp/google/ai_mode/languages`
|
|
33
|
+
/** *search engine language code* required field if you don't specify `language_name`; if you use this field, you don't need to specify `language_name`; you can receive the list of available languages of the search engine with their `language_code`_by making a separate request to the `https://api.dataforseo.com/v3/serp/google/ai_mode/languages` */
|
|
34
34
|
language_code?: string | undefined;
|
|
35
35
|
/** *device type* optional field return results for a specific device type can take the values:`desktop`, `mobile` default value: `desktop` */
|
|
36
36
|
device?: string | undefined;
|
|
@@ -17,7 +17,7 @@ export interface ISerpGoogleAiModeTaskPostRequestInfo {
|
|
|
17
17
|
postback_data?: string | undefined;
|
|
18
18
|
/** *full name of search engine location* **required field if you don't specify** `location_code` or `location_coordinate` **if you use this field, you don't need to specify `location_code` or `location_coordinate`** you can receive the list of available locations of the search engine with their `location_name` by making a separate request to the `https://api.dataforseo.com/v3/serp/google/locations` **Note:** check [Google Search Help](https://support.google.com/websearch/answer/16011537?hl=en&co=GENIE.Platform%3DAndroid#) for the list of countries where AI Mode is currently available */
|
|
19
19
|
location_name?: string | undefined;
|
|
20
|
-
/** *full name of search engine language* required field if you don't specify `language_code`; if you use this field, you don't need to specify `language_code`; you can receive the list of available languages of the search engine with their `language_name` by making a separate request to the `https://api.dataforseo.com/v3/serp/google/ai_mode/languages
|
|
20
|
+
/** *full name of search engine language* required field if you don't specify `language_code`; if you use this field, you don't need to specify `language_code`; you can receive the list of available languages of the search engine with their `language_name` by making a separate request to the `https://api.dataforseo.com/v3/serp/google/ai_mode/languages` */
|
|
21
21
|
language_name?: string | undefined;
|
|
22
22
|
/** *device operating system* optional field if you specify `desktop` in the `device` field, choose from the following values: `windows`, `macos` default value: `windows` if you specify `mobile` in the `device` field, choose from the following values: `android`, `ios` default value: `android` */
|
|
23
23
|
os?: string | undefined;
|
|
@@ -54,7 +54,7 @@ export declare class SerpGoogleAiModeTaskPostRequestInfo implements ISerpGoogleA
|
|
|
54
54
|
postback_data?: string | undefined;
|
|
55
55
|
/** *full name of search engine location* **required field if you don't specify** `location_code` or `location_coordinate` **if you use this field, you don't need to specify `location_code` or `location_coordinate`** you can receive the list of available locations of the search engine with their `location_name` by making a separate request to the `https://api.dataforseo.com/v3/serp/google/locations` **Note:** check [Google Search Help](https://support.google.com/websearch/answer/16011537?hl=en&co=GENIE.Platform%3DAndroid#) for the list of countries where AI Mode is currently available */
|
|
56
56
|
location_name?: string | undefined;
|
|
57
|
-
/** *full name of search engine language* required field if you don't specify `language_code`; if you use this field, you don't need to specify `language_code`; you can receive the list of available languages of the search engine with their `language_name` by making a separate request to the `https://api.dataforseo.com/v3/serp/google/ai_mode/languages
|
|
57
|
+
/** *full name of search engine language* required field if you don't specify `language_code`; if you use this field, you don't need to specify `language_code`; you can receive the list of available languages of the search engine with their `language_name` by making a separate request to the `https://api.dataforseo.com/v3/serp/google/ai_mode/languages` */
|
|
58
58
|
language_name?: string | undefined;
|
|
59
59
|
/** *device operating system* optional field if you specify `desktop` in the `device` field, choose from the following values: `windows`, `macos` default value: `windows` if you specify `mobile` in the `device` field, choose from the following values: `android`, `ios` default value: `android` */
|
|
60
60
|
os?: string | undefined;
|
|
@@ -7,7 +7,7 @@ export interface ISerpGoogleMapsLiveAdvancedRequestInfo {
|
|
|
7
7
|
language_code?: string | undefined;
|
|
8
8
|
/** *parsing depth* optional field number of results in SERP default value: `100` max value: `700` **Your account will be billed per each SERP containing up to 100 results;** Setting depth above 100 may result in additional charges [if the search engine returns more than 100 results](https://dataforseo.com/help-center/how-many-results-scraped); The cost can be calculated on the [Pricing](https://dataforseo.com/pricing/serp/google-maps-serp-api) page. */
|
|
9
9
|
depth?: number | undefined;
|
|
10
|
-
/** *device type* optional field return results for a specific device type can take the values:`desktop`, `mobile` default value: `desktop`
|
|
10
|
+
/** *device type* optional field return results for a specific device type can take the values:`desktop`, `mobile` default value: `desktop` */
|
|
11
11
|
device?: string | undefined;
|
|
12
12
|
/** *full name of search engine location* **required field if you don't specify** `location_code` or `location_coordinate` **if you use this field, you don't need to specify `location_code` or `location_coordinate`** you can receive the list of available locations of the search engine with their `location_name` by making a separate request to the `https://api.dataforseo.com/v3/serp/google/locations` example: `London,England,United Kingdom` */
|
|
13
13
|
location_name?: string | undefined;
|
|
@@ -40,7 +40,7 @@ export declare class SerpGoogleMapsLiveAdvancedRequestInfo implements ISerpGoogl
|
|
|
40
40
|
language_code?: string | undefined;
|
|
41
41
|
/** *parsing depth* optional field number of results in SERP default value: `100` max value: `700` **Your account will be billed per each SERP containing up to 100 results;** Setting depth above 100 may result in additional charges [if the search engine returns more than 100 results](https://dataforseo.com/help-center/how-many-results-scraped); The cost can be calculated on the [Pricing](https://dataforseo.com/pricing/serp/google-maps-serp-api) page. */
|
|
42
42
|
depth?: number | undefined;
|
|
43
|
-
/** *device type* optional field return results for a specific device type can take the values:`desktop`, `mobile` default value: `desktop`
|
|
43
|
+
/** *device type* optional field return results for a specific device type can take the values:`desktop`, `mobile` default value: `desktop` */
|
|
44
44
|
device?: string | undefined;
|
|
45
45
|
/** *full name of search engine location* **required field if you don't specify** `location_code` or `location_coordinate` **if you use this field, you don't need to specify `location_code` or `location_coordinate`** you can receive the list of available locations of the search engine with their `location_name` by making a separate request to the `https://api.dataforseo.com/v3/serp/google/locations` example: `London,England,United Kingdom` */
|
|
46
46
|
location_name?: string | undefined;
|
|
@@ -9,7 +9,7 @@ export interface ISerpGoogleMapsTaskPostRequestInfo {
|
|
|
9
9
|
depth?: number | undefined;
|
|
10
10
|
/** *task priority* optional field can take the following values: 1 – normal execution priority (set by default) 2 – high execution priority You will be additionally charged for the tasks with high execution priority. The cost can be calculated on the [Pricing](https://dataforseo.com/pricing/serp/google-maps-serp-api) page. */
|
|
11
11
|
priority?: number | undefined;
|
|
12
|
-
/** *device type* optional field return results for a specific device type can take the values:`desktop`, `mobile` default value: `desktop`
|
|
12
|
+
/** *device type* optional field return results for a specific device type can take the values:`desktop`, `mobile` default value: `desktop` */
|
|
13
13
|
device?: string | undefined;
|
|
14
14
|
/** *notification URL of a completed task* optional field when a task is completed we will notify you by GET request sent to the URL you have specified you can use the ‘$id’ string as a `$id` variable and ‘$tag’ as urlencoded `$tag` variable. We will set the necessary values before sending the request. example: `http://your-server.com/pingscript?id=$id` `http://your-server.com/pingscript?id=$id&tag=$tag` **Note:** special characters in `pingback_url` will be urlencoded; i.a., the `#` character will be encoded into `%23` learn more on our [Help Center](https://dataforseo.com/help-center/pingbacks-postbacks-with-dataforseo-api) */
|
|
15
15
|
pingback_url?: string | undefined;
|
|
@@ -50,7 +50,7 @@ export declare class SerpGoogleMapsTaskPostRequestInfo implements ISerpGoogleMap
|
|
|
50
50
|
depth?: number | undefined;
|
|
51
51
|
/** *task priority* optional field can take the following values: 1 – normal execution priority (set by default) 2 – high execution priority You will be additionally charged for the tasks with high execution priority. The cost can be calculated on the [Pricing](https://dataforseo.com/pricing/serp/google-maps-serp-api) page. */
|
|
52
52
|
priority?: number | undefined;
|
|
53
|
-
/** *device type* optional field return results for a specific device type can take the values:`desktop`, `mobile` default value: `desktop`
|
|
53
|
+
/** *device type* optional field return results for a specific device type can take the values:`desktop`, `mobile` default value: `desktop` */
|
|
54
54
|
device?: string | undefined;
|
|
55
55
|
/** *notification URL of a completed task* optional field when a task is completed we will notify you by GET request sent to the URL you have specified you can use the ‘$id’ string as a `$id` variable and ‘$tag’ as urlencoded `$tag` variable. We will set the necessary values before sending the request. example: `http://your-server.com/pingscript?id=$id` `http://your-server.com/pingscript?id=$id&tag=$tag` **Note:** special characters in `pingback_url` will be urlencoded; i.a., the `#` character will be encoded into `%23` learn more on our [Help Center](https://dataforseo.com/help-center/pingbacks-postbacks-with-dataforseo-api) */
|
|
56
56
|
pingback_url?: string | undefined;
|
|
@@ -1,123 +1,123 @@
|
|
|
1
1
|
import { SerpApiStopCrawlOnMatchInfo } from "./SerpApiStopCrawlOnMatchInfo";
|
|
2
2
|
export interface ISerpGoogleOrganicLiveAdvancedRequestInfo {
|
|
3
|
-
/**
|
|
3
|
+
/** *keyword* **required field** you can specify **up to 700 characters** in the `keyword` field all %## will be decoded (plus character ‘+’ will be decoded to a space character) if you need to use the “%” character for your `keyword`, please specify it as “%25”; if you need to use the “+” character for your `keyword`, please specify it as “%2B”; if this field contains such parameters as *‘allinanchor:’, ‘allintext:’, ‘allintitle:’, ‘allinurl:’, ‘cache:’, ‘define:’, ‘definition:’, ‘filetype:’, ‘id:’, ‘inanchor:’, ‘info:’, ‘intext:’, ‘intitle:’, ‘inurl:’, ‘link:’, ‘site:’*, **the charge per task will be multiplied by 5** learn more about rules and limitations of `keyword` and `keywords` fields in DataForSEO APIs in this [Help Center article](https://dataforseo.com/help-center/rules-and-limitations-of-keyword-and-keywords-fields-in-dataforseo-apis) */
|
|
4
4
|
keyword?: string | undefined;
|
|
5
|
-
/** search engine location
|
|
5
|
+
/** *search engine location code* **required field if you don't specify** `location_name` or `location_coordinate` **if you use this field, you don't need to specify `location_name` or `location_coordinate`** you can receive the list of available locations of the search engines with their `location_code` by making a separate request to the `https://api.dataforseo.com/v3/serp/google/locations` example: `2840` */
|
|
6
6
|
location_code?: number | undefined;
|
|
7
|
-
/** search engine language
|
|
7
|
+
/** *search engine language code* optional field if you specify `language_name` **if you use this field, you don't need to specify `language_name`** you can receive the list of available languages of the search engine with their `language_code` by making a separate request to the `https://api.dataforseo.com/v3/serp/google/languages`**example:**`en` */
|
|
8
8
|
language_code?: string | undefined;
|
|
9
|
-
/** parsing
|
|
9
|
+
/** *parsing depth* optional field number of results in SERP **default value: `10`** max value: `200` **Your account will be billed per each SERP containing up to 10 results;** Setting depth above 10 may result in additional charges [if the search engine returns more than 10 results](https://dataforseo.com/help-center/how-many-results-scraped); The cost can be calculated on the [Pricing](https://dataforseo.com/pricing/serp/google-organic-serp-api) page. */
|
|
10
10
|
depth?: number | undefined;
|
|
11
|
-
/** device
|
|
11
|
+
/** *device type* optional field return results for a specific device type can take the values:`desktop`, `mobile` default value: `desktop` */
|
|
12
12
|
device?: string | undefined;
|
|
13
|
-
/** load asynchronous ai
|
|
13
|
+
/** *load asynchronous ai overview* optional field set to `true` to obtain `ai_overview` items is SERPs even if they are loaded asynchronously; if set to `false`, you will only obtain `ai_overview` items from cache; default value: `false` **Note:** you will be charged extra $0.002 for using this parameter; if the element is absent or contains `'asynchronous_ai_overview': false`, all extra charges will be returned to your account balance */
|
|
14
14
|
load_async_ai_overview?: boolean | undefined;
|
|
15
|
-
/** full name of search engine
|
|
15
|
+
/** *full name of search engine location* **required field if you don't specify** `location_code` or `location_coordinate` **if you use this field, you don't need to specify `location_code` or `location_coordinate`** you can receive the list of available locations of the search engine with their `location_name` by making a separate request to the `https://api.dataforseo.com/v3/serp/google/locations` example: `London,England,United Kingdom` */
|
|
16
16
|
location_name?: string | undefined;
|
|
17
|
-
/** full name of search engine
|
|
17
|
+
/** *full name of search engine language* optional field if you specify `language_code` **if you use this field, you don't need to specify `language_code`** you can receive the list of available languages of the search engine with their `language_name` by making a separate request to the `https://api.dataforseo.com/v3/serp/google/languages` example: `English` */
|
|
18
18
|
language_name?: string | undefined;
|
|
19
|
-
/** device operating
|
|
19
|
+
/** *device operating system* optional field if you specify `desktop` in the `device` field, choose from the following values: `windows`, `macos` default value: `windows` if you specify `mobile` in the `device` field, choose from the following values: `android`, `ios` default value: `android` */
|
|
20
20
|
os?: string | undefined;
|
|
21
|
-
/** user-defined task
|
|
21
|
+
/** *user-defined task identifier* optional field *the character limit is 255* you can use this parameter to identify the task and match it with the result you will find the specified `tag` value in the `data` object of the response */
|
|
22
22
|
tag?: string | undefined;
|
|
23
23
|
/** array of targets to stop crawling optional field if specified, the response will contain SERP results up to and including the specified match_value; you can specify up to 10 target values in this array example: 'stop_crawl_on_match':[{'match_value':'dataforseo.com','match_type':'with_subdomains'}] learn more about this parameter on our Help Center - https://dataforseo.com/help-center/using-the-stop_crawl_on_match-parameter-in-serp-api Your account will be billed per each SERP crawled through the specified targets */
|
|
24
24
|
stop_crawl_on_match?: SerpApiStopCrawlOnMatchInfo[] | undefined;
|
|
25
|
-
/** target match
|
|
25
|
+
/** *target match type* **required field if `stop_crawl_on_match` is specified** type of match for the `match_value` possible values: `domain` – specific domain or subdomain `with_subdomains` – main domain and subdomains `wildcard` – wildcard pattern */
|
|
26
26
|
match_type?: string | undefined;
|
|
27
|
-
/** target domain, subdomain, or wildcard
|
|
27
|
+
/** *target domain, subdomain, or wildcard value* **required field if `stop_crawl_on_match` is specified** specify a target domain, subdomain, or wildcard value; **Note:** domain or subdomain must be specified without a request protocol; example: `'match_value': 'dataforseo.com'`, `'match_value': '/blog/post-*'` */
|
|
28
28
|
match_value?: string | undefined;
|
|
29
|
-
/** page crawl
|
|
29
|
+
/** *page crawl limit* optional field number of search results pages to crawl max value: `100` **Note:** you will be charged for each page crawled (10 organic results per page); learn more about pricing on our [Pricing](https://dataforseo.com/pricing/serp/google-organic-serp-api) page; **Note#2:** the `max_crawl_pages` and `depth` parameters complement each other; learn more at [our help center](https://dataforseo.com/help-center/what-is-max-crawl-pages-and-how-does-it-work) */
|
|
30
30
|
max_crawl_pages?: number | undefined;
|
|
31
|
-
/** additional parameters of the search
|
|
31
|
+
/** *additional parameters of the search query* optional field [get the list of available parameters and additional details here](https://dataforseo.com/help-center/google-search-engine-parameters-and-how-to-use-them) **Note:** the following search engine parameters are not supported and will be automatically unset if specified: `lr`, `cr`, `as_qdr`, `as_sitesearch`, `as_occt`, `as_filetype`. */
|
|
32
32
|
search_param?: string | undefined;
|
|
33
|
-
/** remove specific parameters from
|
|
33
|
+
/** *remove specific parameters from URLs* optional field using this field, you can specify up to 10 parameters to remove from URLs in the result example: `'remove_from_url': ['srsltid']` **Note:** if the `target` field is specified, the specified URL parameters will be removed before the search */
|
|
34
34
|
remove_from_url?: string[] | undefined;
|
|
35
|
-
/** clicks on the corresponding
|
|
35
|
+
/** *clicks on the corresponding element* optional field specify the click depth on the `people_also_ask` element to get additional `people_also_ask_element` items; **Note** your account will be billed $0.00015 extra for each click; if the element is absent or we perform fewer clicks than you specified, all extra charges will be returned to your account balance possible values: from `1` to `4` */
|
|
36
36
|
people_also_ask_click_depth?: number | undefined;
|
|
37
|
-
/** display related
|
|
37
|
+
/** *display related results* optional field if set to `true`, the `related_result` element in the response will be provided as a snippet of its parent organic result; if set to `false`, the `related_result` element will be provided as a separate organic result; default value: `true` */
|
|
38
38
|
group_organic_results?: boolean | undefined;
|
|
39
|
-
/** calcualte pixel rankings for SERP elements in advanced
|
|
39
|
+
/** *calcualte pixel rankings for SERP elements in advanced results* optional field pixel ranking refers to the distance between the result snippet and top left corner of the screen; [Visit Help Center to learn more>>](https://dataforseo.com/help-center/pixel-ranking-in-serp-api) by default, the parameter is set to `false`; **Note:** you will be charged extra $0.002 for using this parameter */
|
|
40
40
|
calculate_rectangles?: boolean | undefined;
|
|
41
|
-
/** browser screen
|
|
41
|
+
/** *browser screen width* optional field you can set a custom browser screen width to calculate pixel rankings for a particular device; can be specified within the following range: `240-9999`; by default, the parameter is set to: `1920` for `desktop`; `360` for `mobile` on `android`; `375` for `mobile` on `iOS`; **Note:** to use this parameter, set `calculate_rectangles` to `true` */
|
|
42
42
|
browser_screen_width?: number | undefined;
|
|
43
|
-
/** browser screen
|
|
43
|
+
/** *browser screen height* optional field you can set a custom browser screen height to calculate pixel rankings for a particular device; can be specified within the following range: `240-9999`; by default, the parameter is set to: `1080` for `desktop`; `640` for `mobile` on `android`; `812` for `mobile` on `iOS`; **Note:** to use this parameter, set `calculate_rectangles` to `true` */
|
|
44
44
|
browser_screen_height?: number | undefined;
|
|
45
|
-
/** browser screen resolution
|
|
45
|
+
/** *browser screen resolution ratio* optional field you can set a custom browser screen resolution ratio to calculate pixel rankings for a particular device; can be specified within the following range: `0.5-3`; by default, the parameter is set to: `1` for `desktop`; `3` for `mobile` on `android`; `3` for `mobile` on `iOS`; **Note:** to use this parameter, set `calculate_rectangles` to `true` */
|
|
46
46
|
browser_screen_resolution_ratio?: number | undefined;
|
|
47
|
-
/** direct URL of the search
|
|
47
|
+
/** *direct URL of the search query* optional field you can specify a direct URL and we will sort it out to the necessary fields. Note that this method is the most difficult for our API to process and also requires you to specify the exact language and location in the URL. In most cases, we wouldn’t recommend using this method. example: `https://www.google.co.uk/search?q=%20rank%20tracker%20api&hl=en&gl=GB&uule=w+CAIQIFISCXXeIa8LoNhHEZkq1d1aOpZS` **Note:** the following search engine parameters are not supported and will be automatically unset if specified in the URL: `lr`, `cr`, `as_qdr`, `as_sitesearch`, `as_occt`, `as_filetype`. */
|
|
48
48
|
url?: string | undefined;
|
|
49
|
-
/** GPS coordinates of a
|
|
49
|
+
/** *GPS coordinates of a location* optional field if you specify `location_name` or `location_code` **if you use this field, you don't need to specify `location_name` or `location_code`** `location_coordinate` parameter should be specified in the *'latitude,longitude,radius'* format the maximum number of decimal digits for *'latitude'* and *'longitude'*: 7 the minimum value for *'radius'*: 199 (mm) the maximum value for *'radius'*: 199999 (mm) example: `53.476225,-2.243572,200` */
|
|
50
50
|
location_coordinate?: string | undefined;
|
|
51
|
-
/** search engine
|
|
51
|
+
/** *search engine domain* optional field we choose the relevant search engine domain automatically according to the location and language you specify however, you can set a custom search engine domain in this field example: *google.co.uk*, ``*google.com.au*, ``*google.de*, etc. */
|
|
52
52
|
se_domain?: string | undefined;
|
|
53
|
-
/** target domain, subdomain, or webpage to get results
|
|
53
|
+
/** *target domain, subdomain, or webpage to get results for* optional field a domain or a subdomain should be specified without `https://` and `www.` note that the results of `target`-specific tasks will only include SERP elements that contain a `url` string; you can also use a wildcard (‘*’) character to specify the search pattern in SERP and narrow down the results; examples: **`example.com`** - returns results for the website's home page with URLs, such as `https://example.com`, or `https://www.example.com/`, or `https://example.com/`; **`example.com*`** - returns results for the domain, including all its pages; **`*example.com*`** - returns results for the entire domain, including all its pages and subdomains; **`*example.com`** - returns results for the home page regardless of the subdomain, such as `https://en.example.com`; **`example.com/example-page`** - returns results for the exact URL; **`example.com/example-page*`** - returns results for all domain's URLs that start with the specified string */
|
|
54
54
|
target?: string | undefined;
|
|
55
|
-
/** target matching
|
|
55
|
+
/** *target matching mode* optional field to enable this parameter, `stop_crawl_on_match` must also be enabled defines how the crawl should stop when multiple targets are specified in `stop_crawl_on_match` possible values: `all`, `any` `all` – the crawl stops only when all specified targets are found `any` – the crawl stops when any single target is found default value: `any` learn more about this parameter on our [Help Center](https://dataforseo.com/help-center/how-to-use-new-crawl-control-parameters-in-google-organic-serp-api) */
|
|
56
56
|
target_search_mode?: string | undefined;
|
|
57
|
-
/** SERP element types to check for
|
|
57
|
+
/** *SERP element types to check for targets* optional field to enable this parameter, `stop_crawl_on_match` must also be enabled specifies which SERP element types should be checked for target matches if not specified, all first-level elements with `url` and `domain` fields are checked for targets possible values: `organic`, `paid`, `local_pack`, `featured_snippet`, `events`, `google_flights`, `images`, `jobs`, `knowledge_graph`, `local_service`, `map`, `scholarly_articles`, `third_party_reviews`, `twitter` **Note:** cannot contain the same element types as `ignore_targets_in` example: `'find_targets_in': ['organic', 'featured_snippet']` learn more about this parameter on our [Help Center](https://dataforseo.com/help-center/how-to-use-new-crawl-control-parameters-in-google-organic-serp-api) */
|
|
58
58
|
find_targets_in?: string[] | undefined;
|
|
59
|
-
/** SERP element types to exclude from target
|
|
59
|
+
/** *SERP element types to exclude from target search* optional field to enable this parameter, `stop_crawl_on_match` must also be enabled specifies which SERP element types should be excluded when searching for target matches possible values: `organic`, `paid`, `local_pack`, `featured_snippet`, `events`, `google_flights`, `images`, `jobs`, `knowledge_graph`, `local_service`, `map`, `scholarly_articles`, `third_party_reviews`, `twitter` **Note:** cannot contain the same element types as `find_targets_in` example: `'ignore_targets_in': ['paid', 'images']` learn more about this parameter on our [Help Center](https://dataforseo.com/help-center/how-to-use-new-crawl-control-parameters-in-google-organic-serp-api) */
|
|
60
60
|
ignore_targets_in?: string[] | undefined;
|
|
61
61
|
[key: string]: any;
|
|
62
62
|
}
|
|
63
63
|
export declare class SerpGoogleOrganicLiveAdvancedRequestInfo implements ISerpGoogleOrganicLiveAdvancedRequestInfo {
|
|
64
|
-
/**
|
|
64
|
+
/** *keyword* **required field** you can specify **up to 700 characters** in the `keyword` field all %## will be decoded (plus character ‘+’ will be decoded to a space character) if you need to use the “%” character for your `keyword`, please specify it as “%25”; if you need to use the “+” character for your `keyword`, please specify it as “%2B”; if this field contains such parameters as *‘allinanchor:’, ‘allintext:’, ‘allintitle:’, ‘allinurl:’, ‘cache:’, ‘define:’, ‘definition:’, ‘filetype:’, ‘id:’, ‘inanchor:’, ‘info:’, ‘intext:’, ‘intitle:’, ‘inurl:’, ‘link:’, ‘site:’*, **the charge per task will be multiplied by 5** learn more about rules and limitations of `keyword` and `keywords` fields in DataForSEO APIs in this [Help Center article](https://dataforseo.com/help-center/rules-and-limitations-of-keyword-and-keywords-fields-in-dataforseo-apis) */
|
|
65
65
|
keyword?: string | undefined;
|
|
66
|
-
/** search engine location
|
|
66
|
+
/** *search engine location code* **required field if you don't specify** `location_name` or `location_coordinate` **if you use this field, you don't need to specify `location_name` or `location_coordinate`** you can receive the list of available locations of the search engines with their `location_code` by making a separate request to the `https://api.dataforseo.com/v3/serp/google/locations` example: `2840` */
|
|
67
67
|
location_code?: number | undefined;
|
|
68
|
-
/** search engine language
|
|
68
|
+
/** *search engine language code* optional field if you specify `language_name` **if you use this field, you don't need to specify `language_name`** you can receive the list of available languages of the search engine with their `language_code` by making a separate request to the `https://api.dataforseo.com/v3/serp/google/languages`**example:**`en` */
|
|
69
69
|
language_code?: string | undefined;
|
|
70
|
-
/** parsing
|
|
70
|
+
/** *parsing depth* optional field number of results in SERP **default value: `10`** max value: `200` **Your account will be billed per each SERP containing up to 10 results;** Setting depth above 10 may result in additional charges [if the search engine returns more than 10 results](https://dataforseo.com/help-center/how-many-results-scraped); The cost can be calculated on the [Pricing](https://dataforseo.com/pricing/serp/google-organic-serp-api) page. */
|
|
71
71
|
depth?: number | undefined;
|
|
72
|
-
/** device
|
|
72
|
+
/** *device type* optional field return results for a specific device type can take the values:`desktop`, `mobile` default value: `desktop` */
|
|
73
73
|
device?: string | undefined;
|
|
74
|
-
/** load asynchronous ai
|
|
74
|
+
/** *load asynchronous ai overview* optional field set to `true` to obtain `ai_overview` items is SERPs even if they are loaded asynchronously; if set to `false`, you will only obtain `ai_overview` items from cache; default value: `false` **Note:** you will be charged extra $0.002 for using this parameter; if the element is absent or contains `'asynchronous_ai_overview': false`, all extra charges will be returned to your account balance */
|
|
75
75
|
load_async_ai_overview?: boolean | undefined;
|
|
76
|
-
/** full name of search engine
|
|
76
|
+
/** *full name of search engine location* **required field if you don't specify** `location_code` or `location_coordinate` **if you use this field, you don't need to specify `location_code` or `location_coordinate`** you can receive the list of available locations of the search engine with their `location_name` by making a separate request to the `https://api.dataforseo.com/v3/serp/google/locations` example: `London,England,United Kingdom` */
|
|
77
77
|
location_name?: string | undefined;
|
|
78
|
-
/** full name of search engine
|
|
78
|
+
/** *full name of search engine language* optional field if you specify `language_code` **if you use this field, you don't need to specify `language_code`** you can receive the list of available languages of the search engine with their `language_name` by making a separate request to the `https://api.dataforseo.com/v3/serp/google/languages` example: `English` */
|
|
79
79
|
language_name?: string | undefined;
|
|
80
|
-
/** device operating
|
|
80
|
+
/** *device operating system* optional field if you specify `desktop` in the `device` field, choose from the following values: `windows`, `macos` default value: `windows` if you specify `mobile` in the `device` field, choose from the following values: `android`, `ios` default value: `android` */
|
|
81
81
|
os?: string | undefined;
|
|
82
|
-
/** user-defined task
|
|
82
|
+
/** *user-defined task identifier* optional field *the character limit is 255* you can use this parameter to identify the task and match it with the result you will find the specified `tag` value in the `data` object of the response */
|
|
83
83
|
tag?: string | undefined;
|
|
84
84
|
/** array of targets to stop crawling optional field if specified, the response will contain SERP results up to and including the specified match_value; you can specify up to 10 target values in this array example: 'stop_crawl_on_match':[{'match_value':'dataforseo.com','match_type':'with_subdomains'}] learn more about this parameter on our Help Center - https://dataforseo.com/help-center/using-the-stop_crawl_on_match-parameter-in-serp-api Your account will be billed per each SERP crawled through the specified targets */
|
|
85
85
|
stop_crawl_on_match?: SerpApiStopCrawlOnMatchInfo[] | undefined;
|
|
86
|
-
/** target match
|
|
86
|
+
/** *target match type* **required field if `stop_crawl_on_match` is specified** type of match for the `match_value` possible values: `domain` – specific domain or subdomain `with_subdomains` – main domain and subdomains `wildcard` – wildcard pattern */
|
|
87
87
|
match_type?: string | undefined;
|
|
88
|
-
/** target domain, subdomain, or wildcard
|
|
88
|
+
/** *target domain, subdomain, or wildcard value* **required field if `stop_crawl_on_match` is specified** specify a target domain, subdomain, or wildcard value; **Note:** domain or subdomain must be specified without a request protocol; example: `'match_value': 'dataforseo.com'`, `'match_value': '/blog/post-*'` */
|
|
89
89
|
match_value?: string | undefined;
|
|
90
|
-
/** page crawl
|
|
90
|
+
/** *page crawl limit* optional field number of search results pages to crawl max value: `100` **Note:** you will be charged for each page crawled (10 organic results per page); learn more about pricing on our [Pricing](https://dataforseo.com/pricing/serp/google-organic-serp-api) page; **Note#2:** the `max_crawl_pages` and `depth` parameters complement each other; learn more at [our help center](https://dataforseo.com/help-center/what-is-max-crawl-pages-and-how-does-it-work) */
|
|
91
91
|
max_crawl_pages?: number | undefined;
|
|
92
|
-
/** additional parameters of the search
|
|
92
|
+
/** *additional parameters of the search query* optional field [get the list of available parameters and additional details here](https://dataforseo.com/help-center/google-search-engine-parameters-and-how-to-use-them) **Note:** the following search engine parameters are not supported and will be automatically unset if specified: `lr`, `cr`, `as_qdr`, `as_sitesearch`, `as_occt`, `as_filetype`. */
|
|
93
93
|
search_param?: string | undefined;
|
|
94
|
-
/** remove specific parameters from
|
|
94
|
+
/** *remove specific parameters from URLs* optional field using this field, you can specify up to 10 parameters to remove from URLs in the result example: `'remove_from_url': ['srsltid']` **Note:** if the `target` field is specified, the specified URL parameters will be removed before the search */
|
|
95
95
|
remove_from_url?: string[] | undefined;
|
|
96
|
-
/** clicks on the corresponding
|
|
96
|
+
/** *clicks on the corresponding element* optional field specify the click depth on the `people_also_ask` element to get additional `people_also_ask_element` items; **Note** your account will be billed $0.00015 extra for each click; if the element is absent or we perform fewer clicks than you specified, all extra charges will be returned to your account balance possible values: from `1` to `4` */
|
|
97
97
|
people_also_ask_click_depth?: number | undefined;
|
|
98
|
-
/** display related
|
|
98
|
+
/** *display related results* optional field if set to `true`, the `related_result` element in the response will be provided as a snippet of its parent organic result; if set to `false`, the `related_result` element will be provided as a separate organic result; default value: `true` */
|
|
99
99
|
group_organic_results?: boolean | undefined;
|
|
100
|
-
/** calcualte pixel rankings for SERP elements in advanced
|
|
100
|
+
/** *calcualte pixel rankings for SERP elements in advanced results* optional field pixel ranking refers to the distance between the result snippet and top left corner of the screen; [Visit Help Center to learn more>>](https://dataforseo.com/help-center/pixel-ranking-in-serp-api) by default, the parameter is set to `false`; **Note:** you will be charged extra $0.002 for using this parameter */
|
|
101
101
|
calculate_rectangles?: boolean | undefined;
|
|
102
|
-
/** browser screen
|
|
102
|
+
/** *browser screen width* optional field you can set a custom browser screen width to calculate pixel rankings for a particular device; can be specified within the following range: `240-9999`; by default, the parameter is set to: `1920` for `desktop`; `360` for `mobile` on `android`; `375` for `mobile` on `iOS`; **Note:** to use this parameter, set `calculate_rectangles` to `true` */
|
|
103
103
|
browser_screen_width?: number | undefined;
|
|
104
|
-
/** browser screen
|
|
104
|
+
/** *browser screen height* optional field you can set a custom browser screen height to calculate pixel rankings for a particular device; can be specified within the following range: `240-9999`; by default, the parameter is set to: `1080` for `desktop`; `640` for `mobile` on `android`; `812` for `mobile` on `iOS`; **Note:** to use this parameter, set `calculate_rectangles` to `true` */
|
|
105
105
|
browser_screen_height?: number | undefined;
|
|
106
|
-
/** browser screen resolution
|
|
106
|
+
/** *browser screen resolution ratio* optional field you can set a custom browser screen resolution ratio to calculate pixel rankings for a particular device; can be specified within the following range: `0.5-3`; by default, the parameter is set to: `1` for `desktop`; `3` for `mobile` on `android`; `3` for `mobile` on `iOS`; **Note:** to use this parameter, set `calculate_rectangles` to `true` */
|
|
107
107
|
browser_screen_resolution_ratio?: number | undefined;
|
|
108
|
-
/** direct URL of the search
|
|
108
|
+
/** *direct URL of the search query* optional field you can specify a direct URL and we will sort it out to the necessary fields. Note that this method is the most difficult for our API to process and also requires you to specify the exact language and location in the URL. In most cases, we wouldn’t recommend using this method. example: `https://www.google.co.uk/search?q=%20rank%20tracker%20api&hl=en&gl=GB&uule=w+CAIQIFISCXXeIa8LoNhHEZkq1d1aOpZS` **Note:** the following search engine parameters are not supported and will be automatically unset if specified in the URL: `lr`, `cr`, `as_qdr`, `as_sitesearch`, `as_occt`, `as_filetype`. */
|
|
109
109
|
url?: string | undefined;
|
|
110
|
-
/** GPS coordinates of a
|
|
110
|
+
/** *GPS coordinates of a location* optional field if you specify `location_name` or `location_code` **if you use this field, you don't need to specify `location_name` or `location_code`** `location_coordinate` parameter should be specified in the *'latitude,longitude,radius'* format the maximum number of decimal digits for *'latitude'* and *'longitude'*: 7 the minimum value for *'radius'*: 199 (mm) the maximum value for *'radius'*: 199999 (mm) example: `53.476225,-2.243572,200` */
|
|
111
111
|
location_coordinate?: string | undefined;
|
|
112
|
-
/** search engine
|
|
112
|
+
/** *search engine domain* optional field we choose the relevant search engine domain automatically according to the location and language you specify however, you can set a custom search engine domain in this field example: *google.co.uk*, ``*google.com.au*, ``*google.de*, etc. */
|
|
113
113
|
se_domain?: string | undefined;
|
|
114
|
-
/** target domain, subdomain, or webpage to get results
|
|
114
|
+
/** *target domain, subdomain, or webpage to get results for* optional field a domain or a subdomain should be specified without `https://` and `www.` note that the results of `target`-specific tasks will only include SERP elements that contain a `url` string; you can also use a wildcard (‘*’) character to specify the search pattern in SERP and narrow down the results; examples: **`example.com`** - returns results for the website's home page with URLs, such as `https://example.com`, or `https://www.example.com/`, or `https://example.com/`; **`example.com*`** - returns results for the domain, including all its pages; **`*example.com*`** - returns results for the entire domain, including all its pages and subdomains; **`*example.com`** - returns results for the home page regardless of the subdomain, such as `https://en.example.com`; **`example.com/example-page`** - returns results for the exact URL; **`example.com/example-page*`** - returns results for all domain's URLs that start with the specified string */
|
|
115
115
|
target?: string | undefined;
|
|
116
|
-
/** target matching
|
|
116
|
+
/** *target matching mode* optional field to enable this parameter, `stop_crawl_on_match` must also be enabled defines how the crawl should stop when multiple targets are specified in `stop_crawl_on_match` possible values: `all`, `any` `all` – the crawl stops only when all specified targets are found `any` – the crawl stops when any single target is found default value: `any` learn more about this parameter on our [Help Center](https://dataforseo.com/help-center/how-to-use-new-crawl-control-parameters-in-google-organic-serp-api) */
|
|
117
117
|
target_search_mode?: string | undefined;
|
|
118
|
-
/** SERP element types to check for
|
|
118
|
+
/** *SERP element types to check for targets* optional field to enable this parameter, `stop_crawl_on_match` must also be enabled specifies which SERP element types should be checked for target matches if not specified, all first-level elements with `url` and `domain` fields are checked for targets possible values: `organic`, `paid`, `local_pack`, `featured_snippet`, `events`, `google_flights`, `images`, `jobs`, `knowledge_graph`, `local_service`, `map`, `scholarly_articles`, `third_party_reviews`, `twitter` **Note:** cannot contain the same element types as `ignore_targets_in` example: `'find_targets_in': ['organic', 'featured_snippet']` learn more about this parameter on our [Help Center](https://dataforseo.com/help-center/how-to-use-new-crawl-control-parameters-in-google-organic-serp-api) */
|
|
119
119
|
find_targets_in?: string[] | undefined;
|
|
120
|
-
/** SERP element types to exclude from target
|
|
120
|
+
/** *SERP element types to exclude from target search* optional field to enable this parameter, `stop_crawl_on_match` must also be enabled specifies which SERP element types should be excluded when searching for target matches possible values: `organic`, `paid`, `local_pack`, `featured_snippet`, `events`, `google_flights`, `images`, `jobs`, `knowledge_graph`, `local_service`, `map`, `scholarly_articles`, `third_party_reviews`, `twitter` **Note:** cannot contain the same element types as `find_targets_in` example: `'ignore_targets_in': ['paid', 'images']` learn more about this parameter on our [Help Center](https://dataforseo.com/help-center/how-to-use-new-crawl-control-parameters-in-google-organic-serp-api) */
|
|
121
121
|
ignore_targets_in?: string[] | undefined;
|
|
122
122
|
[key: string]: any;
|
|
123
123
|
constructor(data?: ISerpGoogleOrganicLiveAdvancedRequestInfo);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { SerpGoogleOrganicLiveAdvancedTaskInfo } from "./SerpGoogleOrganicLiveAdvancedTaskInfo";
|
|
2
2
|
import { BaseResponseInfo, IBaseResponseInfo } from "./BaseResponseInfo";
|
|
3
3
|
export interface ISerpGoogleOrganicLiveAdvancedResponseInfo extends IBaseResponseInfo {
|
|
4
|
-
/** array of tasks */
|
|
4
|
+
/** *array of tasks* */
|
|
5
5
|
tasks?: SerpGoogleOrganicLiveAdvancedTaskInfo[] | undefined;
|
|
6
6
|
[key: string]: any;
|
|
7
7
|
}
|
|
8
8
|
export declare class SerpGoogleOrganicLiveAdvancedResponseInfo extends BaseResponseInfo implements ISerpGoogleOrganicLiveAdvancedResponseInfo {
|
|
9
|
-
/** array of tasks */
|
|
9
|
+
/** *array of tasks* */
|
|
10
10
|
tasks?: SerpGoogleOrganicLiveAdvancedTaskInfo[] | undefined;
|
|
11
11
|
[key: string]: any;
|
|
12
12
|
constructor(data?: ISerpGoogleOrganicLiveAdvancedResponseInfo);
|