I have experience the same issue in the Sandbox with php lib example -
UpdateAdGroup.php file.

I had created a new Adgroup in the Sandbox and while I am updating it,
I am getting the same error message.

I have found that this is the problem with PHP,

The PHP language does not support the 64 bit long data type. The
maximum integer value in PHP is 2147483647. This limitation can cause
PHP applications to generate bad requests if the ID element is larger
than 2147483647.

$AdgroupId = "9999999999999"; // BAD. Generates request with
campaignID 2147483647

I got two options to fix this:

1. $AdgroupId = (float) "9999999999999"; // SAFE - If ID is
represented as a string variable

2. $AdgroupId = 9999999999999; // Safe - If ID is represented as a
numeric variable

Thanks,

: Janak

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

Reply via email to