Hi Frank,

That's an interesting one. Before I try to solve your issue with PHP, I 
would like to first check if those numbers even make sense coming back. 
They look larger than normal to me. Would you mind clicking *Reply 
privately to author* in the forum and sending me your client customer ID? 
That way I can replicate it from this side to see if it all looks good. If 
these truly are the numbers, then we can jump into solving what to do about 
PHP.

Thanks,
Nadine, AdWords API Team

On Thursday, May 5, 2016 at 4:03:09 PM UTC-4, Frank Martens wrote:
>
> I'm getting the targeted monthly searches by the Google Adwords API. The 
> problem is, the response looks like this:
> Array ( 
>
> [KEYWORD_TEXT] => StringAttribute Object ( 
>
> [value] => zeemeerminpak [AttributeType] => StringAttribute [_parameterMap
> :Attribute:private] => Array ( [Attribute.Type] => AttributeType ) ) [
> TARGETED_MONTHLY_SEARCHES] => MonthlySearchVolumeAttribute Object ( [value
> ] => Array ( [0] => MonthlySearchVolume Object ( [year] => 2016 [month] => 
> 3 [count] => 7963946667997179586 ) [1] => MonthlySearchVolume Object ( [
> year] => 2016 [month] => 2 [count] => 6192852671664926392 )) 
> ... more months ... 
> [AttributeType] => MonthlySearchVolumeAttribute [_parameterMap:Attribute:
> private] => Array ( [Attribute.Type] => AttributeType ) ) )
>
>
> As you can see, I get a 64 bit integer 
> (7963946667997179586,6192852671664926392) response. I've to handle this 
> with PHP.
>
>
> How can I create a decimal from a 64 bit integer with PHP?
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/423c078b-9fbe-4473-b40a-802bf399ac66%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to