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' => 'Visitors', 'name' => 'Actions In Visit', 'segment' => 'actions', ), 1 => array ( 'type' => 'metric', 'category' => 'Visitors', 'name' => 'Days since first visit', 'segment' => 'daysSinceFirstVisit', ), 2 => array ( 'type' => 'metric', 'category' => 'Visitors', 'name' => 'Days since last Ecommerce order', 'segment' => 'daysSinceLastEcommerceOrder', ), 3 => array ( 'type' => 'metric', 'category' => 'Visitors', 'name' => 'Days since last visit', 'segment' => 'daysSinceLastVisit', ), 4 => array ( 'type' => 'metric', 'category' => 'Visitors', 'name' => 'Events', 'segment' => 'events', 'acceptedValues' => 'To select all visits who triggered an Event, use: &segment=events>0', ), 5 => array ( 'type' => 'metric', 'category' => 'Visitors', 'name' => 'Local time - minute (Start of visit)', 'segment' => 'visitLocalMinute', 'acceptedValues' => '0, 1, 2, 3, ..., 67, 57, 58, 59', ), 6 => array ( 'type' => 'metric', 'category' => 'Visitors', 'name' => 'Number of Interactions', 'segment' => 'interactions', 'acceptedValues' => 'Any positive integer', ), 7 => array ( 'type' => 'metric', 'category' => 'Visitors', 'name' => 'Number of Internal Searches', 'segment' => 'searches', 'acceptedValues' => 'To select all visits who used internal Site Search, use: &segment=searches>0', ), 8 => array ( 'type' => 'metric', 'category' => 'Visitors', 'name' => 'Number of visits', 'segment' => 'visitCount', ), 9 => array ( 'type' => 'metric', 'category' => 'Visitors', 'name' => 'Visit Duration (in seconds)', 'segment' => 'visitDuration', ), 10 => array ( 'type' => 'metric', 'category' => 'Visitors', '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, ), 11 => array ( 'type' => 'dimension', 'category' => 'Visitors', 'name' => 'Browser', 'segment' => 'browserCode', 'acceptedValues' => 'FF, IE, CH, SF, OP, etc.', ), 12 => array ( 'type' => 'dimension', 'category' => 'Visitors', 'name' => 'Browser engine', 'segment' => 'browserEngine', 'acceptedValues' => 'Trident, WebKit, Presto, Gecko, Blink, etc.', 'suggestedValuesCallback' => '\\DeviceDetector\\Parser\\Client\\Browser\\Engine::getAvailableEngines', ), 13 => array ( 'type' => 'dimension', 'category' => 'Visitors', 'name' => 'Browser version', 'segment' => 'browserVersion', 'acceptedValues' => '1.0, 8.0, etc.', ), 14 => array ( 'type' => 'dimension', 'category' => 'Visitors', 'name' => 'Device brand', 'segment' => 'deviceBrand', 'acceptedValues' => '3Q, 4Good, Acer, Advance, Ainol, Airness, Airties, Aiwa, Akai, Alcatel, Allview, Altech UEC, Amazon, Amoi, Apple, Archos, Arnova, ARRIS, Asus, Audiovox, Avvio, Axxion, Azumi Mobile, BangOlufsen, Barnes & Noble, BBK, Becker, Beetel, BenQ, BenQ-Siemens, BGH, Bird, Bitel, Blackview, Blaupunkt, Blu, Bluboo, Bmobile, Boway, bq, Bravis, Brondi, Bush, Capitel, Captiva, Carrefour, Casio, Cat, Celkon, Changhong, Cherry Mobile, China Mobile, CnM, Coby Kyros, Comio, Compal, Compaq, ComTrade Tesla, ConCorde, Condor, Coolpad, Cowon, CreNova, Cricket, Crius Mea, Crosscall, Cube, CUBOT, Cyrus, Danew, Datang, Dbtel, Dell, Denver, Desay, DEXP, Dialog, Dicam, Digma, DMM, DNS, DoCoMo, Doogee, Doov, Dopod, Doro, Dune HD, E-Boda, Easypix, EBEST, ECS, EKO, Elephone, Energy Sistem, Ericsson, Ericy, Essential, Essentielb, Eton, eTouch, Evertek, Evolveo, Explay, Ezio, Ezze, Fairphone, Fly, FNB, Foxconn, Freetel, Fujitsu, Garmin-Asus, Gateway, Gemini, Gigabyte, Gigaset, Gionee, GOCLEVER, Goly, GoMobile, Google, Gradiente, Grape, Grundig, Haier, HannSpree, Hasee, Hi-Level, Hisense, Homtom, Hosin, HP, HTC, Huawei, Humax, Hyrican, Hyundai, i-Joy, i-mate, i-mobile, iBall, iBerry, IconBIT, Ikea, iKoMo, Impression, iNew, Infinix, Inkti, Innostream, INQ, Intek, Intex, Inverto, iOcean, iTel, JAY-Tech, Jiayu, Jolla, K-Touch, Karbonn, Kazam, KDDI, Kempler & Strauss, Kiano, Kingsun, Kogan, Komu, Konka, Konrow, Koobee, KOPO, Koridy, KT-Tech, Kumai, Kyocera, Landvo, Lanix, Lava, LCT, LeEco, Lemhoov, Lenco, Lenovo, Le Pan, Lexand, Lexibook, LG, Lingwin, Loewe, Logicom, LYF, M.T.T., Majestic, Manta Multimedia, Mecer, Mediacom, MediaTek, Medion, MEEG, Meizu, Memup, Metz, MEU, MicroMax, Microsoft, Mio, Miray, Mitsubishi, MIXC, MLLED, Mobiistar, Mobistel, Modecom, Mofut, Motorola, Mpman, MSI, MTC, MyPhone, Myria, NEC, Neffos, Netgear, Newgen, Nexian, Nextbit, NextBook, NGM, Nikon, Nintendo, Noain, Noblex, Nokia, Nomi, Nous, Nvidia, O2, Obi, Odys, Onda, OnePlus, OPPO, Opsson, Orange, Ouki, OUYA, Overmax, Oysters, Palm, Panasonic, Pantech, PEAQ, Pentagram, Philips, phoneOne, Pioneer, Ployer, Point of View, Polaroid, PolyPad, Pomp, Positivo, PPTV, Prestigio, Primepad, ProScan, PULID, Qilive, QMobile, Qtek, Quechua, Ramos, RCA Tablets, Readboy, Rikomagic, RIM, Roku, Rover, Sagem, Samsung, Sanei, Sanyo, Savio, Sega, Selevision, Sencor, Sendo, Senseit, SFR, Sharp, Siemens, Skyworth, Smart, Smartfren, Smartisan, Softbank, Sony, Sony Ericsson, Spice, Star, STK, Stonex, Storex, Sumvision, SunVan, SuperSonic, Supra, Symphony, T-Mobile, TB Touch, TCL, TechniSat, TechnoTrend, TechPad, Teclast, Tecno Mobile, Telefunken, Telenor, Telit, Tesco, Tesla, teXet, ThL, Thomson, TIANYU, TiPhone, Tolino, Top House, Toplux, Toshiba, Touchmate, TrekStor, Trevi, Tunisie Telecom, Turbo-X, TVC, Uhappy, Ulefone, UMIDIGI, Uniscope, Unknown, Unnecto, Unonu, Unowhy, UTStarcom, Vastking, Vernee, Vertu, Verykool, Vestel, Videocon, Videoweb, ViewSonic, Vinsoc, Vitelcom, Vivo, Vizio, VK Mobile, Vodafone, Vonino, Voto, Voxtel, Walton, Web TV, WellcoM, Wexler, Wiko, Wileyfox, Wolder, Wolfgang, Wonu, Woxter, Xiaomi, Xolo, Yarvik, Ytone, Yuandao, Yusun, Zeemi, Zen, Zonda, Zopo, ZTE, Zuum, Zync', ), 15 => array ( 'type' => 'dimension', 'category' => 'Visitors', 'name' => 'Device model', 'segment' => 'deviceModel', 'acceptedValues' => 'iPad, Nexus 5, Galaxy S5, Fire TV, etc.', ), 16 => array ( 'type' => 'dimension', 'category' => 'Visitors', 'name' => 'Device type', 'segment' => 'deviceType', 'acceptedValues' => 'desktop, smartphone, tablet, feature phone, console, tv, car browser, smart display, camera, portable media player, phablet', ), 17 => array ( 'type' => 'dimension', 'category' => 'Visitors', 'name' => 'Local time - hour (Start of visit)', 'segment' => 'visitLocalHour', 'acceptedValues' => '0, 1, 2, 3, ..., 20, 21, 22, 23', ), 18 => array ( 'type' => 'dimension', 'category' => 'Visitors', 'name' => 'Operating system', 'segment' => 'operatingSystemCode', 'acceptedValues' => 'WIN, MAC, LIN, AND, IPD, etc.', ), 19 => array ( 'type' => 'dimension', 'category' => 'Visitors', 'name' => 'Operating system version', 'segment' => 'operatingSystemVersion', 'acceptedValues' => 'XP, 7, 2.3, 5.1, ...', ), 20 => array ( 'type' => 'dimension', 'category' => 'Visitors', 'name' => 'Resolution', 'segment' => 'resolution', 'acceptedValues' => '1280x1024, 800x600, etc.', ), 21 => array ( 'type' => 'dimension', 'category' => 'Visitors', 'name' => 'Server time - date (End of visit)', 'segment' => 'visitEndServerDate', 'acceptedValues' => '2018-12-31, 2018-03-20, ...', ), 22 => array ( 'type' => 'dimension', 'category' => 'Visitors', 'name' => 'Server time - day of month (End of visit)', 'segment' => 'visitEndServerDayOfMonth', 'acceptedValues' => '0, 1, 2, 3, ..., 29, 30, 31', ), 23 => array ( 'type' => 'dimension', 'category' => 'Visitors', 'name' => 'Server time - day of week (End of visit)', 'segment' => 'visitEndServerDayOfWeek', 'acceptedValues' => '1, 2, 3, 4, 5, 6, 7', ), 24 => array ( 'type' => 'dimension', 'category' => 'Visitors', 'name' => 'Server time - day of year (End of visit)', 'segment' => 'visitEndServerDayOfYear', 'acceptedValues' => '1, 2, 3, 4, ..., 365, 366', ), 25 => array ( 'type' => 'dimension', 'category' => 'Visitors', 'name' => 'Server time - hour (End of visit)', 'segment' => 'visitServerHour', 'acceptedValues' => '0, 1, 2, 3, ..., 20, 21, 22, 23', ), 26 => array ( 'type' => 'dimension', 'category' => 'Visitors', 'name' => 'Server time - hour (Start of visit)', 'segment' => 'visitStartServerHour', 'acceptedValues' => '0, 1, 2, 3, ..., 20, 21, 22, 23', ), 27 => array ( 'type' => 'dimension', 'category' => 'Visitors', 'name' => 'Server time - minute (End of visit)', 'segment' => 'visitEndServerMinute', 'acceptedValues' => '0, 1, 2, 3, ..., 56, 57, 58, 59', ), 28 => array ( 'type' => 'dimension', 'category' => 'Visitors', 'name' => 'Server time - minute (Start of visit)', 'segment' => 'visitStartServerMinute', 'acceptedValues' => '0, 1, 2, 3, ..., 56, 57, 58, 59', ), 29 => array ( 'type' => 'dimension', 'category' => 'Visitors', 'name' => 'Server time - month (End of visit)', 'segment' => 'visitEndServerMonth', 'acceptedValues' => '1, 2, 3, ..., 11, 12', ), 30 => array ( 'type' => 'dimension', 'category' => 'Visitors', 'name' => 'Server time - quarter (End of visit)', 'segment' => 'visitEndServerQuarter', 'acceptedValues' => '1, 2, 3, 4', ), 31 => array ( 'type' => 'dimension', 'category' => 'Visitors', 'name' => 'Server time - second (End of visit)', 'segment' => 'visitEndServerSecond', 'acceptedValues' => '0, 1, 2, 3, ..., 58, 59', ), 32 => array ( 'type' => 'dimension', 'category' => 'Visitors', 'name' => 'Server time - week of year (End of visit)', 'segment' => 'visitEndServerWeekOfYear', 'acceptedValues' => '1, 2, 3, 4, ..., 51, 52, 53', ), 33 => array ( 'type' => 'dimension', 'category' => 'Visitors', 'name' => 'Server time - year (End of visit)', 'segment' => 'visitEndServerYear', 'acceptedValues' => '2016, 2017, 2018, ..., 9998, 9999', ), 34 => array ( 'type' => 'dimension', 'category' => 'Visitors', 'name' => 'User ID', 'segment' => 'userId', 'acceptedValues' => 'any non empty unique string identifying the user (such as an email address or a username).', 'permission' => false, ), 35 => array ( 'type' => 'dimension', 'category' => 'Visitors', '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"', ), 36 => array ( 'type' => 'dimension', 'category' => 'Visitors', 'name' => 'Visit ID', 'segment' => 'visitId', 'acceptedValues' => 'Any integer.', 'permission' => false, ), 37 => array ( 'type' => 'dimension', 'category' => 'Visitors', 'name' => 'Visit converted a specific Goal Id', 'segment' => 'visitConvertedGoalId', 'acceptedValues' => '1, 2, 3, etc.', ), 38 => array ( 'type' => 'dimension', 'category' => 'Visitors', 'name' => 'Visit converted at least one Goal', 'segment' => 'visitConverted', 'acceptedValues' => '0, 1', ), 39 => array ( 'type' => 'dimension', 'category' => 'Visitors', '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"', ), 40 => array ( 'type' => 'dimension', 'category' => 'Visitors', 'name' => 'Visitor ID', 'segment' => 'visitorId', 'acceptedValues' => '34c31e04394bdc63 - any 16 Hexadecimal chars ID, which can be fetched using the Tracking API function getVisitorId()', 'permission' => false, ), 41 => array ( 'type' => 'dimension', 'category' => 'Visit Location', 'name' => 'City', 'segment' => 'city', 'acceptedValues' => 'Sydney, Sao Paolo, Rome, etc.', ), 42 => array ( 'type' => 'dimension', 'category' => 'Visit Location', 'name' => 'Continent', 'segment' => 'continentCode', 'acceptedValues' => 'eur, asi, amc, amn, ams, afr, ant, oce', ), 43 => array ( 'type' => 'dimension', 'category' => 'Visit Location', 'name' => 'Country', 'segment' => 'countryCode', 'acceptedValues' => 'de, us, fr, in, es, etc.', ), 44 => array ( 'type' => 'dimension', 'category' => 'Visit Location', 'name' => 'Language', 'segment' => 'languageCode', 'acceptedValues' => 'de, fr, en-gb, zh-cn, etc.', ), 45 => 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.', ), 46 => array ( 'type' => 'dimension', 'category' => 'Visit Location', 'name' => 'Longitude', 'segment' => 'longitude', 'acceptedValues' => '-70.664, 14.326, etc.', ), 47 => array ( 'type' => 'dimension', 'category' => 'Visit Location', 'name' => 'Region', 'segment' => 'regionCode', 'acceptedValues' => '01 02, OR, P8, etc.<br/>eg. region=BFC;country=fr', ), 48 => array ( 'type' => 'dimension', 'category' => 'Actions', 'name' => 'Action Type', 'segment' => 'actionType', 'acceptedValues' => 'A type of action, such as: pageviews, contents, sitesearches, events, outlinks, downloads', ), 49 => array ( 'type' => 'dimension', 'category' => 'Actions', 'name' => 'Action URL', 'segment' => 'actionUrl', 'unionOfSegments' => array ( 0 => 'pageUrl', 1 => 'downloadUrl', 2 => 'outlinkUrl', 3 => 'eventUrl', ), ), 50 => array ( 'type' => 'dimension', 'category' => 'Actions', 'name' => 'Clicked URL', 'segment' => 'outlinkUrl', ), 51 => array ( 'type' => 'dimension', 'category' => 'Actions', 'name' => 'Content Interaction', 'segment' => 'contentInteraction', 'acceptedValues' => 'The type of interaction with the content. For instance "click" or "submit".', ), 52 => array ( 'type' => 'dimension', 'category' => 'Actions', 'name' => 'Content Name', 'segment' => 'contentName', 'acceptedValues' => 'The name of a content block, for instance "Ad Sale"', ), 53 => array ( 'type' => 'dimension', 'category' => 'Actions', 'name' => 'Content Piece', 'segment' => 'contentPiece', 'acceptedValues' => 'The actual content. For instance "ad.jpg" or "My text ad"', ), 54 => array ( 'type' => 'dimension', 'category' => 'Actions', 'name' => 'Content Target', 'segment' => 'contentTarget', 'acceptedValues' => 'For instance the URL of a landing page: "http://landingpage.example.com"', ), 55 => array ( 'type' => 'dimension', 'category' => 'Actions', 'name' => 'Download URL', 'segment' => 'downloadUrl', ), 56 => array ( 'type' => 'dimension', 'category' => 'Actions', 'name' => 'Entry Page URL', 'segment' => 'entryPageUrl', ), 57 => array ( 'type' => 'dimension', 'category' => 'Actions', 'name' => 'Entry Page title', 'segment' => 'entryPageTitle', ), 58 => array ( 'type' => 'dimension', 'category' => 'Actions', 'name' => 'Exit Page Title', 'segment' => 'exitPageTitle', ), 59 => array ( 'type' => 'dimension', 'category' => 'Actions', 'name' => 'Exit Page URL', 'segment' => 'exitPageUrl', ), 60 => array ( 'type' => 'dimension', 'category' => 'Actions', 'name' => 'Keyword (Site Search)', 'segment' => 'siteSearchKeyword', ), 61 => array ( 'type' => 'dimension', 'category' => 'Actions', 'name' => 'Page Title', 'segment' => 'pageTitle', ), 62 => 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', ), 63 => array ( 'type' => 'dimension', 'category' => 'Actions', 'name' => 'Server time - hour', 'segment' => 'actionServerHour', ), 64 => array ( 'type' => 'dimension', 'category' => 'Actions', 'name' => 'Server time - minute', 'segment' => 'actionServerMinute', 'acceptedValues' => '0, 1, 2, 3, ..., 56, 57, 58, 59', ), 65 => array ( 'type' => 'metric', 'category' => 'Events', 'name' => 'Event value', 'segment' => 'eventValue', ), 66 => array ( 'type' => 'dimension', 'category' => 'Events', 'name' => 'Event Action', 'segment' => 'eventAction', ), 67 => array ( 'type' => 'dimension', 'category' => 'Events', 'name' => 'Event Category', 'segment' => 'eventCategory', ), 68 => array ( 'type' => 'dimension', 'category' => 'Events', 'name' => 'Event Name', 'segment' => 'eventName', ), 69 => array ( 'type' => 'dimension', 'category' => 'Events', 'name' => 'Event URL', 'segment' => 'eventUrl', 'acceptedValues' => 'The URL must be URL encoded, for example: http%3A%2F%2Fexample.com%2Fpath%2Fpage%3Fquery', ), 70 => array ( 'type' => 'dimension', 'category' => 'Referrers', 'name' => 'Channel Type', 'segment' => 'referrerType', 'acceptedValues' => 'direct, search, website, campaign', ), 71 => array ( 'type' => 'dimension', 'category' => 'Referrers', 'name' => 'Keyword', 'segment' => 'referrerKeyword', 'acceptedValues' => 'Encoded%20Keyword, keyword', ), 72 => array ( 'type' => 'dimension', 'category' => 'Referrers', 'name' => 'Referrer Name', 'segment' => 'referrerName', 'acceptedValues' => 'twitter.com, www.facebook.com, Bing, Google, Yahoo, CampaignName', ), 73 => array ( 'type' => 'dimension', 'category' => 'Referrers', 'name' => 'Referrer URL', 'segment' => 'referrerUrl', 'acceptedValues' => 'http%3A%2F%2Fwww.example.org%2Freferer-page.htm', ), );