updating keyword cpc : Fault occurred while processing

2014-12-02 Thread Adrien VIELLIARD
after several hours can't get this to work
and the error is not the most helpful.

simply trying to update the bid for a keyword : 
using the php client library and api version 201409


$adGroupCriterionService = $user-GetService('AdGroupCriterionService', 
ADWORDS_VERSION);
  $operations = array();
// Create keyword criterion.
$criterion = new Criterion();
$criterion-id = $keywordId;

// Create ad group criterion.
$adGroupCriterion = new BiddableAdGroupCriterion();
$adGroupCriterion-adGroupId = $adgroupId;
$adGroupCriterion-criterion = $criterion;

$bid = new CpcBid(new Money(floatval($newcpc) * 
AdWordsConstants::MICROS_PER_DOLLAR));
$biddingStrategyConfiguration = new BiddingStrategyConfiguration();
$biddingStrategyConfiguration-bids = $bid;
$adGroupCriterion-biddingStrategyConfiguration = 
$biddingStrategyConfiguration;

// Create operation.
$operation = new AdGroupCriterionOperation();
$operation-operand = $adGroupCriterion;
$operation-operator = 'SET';

$operations[] = array($operation);
 $result = $adGroupCriterionService-mutate($operations);


anything I'm doing wrong here
I get a : Fault occurred while processing.

thanks for your help
cheers
A.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d56420e3-8707-4c1b-9c4a-7052f8cd6fae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: updating keyword cpc : Fault occurred while processing

2014-12-02 Thread Josh Radcliff (AdWords API Team)
Hi,

I'm not a PHP expert so I may be off base here, but it looks to me like you 
are setting the *bids* attribute to a single bid, but that attribute should 
be an array. Could you try modifying:

$biddingStrategyConfiguration-bids = $bid;

to:

$biddingStrategyConfiguration-*bids[]* = $bid;

and let me know if that resolves the issue? Also, you may want to check out 
the AddKeywords.php example 
https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201409/BasicOperations/AddKeywords.php#L69,
 
as that shows how to create a new keyword and set its bid. It's a slightly 
different operation, but many of the same concepts will apply to your use 
case.

Thanks,
Josh, AdWords API Team

On Tuesday, December 2, 2014 11:27:34 AM UTC-5, Adrien VIELLIARD wrote:

 after several hours can't get this to work
 and the error is not the most helpful.

 simply trying to update the bid for a keyword : 
 using the php client library and api version 201409


 $adGroupCriterionService = $user-GetService('AdGroupCriterionService', 
 ADWORDS_VERSION);
   $operations = array();
 // Create keyword criterion.
 $criterion = new Criterion();
 $criterion-id = $keywordId;

 // Create ad group criterion.
 $adGroupCriterion = new BiddableAdGroupCriterion();
 $adGroupCriterion-adGroupId = $adgroupId;
 $adGroupCriterion-criterion = $criterion;
 
 $bid = new CpcBid(new Money(floatval($newcpc) * 
 AdWordsConstants::MICROS_PER_DOLLAR));
 $biddingStrategyConfiguration = new BiddingStrategyConfiguration();
 $biddingStrategyConfiguration-bids = $bid;
 $adGroupCriterion-biddingStrategyConfiguration = 
 $biddingStrategyConfiguration;
 
 // Create operation.
 $operation = new AdGroupCriterionOperation();
 $operation-operand = $adGroupCriterion;
 $operation-operator = 'SET';

 $operations[] = array($operation);
  $result = $adGroupCriterionService-mutate($operations);


 anything I'm doing wrong here
 I get a : Fault occurred while processing.

 thanks for your help
 cheers
 A.



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/15de21f0-4c42-47f2-b12e-d6e7b3a6e4d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: updating keyword cpc : Fault occurred while processing

2014-12-02 Thread Adrien VIELLIARD
thanks for your answer

tried this already,
I've got many things working, like adding keywords, negatives etc.
I just don't get what I'm doing wrong in this particular case.



On Tuesday, December 2, 2014 11:55:09 PM UTC+1, Josh Radcliff (AdWords API 
Team) wrote:

 Hi,

 I'm not a PHP expert so I may be off base here, but it looks to me like 
 you are setting the *bids* attribute to a single bid, but that attribute 
 should be an array. Could you try modifying:

 $biddingStrategyConfiguration-bids = $bid;

 to:

 $biddingStrategyConfiguration-*bids[]* = $bid;

 and let me know if that resolves the issue? Also, you may want to check 
 out the AddKeywords.php example 
 https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201409/BasicOperations/AddKeywords.php#L69,
  
 as that shows how to create a new keyword and set its bid. It's a slightly 
 different operation, but many of the same concepts will apply to your use 
 case.

 Thanks,
 Josh, AdWords API Team

 On Tuesday, December 2, 2014 11:27:34 AM UTC-5, Adrien VIELLIARD wrote:

 after several hours can't get this to work
 and the error is not the most helpful.

 simply trying to update the bid for a keyword : 
 using the php client library and api version 201409


 $adGroupCriterionService = $user-GetService('AdGroupCriterionService', 
 ADWORDS_VERSION);
   $operations = array();
 // Create keyword criterion.
 $criterion = new Criterion();
 $criterion-id = $keywordId;

 // Create ad group criterion.
 $adGroupCriterion = new BiddableAdGroupCriterion();
 $adGroupCriterion-adGroupId = $adgroupId;
 $adGroupCriterion-criterion = $criterion;
 
 $bid = new CpcBid(new Money(floatval($newcpc) * 
 AdWordsConstants::MICROS_PER_DOLLAR));
 $biddingStrategyConfiguration = new BiddingStrategyConfiguration();
 $biddingStrategyConfiguration-bids = $bid;
 $adGroupCriterion-biddingStrategyConfiguration = 
 $biddingStrategyConfiguration;
 
 // Create operation.
 $operation = new AdGroupCriterionOperation();
 $operation-operand = $adGroupCriterion;
 $operation-operator = 'SET';

 $operations[] = array($operation);
  $result = $adGroupCriterionService-mutate($operations);


 anything I'm doing wrong here
 I get a : Fault occurred while processing.

 thanks for your help
 cheers
 A.



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/596b661f-9d78-4c54-a91e-b86dd6b2f413%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: updating keyword cpc : Fault occurred while processing

2014-12-02 Thread Josh Radcliff (AdWords API Team)
Hi,

Do the logs provide any more details about the fault?

Thanks,
Josh, AdWords API Team

On Tuesday, December 2, 2014 6:28:20 PM UTC-5, Adrien VIELLIARD wrote:

 thanks for your answer

 tried this already,
 I've got many things working, like adding keywords, negatives etc.
 I just don't get what I'm doing wrong in this particular case.



 On Tuesday, December 2, 2014 11:55:09 PM UTC+1, Josh Radcliff (AdWords API 
 Team) wrote:

 Hi,

 I'm not a PHP expert so I may be off base here, but it looks to me like 
 you are setting the *bids* attribute to a single bid, but that attribute 
 should be an array. Could you try modifying:

 $biddingStrategyConfiguration-bids = $bid;

 to:

 $biddingStrategyConfiguration-*bids[]* = $bid;

 and let me know if that resolves the issue? Also, you may want to check 
 out the AddKeywords.php example 
 https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201409/BasicOperations/AddKeywords.php#L69,
  
 as that shows how to create a new keyword and set its bid. It's a slightly 
 different operation, but many of the same concepts will apply to your use 
 case.

 Thanks,
 Josh, AdWords API Team

 On Tuesday, December 2, 2014 11:27:34 AM UTC-5, Adrien VIELLIARD wrote:

 after several hours can't get this to work
 and the error is not the most helpful.

 simply trying to update the bid for a keyword : 
 using the php client library and api version 201409


 $adGroupCriterionService = $user-GetService('AdGroupCriterionService', 
 ADWORDS_VERSION);
   $operations = array();
 // Create keyword criterion.
 $criterion = new Criterion();
 $criterion-id = $keywordId;

 // Create ad group criterion.
 $adGroupCriterion = new BiddableAdGroupCriterion();
 $adGroupCriterion-adGroupId = $adgroupId;
 $adGroupCriterion-criterion = $criterion;
 
 $bid = new CpcBid(new Money(floatval($newcpc) * 
 AdWordsConstants::MICROS_PER_DOLLAR));
 $biddingStrategyConfiguration = new BiddingStrategyConfiguration();
 $biddingStrategyConfiguration-bids = $bid;
 $adGroupCriterion-biddingStrategyConfiguration = 
 $biddingStrategyConfiguration;
 
 // Create operation.
 $operation = new AdGroupCriterionOperation();
 $operation-operand = $adGroupCriterion;
 $operation-operator = 'SET';

 $operations[] = array($operation);
  $result = $adGroupCriterionService-mutate($operations);


 anything I'm doing wrong here
 I get a : Fault occurred while processing.

 thanks for your help
 cheers
 A.



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/703a9c7b-fae4-4b43-afd4-ea8000ae7674%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: updating keyword cpc : Fault occurred while processing

2014-12-02 Thread Josh Radcliff (AdWords API Team)
I should have mentioned -- if you're not sure how to set up logging or 
where to find the files, see the How Do I Enable Logging section of the 
README 
https://github.com/googleads/googleads-php-lib#user-content-how-do-i-enable-logging
.

-Josh, AdWords API Team

On Tuesday, December 2, 2014 6:31:10 PM UTC-5, Josh Radcliff (AdWords API 
Team) wrote:

 Hi,

 Do the logs provide any more details about the fault?

 Thanks,
 Josh, AdWords API Team

 On Tuesday, December 2, 2014 6:28:20 PM UTC-5, Adrien VIELLIARD wrote:

 thanks for your answer

 tried this already,
 I've got many things working, like adding keywords, negatives etc.
 I just don't get what I'm doing wrong in this particular case.



 On Tuesday, December 2, 2014 11:55:09 PM UTC+1, Josh Radcliff (AdWords 
 API Team) wrote:

 Hi,

 I'm not a PHP expert so I may be off base here, but it looks to me like 
 you are setting the *bids* attribute to a single bid, but that 
 attribute should be an array. Could you try modifying:

 $biddingStrategyConfiguration-bids = $bid;

 to:

 $biddingStrategyConfiguration-*bids[]* = $bid;

 and let me know if that resolves the issue? Also, you may want to check 
 out the AddKeywords.php example 
 https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201409/BasicOperations/AddKeywords.php#L69,
  
 as that shows how to create a new keyword and set its bid. It's a slightly 
 different operation, but many of the same concepts will apply to your use 
 case.

 Thanks,
 Josh, AdWords API Team

 On Tuesday, December 2, 2014 11:27:34 AM UTC-5, Adrien VIELLIARD wrote:

 after several hours can't get this to work
 and the error is not the most helpful.

 simply trying to update the bid for a keyword : 
 using the php client library and api version 201409


 $adGroupCriterionService = $user-GetService('AdGroupCriterionService', 
 ADWORDS_VERSION);
   $operations = array();
 // Create keyword criterion.
 $criterion = new Criterion();
 $criterion-id = $keywordId;

 // Create ad group criterion.
 $adGroupCriterion = new BiddableAdGroupCriterion();
 $adGroupCriterion-adGroupId = $adgroupId;
 $adGroupCriterion-criterion = $criterion;
 
 $bid = new CpcBid(new Money(floatval($newcpc) * 
 AdWordsConstants::MICROS_PER_DOLLAR));
 $biddingStrategyConfiguration = new BiddingStrategyConfiguration();
 $biddingStrategyConfiguration-bids = $bid;
 $adGroupCriterion-biddingStrategyConfiguration = 
 $biddingStrategyConfiguration;
 
 // Create operation.
 $operation = new AdGroupCriterionOperation();
 $operation-operand = $adGroupCriterion;
 $operation-operator = 'SET';

 $operations[] = array($operation);
  $result = 
 $adGroupCriterionService-mutate($operations);


 anything I'm doing wrong here
 I get a : Fault occurred while processing.

 thanks for your help
 cheers
 A.



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d65c152a-1e77-4b38-bd1f-3528e05fb66f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Fault occurred while processing - BiddableAdGroupCriterion [v201402] [PHP]

2014-10-02 Thread Kristopher Windsor
Hi,

I am querying for BiddableAdGroupCriterion, changing the 
biddingStrategyConfiguration on each criterion, and then trying to send the 
changes to Adwords. I get this same error regardless if operator is ADD or 
SET.
How can I fix this?

Thanks,

Code:
  public static function mutateEntities($adwords_user, $campaign_name, 
$service_name, $ops){
$service = $adwords_user-GetService($service_name, ADWORDS_VERSION);

$opc = count($ops);
if ($opc  5000)
  throw new Exception('Too many operations for ' . $service_name);

for ($iii = 0; $iii  AdwordsRateLimiter::TOTAL_RETRIES; $iii++){
  AdwordsRateLimiter::throttle($adwords_user-getClientCustomerId(), 
$opc);
  try {
$service-mutate($ops);
break;
  } catch (RateExceededError $e){
AdwordsRateLimiter::reportError($adwords_user-getClientCustomerId
(), $e-rateScope, $e-rateName);
  } catch (Exception $e ){
AdwordsRateLimiter::reportError($adwords_user-getClientCustomerId
());
  }
  if ($iii + 1 == AdwordsRateLimiter::TOTAL_RETRIES){
echo ADWORDS_VERSION . \n;
var_dump($ops);
throw new Exception('Adwords query failed after max retries. ' . $e
-getMessage());
  }
}

  }

Output:
v201402
array(1) {
  [0]=
  object(AdGroupCriterionOperation)#17657 (5) {
[operand]=
object(BiddableAdGroupCriterion)#17669 (18) {
  [userStatus]=
  string(6) ACTIVE
  [systemServingStatus]=
  NULL
  [approvalStatus]=
  NULL
  [disapprovalReasons]=
  NULL
  [destinationUrl]=
  NULL
  [experimentData]=
  NULL
  [firstPageCpc]=
  NULL
  [topOfPageCpc]=
  NULL
  [qualityInfo]=
  NULL
  [biddingStrategyConfiguration]=
  object(BiddingStrategyConfiguration)#20173 (6) {
[biddingStrategyId]=
NULL
[biddingStrategyName]=
NULL
[biddingStrategyType]=
string(10) MANUAL_CPC
[biddingStrategySource]=
NULL
[biddingScheme]=
NULL
[bids]=
array(1) {
  [0]=
  object(CpcBid)#20175 (5) {
[bid]=
object(Money)#20176 (3) {
  [microAmount]=
  int(37)
  [ComparableValueType]=
  NULL
  [_parameterMap:ComparableValue:private]=
  array(1) {
[ComparableValue.Type]=
string(19) ComparableValueType
  }
}
[contentBid]=
NULL
[cpcBidSource]=
NULL
[BidsType]=
NULL
[_parameterMap:Bids:private]=
array(1) {
  [Bids.Type]=
  string(8) BidsType
}
  }
}
  }
  [bidModifier]=
  NULL
  [adGroupId]=
  string(11) 17363429715
  [stats]=
  NULL
  [criterionUse]=
  string(8) BIDDABLE
  [criterion]=
  object(MobileApplication)#17661 (6) {
[appId]=
string(26) 2-redacted
[displayName]=
string(73) redacted
[id]=
string(11) redacted
[type]=
string(18) MOBILE_APPLICATION
[CriterionType]=
string(17) MobileApplication
[_parameterMap:Criterion:private]=
array(1) {
  [Criterion.Type]=
  string(13) CriterionType
}
  }
  [forwardCompatibilityMap]=
  NULL
  [AdGroupCriterionType]=
  string(24) BiddableAdGroupCriterion
  [_parameterMap:AdGroupCriterion:private]=
  array(1) {
[AdGroupCriterion.Type]=
string(20) AdGroupCriterionType
  }
}
[exemptionRequests]=
string(3) ADD
[operator]=
NULL
[OperationType]=
NULL
[_parameterMap:Operation:private]=
array(1) {
  [Operation.Type]=
  string(13) OperationType
}
  }
}

Fatal error: Uncaught exception 'Exception' with message 'Adwords query 
failed after max retries. Fault occurred while processing.' in...


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/042a5cc8

Re: Fault occurred while processing - BiddableAdGroupCriterion [v201402] [PHP]

2014-10-02 Thread Kristopher Windsor
Or without catching the original Exception, the stack trace is:

Fatal error: Uncaught SoapFault exception: [soap:Server] Fault occurred 
while processing. in /code/bidder/lib/legacy/adwords/Google/Api/Ads/Common/
Lib/AdsSoapClient.php:232
Stack trace:
#0 
/code/bidder/lib/legacy/adwords/Google/Api/Ads/Common/Lib/AdsSoapClient.php(232):
 
SoapClient-__soapCall('mutate', Array, NULL, Array, Array)
#1 
/code/bidder/lib/legacy/adwords/Google/Api/Ads/AdWords/v201402/AdGroupCriterionService.php(8896):
 
AdsSoapClient-__soapCall('mutate', Array)
#2 /code/bidder/lib/adwords/AdwordsCampaignAPI.php(306): 
AdGroupCriterionService-mutate(Array)...



On Thursday, October 2, 2014 6:03:02 PM UTC-7, Kristopher Windsor wrote:

 Hi,

 I am querying for BiddableAdGroupCriterion, changing the 
 biddingStrategyConfiguration on each criterion, and then trying to send the 
 changes to Adwords. I get this same error regardless if operator is ADD or 
 SET.
 How can I fix this?

 Thanks,

 Code:
   public static function mutateEntities($adwords_user, $campaign_name, 
 $service_name, $ops){
 $service = $adwords_user-GetService($service_name, ADWORDS_VERSION);

 $opc = count($ops);
 if ($opc  5000)
   throw new Exception('Too many operations for ' . $service_name);

 for ($iii = 0; $iii  AdwordsRateLimiter::TOTAL_RETRIES; $iii++){
   AdwordsRateLimiter::throttle($adwords_user-getClientCustomerId(), 
 $opc);
   try {
 $service-mutate($ops);
 break;
   } catch (RateExceededError $e){
 AdwordsRateLimiter::reportError($adwords_user-getClientCustomerId
 (), $e-rateScope, $e-rateName);
   } catch (Exception $e ){
 AdwordsRateLimiter::reportError($adwords_user-getClientCustomerId
 ());
   }
   if ($iii + 1 == AdwordsRateLimiter::TOTAL_RETRIES){
 echo ADWORDS_VERSION . \n;
 var_dump($ops);
 throw new Exception('Adwords query failed after max retries. ' . 
 $e-getMessage());
   }
 }

   }

 Output:
 v201402
 array(1) {
   [0]=
   object(AdGroupCriterionOperation)#17657 (5) {
 [operand]=
 object(BiddableAdGroupCriterion)#17669 (18) {
   [userStatus]=
   string(6) ACTIVE
   [systemServingStatus]=
   NULL
   [approvalStatus]=
   NULL
   [disapprovalReasons]=
   NULL
   [destinationUrl]=
   NULL
   [experimentData]=
   NULL
   [firstPageCpc]=
   NULL
   [topOfPageCpc]=
   NULL
   [qualityInfo]=
   NULL
   [biddingStrategyConfiguration]=
   object(BiddingStrategyConfiguration)#20173 (6) {
 [biddingStrategyId]=
 NULL
 [biddingStrategyName]=
 NULL
 [biddingStrategyType]=
 string(10) MANUAL_CPC
 [biddingStrategySource]=
 NULL
 [biddingScheme]=
 NULL
 [bids]=
 array(1) {
   [0]=
   object(CpcBid)#20175 (5) {
 [bid]=
 object(Money)#20176 (3) {
   [microAmount]=
   int(37)
   [ComparableValueType]=
   NULL
   [_parameterMap:ComparableValue:private]=
   array(1) {
 [ComparableValue.Type]=
 string(19) ComparableValueType
   }
 }
 [contentBid]=
 NULL
 [cpcBidSource]=
 NULL
 [BidsType]=
 NULL
 [_parameterMap:Bids:private]=
 array(1) {
   [Bids.Type]=
   string(8) BidsType
 }
   }
 }
   }
   [bidModifier]=
   NULL
   [adGroupId]=
   string(11) 17363429715
   [stats]=
   NULL
   [criterionUse]=
   string(8) BIDDABLE
   [criterion]=
   object(MobileApplication)#17661 (6) {
 [appId]=
 string(26) 2-redacted
 [displayName]=
 string(73) redacted
 [id]=
 string(11) redacted
 [type]=
 string(18) MOBILE_APPLICATION
 [CriterionType]=
 string(17) MobileApplication
 [_parameterMap:Criterion:private]=
 array(1) {
   [Criterion.Type]=
   string(13) CriterionType
 }
   }
   [forwardCompatibilityMap]=
   NULL
   [AdGroupCriterionTypespan style=color: #660; 
 class=styled-by-pretti
 ...

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you

Re: Fault occurred while processing - BiddableAdGroupCriterion [v201402] [PHP]

2014-10-02 Thread Kristopher Windsor
Or without catching the original Exception, the stack trace is:
Fatal error: Uncaught SoapFault exception: [soap:Server] Fault occurred 
while processing. in /code/bidder/lib/legacy/adwords/Google/Api/Ads/Common/
Lib/AdsSoapClient.php:232
Stack trace:
#0 
/code/bidder/lib/legacy/adwords/Google/Api/Ads/Common/Lib/AdsSoapClient.php(232):
 
SoapClient-__soapCall('mutate', Array, NULL, Array, Array)
#1 
/code/bidder/lib/legacy/adwords/Google/Api/Ads/AdWords/v201402/AdGroupCriterionService.php(8896):
 
AdsSoapClient-__soapCall('mutate', Array)
#2 /code/bidder/lib/adwords/AdwordsCampaignAPI.php(306): 
AdGroupCriterionService-mutate(Array)
...


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/24d83b38-76f6-4069-b741-3ed145441255%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Fault occurred while processing - BiddableAdGroupCriterion [v201402] [PHP]

2014-10-02 Thread Kristopher Windsor
Nevermind, I found the error. I was doing:

new AdGroupCriterionOperation($op, 'SET')

But AdGroupCriterionOperation does not take a second parameter like 
AdGroupOperation, so operator was null.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a28596f1-ec77-4d9a-b0ae-359715ecf167%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 
 /api/adwords/cm/v201209

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 = array

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 = array

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

Re: Fault occurred while processing when adding a campaign

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

I've already left you a few questions and answers in this thread 
https://groups.google.com/forum/?fromgroups=#!topic/adwords-api/grCpR_CmF9Y, 
please lets follow up on it.

Best,

- David Torres - AdWords API Team

On Friday, January 25, 2013 12:15:07 PM UTC-5, Timo Aarnio wrote:

 Hi

 I'm currently trying to add campaigns to my test account. But when running 
 the script I get this error: Fault occurred while processing.

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

 When looking at the soap_xml.log, it shows a 500 internal server error:
 [Jan 25 2013 19:03:26.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: 626

 ?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:developerToken987654321token/ns1:developerToken
   ns1:userAgentTestTool (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 #5102bade7612e/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 17:03:22 GMT

 Expires: Fri, 25 Jan 2013 17:03:22 GMT

 Cache-Control: private, max-age=0

 X-Content-Type-Options: nosniff

 X-Frame-Options: SAMEORIGIN

 X-XSS-Protection: 1; mode=block

 Content-Length: 311

 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;
   requestId0004d41fe7adf2700ae5630d1737/requestId
   serviceNameBudgetService/serviceName
   methodNamemutate/methodName
   operations0/operations
   responseTime73/responseTime
   units0/units
 /ResponseHeader
   /soap:Header
   soap:Body
 soap:Fault
   faultcodesoap:Server/faultcode
   faultstringFault occurred while processing./faultstring
 /soap:Fault
   /soap:Body
 /soap:Envelope


 Here is the code for the script, it's practically the same as the example, 
 only with some modifications so it actually works:

 ?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. Error pops up here.
   $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 KeywordMatchSetting();
 $keywordMatchSetting-optIn = TRUE;
 $campaign-settings[] = $keywordMatchSetting;

 // Set network targeting (recommended).
 $networkSetting = new

Fault occurred while processing when trying to add campaigns

2013-01-27 Thread Timo Aarnio
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 KeywordMatchSetting();
$keywordMatchSetting-optIn = TRUE;
$campaign-settings[] = $keywordMatchSetting;

// Set network targeting (recommended).
$networkSetting = new NetworkSetting();
$networkSetting-targetGoogleSearch = TRUE;
$networkSetting-targetSearchNetwork = TRUE;
$networkSetting-targetContentNetwork = TRUE;
$campaign-networkSetting = $networkSetting;

// Set additional settings (optional).
$campaign-status = 'ACTIVE';
$campaign-startDate = date('Ymd', strtotime('+1 day'));
$campaign-endDate = date('Ymd', strtotime('+1 month'));
$campaign-adServingOptimizationStatus = 'ROTATE';

// Set

Re: Fault occurred while processing.

2011-06-10 Thread David Torres
Hi Peter,

What you are actually experiencing are CONCURRENT_MODIFICATION errors, which 
is the service is not correctly reporting back to you, I'm working with the 
team to correct this.

More information on how to handle this kind of CONCURRENT_MODIFICATION error 
can be found here 
http://code.google.com/apis/adwords/docs/troubleshooting.html#DatabaseError

Best,

-David Torres - AdWords API Team

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: Fault occurred while processing.

2011-06-07 Thread Peter
It appears this issue may have been related to attempting to share an
'authToken' in the AdWordsClient header between two seperate
connections which were both attempting to operate at the same time.
I'm not 100% sure as the majority of the API calls appeared to work in
a multithreaded situation with shared authToken's for the same
account. But I would recommend anyone who encounters this error when
accessing the reporting API investigate if they are using an authToken
which is currently active on other Report based API calls.

On Jun 7, 2:28 pm, Peter peterswans...@gmail.com wrote:
 Hey AdWords API Team,

 I'm getting the following error sometimes, but not always for the
 following request. I was hoping you might be able to let me know what
 was causing it and how I might remedy the situation.

 Thanks a bunch,

 Peter

 *** Outgoing SOAP
 **
 ?xml version=1.0 encoding=UTF-8?
 SOAP-ENV:Envelope xmlns:SOAP-ENC=http://schemas.xmlsoap.org/soap/
 encoding/ xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/;
 xmlns:ZSI=http://www.zolera.com/schemas/ZSI/; 
 xmlns:xsd=http://www.w3.org/2001/XMLSchema; 
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-
 instance
   SOAP-ENV:Header
     RequestHeader xmlns=https://adwords.google.com/api/adwords/cm/
 v201008
       authToken/authToken
       userAgentAwApi-Python-13.1.0|Test Client/userAgent
       clientCustomerId2608417927/clientCustomerId
       developerToken/developerToken
     /RequestHeader
   /SOAP-ENV:Header
   SOAP-ENV:Body xmlns:ns1=https://adwords.google.com/api/adwords/cm/
 v201008
     ns1:mutate xmlns:ns1=https://adwords.google.com/api/adwords/cm/
 v201008
       ns1:operations
         ns1:operatorADD/ns1:operator
         ns1:operand
           ns1:selector
             ns1:fieldsCampaignId/ns1:fields
             ns1:fieldsId/ns1:fields
             ns1:dateRange
               ns1:min20100607/ns1:min
               ns1:max20110607/ns1:max
             /ns1:dateRange
           /ns1:selector
           ns1:reportNamecampaign keyword performance report/
 ns1:reportName

 ns1:reportTypeCAMPAIGN_NEGATIVE_KEYWORDS_PERFORMANCE_REPORT/
 ns1:reportType
           ns1:dateRangeTypeCUSTOM_DATE/ns1:dateRangeType
           ns1:downloadFormatGZIPPED_CSV/ns1:downloadFormat
         /ns1:operand
       /ns1:operations
       ns1:operations
         ns1:operatorADD/ns1:operator
         ns1:operand
           ns1:selector
             ns1:fieldsCampaignId/ns1:fields
             ns1:fieldsId/ns1:fields
             ns1:dateRange
               ns1:min20100607/ns1:min
               ns1:max20110607/ns1:max
             /ns1:dateRange
           /ns1:selector
           ns1:reportNamecampaign placement performance report/
 ns1:reportName

 ns1:reportTypeCAMPAIGN_NEGATIVE_PLACEMENTS_PERFORMANCE_REPORT/
 ns1:reportType
           ns1:dateRangeTypeCUSTOM_DATE/ns1:dateRangeType
           ns1:downloadFormatGZIPPED_CSV/ns1:downloadFormat
         /ns1:operand
       /ns1:operations
       ns1:operations
         ns1:operatorADD/ns1:operator
         ns1:operand
           ns1:selector
             ns1:fieldsCampaignId/ns1:fields
             ns1:fieldsAdGroupId/ns1:fields
             ns1:fieldsId/ns1:fields
             ns1:fieldsIsNegative/ns1:fields
             ns1:predicates
               ns1:fieldCampaignStatus/ns1:field
               ns1:operatorEQUALS/ns1:operator
               ns1:valuesACTIVE/ns1:values
             /ns1:predicates
             ns1:dateRange
               ns1:min20100607/ns1:min
               ns1:max20110607/ns1:max
             /ns1:dateRange
           /ns1:selector
           ns1:reportNameplacement performance report/
 ns1:reportName
           ns1:reportTypeMANAGED_PLACEMENTS_PERFORMANCE_REPORT/
 ns1:reportType
           ns1:dateRangeTypeCUSTOM_DATE/ns1:dateRangeType
           ns1:downloadFormatGZIPPED_CSV/ns1:downloadFormat
         /ns1:operand
       /ns1:operations
       ns1:operations
         ns1:operatorADD/ns1:operator
         ns1:operand
           ns1:selector
             ns1:fieldsCampaignId/ns1:fields
             ns1:fieldsAdGroupId/ns1:fields
             ns1:fieldsId/ns1:fields
             ns1:predicates
               ns1:fieldCampaignStatus/ns1:field
               ns1:operatorEQUALS/ns1:operator
               ns1:valuesACTIVE/ns1:values
             /ns1:predicates
             ns1:dateRange
               ns1:min20100607/ns1:min
               ns1:max20110607/ns1:max
             /ns1:dateRange
           /ns1:selector
           ns1:reportNamead performance report/ns1:reportName
           ns1:reportTypeAD_PERFORMANCE_REPORT/ns1:reportType
           ns1:dateRangeTypeCUSTOM_DATE/ns1:dateRangeType
           ns1:downloadFormatGZIPPED_CSV/ns1:downloadFormat
         /ns1:operand
       /ns1:operations
       ns1:operations
         ns1:operatorADD/ns1:operator
         ns1:operand
           ns1:selector
             ns1:fieldsCampaignId/ns1:fields
       

Fault occurred while processing.

2011-06-06 Thread Peter
Hey AdWords API Team,

I'm getting the following error sometimes, but not always for the
following request. I was hoping you might be able to let me know what
was causing it and how I might remedy the situation.

Thanks a bunch,

Peter

*** Outgoing SOAP
**
?xml version=1.0 encoding=UTF-8?
SOAP-ENV:Envelope xmlns:SOAP-ENC=http://schemas.xmlsoap.org/soap/
encoding/ xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/;
xmlns:ZSI=http://www.zolera.com/schemas/ZSI/; xmlns:xsd=http://
www.w3.org/2001/XMLSchema xmlns:xsi=http://www.w3.org/2001/XMLSchema-
instance
  SOAP-ENV:Header
RequestHeader xmlns=https://adwords.google.com/api/adwords/cm/
v201008
  authToken/authToken
  userAgentAwApi-Python-13.1.0|Test Client/userAgent
  clientCustomerId2608417927/clientCustomerId
  developerToken/developerToken
/RequestHeader
  /SOAP-ENV:Header
  SOAP-ENV:Body xmlns:ns1=https://adwords.google.com/api/adwords/cm/
v201008
ns1:mutate xmlns:ns1=https://adwords.google.com/api/adwords/cm/
v201008
  ns1:operations
ns1:operatorADD/ns1:operator
ns1:operand
  ns1:selector
ns1:fieldsCampaignId/ns1:fields
ns1:fieldsId/ns1:fields
ns1:dateRange
  ns1:min20100607/ns1:min
  ns1:max20110607/ns1:max
/ns1:dateRange
  /ns1:selector
  ns1:reportNamecampaign keyword performance report/
ns1:reportName
 
ns1:reportTypeCAMPAIGN_NEGATIVE_KEYWORDS_PERFORMANCE_REPORT/
ns1:reportType
  ns1:dateRangeTypeCUSTOM_DATE/ns1:dateRangeType
  ns1:downloadFormatGZIPPED_CSV/ns1:downloadFormat
/ns1:operand
  /ns1:operations
  ns1:operations
ns1:operatorADD/ns1:operator
ns1:operand
  ns1:selector
ns1:fieldsCampaignId/ns1:fields
ns1:fieldsId/ns1:fields
ns1:dateRange
  ns1:min20100607/ns1:min
  ns1:max20110607/ns1:max
/ns1:dateRange
  /ns1:selector
  ns1:reportNamecampaign placement performance report/
ns1:reportName
 
ns1:reportTypeCAMPAIGN_NEGATIVE_PLACEMENTS_PERFORMANCE_REPORT/
ns1:reportType
  ns1:dateRangeTypeCUSTOM_DATE/ns1:dateRangeType
  ns1:downloadFormatGZIPPED_CSV/ns1:downloadFormat
/ns1:operand
  /ns1:operations
  ns1:operations
ns1:operatorADD/ns1:operator
ns1:operand
  ns1:selector
ns1:fieldsCampaignId/ns1:fields
ns1:fieldsAdGroupId/ns1:fields
ns1:fieldsId/ns1:fields
ns1:fieldsIsNegative/ns1:fields
ns1:predicates
  ns1:fieldCampaignStatus/ns1:field
  ns1:operatorEQUALS/ns1:operator
  ns1:valuesACTIVE/ns1:values
/ns1:predicates
ns1:dateRange
  ns1:min20100607/ns1:min
  ns1:max20110607/ns1:max
/ns1:dateRange
  /ns1:selector
  ns1:reportNameplacement performance report/
ns1:reportName
  ns1:reportTypeMANAGED_PLACEMENTS_PERFORMANCE_REPORT/
ns1:reportType
  ns1:dateRangeTypeCUSTOM_DATE/ns1:dateRangeType
  ns1:downloadFormatGZIPPED_CSV/ns1:downloadFormat
/ns1:operand
  /ns1:operations
  ns1:operations
ns1:operatorADD/ns1:operator
ns1:operand
  ns1:selector
ns1:fieldsCampaignId/ns1:fields
ns1:fieldsAdGroupId/ns1:fields
ns1:fieldsId/ns1:fields
ns1:predicates
  ns1:fieldCampaignStatus/ns1:field
  ns1:operatorEQUALS/ns1:operator
  ns1:valuesACTIVE/ns1:values
/ns1:predicates
ns1:dateRange
  ns1:min20100607/ns1:min
  ns1:max20110607/ns1:max
/ns1:dateRange
  /ns1:selector
  ns1:reportNamead performance report/ns1:reportName
  ns1:reportTypeAD_PERFORMANCE_REPORT/ns1:reportType
  ns1:dateRangeTypeCUSTOM_DATE/ns1:dateRangeType
  ns1:downloadFormatGZIPPED_CSV/ns1:downloadFormat
/ns1:operand
  /ns1:operations
  ns1:operations
ns1:operatorADD/ns1:operator
ns1:operand
  ns1:selector
ns1:fieldsCampaignId/ns1:fields
ns1:fieldsAdGroupId/ns1:fields
ns1:fieldsId/ns1:fields
ns1:fieldsIsNegative/ns1:fields
ns1:predicates
  ns1:fieldCampaignStatus/ns1:field
  ns1:operatorEQUALS/ns1:operator
  ns1:valuesACTIVE/ns1:values
/ns1:predicates
ns1:dateRange
  ns1:min20100607/ns1:min
  ns1:max20110607/ns1:max
/ns1:dateRange
  /ns1:selector
  ns1:reportNamekeyword performance report/ns1:reportName
  ns1:reportTypeKEYWORDS_PERFORMANCE_REPORT/ns1:reportType
  ns1:dateRangeTypeCUSTOM_DATE/ns1:dateRangeType
  ns1:downloadFormatGZIPPED_CSV/ns1:downloadFormat

Re: Fault occurred while processing.

2010-12-08 Thread Bill
Thanks - I was able to make a successful call to the API based on this
and another users' post.

-Bill

On Dec 6, 7:03 am, AdWords API Advisor adwordsapiadvi...@google.com
wrote:
 Hi Bill,

 Your RequestHeader namespace is not correct, it should be
 o:RequestHeader and the child nodes should be cm:userAgent and so on.
 A sample xml snippet is shown below.

 o:RequestHeader
   cm:applicationToken**/cm:applicationToken
   cm:authToken**/cm:authToken
   cm:clientEmail**/cm:clientEmail
   cm:developerToken**/cm:developerToken
   cm:userAgent**/cm:userAgent
 /o:RequestHeader

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Dec 4, 12:41 am, Bill b...@fuuzio.com wrote:







  Hi.

  I am getting a 'Fault occurred while processing.' error while making
  the following call 
  to:https://adwords-sandbox.google.com/api/adwords/o/v201008/TargetingIde...

  ?xml version=1.0?
  soapenv:Envelope
  xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;
  xmlns:o=https://adwords.google.com/api/adwords/o/v201008;
  xmlns:cm=https://adwords.google.com/api/adwords/cm/v201008;
  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  soapenv:Header
  RequestHeader
  authToken /authToken
  userAgentxxx/userAgent
  developerTokenx...@x.com++usd/developerToken
  clientEmailx...@x.com/clientEmail
  /RequestHeader
  /soapenv:Header
  soapenv:Body
  o:get xmlns:o=https://adwords.google.com/api/adwords/o/v201008;
  xmlns:cm=https://adwords.google.com/api/adwords/cm/v201008;
  o:selector
  o:searchParameters xsi:type=o:RelatedToKeywordSearchParameter
  o:keywords
  cm:textcat/cm:text
  cm:matchTypeBROAD/cm:matchType
  /o:keywords
  /o:searchParameters
  o:ideaTypeKEYWORD/o:ideaType
  o:requestTypeIDEAS/o:requestType
  o:paging
  cm:startIndex0/cm:startIndex
  cm:numberResults100/cm:numberResults
  /o:paging
  /o:selector
  /o:get
  /soapenv:Body
  /soapenv:Envelope

  Any ideas on what I might be doing wrong?

  Thanks.
  -Bill

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: Fault occurred while processing.

2010-12-06 Thread AdWords API Advisor
Hi Bill,

Your RequestHeader namespace is not correct, it should be
o:RequestHeader and the child nodes should be cm:userAgent and so on.
A sample xml snippet is shown below.

o:RequestHeader
  cm:applicationToken**/cm:applicationToken
  cm:authToken**/cm:authToken
  cm:clientEmail**/cm:clientEmail
  cm:developerToken**/cm:developerToken
  cm:userAgent**/cm:userAgent
/o:RequestHeader

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Dec 4, 12:41 am, Bill b...@fuuzio.com wrote:
 Hi.

 I am getting a 'Fault occurred while processing.' error while making
 the following call 
 to:https://adwords-sandbox.google.com/api/adwords/o/v201008/TargetingIde...

 ?xml version=1.0?
 soapenv:Envelope
 xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;
 xmlns:o=https://adwords.google.com/api/adwords/o/v201008;
 xmlns:cm=https://adwords.google.com/api/adwords/cm/v201008;
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 soapenv:Header
 RequestHeader
 authToken /authToken
 userAgentxxx/userAgent
 developerTokenx...@x.com++usd/developerToken
 clientEmailx...@x.com/clientEmail
 /RequestHeader
 /soapenv:Header
 soapenv:Body
 o:get xmlns:o=https://adwords.google.com/api/adwords/o/v201008;
 xmlns:cm=https://adwords.google.com/api/adwords/cm/v201008;
 o:selector
 o:searchParameters xsi:type=o:RelatedToKeywordSearchParameter
 o:keywords
 cm:textcat/cm:text
 cm:matchTypeBROAD/cm:matchType
 /o:keywords
 /o:searchParameters
 o:ideaTypeKEYWORD/o:ideaType
 o:requestTypeIDEAS/o:requestType
 o:paging
 cm:startIndex0/cm:startIndex
 cm:numberResults100/cm:numberResults
 /o:paging
 /o:selector
 /o:get
 /soapenv:Body
 /soapenv:Envelope

 Any ideas on what I might be doing wrong?

 Thanks.
 -Bill

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Fault occurred while processing.

2010-12-03 Thread Bill
Hi.


I am getting a 'Fault occurred while processing.' error while making
the following call to:
https://adwords-sandbox.google.com/api/adwords/o/v201008/TargetingIdeaService


?xml version=1.0?
soapenv:Envelope
xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;
xmlns:o=https://adwords.google.com/api/adwords/o/v201008;
xmlns:cm=https://adwords.google.com/api/adwords/cm/v201008;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
soapenv:Header
RequestHeader
authToken /authToken
userAgentxxx/userAgent
developerTokenx...@x.com++usd/developerToken
clientEmailx...@x.com/clientEmail
/RequestHeader
/soapenv:Header
soapenv:Body
o:get xmlns:o=https://adwords.google.com/api/adwords/o/ v201008
xmlns:cm=https://adwords.google.com/api/adwords/cm/v201008;
o:selector
o:searchParameters xsi:type=o:RelatedToKeywordSearchParameter
o:keywords
cm:textcat/cm:text
cm:matchTypeBROAD/cm:matchType
/o:keywords
/o:searchParameters
o:ideaTypeKEYWORD/o:ideaType
o:requestTypeIDEAS/o:requestType
o:paging
cm:startIndex0/cm:startIndex
cm:numberResults100/cm:numberResults
/o:paging
/o:selector
/o:get
/soapenv:Body
/soapenv:Envelope


Any ideas on what I might be doing wrong?


Thanks.
-Bill

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: soap:Server Fault occurred while processing.

2010-11-09 Thread AdWords API Advisor
Hi Jamie,

The estimateKeywordList() method is part of the v13
TrafficEstimatorService, but you are sending the request to the
v201008 CampaignService URL.  Additionally, your request is missing
the AdWords API namespaces that are required.  I recommend that you
use the new v201008 TrafficEstimatorService, which provides a single
get() method:

  
http://code.google.com/apis/adwords/docs/reference/latest/TrafficEstimatorService.html

Additionally, using one our client libraries can be much easier then
writing the XML by hand:

  http://code.google.com/apis/adwords/docs/clientlibraries.html

Best,
- Eric Koleda, AdWords API Team

On Nov 7, 3:11 pm, brendangorm...@skinwest.com
brendangorm...@skinwest.com wrote:
 I've been up and down all 20 sets of documentation and have pretty
 much reached my wits end, is there any way to get the google API to
 actually tell you more about the errors?

 Here's the XML, exactly (sans password/login info):

 ?xml version=1.0?
 env:Envelope xmlns:xsd=http://www.w3.org/2001/XMLSchema;
         xmlns:env=http://schemas.xmlsoap.org/soap/envelope/;
         xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
         env:Header
                 applicationTokenDj-X-R2/applicationToken
                 passwordx/password
                 emailx...@example.com/email
                 clientEmailclient_1+...@example.com/clientEmail
                 useragentnone/useragent
                 developerTokenx...@example.com++usd/developerToken
         /env:Header
         env:Body
                 estimateKeywordList
                         keywordRequests
                                 maxCpc10/maxCpc
                                 textmars cruise/text
                                 typeBroad/type
                         /keywordRequests
                 /estimateKeywordList
         /env:Body
 /env:Envelope

 curl --header Content-Type: application/soap+xml --data @data.xml
 $URL

 I'm posting it to:

 https://adwords-sandbox.google.com/api/adwords/cm/v201008/CampaignSer...

 Here is what I'm getting:

 soap:Envelope
 xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
 soap:Body
         soap:Fault
                 faultcodesoap:Server/faultcode
                 faultstringFault occurred while processing./faultstring
         /soap:Fault
 /soap:Body
 /soap:Envelope

 Thanks!

 Jamie

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


soap:Server Fault occurred while processing.

2010-11-08 Thread brendangorm...@skinwest.com
I've been up and down all 20 sets of documentation and have pretty
much reached my wits end, is there any way to get the google API to
actually tell you more about the errors?

Here's the XML, exactly (sans password/login info):

?xml version=1.0?
env:Envelope xmlns:xsd=http://www.w3.org/2001/XMLSchema;
xmlns:env=http://schemas.xmlsoap.org/soap/envelope/;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
env:Header
applicationTokenDj-X-R2/applicationToken
passwordx/password
emailx...@example.com/email
clientEmailclient_1+...@example.com/clientEmail
useragentnone/useragent
developerTokenx...@example.com++usd/developerToken
/env:Header
env:Body
estimateKeywordList
keywordRequests
maxCpc10/maxCpc
textmars cruise/text
typeBroad/type
/keywordRequests
/estimateKeywordList
/env:Body
/env:Envelope



curl --header Content-Type: application/soap+xml --data @data.xml
$URL

I'm posting it to:

https://adwords-sandbox.google.com/api/adwords/cm/v201008/CampaignService


Here is what I'm getting:

soap:Envelope
xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
soap:Body
soap:Fault
faultcodesoap:Server/faultcode
faultstringFault occurred while processing./faultstring
/soap:Fault
/soap:Body
/soap:Envelope


Thanks!

Jamie

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: Fault occurred while processing in ReportDefinitionOperation

2010-09-17 Thread AdWords API Advisor
Hi Chris,

Let us know if you have any addition questions.

Best,
- Eric Koleda, AdWords API Team

On Sep 16, 12:11 pm, Chris Ramsay raz@gmail.com wrote:
 Well, I found one problem in my SOAP:

 xmlns:ns=https://adwords.google.com/api/adwords/cm/v200909;

 should be:

 xmlns:ns=https://adwords.google.com/api/adwords/cm/v201008;

 At least now I am getting a sensible auth error message...!

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Fault occurred while processing in ReportDefinitionOperation

2010-09-16 Thread Chris Ramsay
Hello All,


I am making the following request to the Adwords API and am getting
a 'Fault occurred while processing' error, which does not tell me a
great deal.


Here's the SOAP:



SOAP-ENV:Envelope
xmlns:ns0=https://adwords.google.com/api/adwords/cm/v201008;
xmlns:ns1=http://schemas.xmlsoap.org/soap/envelope/;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xmlns:ns=https://adwords.google.com/api/adwords/cm/v200909;
xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/;
SOAP-ENV:Header
ns:RequestHeader
ns:authTokenTOKEN_HERE/ns:authToken
ns:clientCustomerId/ns:clientCustomerId
ns:developerTokenDEVTOKEN_HERE/ns:developerToken
ns:clientEmailCLIENT_EMAIL_HERE/ns:clientEmail
ns:userAgentMY_AGENT/ns:userAgent
ns:passwordPASSWORD/ns:password
ns:emailEMAIL/ns:email
/ns:RequestHeader
/SOAP-ENV:Header
ns1:Body
ns0:mutate
ns0:operations
ns0:operatorADD/ns0:operator
ns0:operand
ns0:selector
ns0:fieldsAdGroupId/ns0:fields
ns0:fieldsAdGroupName/ns0:fields
ns0:fieldsAdGroupStatus/ns0:fields
ns0:fieldsAdNetworkType1/ns0:fields
ns0:fieldsAdNetworkType2/ns0:fields
ns0:fieldsAverageCpc/ns0:fields
ns0:fieldsAverageCpm/ns0:fields
ns0:fieldsAveragePosition/ns0:fields
ns0:fieldsBottomPosition/ns0:fields
ns0:fieldsCampaignId/ns0:fields
ns0:fieldsCampaignName/ns0:fields
ns0:fieldsCampaignStatus/ns0:fields
ns0:fieldsClicks/ns0:fields
ns0:fieldsConversionRate/ns0:fields
ns0:fieldsConversionRateManyPerClick/ns0:fields
ns0:fieldsConversions/ns0:fields
ns0:fieldsConversionsManyPerClick/ns0:fields
ns0:fieldsCost/ns0:fields
ns0:fieldsCostPerConversion/ns0:fields
ns0:fieldsCostPerConversionManyPerClick/ns0:fields
ns0:fieldsCtr/ns0:fields
ns0:fieldsDayOfWeek/ns0:fields
ns0:fieldsDestinationUrl/ns0:fields
ns0:fieldsId/ns0:fields
ns0:fieldsImpressions/ns0:fields
ns0:fieldsIsNegative/ns0:fields
ns0:fieldsKeywordMatchType/ns0:fields
ns0:fieldsKeywordText/ns0:fields
ns0:fieldsMaxCpm/ns0:fields
ns0:fieldsMonth/ns0:fields
ns0:fieldsMonthOfYear/ns0:fields
ns0:fieldsPlacementUrl/ns0:fields
ns0:fieldsPreferredPosition/ns0:fields
ns0:fieldsProxyMaxCpc/ns0:fields
ns0:fieldsQualityScore/ns0:fields
ns0:fieldsQuarter/ns0:fields
ns0:fieldsStatus/ns0:fields
ns0:fieldsWeek/ns0:fields
ns0:fieldsYear/ns0:fields
/ns0:selector
ns0:reportNameTest Report/ns0:reportName
ns0:reportTypeKEYWORDS_PERFORMANCE_REPORT/ns0:reportType
ns0:dateRangeTypeTODAY/ns0:dateRangeType
ns0:downloadFormatGZIPPED_CSV/ns0:downloadFormat
/ns0:operand
/ns0:operations
/ns0:mutate
/ns1:Body
/SOAP-ENV:Envelope


Here's the response I receive:
soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
soap:Body
soap:Fault
faultcodesoap:Server/faultcode
faultstringFault occurred while processing./faultstring
/soap:Fault
/soap:Body
/soap:Envelope



Any idea what I have done wrong here? Seems as though it's in line with
the docs...
Chris

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: Fault occurred while processing in ReportDefinitionOperation

2010-09-16 Thread Chris Ramsay
Well, I found one problem in my SOAP:


xmlns:ns=https://adwords.google.com/api/adwords/cm/v200909;

should be:

xmlns:ns=https://adwords.google.com/api/adwords/cm/v201008;



At least now I am getting a sensible auth error message...!

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Fault occurred while processing. when doing bidtransition test

2010-09-07 Thread Peer Jakobsen (AdWords API Guru)
We test a campaign for conversion optimizer eligibility by doing a
bidtransition test (validateOnly). On some of the campaigns we get a
high level soap error. It seems to happen on campaigns that run ACE
(Advanced Campaign Experiment)

Soap response:
soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
soap:Header
ResponseHeader 
xmlns=https://adwords.google.com/api/adwords/cm/
v200909
requestId983004778bdef086a1c12fa497eb720c/requestId
operations1/operations
responseTime7932/responseTime
units1/units
/ResponseHeader
/soap:Header
soap:Body
soap:Fault
faultcodesoap:Server/faultcode
faultstringFault occurred while 
processing./faultstring
/soap:Fault
/soap:Body
/soap:Envelope

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: Fault occurred while processing. when doing bidtransition test

2010-09-07 Thread AdWords API Advisor
Hi,

I've opened an issue with the Adwords team to investigate this issue.
I'll update this thread once I hear from them.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Sep 7, 12:07 pm, Peer Jakobsen (AdWords API Guru)
peer.jakob...@gmail.com wrote:
 We test a campaign for conversion optimizer eligibility by doing a
 bidtransition test (validateOnly). On some of the campaigns we get a
 high level soap error. It seems to happen on campaigns that run ACE
 (Advanced Campaign Experiment)

 Soap response:
 soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
         soap:Header
                 ResponseHeader 
 xmlns=https://adwords.google.com/api/adwords/cm/
 v200909
                         
 requestId983004778bdef086a1c12fa497eb720c/requestId
                         operations1/operations
                         responseTime7932/responseTime
                         units1/units
                 /ResponseHeader
         /soap:Header
         soap:Body
                 soap:Fault
                         faultcodesoap:Server/faultcode
                         faultstringFault occurred while 
 processing./faultstring
                 /soap:Fault
         /soap:Body
 /soap:Envelope

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: Got Fault occurred while processing error

2010-07-29 Thread AdWords API Advisor
Hi,

This error is being thrown because the date is formatted incorrectly.
The correct format is Ymd, for example 20100729.  I'll work with the
core engineering team to have a better error thrown in this case.

Best,
- Eric Koleda, AdWords API Team

On Jul 28, 11:28 am, Christian Fuentes khr...@gmail.com wrote:
 Trying to add a ReportDefinition I got this error, but the code is the
 same as the example called AddKeywordsPerformanceReportDefinition, and
 the credentials are OK (I got all my campaigns and adGroups from the
 API).

 This is the code

     $adwords = new AdWordsUser(NULL, $email, $password,
 $developerToken, $applicationToken, $userAgent, $clientIds['es']);
     $adwords-LogDefaults();
     /* add report definition */
     // Get the GetReportDefinitionService.
     $reportDefinitionService = $adwords-

 GetReportDefinitionService('v201003');

     $adGroupId = (float) 1312246342;
     $startDate = date('Y-m-d', strtotime('-2 days'));
     $endDate = date('Y-m-d', strtotime('yesterday'));

     // Create ad group predicate.
     $adGroupPredicate = new Predicate();
     $adGroupPredicate-field = 'AdGroupId';
     $adGroupPredicate-operator = 'EQUALS';
     $adGroupPredicate-values = array($adGroupId);

     // Create selector.
     $selector = new Selector();
     $selector-fields = array('AdGroupId', 'Id', 'KeywordText',
 'KeywordMatchType', 'Impressions', 'Clicks', 'Cost');
     $selector-predicates = array($adGroupPredicate);
     $selector-dateRange = new DateRange($startDate, $endDate);

     // Create report definition.
     $reportDefinition = new ReportDefinition();
     $reportDefinition-reportName = 'Keywords performance report #' .
 time();
     $reportDefinition-dateRangeType = 'CUSTOM_DATE';
     $reportDefinition-reportType = 'KEYWORDS_PERFORMANCE_REPORT';
     $reportDefinition-downloadFormat = 'XML';
     $reportDefinition-selector = $selector;

     // Create operations.
     $operation = new ReportDefinitionOperation();
     $operation-operand = $reportDefinition;
     $operation-operator = 'ADD';

     $operations = array($operation);

     // Add report definition.
     $result = $reportDefinitionService-mutate($operations);

 Can someone please help... thanks

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: Got Fault occurred while processing error

2010-07-29 Thread Christian Fuentes
Thanks a lot!!

On 29 jul, 17:26, AdWords API Advisor adwordsapiadvi...@google.com
wrote:
 Hi,

 This error is being thrown because the date is formatted incorrectly.
 The correct format is Ymd, for example 20100729.  I'll work with the
 core engineering team to have a better error thrown in this case.

 Best,
 - Eric Koleda, AdWords API Team

 On Jul 28, 11:28 am, Christian Fuentes khr...@gmail.com wrote:



  Trying to add a ReportDefinition I got this error, but the code is the
  same as the example called AddKeywordsPerformanceReportDefinition, and
  the credentials are OK (I got all my campaigns and adGroups from the
  API).

  This is the code

      $adwords = new AdWordsUser(NULL, $email, $password,
  $developerToken, $applicationToken, $userAgent, $clientIds['es']);
      $adwords-LogDefaults();
      /* add report definition */
      // Get the GetReportDefinitionService.
      $reportDefinitionService = $adwords-

  GetReportDefinitionService('v201003');

      $adGroupId = (float) 1312246342;
      $startDate = date('Y-m-d', strtotime('-2 days'));
      $endDate = date('Y-m-d', strtotime('yesterday'));

      // Create ad group predicate.
      $adGroupPredicate = new Predicate();
      $adGroupPredicate-field = 'AdGroupId';
      $adGroupPredicate-operator = 'EQUALS';
      $adGroupPredicate-values = array($adGroupId);

      // Create selector.
      $selector = new Selector();
      $selector-fields = array('AdGroupId', 'Id', 'KeywordText',
  'KeywordMatchType', 'Impressions', 'Clicks', 'Cost');
      $selector-predicates = array($adGroupPredicate);
      $selector-dateRange = new DateRange($startDate, $endDate);

      // Create report definition.
      $reportDefinition = new ReportDefinition();
      $reportDefinition-reportName = 'Keywords performance report #' .
  time();
      $reportDefinition-dateRangeType = 'CUSTOM_DATE';
      $reportDefinition-reportType = 'KEYWORDS_PERFORMANCE_REPORT';
      $reportDefinition-downloadFormat = 'XML';
      $reportDefinition-selector = $selector;

      // Create operations.
      $operation = new ReportDefinitionOperation();
      $operation-operand = $reportDefinition;
      $operation-operator = 'ADD';

      $operations = array($operation);

      // Add report definition.
      $result = $reportDefinitionService-mutate($operations);

  Can someone please help... thanks

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Got Fault occurred while processing error

2010-07-28 Thread Christian Fuentes
Trying to add a ReportDefinition I got this error, but the code is the
same as the example called AddKeywordsPerformanceReportDefinition, and
the credentials are OK (I got all my campaigns and adGroups from the
API).

This is the code

$adwords = new AdWordsUser(NULL, $email, $password,
$developerToken, $applicationToken, $userAgent, $clientIds['es']);
$adwords-LogDefaults();
/* add report definition */
// Get the GetReportDefinitionService.
$reportDefinitionService = $adwords-
GetReportDefinitionService('v201003');

$adGroupId = (float) 1312246342;
$startDate = date('Y-m-d', strtotime('-2 days'));
$endDate = date('Y-m-d', strtotime('yesterday'));

// Create ad group predicate.
$adGroupPredicate = new Predicate();
$adGroupPredicate-field = 'AdGroupId';
$adGroupPredicate-operator = 'EQUALS';
$adGroupPredicate-values = array($adGroupId);

// Create selector.
$selector = new Selector();
$selector-fields = array('AdGroupId', 'Id', 'KeywordText',
'KeywordMatchType', 'Impressions', 'Clicks', 'Cost');
$selector-predicates = array($adGroupPredicate);
$selector-dateRange = new DateRange($startDate, $endDate);

// Create report definition.
$reportDefinition = new ReportDefinition();
$reportDefinition-reportName = 'Keywords performance report #' .
time();
$reportDefinition-dateRangeType = 'CUSTOM_DATE';
$reportDefinition-reportType = 'KEYWORDS_PERFORMANCE_REPORT';
$reportDefinition-downloadFormat = 'XML';
$reportDefinition-selector = $selector;

// Create operations.
$operation = new ReportDefinitionOperation();
$operation-operand = $reportDefinition;
$operation-operator = 'ADD';

$operations = array($operation);

// Add report definition.
$result = $reportDefinitionService-mutate($operations);

Can someone please help... thanks

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


AdWords API Re: Fault occurred while processing

2010-04-12 Thread AdWords API Advisor
Hi,

I heard back from the core engineering team, and the error is being
returned because the use of MONTHLY budgets is restricted.  The error
message for this problem will be improved in the next version of the
API.

Best,
- Eric Koleda, AdWords API Team

On Apr 9, 8:07 am, JosipK gemtest...@gmail.com wrote:
 Hi,

 I have the same problem.

 Everything works fine for Daily budget, but it fails for Monthly
 budget.

 Regards,

 --
 Josip
 GemBox.Ppc -http://www.GemBoxSoftware.com/Ppc/Overview.htm- Advanced
 AdWords API for C# / VB.NET

 On Apr 8, 1:54 am, Simon simon.kitch...@airnz.co.nz wrote:



  On Apr 8, 2:21 am, AdWords API Advisor adwordsapiadvi...@google.com
  wrote:

   I ran some tests myself, and it looks like the problem is that you are
   trying to create a campaign with a MONTHLY budget.  The same request
   with a DAILY budget works correctly.

  Thanks very much Eric. I can confirm that switching to DAILY budget
  works fine, and resolves this issue for me.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

To unsubscribe, reply using remove me as the subject.


AdWords API Re: Fault occurred while processing

2010-04-09 Thread JosipK
Hi,

I have the same problem.

Everything works fine for Daily budget, but it fails for Monthly
budget.

Regards,

--
Josip
GemBox.Ppc - http://www.GemBoxSoftware.com/Ppc/Overview.htm - Advanced
AdWords API for C# / VB.NET

On Apr 8, 1:54 am, Simon simon.kitch...@airnz.co.nz wrote:
 On Apr 8, 2:21 am, AdWords API Advisor adwordsapiadvi...@google.com
 wrote:

  I ran some tests myself, and it looks like the problem is that you are
  trying to create a campaign with a MONTHLY budget.  The same request
  with a DAILY budget works correctly.

 Thanks very much Eric. I can confirm that switching to DAILY budget
 works fine, and resolves this issue for me.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

To unsubscribe, reply using remove me as the subject.


AdWords API Re: Fault occurred while processing

2010-04-07 Thread AdWords API Advisor
Hi Simon,

I ran some tests myself, and it looks like the problem is that you are
trying to create a campaign with a MONTHLY budget.  The same request
with a DAILY budget works correctly.  I'll follow up with the core
engineering team about this problem and let you know when I have more
information.

Best,
- Eric

On Apr 6, 8:37 pm, Simon simon.kitch...@airnz.co.nz wrote:
 FYI, I've tested a GET campaigns request, and that works fine (returns
 0). So authentication creds appear correctly configured here

 == request

 ?xml version=1.0 encoding=UTF-8?
 soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/
 envelope/ xmlns:xsd=http://www.w3.org/2001/XMLSchema;
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 soapenv:Header
 ns1:RequestHeader soapenv:actor=http://schemas.xmlsoap.org/soap/
 actor/next soapenv:mustUnderstand=0 xmlns:ns1=https://
 adwords.google.com/api/adwords/cm/v200909
 ns1:authToken#/ns1:authToken
 ns1:clientEmailclient_1+#...@gmail.com/ns1:clientEmail
 ns1:developerToken...@gmail.com++nzd/ns1:developerToken
 ns1:userAgentAdWords API Java Client Library - v - GAS/
 ns1:userAgent
 ns1:validateOnlyfalse/ns1:validateOnly
 /ns1:RequestHeader
 /soapenv:Header
 soapenv:Body
 get xmlns=https://adwords.google.com/api/adwords/cm/
 v200909selector/
 /get
 /soapenv:Body
 /soapenv:Envelope

 == response
 soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
 soap:Header
 ResponseHeader xmlns=https://adwords.google.com/api/adwords/cm/
 v200909
 requestId76c741d3e08da17322c0cf1b79719c60/requestId
 operations1/operations
 responseTime125/responseTime
 units1/units
 /ResponseHeader
 /soap:Header
 soap:Body
 getResponse xmlns=https://adwords.google.com/api/adwords/cm/
 v200909
 rval
 totalNumEntries0/totalNumEntries
 Page.TypeCampaignPage/Page.Type
 totalBudget
 periodDAILY/periodamount
 ComparableValue.TypeMoney/ComparableValue.Type
 microAmount0/microAmount
 /amount
 deliveryMethodSTANDARD/deliveryMethod
 /totalBudget
 /rval
 /getResponse
 /soap:Body
 /soap:Envelope

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

To unsubscribe, reply using remove me as the subject.


AdWords API Re: Fault occurred while processing

2010-04-07 Thread Simon
On Apr 8, 2:21 am, AdWords API Advisor adwordsapiadvi...@google.com
wrote:
 I ran some tests myself, and it looks like the problem is that you are
 trying to create a campaign with a MONTHLY budget.  The same request
 with a DAILY budget works correctly.

Thanks very much Eric. I can confirm that switching to DAILY budget
works fine, and resolves this issue for me.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

To unsubscribe, reply using remove me as the subject.


AdWords API Fault occurred while processing

2010-04-06 Thread Simon
I tried to run some code that worked last week, and it is now failing
against the sandbox.

The error message is rather unhelpful: Fault occurred while
processing..

Any ideas?

The operation was ADD a campaign.

soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/
envelope/soap:HeaderResponseHeader xmlns=https://
adwords.google.com/api/adwords/cm/
v200909requestIda5e2ba5c266feaf64868ab4e4fe3856c/
requestIdoperations1/operationsresponseTime127/
responseTimeunits1/units/ResponseHeader/
soap:Headersoap:Bodysoap:Faultfaultcodesoap:Server/
faultcodefaultstringFault occurred while processing./faultstring/
soap:Fault/soap:Body/soap:Envelope


Regards,
Simon

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

To unsubscribe, reply using remove me as the subject.


AdWords API Re: Fault occurred while processing

2010-04-06 Thread AdWords API Advisor
Hi Simon,

The sandbox was reset last Friday, so this could be just a temporary
glitch while trying to re-create your account.  Can you try this
request again?

Best,
- Eric Koleda, AdWords API Team

On Apr 6, 1:09 am, Simon simon.kitch...@airnz.co.nz wrote:
 I tried to run some code that worked last week, and it is now failing
 against the sandbox.

 The error message is rather unhelpful: Fault occurred while
 processing..

 Any ideas?

 The operation was ADD a campaign.

 soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/
 envelope/soap:HeaderResponseHeader xmlns=https://
 adwords.google.com/api/adwords/cm/
 v200909requestIda5e2ba5c266feaf64868ab4e4fe3856c/
 requestIdoperations1/operationsresponseTime127/
 responseTimeunits1/units/ResponseHeader/
 soap:Headersoap:Bodysoap:Faultfaultcodesoap:Server/
 faultcodefaultstringFault occurred while processing./faultstring/
 soap:Fault/soap:Body/soap:Envelope

 Regards,
 Simon

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

To unsubscribe, reply using remove me as the subject.


AdWords API Re: Fault occurred while processing

2010-04-06 Thread Simon
/soapenv:Envelope

== 09:16:51,168 DEBUG [request_info] email=##...@gmail.com
effectiveuser=client_1+#...@gmail.com service=CampaignService
method=mutate operators={ADD: 1} responseTime=371 operations=1 units=1
requestId=7630c34e2b28c62aca799b0f83ff29a0 server=https://adwords-
sandbox.google.com isFault=true faultMessage=Fault occurred while
processing.

== 09:16:51,168 DEBUG [soap_xml]
?xml version=1.0 encoding=UTF-8?
soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
soap:Header
ResponseHeader xmlns=https://adwords.google.com/api/adwords/cm/
v200909
requestId7630c34e2b28c62aca799b0f83ff29a0/requestId
operations1/operations
responseTime371/responseTime
units1/units
/ResponseHeader
/soap:Header
soap:Body
soap:Fault
faultcodesoap:Server/faultcode
faultstringFault occurred while processing./faultstring
/soap:Fault
/soap:Body
/soap:Envelope

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

To unsubscribe, reply using remove me as the subject.


AdWords API Re: Fault occurred while processing in python call to TargetingIdeaService

2010-03-23 Thread AdWords API Advisor
Hi,

Please see my response on your other thread:

  
http://groups.google.com/group/adwords-api/browse_thread/thread/ad9bbd5ae29b64a9/

Best,
- Eric Koleda, AdWords API Team

On Mar 23, 1:35 am, dsay dhavalsha...@gmail.com wrote:
 With changed headers , this is the dump

 *** Outgoing HTTP headers
 **
 POST /api/adwords/o/v200909/TargetingIdeaService HTTP/1.0
 Host: adwords-sandbox.google.com
 User-agent: SOAPpy 0.12.0 (http://pywebsvcs.sf.net)
 Content-type: text/xml; charset=UTF-8
 Content-length: 1125
 SOAPAction: get
 
 *** Outgoing SOAP
 **
 ?xml version=1.0 encoding=UTF-8?
 SOAP-ENV:Envelope
   SOAP-ENV:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/;
   xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/;

 SOAP-ENV:Header
 requestheader xmlns=https://adwords.google.com/api/adwords/cm/
 v200909
         emailEMAIL/email
         passwordPW/password
         useragentUA/useragent
         developertokenEMAIL++USD/developertoken
         /requestheader
 /SOAP-ENV:Header
 SOAP-ENV:Body
 ns1:get xmlns:ns1=https://adwords.google.com/api/adwords/o/
 v200909/
 selector
         searchParameters
             typeRelatedToKeywordSearchParameter/type
             keywords
                 textSpace/text
                 matchTypeBROAD/matchType
             /keywords
         /searchParameters
         ideaTypeKEYWORD/ideaType
         requestTypeIDEAS/requestType
         paging
             startIndex0/startIndex
             numberResults100/numberResults
         /paging
     /selector
 /ns1:get
 /SOAP-ENV:Body
 /SOAP-ENV:Envelope
 
 *** Incoming HTTP headers
 **
 HTTP/1.? 500 Internal Server Error
 Content-Type: text/xml; charset=UTF-8
 Date: Tue, 23 Mar 2010 05:30:27 GMT
 Expires: Tue, 23 Mar 2010 05:30:27 GMT
 Cache-Control: private, max-age=0
 X-Content-Type-Options: nosniff
 X-Frame-Options: SAMEORIGIN
 Server: GSE
 X-XSS-Protection: 0
 
 *** Incoming SOAP
 **
 soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/
 envelope/soap:Bodysoap:Faultfaultcodesoap:Server/
 faultcodefaultstringFault occurred while processing./faultstring/
 soap:Fault/soap:Body/soap:Envelope
 

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


AdWords API Re: Fault occurred while processing in python call to TargetingIdeaService

2010-03-22 Thread dsay
With changed headers , this is the dump

*** Outgoing HTTP headers
**
POST /api/adwords/o/v200909/TargetingIdeaService HTTP/1.0
Host: adwords-sandbox.google.com
User-agent: SOAPpy 0.12.0 (http://pywebsvcs.sf.net)
Content-type: text/xml; charset=UTF-8
Content-length: 1125
SOAPAction: get

*** Outgoing SOAP
**
?xml version=1.0 encoding=UTF-8?
SOAP-ENV:Envelope
  SOAP-ENV:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/;
  xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/;

SOAP-ENV:Header
requestheader xmlns=https://adwords.google.com/api/adwords/cm/
v200909
emailEMAIL/email
passwordPW/password
useragentUA/useragent
developertokenEMAIL++USD/developertoken
/requestheader
/SOAP-ENV:Header
SOAP-ENV:Body
ns1:get xmlns:ns1=https://adwords.google.com/api/adwords/o/
v200909/
selector
searchParameters
typeRelatedToKeywordSearchParameter/type
keywords
textSpace/text
matchTypeBROAD/matchType
/keywords
/searchParameters
ideaTypeKEYWORD/ideaType
requestTypeIDEAS/requestType
paging
startIndex0/startIndex
numberResults100/numberResults
/paging
/selector
/ns1:get
/SOAP-ENV:Body
/SOAP-ENV:Envelope

*** Incoming HTTP headers
**
HTTP/1.? 500 Internal Server Error
Content-Type: text/xml; charset=UTF-8
Date: Tue, 23 Mar 2010 05:30:27 GMT
Expires: Tue, 23 Mar 2010 05:30:27 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
Server: GSE
X-XSS-Protection: 0

*** Incoming SOAP
**
soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/
envelope/soap:Bodysoap:Faultfaultcodesoap:Server/
faultcodefaultstringFault occurred while processing./faultstring/
soap:Fault/soap:Body/soap:Envelope


-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


AdWords API Fault occurred while processing in python call to TargetingIdeaService

2010-03-20 Thread dsay
Heres the debug dump, not sure what is missing. I am using SOAPpy
without client lib

*** Outgoing HTTP headers
**
POST /api/adwords/o/v200909/TargetingIdeaService HTTP/1.0
Host: adwords-sandbox.google.com
User-agent: SOAPpy 0.12.0 (http://pywebsvcs.sf.net)
Content-type: text/xml; charset=UTF-8
Content-length: 1407
SOAPAction: get

*** Outgoing SOAP
**
?xml version=1.0 encoding=UTF-8?
SOAP-ENV:Envelope
  SOAP-ENV:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/;
  xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/;

SOAP-ENV:Header
requestheader xmlns=https://adwords.google.com/api/adwords/cm/
v200909
authtokenTOK/authtoken
 useragentUA/useragent
developertokenTOK/developertoken
applicationtokenTOK/applicationtoken
clientemailEMAIL/clientemail
/requestheader
/SOAP-ENV:Header
SOAP-ENV:Body
ns1:get xmlns:ns1=https://adwords.google.com/api/adwords/o/
v200909/
selector
searchParameters
typeRelatedToKeywordSearchParameter/type
keywords
textSpace/text
matchTypeBROAD/matchType
/keywords
/searchParameters
ideaTypeKEYWORD/ideaType
requestTypeIDEAS/requestType
paging
startIndex0/startIndex
numberResults100/numberResults
/paging
/selector
/ns1:get
/SOAP-ENV:Body
/SOAP-ENV:Envelope

*** Incoming HTTP headers
**
HTTP/1.? 500 Internal Server Error
Content-Type: text/xml; charset=UTF-8
Date: Sat, 20 Mar 2010 20:32:30 GMT
Expires: Sat, 20 Mar 2010 20:32:30 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
Server: GSE
X-XSS-Protection: 0

*** Incoming SOAP
**
soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/
envelope/soap:Bodysoap:Faultfaultcodesoap:Server/
faultcodefaultstringFault occurred while processing./faultstring/
soap:Fault/soap:Body/soap:Envelope


-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


AdWords API Re: Fault occurred while processing - Is it an Internal Error???

2010-01-29 Thread AdWords API Advisor
Hi,

Which URL are you using to create your service?  I think you may be
sending a v2009 request to a v13 endpoint.

Best,
- Eric Koleda, AdWords API Team

On Jan 28, 2:03 pm, shriny shr...@gmail.com wrote:
 I just tried a simple add campaigns and got this error,
 Fault occurred while processing

 Out Soap Message says
 soap:Bodysoap:Fault
 faultcodesoap:Server/faultcode
 faultstringFault occurred while processing./faultstring
 /soap:Fault
 /soap:Body

 Here is my soap resquest and response.

 ===
 = Elapsed: 274 milliseconds
 = In message: ?xml version=1.0 encoding=UTF-8?
 soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/
 envelope/ xmlns:xsd=http://www.w3.org/2001/XMLSchema;
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 soapenv:Header
 ns1:email soapenv:actor=http://schemas.xmlsoap.org/soap/actor/next;
 soapenv:mustUnderstand=0 xmlns:ns1=https://adwords.google.com/api/
 adwords/cm/v200909emailid/ns1:email
 ns2:authToken soapenv:actor=http://schemas.xmlsoap.org/soap/actor/
 next soapenv:mustUnderstand=0 xmlns:ns2=https://adwords.google.com/
 api/adwords/cm/v200909authtoken/ns2:authToken
 ns3:useragent soapenv:actor=http://schemas.xmlsoap.org/soap/actor/
 next soapenv:mustUnderstand=0 xmlns:ns3=https://adwords.google.com/
 api/adwords/cm/v200909AdWords API Java Sample Code/ns3:useragent
 ns4:developerToken soapenv:actor=http://schemas.xmlsoap.org/soap/
 actor/next soapenv:mustUnderstand=0 xmlns:ns4=https://
 adwords.google.com/api/adwords/cm/v200909xxx/ns4:developerToken
 ns5:applicationToken soapenv:actor=http://schemas.xmlsoap.org/soap/
 actor/next soapenv:mustUnderstand=0 xmlns:ns5=https://
 adwords.google.com/api/adwords/cm/v200909xxx-xxx/
 ns5:applicationToken
 /soapenv:Header
 soapenv:Body
 mutate xmlns=https://adwords.google.com/api/adwords/cm/v200909;
 operations
 operatorADD/operator
 operand
 nameSample Campaign/name
 statusACTIVE/status
 budget
 periodDAILY/period
 amount
 ComparableValue.TypeUSD/ComparableValue.Type
 microAmount5000/microAmount/amount
 deliveryMethodSTANDARD/deliveryMethod
 /budget
 biddingStrategy xsi:type=ns6:ManualCPC xmlns:ns6=https://
 adwords.google.com/api/adwords/cm/v200909/
 /operand
 /operations
 /mutate
 /soapenv:Body
 /soapenv:Envelope
 = Out message: soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/
 soap/envelope/
 soap:Bodysoap:Fault
 faultcodesoap:Server/faultcode
 faultstringFault occurred while processing./faultstring
 /soap:Fault
 /soap:Body/soap:Envelope
 ===

-- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To post to this group, send email to adwords-...@googlegroups.com.
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en.



AdWords API Re: Fault occurred while processing - Is it an Internal Error???

2010-01-29 Thread shriny
Hi Eric,

I am using this url

https://adwords.google.com/api/adwords/cm/v200909/CampaignService

hope this is the correct one

-Shriny

On Jan 29, 8:08 am, AdWords API Advisor adwordsapiadvi...@google.com
wrote:
 Hi,

 Which URL are you using to create your service?  I think you may be
 sending a v2009 request to a v13 endpoint.

 Best,
 - Eric Koleda, AdWords API Team

 On Jan 28, 2:03 pm, shriny shr...@gmail.com wrote:

  I just tried a simple add campaigns and got this error,
  Fault occurred while processing

  Out Soap Message says
  soap:Bodysoap:Fault
  faultcodesoap:Server/faultcode
  faultstringFault occurred while processing./faultstring
  /soap:Fault
  /soap:Body

  Here is my soap resquest and response.

  ===
  = Elapsed: 274 milliseconds
  = In message: ?xml version=1.0 encoding=UTF-8?
  soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/
  envelope/ xmlns:xsd=http://www.w3.org/2001/XMLSchema;
  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  soapenv:Header
  ns1:email soapenv:actor=http://schemas.xmlsoap.org/soap/actor/next;
  soapenv:mustUnderstand=0 xmlns:ns1=https://adwords.google.com/api/
  adwords/cm/v200909emailid/ns1:email
  ns2:authToken soapenv:actor=http://schemas.xmlsoap.org/soap/actor/
  next soapenv:mustUnderstand=0 xmlns:ns2=https://adwords.google.com/
  api/adwords/cm/v200909authtoken/ns2:authToken
  ns3:useragent soapenv:actor=http://schemas.xmlsoap.org/soap/actor/
  next soapenv:mustUnderstand=0 xmlns:ns3=https://adwords.google.com/
  api/adwords/cm/v200909AdWords API Java Sample Code/ns3:useragent
  ns4:developerToken soapenv:actor=http://schemas.xmlsoap.org/soap/
  actor/next soapenv:mustUnderstand=0 xmlns:ns4=https://
  adwords.google.com/api/adwords/cm/v200909xxx/ns4:developerToken
  ns5:applicationToken soapenv:actor=http://schemas.xmlsoap.org/soap/
  actor/next soapenv:mustUnderstand=0 xmlns:ns5=https://
  adwords.google.com/api/adwords/cm/v200909xxx-xxx/
  ns5:applicationToken
  /soapenv:Header
  soapenv:Body
  mutate xmlns=https://adwords.google.com/api/adwords/cm/v200909;
  operations
  operatorADD/operator
  operand
  nameSample Campaign/name
  statusACTIVE/status
  budget
  periodDAILY/period
  amount
  ComparableValue.TypeUSD/ComparableValue.Type
  microAmount5000/microAmount/amount
  deliveryMethodSTANDARD/deliveryMethod
  /budget
  biddingStrategy xsi:type=ns6:ManualCPC xmlns:ns6=https://
  adwords.google.com/api/adwords/cm/v200909/
  /operand
  /operations
  /mutate
  /soapenv:Body
  /soapenv:Envelope
  = Out message: soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/
  soap/envelope/
  soap:Bodysoap:Fault
  faultcodesoap:Server/faultcode
  faultstringFault occurred while processing./faultstring
  /soap:Fault
  /soap:Body/soap:Envelope
  ===

-- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To post to this group, send email to adwords-...@googlegroups.com.
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en.



AdWords API Re: Fault occurred while processing - Is it an Internal Error???

2010-01-29 Thread AdWords API Advisor
Hi,

The problem appears to be that their header isn't set correctly. I'm
not sure how clearly we document it right now, but unlike v13 instead
of setting each header directly you need to set one header called
RequestHeader which then has a field for each of the header values:

SOAP-ENV:Header
  RequestHeader xmlns= https://adwords.google.com/api/adwords/cm/v200906;
authTokenINSERT_AUTHENTICATION_TOKEN_HERE/authToken
userAgentINSERT_USERAGENT_HERE/userAgent
developerTokenINSERT_DEVELOPER_TOKEN_HERE/developerToken
applicationTokenINSERT_APPLICATION_TOKEN_HERE/applicationToken
clientEmailINSERT_CLIENT_LOGIN_EMAIL_HERE/clientEmail
  /RequestHeader
/SOAP-ENV:Header

Best,
- Eric

On Jan 29, 1:57 pm, shriny shr...@gmail.com wrote:
 Hi Eric,

 I am using this url

 https://adwords.google.com/api/adwords/cm/v200909/CampaignService

 hope this is the correct one

 -Shriny

 On Jan 29, 8:08 am, AdWords API Advisor adwordsapiadvi...@google.com
 wrote:



  Hi,

  Which URL are you using to create your service?  I think you may be
  sending a v2009 request to a v13 endpoint.

  Best,
  - Eric Koleda, AdWords API Team

  On Jan 28, 2:03 pm, shriny shr...@gmail.com wrote:

   I just tried a simple add campaigns and got this error,
   Fault occurred while processing

   Out Soap Message says
   soap:Bodysoap:Fault
   faultcodesoap:Server/faultcode
   faultstringFault occurred while processing./faultstring
   /soap:Fault
   /soap:Body

   Here is my soap resquest and response.

   ===
   = Elapsed: 274 milliseconds
   = In message: ?xml version=1.0 encoding=UTF-8?
   soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/
   envelope/ xmlns:xsd=http://www.w3.org/2001/XMLSchema;
   xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
   soapenv:Header
   ns1:email soapenv:actor=http://schemas.xmlsoap.org/soap/actor/next;
   soapenv:mustUnderstand=0 xmlns:ns1=https://adwords.google.com/api/
   adwords/cm/v200909emailid/ns1:email
   ns2:authToken soapenv:actor=http://schemas.xmlsoap.org/soap/actor/
   next soapenv:mustUnderstand=0 xmlns:ns2=https://adwords.google.com/
   api/adwords/cm/v200909authtoken/ns2:authToken
   ns3:useragent soapenv:actor=http://schemas.xmlsoap.org/soap/actor/
   next soapenv:mustUnderstand=0 xmlns:ns3=https://adwords.google.com/
   api/adwords/cm/v200909AdWords API Java Sample Code/ns3:useragent
   ns4:developerToken soapenv:actor=http://schemas.xmlsoap.org/soap/
   actor/next soapenv:mustUnderstand=0 xmlns:ns4=https://
   adwords.google.com/api/adwords/cm/v200909xxx/ns4:developerToken
   ns5:applicationToken soapenv:actor=http://schemas.xmlsoap.org/soap/
   actor/next soapenv:mustUnderstand=0 xmlns:ns5=https://
   adwords.google.com/api/adwords/cm/v200909xxx-xxx/
   ns5:applicationToken
   /soapenv:Header
   soapenv:Body
   mutate xmlns=https://adwords.google.com/api/adwords/cm/v200909;
   operations
   operatorADD/operator
   operand
   nameSample Campaign/name
   statusACTIVE/status
   budget
   periodDAILY/period
   amount
   ComparableValue.TypeUSD/ComparableValue.Type
   microAmount5000/microAmount/amount
   deliveryMethodSTANDARD/deliveryMethod
   /budget
   biddingStrategy xsi:type=ns6:ManualCPC xmlns:ns6=https://
   adwords.google.com/api/adwords/cm/v200909/
   /operand
   /operations
   /mutate
   /soapenv:Body
   /soapenv:Envelope
   = Out message: soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/
   soap/envelope/
   soap:Bodysoap:Fault
   faultcodesoap:Server/faultcode
   faultstringFault occurred while processing./faultstring
   /soap:Fault
   /soap:Body/soap:Envelope
   ===

-- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To post to this group, send email to adwords-...@googlegroups.com.
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en.



AdWords API Re: Api 2009: Fault occurred while processing

2009-10-06 Thread AdWords API Advisor

Hi,

Thank you for bringing this to our attention.  It does appear that
this is an invalid character problem, and I agree that the error
message is not very helpful.  I'll talk with the core engineering team
to see if we can improve the error message returned.

Best,
- Eric Koleda, AdWords API Team

On Oct 4, 7:51 am, Ales Sturala stur...@gmail.com wrote:
 Hello,
 I'm getting an error 'Fault occurred while processing' when using the
 new AdWords Api 2009. I found that it's caused by an ad with display
 urlwww.server.com/Òrrius. What I expect is that an AdWords error will
 be returned with details saying that there is an invalid character 'Ò'
 in display url. Unfortunately only general exception 'Fault occurred
 while processing' is returned without any additional details.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~--~~~~--~~--~--~---



AdWords API Api 2009: Fault occurred while processing

2009-10-04 Thread Ales Sturala

Hello,
I'm getting an error 'Fault occurred while processing' when using the
new AdWords Api 2009. I found that it's caused by an ad with display
url www.server.com/Òrrius. What I expect is that an AdWords error will
be returned with details saying that there is an invalid character 'Ò'
in display url. Unfortunately only general exception 'Fault occurred
while processing' is returned without any additional details.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~--~~~~--~~--~--~---



AdWords API problems moving from v11 to v200902: intermittent Fault occurred while processing.

2009-06-16 Thread SmartFlix.com / HeavyInk.com

I see that the adwords API has moved from v11 to v200902.

So: I've reworked my old, working Ruby code that used adwords4r (v11
or so) to use the most recent version of adwords4r (15.1.0).

I'm doing everything in the sandbox.

My code first creates a campaign, then an adgroup, then an ad and
keywords.

I get intermittent success with each of these steps.  Sometimes I can
create a campaign.  Other times, I try, and get a SOAP error Fault
occurred while processing..   In these cases, if I re-run the code, I
get an error telling me that a duplicate name is being used -
apparently the earlier call worked after all?

I get the same exact behavior at each of the various mutate(ADD)
operations: sometimes success, sometimes failures that later appear to
have worked.

Does anyone else see anything like this?

Here's an example of a failing SOAP call:

?xml version=1.0 encoding=utf-8 ?
env:Envelope xmlns:xsd=http://www.w3.org/2001/XMLSchema;
xmlns:env=http://schemas.xmlsoap.org/soap/envelope/;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  env:Header
n1:RequestHeader xmlns:n1=https://adwords.google.com/api/
adwords/cm/v200902
env:mustUnderstand=0
  n1:clientEmailclient_1+admin_goo...@smartflix.com/
n1:clientEmail
 
n1:authTokenDQAAAHQAAABz7YINNOG4i1W1r4aKMioCICNUB8kpD1J7_RVeugsQldeDKP12G89PzUMBMgbKoMVi9JxiBMtq6sIL0X1zdzjj545E8WeRJLr7emJIDVs-
crMiS1Dczec2Z6WwYmUFCjM-v6bXb-_A20QHsNL5YTytUn3ZFGGQj2WYPLMEqNAViQ/
n1:authToken
/n1:RequestHeader
  /env:Header
  env:Body
n2:mutate xmlns:n2=https://adwords.google.com/api/adwords/cm/
v200902
  n2:operations xsi:type=n2:AdGroupCriterionOperation
n2:operatorADD/n2:operator
n2:operand xsi:type=n2:BiddableAdGroupCriterion
  n2:adGroupId
n2:id5100017218/n2:id
  /n2:adGroupId
  n2:criterion xsi:type=n2:Keyword
n2:textlearn Jewelry Making/n2:text
n2:matchTypeBROAD/n2:matchType
  /n2:criterion
/n2:operand
  /n2:operations
/n2:mutate
  /env:Body
/env:Envelope


= Response


HTTP/1.1 200 OK

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

Transfer-Encoding: chunked

Date: Tue, 16 Jun 2009 23:33:10 GMT

Expires: Tue, 16 Jun 2009 23:33:10 GMT

Cache-Control: private, max-age=0

X-Content-Type-Options: nosniff

Server: GFE/2.0



E3

soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/
envelope/soap:Bodysoap:Faultfaultcodesoap:Server/
faultcodefaultstringFault occurred while processing./faultstring/
soap:Fault/soap:Body/soap:Envelope



Also: does the Adwords admin interface exist for the sandbox, so that
I can log in and see what my code has, or has not, accomplished?

Thanks in advance,


Travis J I Corcoran, President
SmartFlix

--
http://SmartFlix.com/
web's biggest how-to DVD rental store




--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~--~~~~--~~--~--~---



AdWords API Re: Fault occurred while processing error

2009-06-11 Thread AdWords API Advisor

Hello,

 Ah, okay, if you plan on accessing the v200902 Sandbox then APIlity
is not (yet) an option. The sample code will have to make do.

 We just started seeing [RangeError.TOO_LOW @ operations
[0].operand.budget.amount] errors with our v200902 code as well, and
it's been reported to the core engineering team. I think it's an
inadvertent constraint that was introduced in a recent build.
Apologies that it's causing issues for you in the meantime, and I'll
let you know when it's resolved.

Cheers,
-Jeff Posnick, AdWords API Team


On Jun 11, 3:06 am, gbase 1staudiovisual
gbase1staudiovis...@gmail.com wrote:
 Hello Jeff,
 Question, Is APIlity support for v2009 sandbox?
 I already try this choice, but it is not work. So I not sure that, it
 is my fault or not.
 Because it has not any message from server(I already set debug ini to
 be yes).

 For my code the sample code, I attach xml

 
 soap-env:envelope xmlns:ns6558=http://tempuri.org; xmlns:soap-
 enc=http://schemas.xmlsoap.org/soap/encoding/; 
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
 xmlns:xsd=http://www.w3.org/2001/
 XMLSchema xmlns:soap-env=http://schemas.xmlsoap.org/soap/envelope/;
 soap-env:header
 requestheader xmlns=https://adwords.google.com/api/adwords/cm/
 v200902
 authtokenDQAAAHkAAaDhJBbcXiu01T3KHojXUFkHuhevk11hQu5Aqh8BQ-
 kzdCjlYmD3zLTfiJ1qHbPAaS0MP7iBC_FrTO9xa9p6FKI4NZ3jCI-
 vl2ehZcmmHoFBA_t4guLyIg9Bs_YL_edsdnLLOGTJ5n2PvrKmoQY4gfb0vjItGLn0qN-
 qHJ_uxMK98Q/authtoken
 clientemailgbase1staudiovis...@gmail.com/clientemail
 /requestheader
 /soap-env:header
 soap-env:body
 mutate xmlns=https://adwords.google.com/api/adwords/cm/v200902;
 operations
 operatorADD/operator
 operand
 nameSample Campaign/name
 statusACTIVE/status
 biddingstrategy xsi:type=ManualCPC
 budget
 periodDAILY/period
 amount
 currencycodeUSD/currencycode
 microamount5000/microamount
 /amount
 deliverymethodSTANDARD/deliverymethod
 /budget
 /biddingstrategy
 /operand
 /operations
 /mutate
 /soap-env:body
 HTTP/1.1 200 OK Content-Type: text/xml; charset=UTF-8 Transfer-
 Encoding: chunked Date: Thu, 11 Jun 2009 06:52:47 GMT Expires: Thu, 11
 Jun 2009 06:52:47 GMT Cache-Control: private, max-age=0 X-Content-Type-
 Options: nosniff Server: GFE/2.0
 soap:envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
 soap:body
 soap:fault
 faultcodesoap:Server/faultcode
 faultstring[RangeError.TOO_LOW @ operations[0].operand.budget.amount]
 /faultstring
 /soap:fault
 /soap:body
 /soap:envelope
 br/
 br/
 Fault: 1 Code: soap:Server String: [RangeError.TOO_LOW @ operations
 [0].operand.budget.amount] Detail:
 /soap-env:envelope
 

 I try to find any option to attach file, but not found. Sorry for this
 very long text.
 Thank you for your kindness

 On Jun 11, 12:59 am, AdWords API Advisor



 adwordsapiadvi...@google.com wrote:
  Hello,

   If you're not familiar with the AdWords API at all, then I'd
  recommend you give the APIlity PHP client library a try, as it
  simplifies the otherwise manual process of creating the SOAP XML in
  PHP:

   http://google-apility.sourceforge.net/

   If you'd like to stick with using the sample code then we can debug
  that if you turn debugging on ($debug = 1;) and post the request and
  response SOAP XML messages that your code is sending and receiving. Be
  sure to X out your password and token information before posting.

  Cheers,
  -Jeff Posnick, AdWords API Team

  On Jun 10, 4:21 am, gbase1staudiovis...@gmail.com

  gbase1staudiovis...@gmail.com wrote:
   I am a new adword user. I get the code 
   fromhttp://code.google.com/p/adwords-api-php-samples/source/browse/trunk/

   First times that I run this script I get error, then I change request
   xml follow the xml example and the error gone.

   But,after I run the script again, I get Fault occurred while
   processing message and it has not any more detail.

   Thk 4 any help 
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~--~~~~--~~--~--~---



AdWords API Fault occurred while processing error

2009-06-10 Thread gbase1staudiovis...@gmail.com

I am a new adword user. I get the code from
http://code.google.com/p/adwords-api-php-samples/source/browse/trunk/src/v200902/add_campaign.php.

First times that I run this script I get error, then I change request
xml follow the xml example and the error gone.

But,after I run the script again, I get Fault occurred while
processing message and it has not any more detail.

Thk 4 any help 

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~--~~~~--~~--~--~---



AdWords API Re: Fault occurred while processing error

2009-06-10 Thread AdWords API Advisor

Hello,

 If you're not familiar with the AdWords API at all, then I'd
recommend you give the APIlity PHP client library a try, as it
simplifies the otherwise manual process of creating the SOAP XML in
PHP:

  http://google-apility.sourceforge.net/

 If you'd like to stick with using the sample code then we can debug
that if you turn debugging on ($debug = 1;) and post the request and
response SOAP XML messages that your code is sending and receiving. Be
sure to X out your password and token information before posting.

Cheers,
-Jeff Posnick, AdWords API Team


On Jun 10, 4:21 am, gbase1staudiovis...@gmail.com
gbase1staudiovis...@gmail.com wrote:
 I am a new adword user. I get the code 
 fromhttp://code.google.com/p/adwords-api-php-samples/source/browse/trunk/

 First times that I run this script I get error, then I change request
 xml follow the xml example and the error gone.

 But,after I run the script again, I get Fault occurred while
 processing message and it has not any more detail.

 Thk 4 any help 
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~--~~~~--~~--~--~---