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: | dshevnock (dshe...@gmail.com) |
| Date: | 01/24/2008 05:31:36 AM |
| List: | com.googlegroups.adwords-api |
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:
<cfset email = "em....@domain.com"> <cfset password = "password"> <cfset token = "em....@domain.com++USD"> <cfset client = "client_1+em....@domain.com">
<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 -




