{"action":"created","issue":{"url":"https://api.github.com/repos/googleads/googleads-php-lib/issues/127","repository_url":"https://api.github.com/repos/googleads/googleads-php-lib","labels_url":"https://api.github.com/repos/googleads/googleads-php-lib/issues/127/labels{/name}","comments_url":"https://api.github.com/repos/googleads/googleads-php-lib/issues/127/comments","events_url":"https://api.github.com/repos/googleads/googleads-php-lib/issues/127/events","html_url":"https://github.com/googleads/googleads-php-lib/issues/127","id":142938516,"number":127,"title":"BatchJobService - DUPLICATE_ADGROUP_NAME - Xml Deserializer Issue","user":{"login":"janakprajapati","id":3796180,"avatar_url":"https://avatars.githubusercontent.com/u/3796180?v=3","gravatar_id":"","url":"https://api.github.com/users/janakprajapati","html_url":"https://github.com/janakprajapati","followers_url":"https://api.github.com/users/janakprajapati/followers","following_url":"https://api.github.com/users/janakprajapati/following{/other_user}","gists_url":"https://api.github.com/users/janakprajapati/gists{/gist_id}","starred_url":"https://api.github.com/users/janakprajapati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janakprajapati/subscriptions","organizations_url":"https://api.github.com/users/janakprajapati/orgs","repos_url":"https://api.github.com/users/janakprajapati/repos","events_url":"https://api.github.com/users/janakprajapati/events{/privacy}","received_events_url":"https://api.github.com/users/janakprajapati/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-23T11:46:52Z","updated_at":"2016-03-23T12:25:59Z","closed_at":null,"body":"Hi,\r\n\r\nWe noticed that, the ConvertXmlToObject() function of the XmlDeserializer class is not processing the errorList object correctly in case the error response is regarding DUPLICATE_ADGROUP_NAME. While processing, it throws an Exception (\"Property _parameterMap does not exist\") instead.\r\n\r\nHere is the BatchJobService (XML) response for your reference,\r\n\r\n`<?xml version=\"1.0\" encoding=\"UTF-8\"?><mutateResponse xmlns=\"https://adwords.google.com/api/adwords/cm/v201601\"><rval><errorList><errors xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:type=\"AdGroupServiceError\"><fieldPath>operations[0].operand.name</fieldPath><trigger>Adgroup Name Here</trigger><errorString>AdGroupServiceError.DUPLICATE_ADGROUP_NAME</errorString><ApiError.Type>AdGroupServiceError</ApiError.Type><reason>DUPLICATE_ADGROUP_NAME</reason></errors></errorList><index>0</index></rval></mutateResponse>`\r\n\r\nPlease let me know if I am missing anything.\r\n\r\nThanks,\r\nJanak"},"comment":{"url":"https://api.github.com/repos/googleads/googleads-php-lib/issues/comments/200327336","html_url":"https://github.com/googleads/googleads-php-lib/issues/127#issuecomment-200327336","issue_url":"https://api.github.com/repos/googleads/googleads-php-lib/issues/127","id":200327336,"user":{"login":"fiboknacky","id":1702801,"avatar_url":"https://avatars.githubusercontent.com/u/1702801?v=3","gravatar_id":"","url":"https://api.github.com/users/fiboknacky","html_url":"https://github.com/fiboknacky","followers_url":"https://api.github.com/users/fiboknacky/followers","following_url":"https://api.github.com/users/fiboknacky/following{/other_user}","gists_url":"https://api.github.com/users/fiboknacky/gists{/gist_id}","starred_url":"https://api.github.com/users/fiboknacky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fiboknacky/subscriptions","organizations_url":"https://api.github.com/users/fiboknacky/orgs","repos_url":"https://api.github.com/users/fiboknacky/repos","events_url":"https://api.github.com/users/fiboknacky/events{/privacy}","received_events_url":"https://api.github.com/users/fiboknacky/received_events","type":"User","site_admin":false},"created_at":"2016-03-23T12:25:59Z","updated_at":"2016-03-23T12:25:59Z","body":"Hi Janak,\r\n\r\nThanks for reporting.\r\nWe're fixing this and will let you know once it's fixed.\r\n\r\nBest,\r\nKnack"}}