12 messages in com.googlegroups.adwords-apiRe: Client managers cannot have campa...| From | Sent On | Attachments |
|---|---|---|
| Colony One | 23 Jan 2008 15:02 | |
| dshevnock | 24 Jan 2008 05:04 | |
| Colony One | 24 Jan 2008 05:13 | |
| Colony One | 24 Jan 2008 05:28 | |
| dshevnock | 24 Jan 2008 05:31 | |
| dshevnock | 24 Jan 2008 05:32 | |
| Colony One | 24 Jan 2008 05:34 | |
| dshevnock | 24 Jan 2008 05:38 | |
| Colony One | 24 Jan 2008 05:55 | |
| Colony One | 24 Jan 2008 06:01 | |
| dshevnock | 24 Jan 2008 06:15 | |
| dshevnock | 24 Jan 2008 06:16 |
| Subject: | Re: Client managers cannot have campaigns of their own - error 138![]() |
|---|---|
| From: | Colony One (adam...@yahoo.com) |
| Date: | 01/24/2008 05:34:09 AM |
| List: | com.googlegroups.adwords-api |
Yes. It seems when I comment it or uncomment it, I get the same result.. It's as if it is not seeing it ..
But I did confirm the sub-accounts are showing and I can access the list successfully via the API....
Stumped.. I may try again the live server and see if I get any different results.
On Jan 24, 8:32 am, dshevnock <dshe...@gmail.com> wrote:
Just saw you second post about that line not being commented out in your development code.
On Jan 24, 8:31 am, dshevnock <dshe...@gmail.com> wrote:
Adam:
What about this line:
//addSOAPRequestHeader(ws,"https://adwords.google.com/api/adwords/ v11","clientEmail",client);
Looks like the clientEmail value isn't getting added to be sent along.
On Jan 24, 8:14 am, Colony One <adam...@yahoo.com> wrote:
We are using Cold Fusion. Here is the script we are using for add campaign:
<cfscript> ws = CreateObject("webservice","https://sandbox.google.com/api/adwords/ v11/CampaignService?wsdl"); addSOAPRequestHeader(ws,"https://adwords.google.com/api/adwords/ v11","email",email); //addSOAPRequestHeader(ws,"https://adwords.google.com/api/adwords/ v11","clientEmail",client); addSOAPRequestHeader(ws,"https://adwords.google.com/api/adwords/ v11","password",password); addSOAPRequestHeader(ws,"https://adwords.google.com/api/adwords/ v11","token",token); addSOAPRequestHeader(ws,"https://adwords.google.com/api/adwords/ v11","useragent","AdWords");
campaign = StructNew(); campaign.dailyBudget = 100; campaign.endDay = "01/02/2009"; campaign.name = "testing"; campaign.startDay = "01/01/2009"; campaign.status = "Active"; </cfscript>
<cfscript> ws.addCampaign(campaign); </cfscript>
The error we receive is: Client managers cannot have campaigns of their own.
But we are passing the clientEmail parameter.
Using similar code, we are able to get the "client list" from the web service and we are returned the 5 sandbox clients and they appear proper.
Does the sandbox work reliably or should we just be trying our code against the live server?
Also (if anyone reading this has experience with CF and Google API, we are looking for paid assistance.. probaly should open a separate thread about this specifically).
Thank you for any advice.
Adam
On Jan 24, 8:04 am, dshevnock <dshe...@gmail.com> wrote:
Adam:
Can you provide the actual SOAP request you are sending (minus confidential informational like e-mail address and password, of course)?
Dan
On Jan 23, 6:02 pm, Colony One <adam...@yahoo.com> wrote:
Sandbox...
Recent setup and we are trying the basic AddCampaign... We are getting the 138 error - Client managers cannot have campaigns of their own.
After reviewing everything we can find in here, we checked for the existence of client accounts via the AccountServices and we DO see the client_1 through client_5 accounts. That call works fine.
We are specifying the soap header clientEmail with the value client_1+em....@domain.com.
We are hitting a dead-end.
Any ideas?
Adam
Colony One- Hide quoted text -
- Show quoted text -- Hide quoted text -
- Show quoted text -- Hide quoted text -
- Show quoted text -- Hide quoted text -




