Re: How to Get Google Ads Response in Array or Json

2019-12-20 Thread Ravi Chandran
Hi Sandeep, I got the response as you expected, - Use download type as XML - Use getStream() to get data - Use simplexml_load_string to load the content - Convert to json That's it. I hope it may help you. On Monday, June 3, 2019 at 12:24:06 PM UTC+5:30, Sandeep Yadav wrote: >

Re: What is the best way to get campaign report from campaigns id and how process the data in stream not as download format?

2019-12-20 Thread Ravi Chandran
, LIBXML_NOCDATA); $json = json_encode($xml); $array = json_decode($json,TRUE); Cheers :) On Friday, December 20, 2019 at 11:10:22 AM UTC+5:30, Ravi Chandran wrote: > > Hi Team, > > I need to fetch campaign details from Campaign IDs and what will be best > to do this,

What is the best way to get campaign report from campaigns id and how process the data in stream not as download format?

2019-12-19 Thread Ravi Chandran
Hi Team, I need to fetch campaign details from Campaign IDs and what will be best to do this, right now I using the following code $selector->setFields( [ 'CampaignId', 'AdGroupId', 'Id', 'Criteria', 'CriteriaType',

Re: NO_CUSTOMER_FOUND response when user have accounts [PHP]

2019-12-09 Thread Ravi Chandran
Hi Team, It is working now and thanks for your timely response. Could you please help us to get list of accounts/pages from an MCC account. Please find the following flow for your reference, 1. Once we can pull the list of accounts from the connected user 2. Need to get detailed

Re: NO_CUSTOMER_FOUND response when user have accounts [PHP]

2019-12-09 Thread Ravi Chandran
Hi Team, It is working now and thanks for your timely response. Could you please help us to get list of accounts/pages from an MCC account. Please find the following flow for your reference, 1. Once we can pull the list of accounts from the connected user 2. Need to get detailed

Re: NO_CUSTOMER_FOUND response when user have accounts [PHP]

2019-12-03 Thread Ravi Chandran
Hi Team, Our requirement is to use Web flow not Installed app. We are trying to get all client customer ID who logged in and it will show the list of root accounts they have. We will fetch campaigns data based on user selection account. I would like to know how to fetch list of root account

NO_CUSTOMER_FOUND response when user have accounts [PHP]

2019-11-29 Thread Ravi Chandran
Hi Team, We are trying to fetch a list of Ad accounts using the Google Adwords API. The developer token has "basic access". $selector = new Selector(); $selector->setFields(['Name', 'CustomerId']); $page = $managedCustomerService->get($selector); However, we are getting the following error for