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.


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 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,

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.


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: 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 - 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
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"]=>
>   

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-"
["displayName"]=>
string(73) ""
["id"]=>
string(11) ""
["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 exceptio

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

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.
>>>>>>&

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 
&

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
>>>>>
>>>>> 
>>>>> http://schemas.xmlsoap.org/soap/envelope/"

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
>>>>
>>>> 
>>>> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:ns1="
>>>> https://adwords.google.com/api/adwords/cm/v201209";>
>>>>   
>>>> 
>>>>   *
>>>>   123456789
>>>>   1563418token
>>>>   ZoinedTool (AwApi/3.1.1, 
>>>> php/5.3.15)
>>>> 
>>>>   
>>>>   
>>>> 
>>>>   
>>>> ADD
>>>>     
>>>>   TestCampaign #5102b22d772b2
>>>>   DAILY
>>>>   
>>>> 5000
>>>>   
>>>>   STANDARD
>>>> 
>>>>   
>>>> 
>>>>   
>>>> 
>>>>
>>>> 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
>>>>
>>>

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.000000 - 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
>>>
>>> 
>>> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:ns1="
>>> https://adwords.google.com/api/adwords/cm/v201209";>
>>>   
>>> 
>>>   *
>>>   123456789
>>>   1563418token
>>>   ZoinedTool (AwApi/3.1.1, php/5.3.15)
>>> 
>>>   
>>>   
>>> 
>>>   
>>> ADD
>>> 
>>>   TestCampaign #5102b22d772b2
>>>   DAILY
>>>   
>>> 5000
>>>   
>>>   STANDARD
>>> 
>>>   
>>> 
>>>   
>>> 
>>>
>>> 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
>>>
>>> 
>>> http://schemas.xmlsoap.org/soap/envelope/";>
>>>   
>>> https://adwords.google.com/api/adwords/cm/v201209";>
>>>   0004d41f6311eb200ae544246b17
>>>   BudgetService
>>>   mutate
>>>   0
>>>   108
>>>   0
>>> 
>>>   
>>>   
>>> 
>>>   soap:Server
>>>   Fault occurred while processing.
>>> 
>>>   
>>> 
>>>
>>>
>>>
>>> The code is practically the same as in the example, I only modified it 
>>> so it actually runs:
>>>
>>> 

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
>>
>> 
>> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:ns1="
>> https://adwords.google.com/api/adwords/cm/v201209";>
>>   
>> 
>>   *
>>   123456789
>>   1563418token
>>   ZoinedTool (AwApi/3.1.1, php/5.3.15)
>> 
>>   
>>   
>> 
>>   
>> ADD
>> 
>>   TestCampaign #5102b22d772b2
>>   DAILY
>>   
>> 5000
>>   
>>   STANDARD
>> 
>>   
>> 
>>   
>> 
>>
>> 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
>>
>> 
>> http://schemas.xmlsoap.org/soap/envelope/";>
>>   
>> https://adwords.google.com/api/adwords/cm/v201209";>
>>   0004d41f6311eb200ae544246b17
>>   BudgetService
>>   mutate
>>   0
>>   108
>>   0
>> 
>>   
>>   
>> 
>>   soap:Server
>>   Fault occurred while processing.
>> 
>>   
>> 
>>
>>
>>
>> The code is practically the same as in the example, I only modified it so 
>> it actually runs:
>>
>> >
>>
>> 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 oper

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
>
> 
> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:ns1="
> https://adwords.google.com/api/adwords/cm/v201209";>
>   
> 
>   *
>   123456789
>   987654321token
>   TestTool (AwApi/3.1.1, php/5.3.15)
> 
>   
>   
> 
>   
> ADD
> 
>   TestCampaign #5102bade7612e
>   DAILY
>   
> 5000
>   
>   STANDARD
> 
>   
> 
>   
> 
>
> 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
>
> 
> http://schemas.xmlsoap.org/soap/envelope/";>
>   
> https://adwords.google.com/api/adwords/cm/v201209";>
>   0004d41fe7adf2700ae5630d1737
>   BudgetService
>   mutate
>   0
>   73
>   0
> 
>   
>   
> 
>   soap:Server
>   Fault occurred while processing.
> 
>   
> 
>
>
> Here is the code for the script, it's practically the same as the example, 
> only with some modifications so it actually works:
>
>  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 (recomme

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
>
> 
> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:ns1="
> https://adwords.google.com/api/adwords/cm/v201209";>
>   
> 
>   *
>   123456789
>   1563418token
>   ZoinedTool (AwApi/3.1.1, php/5.3.15)
> 
>   
>   
> 
>   
> ADD
> 
>   TestCampaign #5102b22d772b2
>   DAILY
>   
> 5000
>   
>   STANDARD
> 
>   
> 
>   
> 
>
> 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
>
> 
> http://schemas.xmlsoap.org/soap/envelope/";>
>   
> https://adwords.google.com/api/adwords/cm/v201209";>
>   0004d41f6311eb200ae544246b17
>   BudgetService
>   mutate
>   0
>   108
>   0
> 
>   
>   
> 
>   soap:Server
>   Fault occurred while processing.
> 
>   
> 
>
>
>
> The code is practically the same as in the example, I only modified it so 
> it actually runs:
>
> 
>
> 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 (requir

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


http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201209";>
  

  *
  123456789
  1563418token
  ZoinedTool (AwApi/3.1.1, php/5.3.15)

  
  

  
ADD

  TestCampaign #5102b22d772b2
  DAILY
  
5000
  
  STANDARD

  

  


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


http://schemas.xmlsoap.org/soap/envelope/";>
  
https://adwords.google.com/api/adwords/cm/v201209";>
  0004d41f6311eb200ae544246b17
  BudgetService
  mutate
  0
  108
      0
    
  
  
    
  soap:Server
  Fault occurred while processing.

  




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

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 frequency cap (optional).
$frequencyCap = new FrequencyCap();
$frequencyCap->impressions = 5;
$frequencyCap->timeUnit = 'DAY';
$frequencyCap->level = 'ADGROUP';
$campaign->frequencyCap = $frequencyCap;

// Display network targeting settings (optional).
// It can only be enabled, shown only for demonstration purposes.
// If not set this setting is enabled by default on ADD operations.
$targetRestrictSetting = new TargetRestrictSetting();
$targetRestrictSetting->useAdGroup = TRUE;
$campaign->settings[] = $targetRestrictSetting;

// Set advanced location targeting settings (optional).
$geoTargetTypeSetting = new GeoTargetTy

"Fault occurred while processing" when adding a campaign

2013-01-27 Thread Timo Aarnio
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


http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201209";>
  

  *
  123456789
  987654321token
  TestTool (AwApi/3.1.1, php/5.3.15)

  
  

  
ADD

  TestCampaign #5102bade7612e
  DAILY
  
5000
  
  STANDARD

  

  


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


http://schemas.xmlsoap.org/soap/envelope/";>
  
https://adwords.google.com/api/adwords/cm/v201209";>
  0004d41fe7adf2700ae5630d1737
  BudgetService
  mutate
  0
      73
      0
    
  
  
    
  soap:Server
  Fault occurred while processing.

  



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

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 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 frequency cap (optional).
$frequencyCap = new FrequencyCap();
$frequencyCap->impressions = 5;
$frequencyCap->timeUnit = 'DAY';
$frequencyCap->level = 'ADGROUP';
$campaign->frequencyCap = $frequencyCap;

// Display network targeting settings (optional).
// It can only be enabled, shown only for demonstration purposes.
// If not set this setting is enabled by default on ADD operations.
$targetRestrictSetting = new TargetRestrictSetting();
$targetRestrictSetting->useAdGroup = TRUE;
$campaign->settings[] = $targetRestrictSetting;

// Set advanced location targeting settings (opti

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  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
> **
> 
> 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">
>   
>     https://adwords.google.com/api/adwords/cm/
> v201008">
>       
>       AwApi-Python-13.1.0|Test Client
>       2608417927
>       
>     
>   
>   https://adwords.google.com/api/adwords/cm/
> v201008">
>     https://adwords.google.com/api/adwords/cm/
> v201008">
>       
>         ADD
>         
>           
>             CampaignId
>             Id
>             
>               20100607
>               20110607
>             
>           
>           campaign keyword performance report ns1:reportName>
>
> CAMPAIGN_NEGATIVE_KEYWORDS_PERFORMANCE_REPORT ns1:reportType>
>           CUSTOM_DATE
>           GZIPPED_CSV
>         
>       
>       
>         ADD
>         
>           
>             CampaignId
>             Id
>             
>               20100607
>               20110607
>             
>           
>           campaign placement performance report ns1:reportName>
>
> CAMPAIGN_NEGATIVE_PLACEMENTS_PERFORMANCE_REPORT ns1:reportType>
>           CUSTOM_DATE
>           GZIPPED_CSV
>         
>       
>       
>         ADD
>         
>           
>             CampaignId
>             AdGroupId
>             Id
>             IsNegative
>             
>               CampaignStatus
>               EQUALS
>               ACTIVE
>             
>             
>               20100607
>               20110607
>             
>           
>           placement performance report ns1:reportName>
>           MANAGED_PLACEMENTS_PERFORMANCE_REPORT ns1:reportType>
>           CUSTOM_DATE
>           GZIPPED_CSV
>         
>       
>       
>         ADD
>         
>           
>             CampaignId
>             AdGroupId
>             Id
>             
>               CampaignStatus
>               EQUALS
>               ACTIVE
>             
>             
>               20100607
>               20110607
>             
>           
>           ad performance report
>           AD_PERFORMANCE_REPORT
>           CUSTOM_DATE
>           GZIPPED_CSV
>         
>       
>       
>         ADD
>         
>           
>             CampaignId
>             AdGroupId
>             Id
>             IsNegative
>             
>               CampaignStatus
>               EQUALS
>               ACTIVE
>             
>             
>               20100607
>               20110607
>             
>           
>           keyword performance report
>           KEYWORDS_PERFORMANCE_REPORT
>           CUSTOM_DATE
>           GZIPPED_CSV
>         
>       
>     
>   
> 
> 
> *** Incoming HTTP headers
> **
> 500 Internal Server Error
> Content-Type: text/xml; charset=UTF-8
> Content-Encoding: gzip
> Date: Tue, 07 Jun 2011 05:15:03 GMT
> Expires: Tue, 07 Jun 2011 05:15:03 GMT
> Cache-Control: private, max-age=0
> X-Content-Type-Options: nosniff
> X-Frame-Options: SAMEORIGIN
> X-XSS-Protection: 1; mode=block
> Content-Length: 283
> Server: GSE
> 
> *** Incoming SOAP
> **
> 
> http://schemas.xmlsoap.org/soap/envelope/";>
>  

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
**

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">
  
https://adwords.google.com/api/adwords/cm/
v201008">
  
  AwApi-Python-13.1.0|Test Client
  2608417927
  

  
  https://adwords.google.com/api/adwords/cm/
v201008">
https://adwords.google.com/api/adwords/cm/
v201008">
  
ADD

  
CampaignId
Id

  20100607
  20110607

  
  campaign keyword performance report
 
CAMPAIGN_NEGATIVE_KEYWORDS_PERFORMANCE_REPORT
  CUSTOM_DATE
  GZIPPED_CSV

  
  
ADD

  
CampaignId
Id

  20100607
  20110607

  
  campaign placement performance report
 
CAMPAIGN_NEGATIVE_PLACEMENTS_PERFORMANCE_REPORT
  CUSTOM_DATE
  GZIPPED_CSV

  
  
ADD

  
CampaignId
AdGroupId
Id
IsNegative

  CampaignStatus
  EQUALS
  ACTIVE


  20100607
  20110607

  
  placement performance report
  MANAGED_PLACEMENTS_PERFORMANCE_REPORT
  CUSTOM_DATE
  GZIPPED_CSV

  
  
ADD

  
CampaignId
AdGroupId
Id

  CampaignStatus
  EQUALS
  ACTIVE


  20100607
  20110607

  
  ad performance report
  AD_PERFORMANCE_REPORT
  CUSTOM_DATE
  GZIPPED_CSV

  
  
ADD

  
CampaignId
AdGroupId
Id
IsNegative

  CampaignStatus
  EQUALS
  ACTIVE


  20100607
  20110607

  
  keyword performance report
  KEYWORDS_PERFORMANCE_REPORT
  CUSTOM_DATE
  GZIPPED_CSV

  

  


*** Incoming HTTP headers
**
500 Internal Server Error
Content-Type: text/xml; charset=UTF-8
Content-Encoding: gzip
Date: Tue, 07 Jun 2011 05:15:03 GMT
Expires: Tue, 07 Jun 2011 05:15:03 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Content-Length: 283
Server: GSE

*** Incoming SOAP
**

http://schemas.xmlsoap.org/soap/envelope/";>
  
https://adwords.google.com/api/adwords/cm/
v201008">
  79cb89fd1b883085257acca8130e1228
  0
  265
  1

  
  

  soap:Server
  Fault occurred while processing.

  



-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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-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 
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.
>
> 
>   **
>   **
>   **
>   **
>   **
> 
>
> Cheers,
> Anash P. Oommen,
> AdWords API Advisor.
>
> On Dec 4, 12:41 am, Bill  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...
>
> > 
> >  > 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";>
> > 
> > 
> >  
> > xxx
> > x...@x.com++usd
> > x...@x.com
> > 
> > 
> > 
> > https://adwords.google.com/api/adwords/o/v201008";
> > xmlns:cm="https://adwords.google.com/api/adwords/cm/v201008";>
> > 
> > 
> > 
> > cat
> > BROAD
> > 
> > 
> > KEYWORD
> > IDEAS
> > 
> > 0
> > 100
> > 
> > 
> > 
> > 
> > 
>
> > 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.


  **
  **
  **
  **
  **


Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Dec 4, 12:41 am, Bill  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...
>
> 
>  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";>
> 
> 
>  
> xxx
> x...@x.com++usd
> x...@x.com
> 
> 
> 
> https://adwords.google.com/api/adwords/o/v201008";
> xmlns:cm="https://adwords.google.com/api/adwords/cm/v201008";>
> 
> 
> 
> cat
> BROAD
> 
> 
> KEYWORD
> IDEAS
> 
> 0
> 100
> 
> 
> 
> 
> 
>
> 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



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";>


 
xxx
x...@x.com++usd
x...@x.com



https://adwords.google.com/api/adwords/o/ v201008"
xmlns:cm="https://adwords.google.com/api/adwords/cm/v201008";>



cat
BROAD


KEYWORD
IDEAS

0
100







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"
 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):
>
> 
> http://www.w3.org/2001/XMLSchema";
>         xmlns:env="http://schemas.xmlsoap.org/soap/envelope/";
>         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
>         
>                 Dj-X-R2
>                 x
>                 x...@example.com
>                 client_1+...@example.com
>                 none
>                 x...@example.com++usd
>         
>         
>                 
>                         
>                                 10
>                                 mars cruise
>                                 Broad
>                         
>                 
>         
> 
>
> 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:
>
>  xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
> 
>         
>                 soap:Server
>                 Fault occurred while processing.
>         
> 
> 
>
> 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):


http://www.w3.org/2001/XMLSchema";
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>

Dj-X-R2
x
x...@example.com
client_1+...@example.com
none
x...@example.com++usd




10
mars cruise
Broad







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:

http://schemas.xmlsoap.org/soap/envelope/";>

    
    soap:Server
Fault occurred while processing.





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


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 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:



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/";>


TOKEN_HERE

DEVTOKEN_HERE
CLIENT_EMAIL_HERE
MY_AGENT
PASSWORD
EMAIL





ADD


AdGroupId
AdGroupName
AdGroupStatus
AdNetworkType1
AdNetworkType2
AverageCpc
AverageCpm
AveragePosition
BottomPosition
CampaignId
CampaignName
CampaignStatus
Clicks
ConversionRate
ConversionRateManyPerClick
Conversions
ConversionsManyPerClick
Cost
CostPerConversion
CostPerConversionManyPerClick
Ctr
DayOfWeek
DestinationUrl
Id
Impressions
IsNegative
KeywordMatchType
KeywordText
MaxCpm
Month
MonthOfYear
PlacementUrl
PreferredPosition
ProxyMaxCpc
QualityScore
Quarter
Status
Week
Year

Test Report
KEYWORDS_PERFORMANCE_REPORT
TODAY
GZIPPED_CSV







Here's the response I receive:
http://schemas.xmlsoap.org/soap/envelope/";>


soap:Server
Fault occurred while processing.






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." 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)"
 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:
> http://schemas.xmlsoap.org/soap/envelope/";>
>         
>                  xmlns="https://adwords.google.com/api/adwords/cm/
> v200909">
>                         
> 983004778bdef086a1c12fa497eb720c
>                         1
>                         7932
>                         1
>                 
>         
>         
>                 
>                         soap:Server
>                         Fault occurred while 
> processing.
>                 
>         
> 

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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:
http://schemas.xmlsoap.org/soap/envelope/";>

https://adwords.google.com/api/adwords/cm/
v200909">
983004778bdef086a1c12fa497eb720c
1
7932
1




soap:Server
    Fault occurred while 
processing.




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


Re: TargetingIdeaService "Fault occurred while processing"

2010-05-20 Thread AdWords API Advisor
Hi,

This error is being thrown because the RequestHeader element is in the
wrong namespace.  While the sub-elements (authToken, etc) must be in
the 'cm' namespace, the RequestHeader element must be in the 'o'
namespace.  If you correct this namespace your request should work
correctly.

Best,
- Eric Koleda, AdWords API Team

On May 20, 3:30 am, JZhang  wrote:
> hi,
>   I use vs.net 2008.
>   I get a strange fault as below.
>
> http://schemas.xmlsoap.org/soap/
> envelope/">soap:Server faultcode>Fault occurred while processing. soap:Fault>
>
> My soap request as below.
>
> 
> http://schemas.xmlsoap.org/soap/envelope/";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
> 
> https://adwords.google.com/api/adwords/cm/
> v200909">
> xxx
> xxx
> xxx
> xxx
> 
> 
> https://adwords.google.com/api/adwords/o/
> v200909"> xsi:type="RelatedToKeywordSearchParameter"> xmlns="https://adwords.google.com/api/adwords/cm/v200909";>IPAD text>https://adwords.google.com/api/adwords/cm/
> v200909">EXACT searchParameters>KEYWORDIDEAS requestType>
> 
>
> please help me.
> Thanks.
>
> --
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion 
> group:http://adwordsapi.blogspot.comhttp://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 
> athttp://groups.google.com/group/adwords-api?hl=en

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


TargetingIdeaService "Fault occurred while processing"

2010-05-20 Thread JZhang
hi,
  I use vs.net 2008.
  I get a strange fault as below.

http://schemas.xmlsoap.org/soap/
envelope/">soap:ServerFault occurred while processing.


My soap request as below.


http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>

https://adwords.google.com/api/adwords/cm/
v200909">
xxx
xxx
xxx
xxx


https://adwords.google.com/api/adwords/o/
v200909">https://adwords.google.com/api/adwords/cm/v200909";>IPADhttps://adwords.google.com/api/adwords/cm/
v200909">EXACTKEYWORDIDEAS



please help me.
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  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  wrote:
>
>
>
> > On Apr 8, 2:21 am, AdWords API Advisor 
> > 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  wrote:
> On Apr 8, 2:21 am, AdWords API Advisor 
> 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 Simon
On Apr 8, 2:21 am, AdWords API Advisor 
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  wrote:
> FYI, I've tested a GET campaigns request, and that works fine (returns
> 0). So authentication creds appear correctly configured here
>
> == request
>
> 
> http://schemas.xmlsoap.org/soap/
> envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
> 
> http://schemas.xmlsoap.org/soap/
> actor/next" soapenv:mustUnderstand="0" xmlns:ns1="https://
> adwords.google.com/api/adwords/cm/v200909">
> #
> client_1+#...@gmail.com
> ...@gmail.com++nzd
> AdWords API Java Client Library - v - GAS ns1:userAgent>
> false
> 
> 
> 
> https://adwords.google.com/api/adwords/cm/
> v200909">
> 
> 
> 
>
> == response
> http://schemas.xmlsoap.org/soap/envelope/";>
> 
> https://adwords.google.com/api/adwords/cm/
> v200909">
> 76c741d3e08da17322c0cf1b79719c60
> 1
> 125
> 1
> 
> 
> 
> https://adwords.google.com/api/adwords/cm/
> v200909">
> 
> 0
> CampaignPage
> 
> DAILY
> Money
> 0
> 
> STANDARD
> 
> 
> 
> 
> 

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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
FYI, I've tested a GET campaigns request, and that works fine (returns
0). So authentication creds appear correctly configured here

== request


http://schemas.xmlsoap.org/soap/
envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>

http://schemas.xmlsoap.org/soap/
actor/next" soapenv:mustUnderstand="0" xmlns:ns1="https://
adwords.google.com/api/adwords/cm/v200909">
#
client_1+#...@gmail.com
...@gmail.com++nzd
AdWords API Java Client Library - v - GAS
false



https://adwords.google.com/api/adwords/cm/
v200909">




== response
http://schemas.xmlsoap.org/soap/envelope/";>

https://adwords.google.com/api/adwords/cm/
v200909">
76c741d3e08da17322c0cf1b79719c60
1
125
1



https://adwords.google.com/api/adwords/cm/
v200909">

0
CampaignPage

DAILY
Money
0

STANDARD






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


On Apr 7, 3:57 am, AdWords API Advisor 
wrote:
> 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?

Still same problem today.

When using the v200909 API, there isn't any need to create a sandbox
account is there?
With the account I'm using, I can log into google adwords production
without problems.
As you can see below, I'm passing
clientEmail=client_1+production_account_id
developerToken=production_account_id++NZD
As I understand it, a sandbox account then gets created automatically.

I'm using the Java API, adwords-api-7.1.0-v2009.jar.

Here's the full logging from today (with userid and authtoken replaced
with #, and some linefeeds added).

Note that this code *did* work last week...

== 09:16:47,090 DEBUG [HTTPSender] Enter:  HTTPSender::invoke
== 09:16:48,715 DEBUG [HTTPSender] XML sent:
== 09:16:48,715 DEBUG [HTTPSender]
---
== 09:16:48,715 DEBUG [HTTPSender] POST /api/adwords/cm/v200909/
CampaignService HTTP/1.0
Content-Type: text/xml; charset=utf-8
Accept: application/soap+xml, application/dime, multipart/related,
text/*
User-Agent: Axis/1.4
Host: adwords-sandbox.google.com
Cache-Control: no-cache
Pragma: no-cache
SOAPAction: ""
Content-Length: 1373


http://schemas.xmlsoap.org/soap/
envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>

http://schemas.xmlsoap.org/soap/
actor/next" soapenv:mustUnderstand="0" xmlns:ns1="https://
adwords.google.com/api/adwords/cm/v200909">
###
client_1+#...@gmail.com
##...@gmail.com++nzd
AdWords API Java Client Library - v - GAS
false



https://adwords.google.com/api/adwords/cm/v200909";>

ADD

ACTIVE

MONTHLY
100
STANDARD







== 09:16:50,949 DEBUG [HTTPSender] HTTP/1.0 500 Internal Server Error
== 09:16:50,949 DEBUG [HTTPSender] Content-Type text/xml;
charset=UTF-8
== 09:16:50,949 DEBUG [HTTPSender] Date Tue, 06 Apr 2010 21:16:15 GMT
== 09:16:50,949 DEBUG [HTTPSender] Expires Tue, 06 Apr 2010 21:16:15
GMT
== 09:16:50,949 DEBUG [HTTPSender] Cache-Control private, max-age=0
== 09:16:50,949 DEBUG [HTTPSender] X-Content-Type-Options nosniff
== 09:16:50,949 DEBUG [HTTPSender] X-Frame-Options SAMEORIGIN
== 09:16:50,949 DEBUG [HTTPSender] X-XSS-Protection 1; mode=block
== 09:16:50,949 DEBUG [HTTPSender] Server GSE
== 09:16:50,981 DEBUG [HTTPSender]
no Content-Length
== 09:16:50,981 DEBUG [HTTPSender]
XML received:
== 09:16:50,981 DEBUG [HTTPSender]
---
== 09:16:51,152 DEBUG [HTTPSender]
http://schemas.xmlsoap.org/soap/envelope/";>

https://adwords.google.com/api/adwords/cm/
v200909">
7630c34e2b28c62aca799b0f83ff29a0
1
371
1




soap:Server
Fault occurred while processing.



== 09:16:51,152 DEBUG [HTTPSender] Exit:  HTTPDispatchHandler::invoke
== 09:16:51,168 DEBUG [soap_xml]

http://schemas.xmlsoap.org/soap/
envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>

http://schemas.xmlsoap.org/soap/
actor/next" soapenv:mustUnderstand="0" xmlns:ns1="https://
adwords.google.com/api/adwords/cm/v200909">
https://adwords.google.com/api/adwords/cm/
v200909">**client_1+##...@gmail.com
##...@gmail.com++nzd
AdWords API Java Client Library - v - GAS
false



https://adwords.google.com/api/adwords/cm/v200909";>

ADD

ACTIVE

MONTHLY
100
STANDARD








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

http://schemas.xmlsoap.org/soap/envelope/";>

https://adwords.google.com/api/adwords/cm/
v200909">
7630c34e2b28c62aca799b0f83ff29a0
1
371
1




soap:Server
Fault occurred while processing.




-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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  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.
>
> http://schemas.xmlsoap.org/soap/
> envelope/">a5e2ba5c266feaf64868ab4e4fe3856c requestId>1127 responseTime>1 soap:Header>soap:Server faultcode>Fault occurred while processing. soap:Fault>
>
> 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 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.

http://schemas.xmlsoap.org/soap/
envelope/">a5e2ba5c266feaf64868ab4e4fe3856c11271soap:ServerFault occurred while processing.


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 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  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
> **
> 
>    SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
>   xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
>
> 
> https://adwords.google.com/api/adwords/cm/
> v200909">
>         EMAIL
>         PW
>         UA
>         EMAIL++USD
>         
> 
> 
> https://adwords.google.com/api/adwords/o/
> v200909/">
> 
>         
>             RelatedToKeywordSearchParameter
>             
>                 Space
>                 BROAD
>             
>         
>         KEYWORD
>         IDEAS
>         
>             0
>             100
>         
>     
> 
> 
> 
> 
> *** 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
> **
> http://schemas.xmlsoap.org/soap/
> envelope/">soap:Server faultcode>Fault occurred while processing. soap:Fault>
> 

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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
**

http://schemas.xmlsoap.org/soap/encoding/";
  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
>

https://adwords.google.com/api/adwords/cm/
v200909">
EMAIL
PW
UA
EMAIL++USD



https://adwords.google.com/api/adwords/o/
v200909/">


RelatedToKeywordSearchParameter

Space
BROAD


KEYWORD
IDEAS

0
100






*** 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
**
http://schemas.xmlsoap.org/soap/
envelope/">soap:ServerFault occurred while processing.


-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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
**

http://schemas.xmlsoap.org/soap/encoding/";
  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
>

https://adwords.google.com/api/adwords/cm/
v200909">
TOK
 UA
TOK
TOK
EMAIL



https://adwords.google.com/api/adwords/o/
v200909/">


RelatedToKeywordSearchParameter

Space
BROAD


KEYWORD
IDEAS

0
100






*** 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
**
http://schemas.xmlsoap.org/soap/
envelope/">soap:ServerFault occurred while processing.


-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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,

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:


  https://adwords.google.com/api/adwords/cm/v200906";>
INSERT_AUTHENTICATION_TOKEN_HERE
INSERT_USERAGENT_HERE
INSERT_DEVELOPER_TOKEN_HERE
INSERT_APPLICATION_TOKEN_HERE
INSERT_CLIENT_LOGIN_EMAIL_HERE
  


Best,
- Eric

On Jan 29, 1:57 pm, shriny  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 
> 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  wrote:
>
> > > I just tried a simple add campaigns and got this error,
> > > "Fault occurred while processing"
>
> > > Out Soap Message says
> > > 
> > > soap:Server
> > > Fault occurred while processing.
> > > 
> > > 
>
> > > Here is my soap resquest and response.
>
> > > ===
> > > = Elapsed: 274 milliseconds
> > > = In message: 
> > > http://schemas.xmlsoap.org/soap/
> > > envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
> > > 
> > > http://schemas.xmlsoap.org/soap/actor/next";
> > > soapenv:mustUnderstand="0" xmlns:ns1="https://adwords.google.com/api/
> > > adwords/cm/v200909">emailid
> > > http://schemas.xmlsoap.org/soap/actor/
> > > next" soapenv:mustUnderstand="0" xmlns:ns2="https://adwords.google.com/
> > > api/adwords/cm/v200909">authtoken
> > > http://schemas.xmlsoap.org/soap/actor/
> > > next" soapenv:mustUnderstand="0" xmlns:ns3="https://adwords.google.com/
> > > api/adwords/cm/v200909">AdWords API Java Sample Code
> > > http://schemas.xmlsoap.org/soap/
> > > actor/next" soapenv:mustUnderstand="0" xmlns:ns4="https://
> > > adwords.google.com/api/adwords/cm/v200909">xxx
> > > http://schemas.xmlsoap.org/soap/
> > > actor/next" soapenv:mustUnderstand="0" xmlns:ns5="https://
> > > adwords.google.com/api/adwords/cm/v200909">xxx-xxx > > ns5:applicationToken>
> > > 
> > > 
> > > https://adwords.google.com/api/adwords/cm/v200909";>
> > > 
> > > ADD
> > > 
> > > Sample Campaign
> > > ACTIVE
> > > 
> > > DAILY
> > > 
> > > USD
> > > 5000
> > > STANDARD
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > = Out message: http://schemas.xmlsoap.org/
> > > soap/envelope/">
> > > 
> > > soap:Server
> > > Fault occurred while processing.
> > > 
> > > 
> > > ===

-- 
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 
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  wrote:
>
> > I just tried a simple add campaigns and got this error,
> > "Fault occurred while processing"
>
> > Out Soap Message says
> > 
> > soap:Server
> > Fault occurred while processing.
> > 
> > 
>
> > Here is my soap resquest and response.
>
> > ===
> > = Elapsed: 274 milliseconds
> > = In message: 
> > http://schemas.xmlsoap.org/soap/
> > envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
> > 
> > http://schemas.xmlsoap.org/soap/actor/next";
> > soapenv:mustUnderstand="0" xmlns:ns1="https://adwords.google.com/api/
> > adwords/cm/v200909">emailid
> > http://schemas.xmlsoap.org/soap/actor/
> > next" soapenv:mustUnderstand="0" xmlns:ns2="https://adwords.google.com/
> > api/adwords/cm/v200909">authtoken
> > http://schemas.xmlsoap.org/soap/actor/
> > next" soapenv:mustUnderstand="0" xmlns:ns3="https://adwords.google.com/
> > api/adwords/cm/v200909">AdWords API Java Sample Code
> > http://schemas.xmlsoap.org/soap/
> > actor/next" soapenv:mustUnderstand="0" xmlns:ns4="https://
> > adwords.google.com/api/adwords/cm/v200909">xxx
> > http://schemas.xmlsoap.org/soap/
> > actor/next" soapenv:mustUnderstand="0" xmlns:ns5="https://
> > adwords.google.com/api/adwords/cm/v200909">xxx-xxx > ns5:applicationToken>
> > 
> > 
> > https://adwords.google.com/api/adwords/cm/v200909";>
> > 
> > ADD
> > 
> > Sample Campaign
> > ACTIVE
> > 
> > DAILY
> > 
> > USD
> > 5000
> > STANDARD
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > = Out message: http://schemas.xmlsoap.org/
> > soap/envelope/">
> > 
> > soap:Server
> > Fault occurred while processing.
> > 
> > 
> > ===

-- 
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,

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  wrote:
> I just tried a simple add campaigns and got this error,
> "Fault occurred while processing"
>
> Out Soap Message says
> 
> soap:Server
> Fault occurred while processing.
> 
> 
>
> Here is my soap resquest and response.
>
> ===
> = Elapsed: 274 milliseconds
> = In message: 
> http://schemas.xmlsoap.org/soap/
> envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
> 
> http://schemas.xmlsoap.org/soap/actor/next";
> soapenv:mustUnderstand="0" xmlns:ns1="https://adwords.google.com/api/
> adwords/cm/v200909">emailid
> http://schemas.xmlsoap.org/soap/actor/
> next" soapenv:mustUnderstand="0" xmlns:ns2="https://adwords.google.com/
> api/adwords/cm/v200909">authtoken
> http://schemas.xmlsoap.org/soap/actor/
> next" soapenv:mustUnderstand="0" xmlns:ns3="https://adwords.google.com/
> api/adwords/cm/v200909">AdWords API Java Sample Code
> http://schemas.xmlsoap.org/soap/
> actor/next" soapenv:mustUnderstand="0" xmlns:ns4="https://
> adwords.google.com/api/adwords/cm/v200909">xxx
> http://schemas.xmlsoap.org/soap/
> actor/next" soapenv:mustUnderstand="0" xmlns:ns5="https://
> adwords.google.com/api/adwords/cm/v200909">xxx-xxx ns5:applicationToken>
> 
> 
> https://adwords.google.com/api/adwords/cm/v200909";>
> 
> ADD
> 
> Sample Campaign
> ACTIVE
> 
> DAILY
> 
> USD
> 5000
> STANDARD
> 
> 
> 
> 
> 
> 
> 
> = Out message: http://schemas.xmlsoap.org/
> soap/envelope/">
> 
> soap:Server
> Fault occurred while processing.
> 
> 
> ===

-- 
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 Fault occurred while processing - Is it an Internal Error???

2010-01-28 Thread shriny
I just tried a simple add campaigns and got this error,
"Fault occurred while processing"

Out Soap Message says

soap:Server
Fault occurred while processing.




Here is my soap resquest and response.


===
= Elapsed: 274 milliseconds
= In message: 
http://schemas.xmlsoap.org/soap/
envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>

http://schemas.xmlsoap.org/soap/actor/next";
soapenv:mustUnderstand="0" xmlns:ns1="https://adwords.google.com/api/
adwords/cm/v200909">emailid
http://schemas.xmlsoap.org/soap/actor/
next" soapenv:mustUnderstand="0" xmlns:ns2="https://adwords.google.com/
api/adwords/cm/v200909">authtoken
http://schemas.xmlsoap.org/soap/actor/
next" soapenv:mustUnderstand="0" xmlns:ns3="https://adwords.google.com/
api/adwords/cm/v200909">AdWords API Java Sample Code
http://schemas.xmlsoap.org/soap/
actor/next" soapenv:mustUnderstand="0" xmlns:ns4="https://
adwords.google.com/api/adwords/cm/v200909">xxx
http://schemas.xmlsoap.org/soap/
actor/next" soapenv:mustUnderstand="0" xmlns:ns5="https://
adwords.google.com/api/adwords/cm/v200909">xxx-xxx


https://adwords.google.com/api/adwords/cm/v200909";>

ADD

Sample Campaign
ACTIVE

DAILY

USD
5000
STANDARD







= Out message: http://schemas.xmlsoap.org/
soap/envelope/">

soap:Server
Fault occurred while processing.


===

-- 
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  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 Re: problems moving from v11 to v200902: intermittent "Fault occurred while processing."

2009-06-17 Thread AdWords API Advisor

Hello Travis,

 I'm sorry that you're running into this issue--I've been talking with
the engineering team over the past few days about the recent uptick in
instability with v200902, as we've noticed it in our internal calls as
well. As you say, the mutate() calls often are successful when it
comes to creating the objects, but an internal error is returned
instead of the expected response.

 As for a user interface for viewing the contents of your Sandbox
accounts, the old standby is the APIlity Agua project:

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

The Sandbox data is shared between the v13 and v200902 environments,
so Agua should show you items that you created with v200902.

Cheers,
-Jeff Posnick, AdWords API Team


On Jun 16, 7:38 pm, "SmartFlix.com / HeavyInk.com"
 wrote:
> 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:
>
> 
> http://www.w3.org/2001/XMLSchema";
>     xmlns:env="http://schemas.xmlsoap.org/soap/envelope/";
>     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
>   
>         https://adwords.google.com/api/
> adwords/cm/v200902"
>             env:mustUnderstand="0">
>           client_1+admin_goo...@smartflix.com n1:clientEmail>
>
> DQAAAHQAAABz7YINNOG4i1W1r4aKMioCICNUB8kpD1J7_RVeugsQldeDKP12G 
> 89PzUMBMgbKoMVi9JxiBMtq6sIL0X1zdzjj545E8WeRJLr7emJIDVs-
> crMiS1Dczec2Z6WwYmUFCjM-v6bXb-_A20QHsNL5YTytUn3ZFGGQj2WYPLMEqNAViQ n1:authToken>
>         
>   
>   
>     https://adwords.google.com/api/adwords/cm/
> v200902">
>       
>         ADD
>         
>           
>             5100017218
>           
>           
>             learn Jewelry Making
>             BROAD
>           
>         
>       
>     
>   
> 
>
> = 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
>
> http://schemas.xmlsoap.org/soap/
> envelope/">soap:Server faultcode>Fault occurred while processing. soap:Fault>
>
> 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 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:


http://www.w3.org/2001/XMLSchema";
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  
https://adwords.google.com/api/
adwords/cm/v200902"
env:mustUnderstand="0">
  client_1+admin_goo...@smartflix.com
 
DQAAAHQAAABz7YINNOG4i1W1r4aKMioCICNUB8kpD1J7_RVeugsQldeDKP12G89PzUMBMgbKoMVi9JxiBMtq6sIL0X1zdzjj545E8WeRJLr7emJIDVs-
crMiS1Dczec2Z6WwYmUFCjM-v6bXb-_A20QHsNL5YTytUn3ZFGGQj2WYPLMEqNAViQ

  
  
https://adwords.google.com/api/adwords/cm/
v200902">
  
ADD

  
5100017218
  
  
learn Jewelry Making
BROAD
  

  

  



= 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

http://schemas.xmlsoap.org/soap/
envelope/">soap:ServerFault occurred while processing.



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
 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
>
> 
> 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/";>
> 
> https://adwords.google.com/api/adwords/cm/
> v200902">
> DQAAAHkAAaDhJBbcXiu01T3KHojXUFkHuhevk11hQu5Aqh8BQ-
> kzdCjlYmD3zLTfiJ1qHbPAaS0MP7iBC_FrTO9xa9p6FKI4NZ3jCI-
> vl2ehZcmmHoFBA_t4guLyIg9Bs_YL_edsdnLLOGTJ5n2PvrKmoQY4gfb0vjItGLn0qN-
> qHJ_uxMK98Q
> gbase1staudiovis...@gmail.com
> 
> 
> 
> https://adwords.google.com/api/adwords/cm/v200902";>
> 
> ADD
> 
> Sample Campaign
> ACTIVE
> 
> 
> DAILY
> 
> USD
> 5000
> 
> STANDARD
> 
> 
> 
> 
> 
> 
> 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
> http://schemas.xmlsoap.org/soap/envelope/";>
> 
> 
> soap:Server
> [RangeError.TOO_LOW @ operations[0].operand.budget.amount]
> 
> 
> 
> 
> 
> 
> Fault: 1 Code: soap:Server String: [RangeError.TOO_LOW @ operations
> [0].operand.budget.amount] Detail:
> 
> 
>
> 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
>
>
>
>  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"
>
> >  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 Re: "Fault occurred while processing" error

2009-06-11 Thread gbase 1staudiovisual

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


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/";>

https://adwords.google.com/api/adwords/cm/
v200902">
DQAAAHkAAaDhJBbcXiu01T3KHojXUFkHuhevk11hQu5Aqh8BQ-
kzdCjlYmD3zLTfiJ1qHbPAaS0MP7iBC_FrTO9xa9p6FKI4NZ3jCI-
vl2ehZcmmHoFBA_t4guLyIg9Bs_YL_edsdnLLOGTJ5n2PvrKmoQY4gfb0vjItGLn0qN-
qHJ_uxMK98Q
gbase1staudiovis...@gmail.com



https://adwords.google.com/api/adwords/cm/v200902";>

ADD

Sample Campaign
ACTIVE


DAILY

USD
5000

STANDARD






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
http://schemas.xmlsoap.org/soap/envelope/";>


soap:Server
[RangeError.TOO_LOW @ operations[0].operand.budget.amount]






Fault: 1 Code: soap:Server String: [RangeError.TOO_LOW @ operations
[0].operand.budget.amount] Detail:



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
 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"
>
>  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 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"
 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
-~--~~~~--~~--~--~---