Fwd: Returned mail: see transcript for details

223 views
Skip to first unread message

Ryan Leavengood

unread,
Apr 13, 2007, 5:17:35 PM4/13/07
to AdWords API Forum
I don't know if you are the person I should email this to, but the
person below really needs to be removed from this list.

Regards,
Ryan

---------- Forwarded message ----------
From: Mail Delivery Subsystem <MAILER...@zmail-103.hanmail.net>
Date: Apr 13, 2007 5:14 PM
Subject: Returned mail: see transcript for details
To: leave...@gmail.com


The original message was received at ...

---- The following addresses had permanent fatal errors ----
<oju...@hanmail.net>
(553 5.7.1 ojun75: mail is denied, by spam filter)

Final-Recipient: RFC822; oju...@hanmail.net
Action: failed
Status: 5.0.0 (553 5.7.1 ojun75: mail is denied, by spam filter)


---------- Forwarded message ----------
From: "Ryan Leavengood" <leave...@gmail.com>
To: "AdWords API Forum" <adwor...@googlegroups.com>
Date: Fri, 13 Apr 2007 17:14:15 -0400
Subject: AdWords API Re: how can I tell if an account has child accounts?

On 4/13/07, kwal...@gmail.com <kwal...@gmail.com> wrote:
>
> We call getClientAccounts using our top level mcc, but how can I tell
> if these child accounts are a nested mcc (have children accounts
> themselves)? I don't see anything in the AccountInfo object that looks
> like it would indicate this. Is the only way to call getClientAccounts
> on each account to see if anything is returned?

The answer seems to be yes based on how I read the docs. Since
getClientAccounts only returns email addresses and not AccountInfo,
you would need to make another call to the API even if the AccountInfo
told you there were children accounts. So you might as well call
getClientAccounts again with the emails returned from the first call.
You will need to set the clientEmail header for each call.

Of course you should decide to what level you want to traverse, as it
could get deep (like great-great-great-great-grandchildren accounts ;)

If you only care about if your children have children accounts then it
is fairly easy.

Regards,
Ryan

Ryan Leavengood

unread,
Apr 13, 2007, 5:22:31 PM4/13/07
to AdWords API Forum, adwordsa...@google.com
Sorry for the spam guys, I meant to email adwordsa...@google.com.

Ryan

Reply all
Reply to author
Forward
0 new messages