Error: Data structure returned is not convertible in the requested format. Try to call this method with the parameters '&format=original&serialize=1'; you will get the original php data structure serialized. The data structure looks like this: $data = array ( 0 => array ( 'type' => 'metric', 'category' => 'Visit', 'name' => 'Days since first visit', 'segment' => 'daysSinceFirstVisit', ), 1 => array ( 'type' => 'metric', 'category' => 'Visit', 'name' => 'Days since last Ecommerce order', 'segment' => 'daysSinceLastEcommerceOrder', ), 2 => array ( 'type' => 'metric', 'category' => 'Visit', 'name' => 'Days since last visit', 'segment' => 'daysSinceLastVisit', ), 3 => array ( 'type' => 'metric', 'category' => 'Visit', 'name' => 'Number of Actions', 'segment' => 'actions', ), 4 => array ( 'type' => 'metric', 'category' => 'Visit', 'name' => 'Number of Interactions', 'segment' => 'interactions', 'acceptedValues' => 'Any positive integer', ), 5 => array ( 'type' => 'metric', 'category' => 'Visit', 'name' => 'Number of Internal Searches', 'segment' => 'searches', 'acceptedValues' => 'To select all visits who used internal Site Search, use: &segment=searches>0', ), 6 => array ( 'type' => 'metric', 'category' => 'Visit', 'name' => 'Number of visits', 'segment' => 'visitCount', ), 7 => array ( 'type' => 'metric', 'category' => 'Visit', 'name' => 'Total events', 'segment' => 'events', 'acceptedValues' => 'To select all visits who triggered an Event, use: &segment=events>0', ), 8 => array ( 'type' => 'metric', 'category' => 'Visit', 'name' => 'Visit Duration (in seconds)', 'segment' => 'visitDuration', ), 9 => array ( 'type' => 'metric', 'category' => 'Visit', 'name' => 'Visitor IP', 'segment' => 'visitIp', 'acceptedValues' => '13.54.122.1. </code>Select IP ranges with notation: <code>visitIp>13.54.122.0;visitIp<13.54.122.255', 'permission' => false, ), 10 => array ( 'type' => 'dimension', 'category' => 'Visit Location', 'name' => 'City', 'segment' => 'city', 'acceptedValues' => 'Sydney, Sao Paolo, Rome, etc.', ), 11 => array ( 'type' => 'dimension', 'category' => 'Visit Location', 'name' => 'Continent', 'segment' => 'continentCode', 'acceptedValues' => 'eur, asi, amc, amn, ams, afr, ant, oce', ), 12 => array ( 'type' => 'dimension', 'category' => 'Visit Location', 'name' => 'Country', 'segment' => 'countryCode', 'acceptedValues' => 'de, us, fr, in, es, etc.', ), 13 => array ( 'type' => 'dimension', 'category' => 'Visit Location', 'name' => 'Language', 'segment' => 'languageCode', 'acceptedValues' => 'de, fr, en-gb, zh-cn, etc.', ), 14 => array ( 'type' => 'dimension', 'category' => 'Visit Location', 'name' => 'Latitude', 'segment' => 'latitude', 'acceptedValues' => '-33.578, 40.830, etc.<br/>You can select visitors within a lat/long range using &segment=lat>X;lat<Y;long>M;long<N.', ), 15 => array ( 'type' => 'dimension', 'category' => 'Visit Location', 'name' => 'Longitude', 'segment' => 'longitude', 'acceptedValues' => '-70.664, 14.326, etc.', ), 16 => array ( 'type' => 'dimension', 'category' => 'Visit Location', 'name' => 'Provider', 'segment' => 'provider', 'acceptedValues' => 'comcast.net, proxad.net, etc.', ), 17 => array ( 'type' => 'dimension', 'category' => 'Visit Location', 'name' => 'Region', 'segment' => 'regionCode', 'acceptedValues' => '01 02, OR, P8, etc.<br/>eg. region=A1;country=fr', ), 18 => array ( 'type' => 'dimension', 'category' => 'Visit', 'name' => 'Browser', 'segment' => 'browserCode', 'acceptedValues' => 'FF, IE, CH, SF, OP, etc.', ), 19 => array ( 'type' => 'dimension', 'category' => 'Visit', 'name' => 'Browser engine', 'segment' => 'browserEngine', 'acceptedValues' => 'Trident, WebKit, Presto, Gecko, Blink, etc.', 'suggestedValuesCallback' => '\\DeviceDetector\\Parser\\Client\\Browser\\Engine::getAvailableEngines', ), 20 => array ( 'type' => 'dimension', 'category' => 'Visit', 'name' => 'Browser version', 'segment' => 'browserVersion', 'acceptedValues' => '1.0, 8.0, etc.', ), 21 => array ( 'type' => 'dimension', 'category' => 'Visit', 'name' => 'Device brand', 'segment' => 'deviceBrand', 'acceptedValues' => '3Q, Acer, Ainol, Airness, Alcatel, Allview, Altech UEC, Arnova, Amazon, Amoi, Apple, Archos, ARRIS, Airties, Asus, Avvio, Audiovox, Axxion, BBK, Becker, Bird, Beetel, Bmobile, Barnes & Noble, BangOlufsen, BenQ, BenQ-Siemens, Blu, Boway, bq, Brondi, Bush, CUBOT, Carrefour, Captiva, Casio, Cat, Celkon, ConCorde, Changhong, Cherry Mobile, Cricket, Crosscall, Compal, CnM, Crius Mea, CreNova, Capitel, Compaq, Coolpad, Cowon, Cube, Coby Kyros, Danew, Datang, Denver, Desay, Dbtel, DoCoMo, Dicam, Dell, DNS, DMM, Doogee, Doov, Dopod, Dune HD, E-Boda, EBEST, Ericsson, ECS, Ezio, Elephone, Easypix, Energy Sistem, Ericy, Eton, eTouch, Evertek, Explay, Ezze, Fairphone, Fly, Foxconn, Fujitsu, Garmin-Asus, Gateway, Gemini, Gionee, Gigabyte, Gigaset, GOCLEVER, Goly, Google, Gradiente, Grundig, Haier, Hasee, Hisense, Hi-Level, Hosin, HP, HTC, Huawei, Humax, Hyrican, Hyundai, Ikea, iBall, i-Joy, iBerry, iKoMo, i-mate, iOcean, iNew, Infinix, Innostream, Inkti, Intex, i-mobile, INQ, Intek, Inverto, iTel, Jiayu, Jolla, Karbonn, KDDI, Kiano, Kingsun, Konka, Komu, Koobee, K-Touch, KT-Tech, KOPO, Koridy, Kumai, Kyocera, Kazam, Lava, Lanix, LCT, Lenovo, Lenco, Le Pan, LG, Lingwin, Loewe, Logicom, Lexibook, Majestic, Manta Multimedia, Mobistel, Mecer, Medion, MEEG, Meizu, Metz, MEU, MicroMax, Mediacom, MediaTek, Mio, Mpman, Mofut, Motorola, Microsoft, MSI, Memup, Mitsubishi, MLLED, M.T.T., MyPhone, NEC, Netgear, NGM, Nintendo, Noain, Nokia, Nomi, Nikon, Newgen, Nexian, NextBook, Onda, OnePlus, OPPO, Orange, O2, Ouki, OUYA, Opsson, Panasonic, PEAQ, Philips, Pioneer, Polaroid, Palm, phoneOne, Pantech, Ployer, Point of View, PolyPad, Pomp, Positivo, Prestigio, ProScan, PULID, Qilive, Qtek, QMobile, Quechua, Overmax, Oysters, Ramos, RCA Tablets, Readboy, Rikomagic, RIM, Roku, Rover, Samsung, Sega, Sony Ericsson, Sencor, Softbank, SFR, Sagem, Sharp, Siemens, Sendo, Skyworth, Smartfren, Sony, Spice, SuperSonic, Selevision, Sanyo, Symphony, Smart, Star, Storex, Stonex, SunVan, Sumvision, Tesla, TCL, Telit, ThL, TiPhone, Tecno Mobile, Tesco, TIANYU, Telefunken, Telenor, T-Mobile, Thomson, Tolino, Toplux, Toshiba, TechnoTrend, Trevi, Tunisie Telecom, Turbo-X, TVC, TechniSat, teXet, Unowhy, Uniscope, UTStarcom, Vastking, Videocon, Vertu, Vitelcom, VK Mobile, ViewSonic, Vestel, Vivo, Voto, Voxtel, Vodafone, Vizio, Videoweb, Walton, WellcoM, Wexler, Wiko, Wolder, Wonu, Woxter, Xiaomi, Xolo, Yarvik, Yuandao, Yusun, Ytone, Zeemi, Zonda, Zopo, ZTE, Web TV, Unknown', ), 22 => array ( 'type' => 'dimension', 'category' => 'Visit', 'name' => 'Device type', 'segment' => 'deviceType', 'acceptedValues' => 'desktop, smartphone, tablet, feature phone, console, tv, car browser, smart display, camera, portable media player, phablet', ), 23 => array ( 'type' => 'dimension', 'category' => 'Visit', 'name' => 'Local time', 'segment' => 'visitLocalHour', 'acceptedValues' => '0, 1, 2, 3, ..., 20, 21, 22, 23', ), 24 => array ( 'type' => 'dimension', 'category' => 'Visit', 'name' => 'Operating system', 'segment' => 'operatingSystemCode', 'acceptedValues' => 'WIN, MAC, LIN, AND, IPD, etc.', ), 25 => array ( 'type' => 'dimension', 'category' => 'Visit', 'name' => 'Operating system version', 'segment' => 'operatingSystemVersion', 'acceptedValues' => 'XP, 7, 2.3, 5.1, ...', ), 26 => array ( 'type' => 'dimension', 'category' => 'Visit', 'name' => 'Resolution', 'segment' => 'resolution', 'acceptedValues' => '1280x1024, 800x600, etc.', ), 27 => array ( 'type' => 'dimension', 'category' => 'Visit', 'name' => 'Server time', 'segment' => 'visitServerHour', 'acceptedValues' => '0, 1, 2, 3, ..., 20, 21, 22, 23', ), 28 => array ( 'type' => 'dimension', 'category' => 'Visit', 'name' => 'User ID', 'segment' => 'userId', 'acceptedValues' => 'any non empty unique string identifying the user (such as an email address or a username).', 'permission' => false, ), 29 => array ( 'type' => 'dimension', 'category' => 'Visit', 'name' => 'Visit Ecommerce status at the end of the visit', 'segment' => 'visitEcommerceStatus', 'acceptedValues' => 'none, ordered, abandonedCart, orderedThenAbandonedCart. For example, to select all visits that have made an Ecommerce order, the API request would contain "&segment=visitEcommerceStatus==ordered,visitEcommerceStatus==orderedThenAbandonedCart"', ), 30 => array ( 'type' => 'dimension', 'category' => 'Visit', 'name' => 'Visit ID', 'segment' => 'visitId', 'acceptedValues' => 'Any integer.', 'permission' => false, ), 31 => array ( 'type' => 'dimension', 'category' => 'Visit', 'name' => 'Visit converted a specific Goal Id', 'segment' => 'visitConvertedGoalId', 'acceptedValues' => '1, 2, 3, etc.', ), 32 => array ( 'type' => 'dimension', 'category' => 'Visit', 'name' => 'Visit converted at least one Goal', 'segment' => 'visitConverted', 'acceptedValues' => '0, 1', ), 33 => array ( 'type' => 'dimension', 'category' => 'Visit', 'name' => 'Visit type', 'segment' => 'visitorType', 'acceptedValues' => 'new, returning, returningCustomer. For example, to select all visitors who have returned to the website, including those who have bought something in their previous visits, the API request would contain "&segment=visitorType==returning,visitorType==returningCustomer"', ), 34 => array ( 'type' => 'dimension', 'category' => 'Visit', 'name' => 'Visitor ID', 'segment' => 'visitorId', 'acceptedValues' => '34c31e04394bdc63 - any 16 Hexadecimal chars ID, which can be fetched using the Tracking API function getVisitorId()', 'permission' => false, ), 35 => array ( 'type' => 'dimension', 'category' => 'Referrers', 'name' => 'Keyword', 'segment' => 'referrerKeyword', 'acceptedValues' => 'Encoded%20Keyword, keyword', ), 36 => array ( 'type' => 'dimension', 'category' => 'Referrers', 'name' => 'Referrer Name', 'segment' => 'referrerName', 'acceptedValues' => 'twitter.com, www.facebook.com, Bing, Google, Yahoo, CampaignName', ), 37 => array ( 'type' => 'dimension', 'category' => 'Referrers', 'name' => 'Referrer Type', 'segment' => 'referrerType', 'acceptedValues' => 'direct, search, website, campaign', ), 38 => array ( 'type' => 'dimension', 'category' => 'Referrers', 'name' => 'Referrer URL', 'segment' => 'referrerUrl', 'acceptedValues' => 'http%3A%2F%2Fwww.example.org%2Freferer-page.htm', ), 39 => array ( 'type' => 'dimension', 'category' => 'Events', 'name' => 'Event Action', 'segment' => 'eventAction', ), 40 => array ( 'type' => 'dimension', 'category' => 'Events', 'name' => 'Event Category', 'segment' => 'eventCategory', ), 41 => array ( 'type' => 'dimension', 'category' => 'Events', 'name' => 'Event Name', 'segment' => 'eventName', ), 42 => array ( 'type' => 'dimension', 'category' => 'Custom Variables', 'name' => 'Custom Variable name (scope visit)', 'segment' => 'customVariableName', 'unionOfSegments' => array ( 0 => 'customVariableName1', 1 => 'customVariableName2', 2 => 'customVariableName3', 3 => 'customVariableName4', 4 => 'customVariableName5', ), ), 43 => array ( 'type' => 'dimension', 'category' => 'Custom Variables', 'name' => 'Custom Variable name 1 (scope visit)', 'segment' => 'customVariableName1', ), 44 => array ( 'type' => 'dimension', 'category' => 'Custom Variables', 'name' => 'Custom Variable name 2 (scope visit)', 'segment' => 'customVariableName2', ), 45 => array ( 'type' => 'dimension', 'category' => 'Custom Variables', 'name' => 'Custom Variable name 3 (scope visit)', 'segment' => 'customVariableName3', ), 46 => array ( 'type' => 'dimension', 'category' => 'Custom Variables', 'name' => 'Custom Variable name 4 (scope visit)', 'segment' => 'customVariableName4', ), 47 => array ( 'type' => 'dimension', 'category' => 'Custom Variables', 'name' => 'Custom Variable name 5 (scope visit)', 'segment' => 'customVariableName5', ), 48 => array ( 'type' => 'dimension', 'category' => 'Custom Variables', 'name' => 'Custom Variable name (scope page)', 'segment' => 'customVariablePageName', 'unionOfSegments' => array ( 0 => 'customVariablePageName1', 1 => 'customVariablePageName2', 2 => 'customVariablePageName3', 3 => 'customVariablePageName4', 4 => 'customVariablePageName5', ), ), 49 => array ( 'type' => 'dimension', 'category' => 'Custom Variables', 'name' => 'Custom Variable name 1 (scope page)', 'segment' => 'customVariablePageName1', ), 50 => array ( 'type' => 'dimension', 'category' => 'Custom Variables', 'name' => 'Custom Variable name 2 (scope page)', 'segment' => 'customVariablePageName2', ), 51 => array ( 'type' => 'dimension', 'category' => 'Custom Variables', 'name' => 'Custom Variable name 3 (scope page)', 'segment' => 'customVariablePageName3', ), 52 => array ( 'type' => 'dimension', 'category' => 'Custom Variables', 'name' => 'Custom Variable name 4 (scope page)', 'segment' => 'customVariablePageName4', ), 53 => array ( 'type' => 'dimension', 'category' => 'Custom Variables', 'name' => 'Custom Variable name 5 (scope page)', 'segment' => 'customVariablePageName5', ), 54 => array ( 'type' => 'dimension', 'category' => 'Custom Variables', 'name' => 'Custom Variable value (scope page)', 'segment' => 'customVariablePageValue', 'unionOfSegments' => array ( 0 => 'customVariablePageValue1', 1 => 'customVariablePageValue2', 2 => 'customVariablePageValue3', 3 => 'customVariablePageValue4', 4 => 'customVariablePageValue5', ), ), 55 => array ( 'type' => 'dimension', 'category' => 'Custom Variables', 'name' => 'Custom Variable value 1 (scope page)', 'segment' => 'customVariablePageValue1', ), 56 => array ( 'type' => 'dimension', 'category' => 'Custom Variables', 'name' => 'Custom Variable value 2 (scope page)', 'segment' => 'customVariablePageValue2', ), 57 => array ( 'type' => 'dimension', 'category' => 'Custom Variables', 'name' => 'Custom Variable value 3 (scope page)', 'segment' => 'customVariablePageValue3', ), 58 => array ( 'type' => 'dimension', 'category' => 'Custom Variables', 'name' => 'Custom Variable value 4 (scope page)', 'segment' => 'customVariablePageValue4', ), 59 => array ( 'type' => 'dimension', 'category' => 'Custom Variables', 'name' => 'Custom Variable value 5 (scope page)', 'segment' => 'customVariablePageValue5', ), 60 => array ( 'type' => 'dimension', 'category' => 'Custom Variables', 'name' => 'Custom Variable value (scope visit)', 'segment' => 'customVariableValue', 'unionOfSegments' => array ( 0 => 'customVariableValue1', 1 => 'customVariableValue2', 2 => 'customVariableValue3', 3 => 'customVariableValue4', 4 => 'customVariableValue5', ), ), 61 => array ( 'type' => 'dimension', 'category' => 'Custom Variables', 'name' => 'Custom Variable value 1 (scope visit)', 'segment' => 'customVariableValue1', ), 62 => array ( 'type' => 'dimension', 'category' => 'Custom Variables', 'name' => 'Custom Variable value 2 (scope visit)', 'segment' => 'customVariableValue2', ), 63 => array ( 'type' => 'dimension', 'category' => 'Custom Variables', 'name' => 'Custom Variable value 3 (scope visit)', 'segment' => 'customVariableValue3', ), 64 => array ( 'type' => 'dimension', 'category' => 'Custom Variables', 'name' => 'Custom Variable value 4 (scope visit)', 'segment' => 'customVariableValue4', ), 65 => array ( 'type' => 'dimension', 'category' => 'Custom Variables', 'name' => 'Custom Variable value 5 (scope visit)', 'segment' => 'customVariableValue5', ), 66 => array ( 'type' => 'dimension', 'category' => 'Actions', 'name' => 'Action Type', 'segment' => 'actionType', 'acceptedValues' => 'A type of action, such as: pageviews, contents, sitesearches, events, outlinks, downloads', ), 67 => array ( 'type' => 'dimension', 'category' => 'Actions', 'name' => 'Action URL', 'segment' => 'actionUrl', 'unionOfSegments' => array ( 0 => 'pageUrl', 1 => 'downloadUrl', 2 => 'outlinkUrl', ), ), 68 => array ( 'type' => 'dimension', 'category' => 'Actions', 'name' => 'Clicked URL', 'segment' => 'outlinkUrl', ), 69 => array ( 'type' => 'dimension', 'category' => 'Actions', 'name' => 'Content Interaction', 'segment' => 'contentInteraction', 'acceptedValues' => 'The type of interaction with the content. For instance "click" or "submit".', ), 70 => array ( 'type' => 'dimension', 'category' => 'Actions', 'name' => 'Content Name', 'segment' => 'contentName', 'acceptedValues' => 'The name of a content block, for instance "Ad Sale"', ), 71 => array ( 'type' => 'dimension', 'category' => 'Actions', 'name' => 'Content Piece', 'segment' => 'contentPiece', 'acceptedValues' => 'The actual content. For instance "ad.jpg" or "My text ad"', ), 72 => array ( 'type' => 'dimension', 'category' => 'Actions', 'name' => 'Content Target', 'segment' => 'contentTarget', 'acceptedValues' => 'For instance the URL of a landing page: "http://landingpage.example.com"', ), 73 => array ( 'type' => 'dimension', 'category' => 'Actions', 'name' => 'Download URL', 'segment' => 'downloadUrl', ), 74 => array ( 'type' => 'dimension', 'category' => 'Actions', 'name' => 'Entry Page URL', 'segment' => 'entryPageUrl', ), 75 => array ( 'type' => 'dimension', 'category' => 'Actions', 'name' => 'Entry Page title', 'segment' => 'entryPageTitle', ), 76 => array ( 'type' => 'dimension', 'category' => 'Actions', 'name' => 'Exit Page Title', 'segment' => 'exitPageTitle', ), 77 => array ( 'type' => 'dimension', 'category' => 'Actions', 'name' => 'Exit Page URL', 'segment' => 'exitPageUrl', ), 78 => array ( 'type' => 'dimension', 'category' => 'Actions', 'name' => 'Keyword (Site Search)', 'segment' => 'siteSearchKeyword', ), 79 => array ( 'type' => 'dimension', 'category' => 'Actions', 'name' => 'Page Name', 'segment' => 'pageTitle', ), 80 => array ( 'type' => 'dimension', 'category' => 'Actions', 'name' => 'Page URL', 'segment' => 'pageUrl', 'acceptedValues' => 'All these segments must be URL encoded, for example: http%3A%2F%2Fexample.com%2Fpath%2Fpage%3Fquery', ), );