{"action":"closed","issue":{"url":"https://api.github.com/repos/facebook/facebook-php-ads-sdk/issues/178","labels_url":"https://api.github.com/repos/facebook/facebook-php-ads-sdk/issues/178/labels{/name}","comments_url":"https://api.github.com/repos/facebook/facebook-php-ads-sdk/issues/178/comments","events_url":"https://api.github.com/repos/facebook/facebook-php-ads-sdk/issues/178/events","html_url":"https://github.com/facebook/facebook-php-ads-sdk/issues/178","id":129398191,"number":178,"title":"Unable to get name of ad account","user":{"login":"benjamin-schaefer","id":8972924,"avatar_url":"https://avatars.githubusercontent.com/u/8972924?v=3","gravatar_id":"","url":"https://api.github.com/users/benjamin-schaefer","html_url":"https://github.com/benjamin-schaefer","followers_url":"https://api.github.com/users/benjamin-schaefer/followers","following_url":"https://api.github.com/users/benjamin-schaefer/following{/other_user}","gists_url":"https://api.github.com/users/benjamin-schaefer/gists{/gist_id}","starred_url":"https://api.github.com/users/benjamin-schaefer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjamin-schaefer/subscriptions","organizations_url":"https://api.github.com/users/benjamin-schaefer/orgs","repos_url":"https://api.github.com/users/benjamin-schaefer/repos","events_url":"https://api.github.com/users/benjamin-schaefer/events{/privacy}","received_events_url":"https://api.github.com/users/benjamin-schaefer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-28T09:44:10Z","updated_at":"2016-01-29T15:53:08Z","closed_at":"2016-01-29T15:53:08Z","body":"Hello,\r\nwhat I want to do is getting a list of all ad accounts for a user. I use the following code:\r\n  `echo \"<br>Account ID: \".$account->{AdAccountFields::ACCOUNT_ID};\r\n   echo \"<br>Account Name: \".$account->{AdAccountFields::NAME};`\r\nI get the correct account ID, but the name is always empty. In the marketing api reference on https://developers.facebook.com/docs/marketing-api/reference/ad-account, I find the following description for the attribute \"name\":\r\n\r\n> Name of the account. If the account name is not set, the name of the first admin visible to the user will be returned\r\n\r\nAny ideas why the name is empty?\r\n\r\nKindly regards, Benjamin"}}