Keyword Insights | Docs | Twitter Developer Platform

文章推薦指數: 80 %
投票人數:10人

GET insights/keywords/search¶. Given a group of keywords, get the associated Tweet volume as well as a set of 30 related keywords. TheAdsAPIteamisrecruitingdevelopersforaprivatebetaforOAuth2.0.Ifyouwouldliketoparticipate,pleasefilloutthisform. keyword-insights KeywordInsights RuninPostman❯  GETinsights/keywords/search¶ Givenagroupofkeywords,gettheassociatedTweetvolumeaswellas asetof30relatedkeywords.TheTweetvolumecorrespondstotheinput keywordsonly,nottherelatedkeywords. Amaximumtimerange(end_time- start_time)of7daysisallowed. Pleasenotethatresultsarescopedbyasinglegeo(country). ResourceURL¶ https://ads-api.twitter.com/11/insights/keywords/search Parameters¶ granularityrequired Specifiesthegranularityofthedatareturnedforthetimerange denotedbystart_timeandend_time.For instance,whensettoHOUR,youwillbepresentedwitha datapointforeachhourbetweenstart_timeand end_time.request.Type:enumPossiblevalues: DAY,HOUR keywordsrequired Acomma-separatedstringofkeywordstonarrowsearchby.All keywordsareOR'edwithoneanother.Note:A maximumof10keywords(keywordsand negative_keywordscombined)maybeused.Type: stringExample:developers start_timerequired Scopestheretrieveddatatodatacollectedinthewindowoftime betweenstart_timeandend_time.Expressedin ISO 8601.Type:stringExample: 2017-07-10T00:00:00Z end_timeoptional Scopestheretrieveddatatodatacollectedinthewindowoftime betweenstart_timeandend_time.Expressedin ISO 8601.Note:Defaultstothecurrent time.Type:stringExample: 2017-07-11T00:00:00Z locationoptional AtargetingvalueyouwouldgetfromtheGET targeting_criteria/locationsendpointtonarrowresultsintermsof wheretheuseroftheaccountislocated.Notethatatpresentonly countrylevellocationsaresupported.Type:stringExample: 0ce8b9a7b2742f7e negative_keywordsoptional Acomma-separatedstringofkeywordstoexclude.Allnegative keywordsareOR'edwithoneanother.Note:A maximumof10keywords(keywordsand negative_keywordscombined)maybeused.Type: stringExample:rain ExampleRequest¶ GEThttps://ads-api.twitter.com/11/insights/keywords/search?end_time=2018-02-02&granularity=DAY&keywords=developers&start_time=2018-02-01 ExampleResponse¶ { "request":{ "params":{ "start_time":"2018-02-01T00:00:00Z", "end_time":"2018-02-02T00:00:00Z", "granularity":"DAY", "keywords":[ "developers" ] } }, "data":{ "related_keywords":[ "dev", "developer", "coders", "mysql", "devs", "#technology", "#developers", "security", "programmers", "#tech", "javascript", "#iot", "#bigdata", "cloud", "devops", "php", "developer", "programmer", "engineer", "bigdata", "agile", "app", "programming", "ios", "maker", "startups", "developer's", "java", "#devops", "startup" ], "tweet_volume":[ 15707 ] } } ByusingTwitter’sservicesyouagreetoourCookiesUse.Weusecookiesforpurposesincludinganalytics,personalisation,andads. OK ThispageandcertainotherTwittersitesplaceandreadthirdpartycookiesonyourbrowserthatareusedfornon-essentialpurposesincludingtargetingofads. Throughthesecookies,Google,LinkedInandDemandbasecollectpersonaldataaboutyoufortheirownpurposes. Learnmore. Accept Decline



請為這篇文章評分?