Google Analytics API V4 and Management API V3
文章推薦指數: 80 %
The Google Analytics core reporting API (v3) was replaced by the Google Analytics Reporting API (v4). You can technically run both of them ... Home Public Questions Tags Users Companies Collectives ExploreCollectives Teams StackOverflowforTeams –Startcollaboratingandsharingorganizationalknowledge. CreateafreeTeam WhyTeams? Teams CreatefreeTeam Collectives™onStackOverflow Findcentralized,trustedcontentandcollaboratearoundthetechnologiesyouusemost. Learnmore Teams Q&Aforwork Connectandshareknowledgewithinasinglelocationthatisstructuredandeasytosearch. Learnmore GoogleAnalyticsAPIV4andManagementAPIV3 AskQuestion Asked 4years,8monthsago Modified 4years,8monthsago Viewed 3ktimes 2 IhavebeenupdatingtheGoogleAnalyticsCoreReportingAPIfromV3toV4recently.OurapplicationusestheManagementAPIV3andearlieritwasrunningwiththeV3ofAnalyticsAPI.NowthatIamupdatingAnalyticsReportingAPI,howdoIintegratetheolderversionofthisAPIwiththelatestversionofAnalyticsAPI? IsthisevenpossibletorunbothofthemtogetherwhereAnalyticsisrunningonV4andManagementisrunningonV3. ItriedtodoitbutV3ofManagementAPIcomplainsabouttheGoogle.APIversiontonotbematchingitsrequirements. Iamtryingtodothisindotnet.Letmeknowifyouneedanyotherinformation. Snippetfromthegoogleanalyticsdocumentation: google-analyticsgoogle-apigoogle-oauthgoogle-analytics-api Share Follow editedNov9,2017at9:03 DaImTo 91.1k2626goldbadges156156silverbadges393393bronzebadges askedNov9,2017at7:41 AkashTomarAkashTomar 94011goldbadge1111silverbadges2121bronzebadges 3 Canyougivemethelinktowereyougotthatpicturefromthatdoesn'tmakeanysenseneedtohavetheteamlookatthat.Itsnotgoingtorequireaseparatelibrary.Itwillrequiredifferentmethodswithinthesamelibrary – DaImTo Nov9,2017at9:06 @DaImTodevelopers.google.com/analytics/devguides/reporting/core/v4 – AkashTomar Nov9,2017at9:14 1 IhaveloggedthisasabugandIamgoingtopingtheteamaboutitsorryforanyconfusionthismayhavecausedissuetracker.google.com/issues/69091435 – DaImTo Nov9,2017at9:35 Addacomment | 1Answer 1 Sortedby: Resettodefault Highestscore(default) Trending(recentvotescountmore) Datemodified(newestfirst) Datecreated(oldestfirst) 2 TheGoogleAnalyticscorereportingAPI(v3)wasreplacedbytheGoogleAnalyticsReportingAPI(v4).Youcantechnicallyrunbothofthemindifferentscripts,butsomeofthedimensionsandmetricsonlyworkinv4andwontworkinv3.BothoftheseAPIsallowyoutoaccessyourGoogleAnalyticsdata. TheGoogleAnalyticsManagementAPIisastandaloneAPIusedforAccessingtheaccountinformationofGoogleAnalyticsithasnothingtodowithaccessingtheActualGoogleanalyticsdata.ThereisnonewversionofthisAPIsonothingforyoutobeupgrading. Note:YouwillneedtoincludethereportingAPIscopeinyourclientonGoogledeveloperconsoleaswellastheanalyticsAPIifyouwanttouseboth. IthinkthemanagementAPIstillfallsundertheanalyticsAPIscopesoyourstillgoingtoneedthatevenifyouenablethereportingapi Share Follow editedNov9,2017at9:06 answeredNov9,2017at9:01 DaImToDaImTo 91.1k2626goldbadges156156silverbadges393393bronzebadges 4 YesexactlytheissuesthatIwasfacingwasthatIneededthelibraryforbothversionsinordertorunthelatestreportingapiandmanagementapisincelatestversionofanalyticsapidoesnothaveanysupportforthemanagementapi. – AkashTomar Nov9,2017at9:38 Itsjustasinglelibrarythemethodsarejustdifferent.Whichlanguageareyouusing? – DaImTo Nov9,2017at9:55 Iamdoingthisindotnet. – AkashTomar Nov9,2017at9:56 youwillneedbothofthesepackagestoaccessbothmanagmentapiandthereportingapinuget.org/packages/Google.Apis.AnalyticsReporting.v4andnuget.org/packages/Google.Apis.Analytics.v3Itistechnicallythesamelibraryjusttwodifferentpackagesaswedontforceyoutodownloadeverythingwhenyoujustwanttoaccessoneapi – DaImTo Nov9,2017at9:58 Addacomment | YourAnswer ThanksforcontributingananswertoStackOverflow!Pleasebesuretoanswerthequestion.Providedetailsandshareyourresearch!Butavoid…Askingforhelp,clarification,orrespondingtootheranswers.Makingstatementsbasedonopinion;backthemupwithreferencesorpersonalexperience.Tolearnmore,seeourtipsonwritinggreatanswers. Draftsaved Draftdiscarded Signuporlogin SignupusingGoogle SignupusingFacebook SignupusingEmailandPassword Submit Postasaguest Name Email Required,butnevershown PostYourAnswer Discard Byclicking“PostYourAnswer”,youagreetoourtermsofservice,privacypolicyandcookiepolicy Nottheansweryou'relookingfor?Browseotherquestionstaggedgoogle-analyticsgoogle-apigoogle-oauthgoogle-analytics-apioraskyourownquestion. TheOverflowBlog DesignpatternsforasynchronousAPIcommunication GameBoyemulators,PowerPointdevelopers,andtheenduringappealofPokémon... FeaturedonMeta AnnouncingtheStacksEditorBetarelease! Trending:Anewanswersortingoption The[options]tagisbeingburninated Related 3 HowtolistManagementProfileswithGoogleAnalyticsPHPAPI? 0 HowtomakequerytoGoogleAnalyticsAPIusinggoogle-api-php-client 0 GoogleAnalyticsReportingApi-PHP:Adduseraccount 1 GoogleAnalyticsManagementAPI500InternalServerError 1 Googleanalyticshowtogiveaccesstoken 1 GoogleAnalyticsUserActivityAPI 1 GoogleAnalyticsReportingAPIV3/V4compatibilitywithGoogleAnalytics4(GA4) 0 ClassNotFoundException:WhileaccessingtheGoogleAnalyticsAPIv4 HotNetworkQuestions Whatdateis74029onanIBMMainframe? GeometryNodes:Howtoswap/changeamaterialofaspecificmaterialslot? What'sthedifferencebetweenamagicwandandaspell TechniquesforCompensatingInductorSRF CananyoneIdentifythemake,modelandyearofthiscar? CannotGetOptimalSolutionwith16nodesofVRPwithTimeWindows Doweekenddayscountaspartofavacation? Howshouldwedoboxplotswithsmallsamples? Whatisthemeaningof说得过? WhenaddinganewdisktoRAID1,whydoesitsyncunusedspace? HowcanIuseparentheseswhentherearemathparenthesesinside? WhyistheUSresidentialmodeluntouchableandunquestionable? Whyhadclimatechangenotbeenprovenbeyonddoubtforsolong? UStoCanadabycarwithanenhanceddriver'slicense,nopassport? Whatarethepurposeoftheextradiodesinthispeakdetectorcircuit(LM1815)? Isthereawaytogenerateenergyusingaplanet'sangularmomentum DidSauronsuspectthattheRingwouldbedestroyed? Whydidn'tGLaDOSkillChell? Extract2Dquadmeshfrom3Dhexahedralmesh mvfailswith"Nospaceleftondevice"whenthedestinationhas31GBofspaceremaining Countthecells Showthatinvolvesacharactercloninghiscolleaguesandmakingthemintovideogamecharacters? FormalLanguages HowdoesatailplaneprovidedownforceifithasthesameAoAasthemainwing? morehotquestions Questionfeed SubscribetoRSS Questionfeed TosubscribetothisRSSfeed,copyandpastethisURLintoyourRSSreader. Yourprivacy Byclicking“Acceptallcookies”,youagreeStackExchangecanstorecookiesonyourdeviceanddiscloseinformationinaccordancewithourCookiePolicy. Acceptallcookies Customizesettings
延伸文章資訊
- 1google-api-services-analytics - Maven Repository
Home » com.google.apis » google-api-services-analytics. Google Analytics API V3 Rev169 1.25.0. Go...
- 2Core Reporting API - Reference Guide - Google Developers
Authorization: Bearer {oauth2-token} GET https://www.googleapis.com/analytics/v3/data/ga ?ids=ga:...
- 3Dimensions & Metrics (V3) | Analytics Core Reporting API
For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle an...
- 4Google.Apis.Analytics.v3 1.57.0.1679 - NuGet
- 5Google Analytics API V4 and Management API V3
The Google Analytics core reporting API (v3) was replaced by the Google Analytics Reporting API (...