title: How to get FB AD account name via Python API?
body: <p>Am trying to get a list of ad accounts in my business manager in the form of:</p>
  
  <pre><code>&lt;Ad Account id; Ad Account name&gt;
  </code></pre>
  
  <p>This is how a get the list of ad accounts:</p>
  
  <pre><code>FacebookAdsApi.init(my_app_id, my_app_secret, my_access_token)
  me = AdUser(fbid='me')
  my_account_first=me.get_ad_accounts()[0]
  
  &gt;&gt;&gt;print my_account_first
  &lt;AdAccount&gt; {
      "account_id": "1654219XXXXXXX",
      "id":
  
  type(my_account_first)
  &lt;class 'facebookads.objects.AdAccount'&gt;
  </code></pre>
  
  <p>Here is the class definition:
  <a href="https://github.com/facebook/facebook-python-ads-sdk/blob/master/facebookads/objects.py#L964" rel="nofollow">https://github.com/facebook/facebook-python-ads-sdk/blob/master/facebookads/objects.py#L964</a></p>
  
  <p>Could anyone advise how to extract FB Ad account name once I have the account ID? 
  It seems like an obvious task, but can not find the respective API method/field.</p>
  
  <p>Thank You in adavance for any guidance.</p>