Re: Call to a member function get() on null

2018-07-02 Thread 'Teja Makani' via AdWords API and Google Ads API Forum
Hello Sean, You cannot do both in a single API call. As explained earlier you need to download the report and save it in your local database. Then use the details from that to make a separate AdGroupService.mutate()

Re: Call to a member function get() on null

2018-07-02 Thread szusi
Am I not able to do both in a single call? On Friday, June 29, 2018 at 4:10:51 PM UTC-6, Teja Makani wrote: > > Hello Sean, > > Looks like you are trying to make the report call and the API service call > in a single API call. You may have to first download the report save that > in your local

Re: Call to a member function get() on null

2018-06-29 Thread 'Teja Makani' via AdWords API and Google Ads API Forum
Hello Sean, Looks like you are trying to make the report call and the API service call in a single API call. You may have to first download the report save that in your local database and then use the details from that to make a separate AdGroupService.mutate()

Re: Call to a member function get() on null

2018-06-29 Thread szusi
The error is happening at $page = $adGroupService->get($selector); On Friday, June 29, 2018 at 12:45:39 PM UTC-6, sz...@mymail.mines.edu wrote: > > Hello, I am currently using the adgroup performance report to report on a > few metrics, and then pause certain ad groups that are above certain >

Call to a member function get() on null

2018-06-29 Thread szusi
Hello, I am currently using the adgroup performance report to report on a few metrics, and then pause certain ad groups that are above certain thresholds. However, my selector is coming back as null. Here is my code: namespace Google\AdsApi\Examples\AdWords\v201806\Reporting; require __DIR__ .