in v200909 version not able to add the keywords and ads under adGroup.
SoapFault Object ( [message:protected] => [EntityNotFound.INVALID_ID @
operations[0].operand.adGroupId; trigger:'2147483647']
[string:private]
Giving this error but i am passing correct adgroupid.
Array ( [0] => AdGroupCriterionOperation Object ( [operand] =>
BiddableAdGroupCriterion Object ( [userStatus] =>
[systemServingStatus] => [approvalStatus] => [destinationUrl] =>
[bids] => [firstPageCpc] => [qualityInfo] => [stats] => [adGroupId] =>
3060268937 [criterion] => Keyword Object ( [text] => mars cruise 12
[matchType] => EXACT [id] => [CriterionType] =>
[_parameterMap:private] => Array ( [Criterion.Type] =>
CriterionType ) ) [AdGroupCriterionType] => [_parameterMap:private] =>
Array ( [AdGroupCriterion.Type] => AdGroupCriterionType ) )
[exemptionRequests] => [operator] => ADD [OperationType] =>
[_parameterMap:private] => Array ( [Operation.Type] =>
OperationType ) ) )
i am passing like this
plz replay me what is wrong with array.
This is due to a bug in how some versions of the PHP SOAP Client
handles long values
http://bugs.php.net/bug.php?id=46483
http://code.google.com/p/google-api-adwords-php/issues/detail?id=5
What version of PHP are you using? The workaround is to cast your
values to floats when setting them.
Best,
- Eric