Re: how to display all accounts (including managers and clients) php?

2017-07-19 Thread silent_coder
There'll be no errors that will be reflected on soap logs because I think it assumes that it is getting all the accounts. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevel

Re: how to display all accounts (including managers and clients) php?

2017-07-19 Thread silent_coder
Yes, I've set the customer id properly. It should return more or less 31 accounts (parent and child) but unexpectedly it return only 12. I'm using this particular code from the example (returns 12): private static function printAccountHierarchy($account, $customerIdsToAccounts, $customerId

Re: how to display all accounts (including managers and clients) php?

2017-07-19 Thread silent_coder
It should return more or less 31 accounts (parent and child) but unexpectedly it return only 12. I'm using this particular code from the example (returns 12): private static function printAccountHierarchy($account, $customerIdsToAccounts, $customerIdsToChildLinks, $depth = null) { if

how to display all accounts (including managers and clients) php?

2017-07-19 Thread silent_coder
I've tried to use the example code of getting all accounts ( GetAccountHierarchy.php ) but somehow it is not working as expected. It only return 11 or 12 accounts where in fact it should be more or less 30. I understand it uses recursion to get all accounts in hierarchy but perhaps example of

Re: how to get stats for location in google ads php api?

2017-07-03 Thread silent_coder
Hi, Thanks for your reply. Basically, I want to get statistics for example for New York = clicks, cost, conversions, etc Canada = clicks, cost, conversions, etc Alabama = clicks, cost, conversions, etc Alaska = clicks, cost, conversions, etc What I have so far is this: $campaig

how to get stats for location in google ads php api?

2017-06-22 Thread silent_coder
I want to get stats for a targeted location of a campaign such as: var geostats = targetedLocation.getStatsFor(String(duration[0]),String(duration[1])); This is in JS version, I am looking to recreate it php version. I can already traverse through accounts and campaigns of each account but I'm

Re: Unable to get the account Labels using account label service

2017-06-21 Thread silent_coder
Hi nadine, When I use AccountLabels in Selector, it gives me: InternalApiError.UNEXPECTED_INTERNAL_API_ERROR What could be the problem here? Thanks On Saturday, December 5, 2015 at 12:00:30 AM UTC+8, Nadine Sundquist (AdWords API Team) wrote: > > Hi Kamran, > > Thanks for clarifying! The servi