Re: Fault occurred while processing when trying to add campaigns

2013-07-31 Thread Chirag
Hi All,

I am experiencing same issue while add negative ad-group criteria.

I am using code as 

$adgroupCriterionService =
$user-GetService('AdGroupCriterionService', ADWORDS_VERSION);

$adgroupCriteria = array();

$placement_url = new Placement();
$placement_url-url = 'http://www.testdomain.com';
$adgroupCriteria[] = new NegativeAdGroupCriterion($AdgroupId, null, 
$placement_url);

// Create operations.
$operations = array();
foreach ($adgroupCriteria as $adgroupCriterion) {
$operations[] = new AdGroupCriterionOperation($adgroupCriterion, 
'ADD');
}

// Make the mutate request.
$result = $adgroupCriterionService-mutate($operations);


I am getting error.
[Jul 31 2013 14:52:34.00 - ERROR]  service=AdGroupCriterionService 
method=mutate operators={} responseTime=634 
requestId=0004e2cb4404bbd00a421a2a2baa operations=1 units= 
server=adwords.google.com isFault=true faultMessage=Fault occurred while 
processing.


Thanks,
Chirag


On Thursday, February 21, 2013 2:08:26 PM UTC+5:30, Timo Aarnio wrote:

 Hi,

 Well, that was a silly reason for the hold up. The test account also had 
 just read-only rights. The rights were changed and the campaigns went in at 
 least with no problem. I'll need to ask about getting the full rights for 
 the hotmail account for the later time.

 Thanks for the help

 Timo

 keskiviikko, 20. helmikuuta 2013 22.25.09 UTC+2 David Torres kirjoitti:

 Hi Timo,

 I see two emails associated to your MCC, one of them is set as read-only. 
 If you are using that hotmail one that is reason of the error.

 Best,

 - David Torres - AdWords API Team

 On Monday, February 18, 2013 6:41:33 AM UTC-5, Timo Aarnio wrote:

 Hi,

 It seems the person controlling the MCC account has only given the 
 rights to read data for the test account.. I'll have to ask him change the 
 rights.

 I tried through the tests. All of the tests with getting various 
 information worked properly, showing what they were supposed to show.
 When trying the add audience and add conversion tracker examples from 
 remarketing, it gave ACTION_NOT_PERMITTED error.
 [Feb 18 2013 13:03:04.00 - ERROR] email= effectiveUser=123456789 
 service=UserListService method=mutate operators={ADD: 1} responseTime=41 
 requestId=0004d5fdab31cf080ae5656602fe operations=0 units=0 server=
 adwords.google.com isFault=true 
 faultMessage=[OperationAccessDenied.ACTION_NOT_PERMITTED @ ]
 I can't try the other add services since I can't add a campaign first.

 I'll post here again once I get a reply from the MCC account controller 
 and I have tried to add the campaign again.

 Best regards

 Timo

 perjantai, 15. helmikuuta 2013 21.13.25 UTC+2 David Torres kirjoitti:

 Hi Timo,

 Just to let you know I'm still working on your issue, and have a follow 
 up question for you. Do you see the same error trying to call other 
 services? running other examples.

 Best,

 - David

 On Thursday, February 14, 2013 12:27:44 PM UTC-5, David Torres wrote:

 Hi Timo,

 I've forwarded your issue to the team. I will have you a response soon.

 Best,

 - David

 On Monday, February 11, 2013 8:02:47 AM UTC-5, Timo Aarnio wrote:

 Hi, I'm sorry for the delay from my side as well.

 Yes, the issue is still there, here's the latest error call:
 [Feb 11 2013 15:00:01.00 - ERROR] email=testaccount 
 effectiveUser=123456789 service=BudgetService method=mutate 
 operators={ADD: 
 1} responseTime=67 requestId=0004d5727c8b42a00ae53cdb6932 
 operations=0 
 units=0 server=adwords.google.com isFault=true faultMessage=Fault 
 occurred while processing.


 Thanks again for the help,

 Timo

 maanantai, 4. helmikuuta 2013 23.08.50 UTC+2 David Torres (AdWords 
 API Team) kirjoitti:

 Hi,

 Sorry for our delay responding you here, are you still experiencing 
 this issue? if yes, can you give me a fresh requestId of the issue, I'd 
 be 
 glad to investigate.

 To answer your questions:
 You don't seem to be doing anything wrong, in fact this type of 
 error is likely an issue we need look at in our side.
 You should be using the test account credentials and not the MCC, as 
 I believe you are doing correctly.

 Best,

 - David Torres - AdWords API Team

 On Friday, January 25, 2013 11:57:03 AM UTC-5, Timo Aarnio wrote:

 Hi

 I'm currently trying to add campaigns for the test account. But 
 when I run the script, it throws Fault occurred while processing. 
 error.

 The error seems to happen when the script tries to mutate budget: 
 [Jan 25 2013 18:03:48.00 - ERROR] email=testemail 
 effectiveUser=123456789 service=BudgetService method=mutate 
 operators={ADD: 
 1} responseTime=156 requestId=0004d41f126d8a300ae53fcd6bc0 
 operations=0 
 units=0 server=adwords.google.com isFault=true faultMessage=Fault 
 occurred while processing.

 When digging into the soap_xml.log it seems to throw a 500 Internal 
 Server Error

 [Jan 25 2013 18:26:21.00 - ERROR] POST 
 

Re: Fault occurred while processing when trying to add campaigns

2013-02-21 Thread Timo Aarnio
Hi,

Well, that was a silly reason for the hold up. The test account also had 
just read-only rights. The rights were changed and the campaigns went in at 
least with no problem. I'll need to ask about getting the full rights for 
the hotmail account for the later time.

Thanks for the help

Timo

keskiviikko, 20. helmikuuta 2013 22.25.09 UTC+2 David Torres kirjoitti:

 Hi Timo,

 I see two emails associated to your MCC, one of them is set as read-only. 
 If you are using that hotmail one that is reason of the error.

 Best,

 - David Torres - AdWords API Team

 On Monday, February 18, 2013 6:41:33 AM UTC-5, Timo Aarnio wrote:

 Hi,

 It seems the person controlling the MCC account has only given the rights 
 to read data for the test account.. I'll have to ask him change the rights.

 I tried through the tests. All of the tests with getting various 
 information worked properly, showing what they were supposed to show.
 When trying the add audience and add conversion tracker examples from 
 remarketing, it gave ACTION_NOT_PERMITTED error.
 [Feb 18 2013 13:03:04.00 - ERROR] email= effectiveUser=123456789 
 service=UserListService method=mutate operators={ADD: 1} responseTime=41 
 requestId=0004d5fdab31cf080ae5656602fe operations=0 units=0 server=
 adwords.google.com isFault=true 
 faultMessage=[OperationAccessDenied.ACTION_NOT_PERMITTED @ ]
 I can't try the other add services since I can't add a campaign first.

 I'll post here again once I get a reply from the MCC account controller 
 and I have tried to add the campaign again.

 Best regards

 Timo

 perjantai, 15. helmikuuta 2013 21.13.25 UTC+2 David Torres kirjoitti:

 Hi Timo,

 Just to let you know I'm still working on your issue, and have a follow 
 up question for you. Do you see the same error trying to call other 
 services? running other examples.

 Best,

 - David

 On Thursday, February 14, 2013 12:27:44 PM UTC-5, David Torres wrote:

 Hi Timo,

 I've forwarded your issue to the team. I will have you a response soon.

 Best,

 - David

 On Monday, February 11, 2013 8:02:47 AM UTC-5, Timo Aarnio wrote:

 Hi, I'm sorry for the delay from my side as well.

 Yes, the issue is still there, here's the latest error call:
 [Feb 11 2013 15:00:01.00 - ERROR] email=testaccount 
 effectiveUser=123456789 service=BudgetService method=mutate 
 operators={ADD: 
 1} responseTime=67 requestId=0004d5727c8b42a00ae53cdb6932 
 operations=0 
 units=0 server=adwords.google.com isFault=true faultMessage=Fault 
 occurred while processing.


 Thanks again for the help,

 Timo

 maanantai, 4. helmikuuta 2013 23.08.50 UTC+2 David Torres (AdWords API 
 Team) kirjoitti:

 Hi,

 Sorry for our delay responding you here, are you still experiencing 
 this issue? if yes, can you give me a fresh requestId of the issue, I'd 
 be 
 glad to investigate.

 To answer your questions:
 You don't seem to be doing anything wrong, in fact this type of error 
 is likely an issue we need look at in our side.
 You should be using the test account credentials and not the MCC, as 
 I believe you are doing correctly.

 Best,

 - David Torres - AdWords API Team

 On Friday, January 25, 2013 11:57:03 AM UTC-5, Timo Aarnio wrote:

 Hi

 I'm currently trying to add campaigns for the test account. But when 
 I run the script, it throws Fault occurred while processing. error.

 The error seems to happen when the script tries to mutate budget: 
 [Jan 25 2013 18:03:48.00 - ERROR] email=testemail 
 effectiveUser=123456789 service=BudgetService method=mutate 
 operators={ADD: 
 1} responseTime=156 requestId=0004d41f126d8a300ae53fcd6bc0 
 operations=0 
 units=0 server=adwords.google.com isFault=true faultMessage=Fault 
 occurred while processing.

 When digging into the soap_xml.log it seems to throw a 500 Internal 
 Server Error

 [Jan 25 2013 18:26:21.00 - ERROR] POST 
 /api/adwords/cm/v201209/BudgetService HTTP/1.1

 Host: adwords.google.com

 Connection: Keep-Alive

 User-Agent: PHP-SOAP/5.3.15, gzip

 Accept-Encoding: gzip, deflate

 Content-Encoding: gzip

 Content-Type: text/xml; charset=utf-8

 SOAPAction: 

 Content-Length: 623

 ?xml version=1.0 encoding=UTF-8?
 SOAP-ENV:Envelope xmlns:SOAP-ENV=
 http://schemas.xmlsoap.org/soap/envelope/; xmlns:ns1=
 https://adwords.google.com/api/adwords/cm/v201209;
   SOAP-ENV:Header
 ns1:RequestHeader
   ns1:authToken*/ns1:authToken
   ns1:clientCustomerId123456789/ns1:clientCustomerId
   ns1:developerToken1563418token/ns1:developerToken
   ns1:userAgentZoinedTool (AwApi/3.1.1, 
 php/5.3.15)/ns1:userAgent
 /ns1:RequestHeader
   /SOAP-ENV:Header
   SOAP-ENV:Body
 ns1:mutate
   ns1:operations
 ns1:operatorADD/ns1:operator
 ns1:operand
   ns1:nameTestCampaign #5102b22d772b2/ns1:name
   ns1:periodDAILY/ns1:period
   ns1:amount
 ns1:microAmount5000/ns1:microAmount
   /ns1:amount
   ns1:deliveryMethodSTANDARD/ns1:deliveryMethod

Re: Fault occurred while processing when trying to add campaigns

2013-02-20 Thread David Torres
Hi Timo,

I see two emails associated to your MCC, one of them is set as read-only. 
If you are using that hotmail one that is reason of the error.

Best,

- David Torres - AdWords API Team

On Monday, February 18, 2013 6:41:33 AM UTC-5, Timo Aarnio wrote:

 Hi,

 It seems the person controlling the MCC account has only given the rights 
 to read data for the test account.. I'll have to ask him change the rights.

 I tried through the tests. All of the tests with getting various 
 information worked properly, showing what they were supposed to show.
 When trying the add audience and add conversion tracker examples from 
 remarketing, it gave ACTION_NOT_PERMITTED error.
 [Feb 18 2013 13:03:04.00 - ERROR] email= effectiveUser=123456789 
 service=UserListService method=mutate operators={ADD: 1} responseTime=41 
 requestId=0004d5fdab31cf080ae5656602fe operations=0 units=0 server=
 adwords.google.com isFault=true 
 faultMessage=[OperationAccessDenied.ACTION_NOT_PERMITTED @ ]
 I can't try the other add services since I can't add a campaign first.

 I'll post here again once I get a reply from the MCC account controller 
 and I have tried to add the campaign again.

 Best regards

 Timo

 perjantai, 15. helmikuuta 2013 21.13.25 UTC+2 David Torres kirjoitti:

 Hi Timo,

 Just to let you know I'm still working on your issue, and have a follow 
 up question for you. Do you see the same error trying to call other 
 services? running other examples.

 Best,

 - David

 On Thursday, February 14, 2013 12:27:44 PM UTC-5, David Torres wrote:

 Hi Timo,

 I've forwarded your issue to the team. I will have you a response soon.

 Best,

 - David

 On Monday, February 11, 2013 8:02:47 AM UTC-5, Timo Aarnio wrote:

 Hi, I'm sorry for the delay from my side as well.

 Yes, the issue is still there, here's the latest error call:
 [Feb 11 2013 15:00:01.00 - ERROR] email=testaccount 
 effectiveUser=123456789 service=BudgetService method=mutate 
 operators={ADD: 
 1} responseTime=67 requestId=0004d5727c8b42a00ae53cdb6932 operations=0 
 units=0 server=adwords.google.com isFault=true faultMessage=Fault 
 occurred while processing.


 Thanks again for the help,

 Timo

 maanantai, 4. helmikuuta 2013 23.08.50 UTC+2 David Torres (AdWords API 
 Team) kirjoitti:

 Hi,

 Sorry for our delay responding you here, are you still experiencing 
 this issue? if yes, can you give me a fresh requestId of the issue, I'd 
 be 
 glad to investigate.

 To answer your questions:
 You don't seem to be doing anything wrong, in fact this type of error 
 is likely an issue we need look at in our side.
 You should be using the test account credentials and not the MCC, as I 
 believe you are doing correctly.

 Best,

 - David Torres - AdWords API Team

 On Friday, January 25, 2013 11:57:03 AM UTC-5, Timo Aarnio wrote:

 Hi

 I'm currently trying to add campaigns for the test account. But when 
 I run the script, it throws Fault occurred while processing. error.

 The error seems to happen when the script tries to mutate budget: 
 [Jan 25 2013 18:03:48.00 - ERROR] email=testemail 
 effectiveUser=123456789 service=BudgetService method=mutate 
 operators={ADD: 
 1} responseTime=156 requestId=0004d41f126d8a300ae53fcd6bc0 
 operations=0 
 units=0 server=adwords.google.com isFault=true faultMessage=Fault 
 occurred while processing.

 When digging into the soap_xml.log it seems to throw a 500 Internal 
 Server Error

 [Jan 25 2013 18:26:21.00 - ERROR] POST 
 /api/adwords/cm/v201209/BudgetService HTTP/1.1

 Host: adwords.google.com

 Connection: Keep-Alive

 User-Agent: PHP-SOAP/5.3.15, gzip

 Accept-Encoding: gzip, deflate

 Content-Encoding: gzip

 Content-Type: text/xml; charset=utf-8

 SOAPAction: 

 Content-Length: 623

 ?xml version=1.0 encoding=UTF-8?
 SOAP-ENV:Envelope xmlns:SOAP-ENV=
 http://schemas.xmlsoap.org/soap/envelope/; xmlns:ns1=
 https://adwords.google.com/api/adwords/cm/v201209;
   SOAP-ENV:Header
 ns1:RequestHeader
   ns1:authToken*/ns1:authToken
   ns1:clientCustomerId123456789/ns1:clientCustomerId
   ns1:developerToken1563418token/ns1:developerToken
   ns1:userAgentZoinedTool (AwApi/3.1.1, 
 php/5.3.15)/ns1:userAgent
 /ns1:RequestHeader
   /SOAP-ENV:Header
   SOAP-ENV:Body
 ns1:mutate
   ns1:operations
 ns1:operatorADD/ns1:operator
 ns1:operand
   ns1:nameTestCampaign #5102b22d772b2/ns1:name
   ns1:periodDAILY/ns1:period
   ns1:amount
 ns1:microAmount5000/ns1:microAmount
   /ns1:amount
   ns1:deliveryMethodSTANDARD/ns1:deliveryMethod
 /ns1:operand
   /ns1:operations
 /ns1:mutate
   /SOAP-ENV:Body
 /SOAP-ENV:Envelope

 HTTP/1.1 500 Internal Server Error

 Content-Type: text/xml; charset=UTF-8

 Content-Encoding: gzip

 Date: Fri, 25 Jan 2013 16:26:18 GMT

 Expires: Fri, 25 Jan 2013 16:26:18 GMT

 Cache-Control: private, max-age=0

 X-Content-Type-Options: nosniff

 X-Frame-Options: SAMEORIGIN

 

Re: Fault occurred while processing when trying to add campaigns

2013-02-18 Thread Timo Aarnio
Hi,

It seems the person controlling the MCC account has only given the rights 
to read data for the test account.. I'll have to ask him change the rights.

I tried through the tests. All of the tests with getting various 
information worked properly, showing what they were supposed to show.
When trying the add audience and add conversion tracker examples from 
remarketing, it gave ACTION_NOT_PERMITTED error.
[Feb 18 2013 13:03:04.00 - ERROR] email= effectiveUser=123456789 
service=UserListService method=mutate operators={ADD: 1} responseTime=41 
requestId=0004d5fdab31cf080ae5656602fe operations=0 units=0 
server=adwords.google.com isFault=true 
faultMessage=[OperationAccessDenied.ACTION_NOT_PERMITTED @ ]
I can't try the other add services since I can't add a campaign first.

I'll post here again once I get a reply from the MCC account controller and 
I have tried to add the campaign again.

Best regards

Timo

perjantai, 15. helmikuuta 2013 21.13.25 UTC+2 David Torres kirjoitti:

 Hi Timo,

 Just to let you know I'm still working on your issue, and have a follow up 
 question for you. Do you see the same error trying to call other services? 
 running other examples.

 Best,

 - David

 On Thursday, February 14, 2013 12:27:44 PM UTC-5, David Torres wrote:

 Hi Timo,

 I've forwarded your issue to the team. I will have you a response soon.

 Best,

 - David

 On Monday, February 11, 2013 8:02:47 AM UTC-5, Timo Aarnio wrote:

 Hi, I'm sorry for the delay from my side as well.

 Yes, the issue is still there, here's the latest error call:
 [Feb 11 2013 15:00:01.00 - ERROR] email=testaccount 
 effectiveUser=123456789 service=BudgetService method=mutate operators={ADD: 
 1} responseTime=67 requestId=0004d5727c8b42a00ae53cdb6932 operations=0 
 units=0 server=adwords.google.com isFault=true faultMessage=Fault 
 occurred while processing.


 Thanks again for the help,

 Timo

 maanantai, 4. helmikuuta 2013 23.08.50 UTC+2 David Torres (AdWords API 
 Team) kirjoitti:

 Hi,

 Sorry for our delay responding you here, are you still experiencing 
 this issue? if yes, can you give me a fresh requestId of the issue, I'd be 
 glad to investigate.

 To answer your questions:
 You don't seem to be doing anything wrong, in fact this type of error 
 is likely an issue we need look at in our side.
 You should be using the test account credentials and not the MCC, as I 
 believe you are doing correctly.

 Best,

 - David Torres - AdWords API Team

 On Friday, January 25, 2013 11:57:03 AM UTC-5, Timo Aarnio wrote:

 Hi

 I'm currently trying to add campaigns for the test account. But when I 
 run the script, it throws Fault occurred while processing. error.

 The error seems to happen when the script tries to mutate budget: [Jan 
 25 2013 18:03:48.00 - ERROR] email=testemail effectiveUser=123456789 
 service=BudgetService method=mutate operators={ADD: 1} responseTime=156 
 requestId=0004d41f126d8a300ae53fcd6bc0 operations=0 units=0 server=
 adwords.google.com isFault=true faultMessage=Fault occurred while 
 processing.

 When digging into the soap_xml.log it seems to throw a 500 Internal 
 Server Error

 [Jan 25 2013 18:26:21.00 - ERROR] POST 
 /api/adwords/cm/v201209/BudgetService HTTP/1.1

 Host: adwords.google.com

 Connection: Keep-Alive

 User-Agent: PHP-SOAP/5.3.15, gzip

 Accept-Encoding: gzip, deflate

 Content-Encoding: gzip

 Content-Type: text/xml; charset=utf-8

 SOAPAction: 

 Content-Length: 623

 ?xml version=1.0 encoding=UTF-8?
 SOAP-ENV:Envelope xmlns:SOAP-ENV=
 http://schemas.xmlsoap.org/soap/envelope/; xmlns:ns1=
 https://adwords.google.com/api/adwords/cm/v201209;
   SOAP-ENV:Header
 ns1:RequestHeader
   ns1:authToken*/ns1:authToken
   ns1:clientCustomerId123456789/ns1:clientCustomerId
   ns1:developerToken1563418token/ns1:developerToken
   ns1:userAgentZoinedTool (AwApi/3.1.1, 
 php/5.3.15)/ns1:userAgent
 /ns1:RequestHeader
   /SOAP-ENV:Header
   SOAP-ENV:Body
 ns1:mutate
   ns1:operations
 ns1:operatorADD/ns1:operator
 ns1:operand
   ns1:nameTestCampaign #5102b22d772b2/ns1:name
   ns1:periodDAILY/ns1:period
   ns1:amount
 ns1:microAmount5000/ns1:microAmount
   /ns1:amount
   ns1:deliveryMethodSTANDARD/ns1:deliveryMethod
 /ns1:operand
   /ns1:operations
 /ns1:mutate
   /SOAP-ENV:Body
 /SOAP-ENV:Envelope

 HTTP/1.1 500 Internal Server Error

 Content-Type: text/xml; charset=UTF-8

 Content-Encoding: gzip

 Date: Fri, 25 Jan 2013 16:26:18 GMT

 Expires: Fri, 25 Jan 2013 16:26:18 GMT

 Cache-Control: private, max-age=0

 X-Content-Type-Options: nosniff

 X-Frame-Options: SAMEORIGIN

 X-XSS-Protection: 1; mode=block

 Content-Length: 312

 Server: GSE

 ?xml version=1.0?
 soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
   soap:Header
 ResponseHeader xmlns=
 https://adwords.google.com/api/adwords/cm/v201209;
   

Re: Fault occurred while processing when trying to add campaigns

2013-02-15 Thread David Torres
Hi Timo,

Just to let you know I'm still working on your issue, and have a follow up 
question for you. Do you see the same error trying to call other services? 
running other examples.

Best,

- David

On Thursday, February 14, 2013 12:27:44 PM UTC-5, David Torres wrote:

 Hi Timo,

 I've forwarded your issue to the team. I will have you a response soon.

 Best,

 - David

 On Monday, February 11, 2013 8:02:47 AM UTC-5, Timo Aarnio wrote:

 Hi, I'm sorry for the delay from my side as well.

 Yes, the issue is still there, here's the latest error call:
 [Feb 11 2013 15:00:01.00 - ERROR] email=testaccount 
 effectiveUser=123456789 service=BudgetService method=mutate operators={ADD: 
 1} responseTime=67 requestId=0004d5727c8b42a00ae53cdb6932 operations=0 
 units=0 server=adwords.google.com isFault=true faultMessage=Fault 
 occurred while processing.


 Thanks again for the help,

 Timo

 maanantai, 4. helmikuuta 2013 23.08.50 UTC+2 David Torres (AdWords API 
 Team) kirjoitti:

 Hi,

 Sorry for our delay responding you here, are you still experiencing this 
 issue? if yes, can you give me a fresh requestId of the issue, I'd be glad 
 to investigate.

 To answer your questions:
 You don't seem to be doing anything wrong, in fact this type of error is 
 likely an issue we need look at in our side.
 You should be using the test account credentials and not the MCC, as I 
 believe you are doing correctly.

 Best,

 - David Torres - AdWords API Team

 On Friday, January 25, 2013 11:57:03 AM UTC-5, Timo Aarnio wrote:

 Hi

 I'm currently trying to add campaigns for the test account. But when I 
 run the script, it throws Fault occurred while processing. error.

 The error seems to happen when the script tries to mutate budget: [Jan 
 25 2013 18:03:48.00 - ERROR] email=testemail effectiveUser=123456789 
 service=BudgetService method=mutate operators={ADD: 1} responseTime=156 
 requestId=0004d41f126d8a300ae53fcd6bc0 operations=0 units=0 server=
 adwords.google.com isFault=true faultMessage=Fault occurred while 
 processing.

 When digging into the soap_xml.log it seems to throw a 500 Internal 
 Server Error

 [Jan 25 2013 18:26:21.00 - ERROR] POST 
 /api/adwords/cm/v201209/BudgetService HTTP/1.1

 Host: adwords.google.com

 Connection: Keep-Alive

 User-Agent: PHP-SOAP/5.3.15, gzip

 Accept-Encoding: gzip, deflate

 Content-Encoding: gzip

 Content-Type: text/xml; charset=utf-8

 SOAPAction: 

 Content-Length: 623

 ?xml version=1.0 encoding=UTF-8?
 SOAP-ENV:Envelope xmlns:SOAP-ENV=
 http://schemas.xmlsoap.org/soap/envelope/; xmlns:ns1=
 https://adwords.google.com/api/adwords/cm/v201209;
   SOAP-ENV:Header
 ns1:RequestHeader
   ns1:authToken*/ns1:authToken
   ns1:clientCustomerId123456789/ns1:clientCustomerId
   ns1:developerToken1563418token/ns1:developerToken
   ns1:userAgentZoinedTool (AwApi/3.1.1, 
 php/5.3.15)/ns1:userAgent
 /ns1:RequestHeader
   /SOAP-ENV:Header
   SOAP-ENV:Body
 ns1:mutate
   ns1:operations
 ns1:operatorADD/ns1:operator
 ns1:operand
   ns1:nameTestCampaign #5102b22d772b2/ns1:name
   ns1:periodDAILY/ns1:period
   ns1:amount
 ns1:microAmount5000/ns1:microAmount
   /ns1:amount
   ns1:deliveryMethodSTANDARD/ns1:deliveryMethod
 /ns1:operand
   /ns1:operations
 /ns1:mutate
   /SOAP-ENV:Body
 /SOAP-ENV:Envelope

 HTTP/1.1 500 Internal Server Error

 Content-Type: text/xml; charset=UTF-8

 Content-Encoding: gzip

 Date: Fri, 25 Jan 2013 16:26:18 GMT

 Expires: Fri, 25 Jan 2013 16:26:18 GMT

 Cache-Control: private, max-age=0

 X-Content-Type-Options: nosniff

 X-Frame-Options: SAMEORIGIN

 X-XSS-Protection: 1; mode=block

 Content-Length: 312

 Server: GSE

 ?xml version=1.0?
 soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
   soap:Header
 ResponseHeader xmlns=
 https://adwords.google.com/api/adwords/cm/v201209;
   requestId0004d41f6311eb200ae544246b17/requestId
   serviceNameBudgetService/serviceName
   methodNamemutate/methodName
   operations0/operations
   responseTime108/responseTime
   units0/units
 /ResponseHeader
   /soap:Header
   soap:Body
 soap:Fault
   faultcodesoap:Server/faultcode
   faultstringFault occurred while processing./faultstring
 /soap:Fault
   /soap:Body
 /soap:Envelope



 The code is practically the same as in the example, I only modified it 
 so it actually runs:

 ?php


 require_once 
 ('adwords_api/src/Google/Api/Ads/AdWords/Lib/AdWordsUser.php');


 function AddCampaign($user) {

   // Get the BudgetService, which loads the required classes.
   $budgetService = $user-GetService('BudgetService', 'v201209');

   // Create the shared budget (required).
   $budget = new Budget();
   $budget-name = 'TestCampaign #' . uniqid();
   $budget-period = 'DAILY';
   $budget-amount = new Money(5000);
   $budget-deliveryMethod = 'STANDARD';

   $operations = 

Re: Fault occurred while processing when trying to add campaigns

2013-02-14 Thread David Torres
Hi Timo,

I've forwarded your issue to the team. I will have you a response soon.

Best,

- David

On Monday, February 11, 2013 8:02:47 AM UTC-5, Timo Aarnio wrote:

 Hi, I'm sorry for the delay from my side as well.

 Yes, the issue is still there, here's the latest error call:
 [Feb 11 2013 15:00:01.00 - ERROR] email=testaccount 
 effectiveUser=123456789 service=BudgetService method=mutate operators={ADD: 
 1} responseTime=67 requestId=0004d5727c8b42a00ae53cdb6932 operations=0 
 units=0 server=adwords.google.com isFault=true faultMessage=Fault 
 occurred while processing.


 Thanks again for the help,

 Timo

 maanantai, 4. helmikuuta 2013 23.08.50 UTC+2 David Torres (AdWords API 
 Team) kirjoitti:

 Hi,

 Sorry for our delay responding you here, are you still experiencing this 
 issue? if yes, can you give me a fresh requestId of the issue, I'd be glad 
 to investigate.

 To answer your questions:
 You don't seem to be doing anything wrong, in fact this type of error is 
 likely an issue we need look at in our side.
 You should be using the test account credentials and not the MCC, as I 
 believe you are doing correctly.

 Best,

 - David Torres - AdWords API Team

 On Friday, January 25, 2013 11:57:03 AM UTC-5, Timo Aarnio wrote:

 Hi

 I'm currently trying to add campaigns for the test account. But when I 
 run the script, it throws Fault occurred while processing. error.

 The error seems to happen when the script tries to mutate budget: [Jan 
 25 2013 18:03:48.00 - ERROR] email=testemail effectiveUser=123456789 
 service=BudgetService method=mutate operators={ADD: 1} responseTime=156 
 requestId=0004d41f126d8a300ae53fcd6bc0 operations=0 units=0 server=
 adwords.google.com isFault=true faultMessage=Fault occurred while 
 processing.

 When digging into the soap_xml.log it seems to throw a 500 Internal 
 Server Error

 [Jan 25 2013 18:26:21.00 - ERROR] POST 
 /api/adwords/cm/v201209/BudgetService HTTP/1.1

 Host: adwords.google.com

 Connection: Keep-Alive

 User-Agent: PHP-SOAP/5.3.15, gzip

 Accept-Encoding: gzip, deflate

 Content-Encoding: gzip

 Content-Type: text/xml; charset=utf-8

 SOAPAction: 

 Content-Length: 623

 ?xml version=1.0 encoding=UTF-8?
 SOAP-ENV:Envelope xmlns:SOAP-ENV=
 http://schemas.xmlsoap.org/soap/envelope/; xmlns:ns1=
 https://adwords.google.com/api/adwords/cm/v201209;
   SOAP-ENV:Header
 ns1:RequestHeader
   ns1:authToken*/ns1:authToken
   ns1:clientCustomerId123456789/ns1:clientCustomerId
   ns1:developerToken1563418token/ns1:developerToken
   ns1:userAgentZoinedTool (AwApi/3.1.1, php/5.3.15)/ns1:userAgent
 /ns1:RequestHeader
   /SOAP-ENV:Header
   SOAP-ENV:Body
 ns1:mutate
   ns1:operations
 ns1:operatorADD/ns1:operator
 ns1:operand
   ns1:nameTestCampaign #5102b22d772b2/ns1:name
   ns1:periodDAILY/ns1:period
   ns1:amount
 ns1:microAmount5000/ns1:microAmount
   /ns1:amount
   ns1:deliveryMethodSTANDARD/ns1:deliveryMethod
 /ns1:operand
   /ns1:operations
 /ns1:mutate
   /SOAP-ENV:Body
 /SOAP-ENV:Envelope

 HTTP/1.1 500 Internal Server Error

 Content-Type: text/xml; charset=UTF-8

 Content-Encoding: gzip

 Date: Fri, 25 Jan 2013 16:26:18 GMT

 Expires: Fri, 25 Jan 2013 16:26:18 GMT

 Cache-Control: private, max-age=0

 X-Content-Type-Options: nosniff

 X-Frame-Options: SAMEORIGIN

 X-XSS-Protection: 1; mode=block

 Content-Length: 312

 Server: GSE

 ?xml version=1.0?
 soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
   soap:Header
 ResponseHeader xmlns=
 https://adwords.google.com/api/adwords/cm/v201209;
   requestId0004d41f6311eb200ae544246b17/requestId
   serviceNameBudgetService/serviceName
   methodNamemutate/methodName
   operations0/operations
   responseTime108/responseTime
   units0/units
 /ResponseHeader
   /soap:Header
   soap:Body
 soap:Fault
   faultcodesoap:Server/faultcode
   faultstringFault occurred while processing./faultstring
 /soap:Fault
   /soap:Body
 /soap:Envelope



 The code is practically the same as in the example, I only modified it 
 so it actually runs:

 ?php


 require_once 
 ('adwords_api/src/Google/Api/Ads/AdWords/Lib/AdWordsUser.php');


 function AddCampaign($user) {

   // Get the BudgetService, which loads the required classes.
   $budgetService = $user-GetService('BudgetService', 'v201209');

   // Create the shared budget (required).
   $budget = new Budget();
   $budget-name = 'TestCampaign #' . uniqid();
   $budget-period = 'DAILY';
   $budget-amount = new Money(5000);
   $budget-deliveryMethod = 'STANDARD';

   $operations = array();

   // Create operation.
   $operation = new BudgetOperation();
   $operation-operand = $budget;
   $operation-operator = 'ADD';
   $operations[] = $operation;

// Make the mutate request.
   $result = $budgetService-mutate($operations);

   $budget = $result-value[0];

   

Re: Fault occurred while processing when trying to add campaigns

2013-02-11 Thread Timo Aarnio
Hi, I'm sorry for the delay from my side as well.

Yes, the issue is still there, here's the latest error call:
[Feb 11 2013 15:00:01.00 - ERROR] email=testaccount 
effectiveUser=123456789 service=BudgetService method=mutate operators={ADD: 
1} responseTime=67 requestId=0004d5727c8b42a00ae53cdb6932 operations=0 
units=0 server=adwords.google.com isFault=true faultMessage=Fault occurred 
while processing.


Thanks again for the help,

Timo

maanantai, 4. helmikuuta 2013 23.08.50 UTC+2 David Torres (AdWords API 
Team) kirjoitti:

 Hi,

 Sorry for our delay responding you here, are you still experiencing this 
 issue? if yes, can you give me a fresh requestId of the issue, I'd be glad 
 to investigate.

 To answer your questions:
 You don't seem to be doing anything wrong, in fact this type of error is 
 likely an issue we need look at in our side.
 You should be using the test account credentials and not the MCC, as I 
 believe you are doing correctly.

 Best,

 - David Torres - AdWords API Team

 On Friday, January 25, 2013 11:57:03 AM UTC-5, Timo Aarnio wrote:

 Hi

 I'm currently trying to add campaigns for the test account. But when I 
 run the script, it throws Fault occurred while processing. error.

 The error seems to happen when the script tries to mutate budget: [Jan 25 
 2013 18:03:48.00 - ERROR] email=testemail effectiveUser=123456789 
 service=BudgetService method=mutate operators={ADD: 1} responseTime=156 
 requestId=0004d41f126d8a300ae53fcd6bc0 operations=0 units=0 server=
 adwords.google.com isFault=true faultMessage=Fault occurred while 
 processing.

 When digging into the soap_xml.log it seems to throw a 500 Internal 
 Server Error

 [Jan 25 2013 18:26:21.00 - ERROR] POST 
 /api/adwords/cm/v201209/BudgetService HTTP/1.1

 Host: adwords.google.com

 Connection: Keep-Alive

 User-Agent: PHP-SOAP/5.3.15, gzip

 Accept-Encoding: gzip, deflate

 Content-Encoding: gzip

 Content-Type: text/xml; charset=utf-8

 SOAPAction: 

 Content-Length: 623

 ?xml version=1.0 encoding=UTF-8?
 SOAP-ENV:Envelope xmlns:SOAP-ENV=
 http://schemas.xmlsoap.org/soap/envelope/; xmlns:ns1=
 https://adwords.google.com/api/adwords/cm/v201209;
   SOAP-ENV:Header
 ns1:RequestHeader
   ns1:authToken*/ns1:authToken
   ns1:clientCustomerId123456789/ns1:clientCustomerId
   ns1:developerToken1563418token/ns1:developerToken
   ns1:userAgentZoinedTool (AwApi/3.1.1, php/5.3.15)/ns1:userAgent
 /ns1:RequestHeader
   /SOAP-ENV:Header
   SOAP-ENV:Body
 ns1:mutate
   ns1:operations
 ns1:operatorADD/ns1:operator
 ns1:operand
   ns1:nameTestCampaign #5102b22d772b2/ns1:name
   ns1:periodDAILY/ns1:period
   ns1:amount
 ns1:microAmount5000/ns1:microAmount
   /ns1:amount
   ns1:deliveryMethodSTANDARD/ns1:deliveryMethod
 /ns1:operand
   /ns1:operations
 /ns1:mutate
   /SOAP-ENV:Body
 /SOAP-ENV:Envelope

 HTTP/1.1 500 Internal Server Error

 Content-Type: text/xml; charset=UTF-8

 Content-Encoding: gzip

 Date: Fri, 25 Jan 2013 16:26:18 GMT

 Expires: Fri, 25 Jan 2013 16:26:18 GMT

 Cache-Control: private, max-age=0

 X-Content-Type-Options: nosniff

 X-Frame-Options: SAMEORIGIN

 X-XSS-Protection: 1; mode=block

 Content-Length: 312

 Server: GSE

 ?xml version=1.0?
 soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
   soap:Header
 ResponseHeader xmlns=
 https://adwords.google.com/api/adwords/cm/v201209;
   requestId0004d41f6311eb200ae544246b17/requestId
   serviceNameBudgetService/serviceName
   methodNamemutate/methodName
   operations0/operations
   responseTime108/responseTime
   units0/units
 /ResponseHeader
   /soap:Header
   soap:Body
 soap:Fault
   faultcodesoap:Server/faultcode
   faultstringFault occurred while processing./faultstring
 /soap:Fault
   /soap:Body
 /soap:Envelope



 The code is practically the same as in the example, I only modified it so 
 it actually runs:

 ?php


 require_once 
 ('adwords_api/src/Google/Api/Ads/AdWords/Lib/AdWordsUser.php');


 function AddCampaign($user) {

   // Get the BudgetService, which loads the required classes.
   $budgetService = $user-GetService('BudgetService', 'v201209');

   // Create the shared budget (required).
   $budget = new Budget();
   $budget-name = 'TestCampaign #' . uniqid();
   $budget-period = 'DAILY';
   $budget-amount = new Money(5000);
   $budget-deliveryMethod = 'STANDARD';

   $operations = array();

   // Create operation.
   $operation = new BudgetOperation();
   $operation-operand = $budget;
   $operation-operator = 'ADD';
   $operations[] = $operation;

// Make the mutate request.
   $result = $budgetService-mutate($operations);

   $budget = $result-value[0];

   // Get the CampaignService, which loads the required classes.
   $campaignService = $user-GetService('CampaignService', 'v201209');

   $numCampaigns = 3;
   $operations = 

Re: Fault occurred while processing when trying to add campaigns

2013-02-04 Thread David Torres (AdWords API Team)
Hi,

Sorry for our delay responding you here, are you still experiencing this 
issue? if yes, can you give me a fresh requestId of the issue, I'd be glad 
to investigate.

To answer your questions:
You don't seem to be doing anything wrong, in fact this type of error is 
likely an issue we need look at in our side.
You should be using the test account credentials and not the MCC, as I 
believe you are doing correctly.

Best,

- David Torres - AdWords API Team

On Friday, January 25, 2013 11:57:03 AM UTC-5, Timo Aarnio wrote:

 Hi

 I'm currently trying to add campaigns for the test account. But when I run 
 the script, it throws Fault occurred while processing. error.

 The error seems to happen when the script tries to mutate budget: [Jan 25 
 2013 18:03:48.00 - ERROR] email=testemail effectiveUser=123456789 
 service=BudgetService method=mutate operators={ADD: 1} responseTime=156 
 requestId=0004d41f126d8a300ae53fcd6bc0 operations=0 units=0 server=
 adwords.google.com isFault=true faultMessage=Fault occurred while 
 processing.

 When digging into the soap_xml.log it seems to throw a 500 Internal Server 
 Error

 [Jan 25 2013 18:26:21.00 - ERROR] POST 
 /api/adwords/cm/v201209/BudgetService HTTP/1.1

 Host: adwords.google.com

 Connection: Keep-Alive

 User-Agent: PHP-SOAP/5.3.15, gzip

 Accept-Encoding: gzip, deflate

 Content-Encoding: gzip

 Content-Type: text/xml; charset=utf-8

 SOAPAction: 

 Content-Length: 623

 ?xml version=1.0 encoding=UTF-8?
 SOAP-ENV:Envelope xmlns:SOAP-ENV=
 http://schemas.xmlsoap.org/soap/envelope/; xmlns:ns1=
 https://adwords.google.com/api/adwords/cm/v201209;
   SOAP-ENV:Header
 ns1:RequestHeader
   ns1:authToken*/ns1:authToken
   ns1:clientCustomerId123456789/ns1:clientCustomerId
   ns1:developerToken1563418token/ns1:developerToken
   ns1:userAgentZoinedTool (AwApi/3.1.1, php/5.3.15)/ns1:userAgent
 /ns1:RequestHeader
   /SOAP-ENV:Header
   SOAP-ENV:Body
 ns1:mutate
   ns1:operations
 ns1:operatorADD/ns1:operator
 ns1:operand
   ns1:nameTestCampaign #5102b22d772b2/ns1:name
   ns1:periodDAILY/ns1:period
   ns1:amount
 ns1:microAmount5000/ns1:microAmount
   /ns1:amount
   ns1:deliveryMethodSTANDARD/ns1:deliveryMethod
 /ns1:operand
   /ns1:operations
 /ns1:mutate
   /SOAP-ENV:Body
 /SOAP-ENV:Envelope

 HTTP/1.1 500 Internal Server Error

 Content-Type: text/xml; charset=UTF-8

 Content-Encoding: gzip

 Date: Fri, 25 Jan 2013 16:26:18 GMT

 Expires: Fri, 25 Jan 2013 16:26:18 GMT

 Cache-Control: private, max-age=0

 X-Content-Type-Options: nosniff

 X-Frame-Options: SAMEORIGIN

 X-XSS-Protection: 1; mode=block

 Content-Length: 312

 Server: GSE

 ?xml version=1.0?
 soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
   soap:Header
 ResponseHeader xmlns=
 https://adwords.google.com/api/adwords/cm/v201209;
   requestId0004d41f6311eb200ae544246b17/requestId
   serviceNameBudgetService/serviceName
   methodNamemutate/methodName
   operations0/operations
   responseTime108/responseTime
   units0/units
 /ResponseHeader
   /soap:Header
   soap:Body
 soap:Fault
   faultcodesoap:Server/faultcode
   faultstringFault occurred while processing./faultstring
 /soap:Fault
   /soap:Body
 /soap:Envelope



 The code is practically the same as in the example, I only modified it so 
 it actually runs:

 ?php


 require_once 
 ('adwords_api/src/Google/Api/Ads/AdWords/Lib/AdWordsUser.php');


 function AddCampaign($user) {

   // Get the BudgetService, which loads the required classes.
   $budgetService = $user-GetService('BudgetService', 'v201209');

   // Create the shared budget (required).
   $budget = new Budget();
   $budget-name = 'TestCampaign #' . uniqid();
   $budget-period = 'DAILY';
   $budget-amount = new Money(5000);
   $budget-deliveryMethod = 'STANDARD';

   $operations = array();

   // Create operation.
   $operation = new BudgetOperation();
   $operation-operand = $budget;
   $operation-operator = 'ADD';
   $operations[] = $operation;

// Make the mutate request.
   $result = $budgetService-mutate($operations);

   $budget = $result-value[0];

   // Get the CampaignService, which loads the required classes.
   $campaignService = $user-GetService('CampaignService', 'v201209');

   $numCampaigns = 3;
   $operations = array();
   for ($i = 0; $i  $numCampaigns; $i++) {
 // Create campaign.
 $campaign = new Campaign();
 $campaign-name = 'TestCampaign #' . uniqid();

 // Set shared budget (required).
 $campaign-budget = new Budget();
 $campaign-budget-budgetId = $budget-budgetId;

 // Set bidding strategy (required).
 $biddingStrategy = new ManualCPC();
 $biddingStrategy-enhancedCpcEnabled = TRUE;
 $campaign-biddingStrategy = $biddingStrategy;

 // Set keyword matching setting (required).
 $keywordMatchSetting = new