I'm testing the Adwords API in the sandbox.
 
When I try to add AdGroups to a campaign with the AddAdGroups.php from the 
PHP client library, I get the following error in Chrome: Error 324 
(net::ERR_EMPTY_RESPONSE)

 

With a bit of debugging the line causing the error: $result = 
$adGroupService->mutate($operations);

 

The content of $operations:

 
Array ( [0] => AdGroupOperation Object ( [operand] => AdGroup Object ( [id] 
=> [campaignId] => 123456 [campaignName] => [name] => Earth to Mars Cruise 
#4fd1e737a9007 [status] => ENABLED [bids] => ManualCPCAdGroupBids Object ( 
[keywordMaxCpc] => Bid Object ( [amount] => Money Object ( [microAmount] => 
1000000 [ComparableValueType] => [_parameterMap:private] => Array ( 
[ComparableValue.Type] => ComparableValueType ) ) ) [keywordContentMaxCpc] 
=> Bid Object ( [amount] => Money Object ( [microAmount] => 750000 
[ComparableValueType] => [_parameterMap:private] => Array ( 
[ComparableValue.Type] => ComparableValueType ) ) ) [siteMaxCpc] => 
[enhancedCpcEnabled] => [interactionBids] => [AdGroupBidsType] => 
[_parameterMap:private] => Array ( [AdGroupBids.Type] => AdGroupBidsType ) 
) [experimentData] => [stats] => ) [operator] => ADD [OperationType] => 
[_parameterMap:private] => Array ( [Operation.Type] => OperationType ) ) 
[1] => AdGroupOperation Object ( [operand] => AdGroup Object ( [id] => 
[campaignId] => 123456 [campaignName] => [name] => Earth to Mars Cruise 
#4fd1e737a9035 [status] => ENABLED [bids] => ManualCPCAdGroupBids Object ( 
[keywordMaxCpc] => Bid Object ( [amount] => Money Object ( [microAmount] => 
1000000 [ComparableValueType] => [_parameterMap:private] => Array ( 
[ComparableValue.Type] => ComparableValueType ) ) ) [keywordContentMaxCpc] 
=> Bid Object ( [amount] => Money Object ( [microAmount] => 750000 
[ComparableValueType] => [_parameterMap:private] => Array ( 
[ComparableValue.Type] => ComparableValueType ) ) ) [siteMaxCpc] => 
[enhancedCpcEnabled] => [interactionBids] => [AdGroupBidsType] => 
[_parameterMap:private] => Array ( [AdGroupBids.Type] => AdGroupBidsType ) 
) [experimentData] => [stats] => ) [operator] => ADD [OperationType] => 
[_parameterMap:private] => Array ( [Operation.Type] => OperationType ) ) )
 
Can anyone tell me what I'm doing wrong?

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

Reply via email to