Cross Account API actions

7 views
Skip to first unread message

Albert

unread,
Aug 22, 2007, 7:51:12 AM8/22/07
to AdWords API Forum
HI,

I'll try to put it simple:

I have a MCC and my mcc email is (for example): m...@mcc.com

Under my MCC i have:

account a
campaign a

and

account b
campaign b

What I want to do is:

With a single hit (setting soap headers once) to update both account a
>campaign a and account b > campaign b. (Calling update campaign list
once)

What I tried supplying in the soap header is:

my mcc email as email
my mcc email as client email

this didn't work

-------------------

my mcc email as email
account_a email as client email

this works only if I am including only campaigns under account a

-------------

1. My question is - is updating/reading cross account possible? And if
yes what should the headers look like?

2. Why are the header fields of type array[] when only one value is
allowed. That is, if I try to set clientEmail to {"email_a","email_b"}
- I get a Invalid client email error.

Thanks in advance,

Albert

AdWords API Advisor

unread,
Aug 22, 2007, 2:48:56 PM8/22/07
to AdWords API Forum
Hi Albert,

Cross-client-account updates are not possible, as you may only specify
one <clientEmail> element per SOAP header.

Where did you find the header fields defined as arrays?

-Aaron Karp
AdWords API Team

Albert

unread,
Aug 26, 2007, 5:38:17 AM8/26/07
to AdWords API Forum
Hi Aaron,

thank you for your reply, it helps me a lot.

I work in .net. For some reason the object layer over the web service,
which is auto generated by the IDE (visual studio), produces all
header fields as String[] arrays. That has confused me several times.
I guess there might be some explanation and I am curious to know it.

Regards,
Albert

Reply all
Reply to author
Forward
0 new messages