Re: Getting wrong/different AdGroupIds when running basic operation "get ad groups"

2017-07-14 Thread Garik Tate
Hey Shwetha, Yep I'm currently using 32-bit PHP. After doing a little bit more research, I now see that that's the problem. I don't know of a simple way to convert all intval() to floatval() across all files (if you know, please tell me). But now I know what the problem is. Thank you! On

Re: Getting wrong/different AdGroupIds when running basic operation "get ad groups"

2017-07-13 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi Garik, Could you check if you are using a 32-bit PHP? If you're using 32-bit PHP, you'll need to change all instances of intval() to floatval() before running an example. This is due to some IDs exceeding the 32-bit PHP_INT_MAX that intval() changes your value to. Please retry this example

Getting wrong/different AdGroupIds when running basic operation "get ad groups"

2017-07-13 Thread Garik Tate
Hey guys, I'm using the basic operation "get ad groups" in php *(found here: https://developers.google.com/adwords/api/docs/samples/php/basic-operations#get-ad-groups).*When I run it however, it's giving me different ad group ID's then what I'm seeing in my reports, and my UI. For instance