Keyword and ad fails to add under adGroup

54 views
Skip to first unread message

devppcmodule Dev

unread,
Feb 19, 2010, 1:13:30 AM2/19/10
to AdWords API Forum
Hi,

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.

AdWords API Advisor

unread,
Feb 22, 2010, 12:15:00 PM2/22/10
to AdWords API Forum
Hi,

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

Reply all
Reply to author
Forward
0 new messages