Re: Google Ads API get accounts under an MCC

2020-07-21 Thread Google Ads API Forum Advisor Prod
Hi , Thank you for reaching out. You could go to the specific resource and check the available functions. For example, if you would like to fetch the Unwrapped Id of an ad group, you could locate the AdGroup resource and then use the getIdUnwrapped() function. You could find the list of the

Re: Google Ads API get accounts under an MCC

2020-07-21 Thread beyond Clicks
Hi Xiaoming, Is there a document anywhere where all these "get" fields are listed? such as ->getIdUnwrapped()? Rather than having to look through the examples it'd be much easier to have documentation to reference. On Monday, 20 July 2020 at 18:56:14 UTC+1 adsapiforumadvisor wrote: > Hi, > >

RE: Google Ads API get accounts under an MCC

2020-07-20 Thread Google Ads API Forum Advisor Prod
Hi, Thank you for reaching out. As you can see here, the elements from the response are pulled out by calling the iterateAllElements() method. Then you could select the specific field you need for other queries. Thanks and regards, Xiaoming, Google Ads API Team

Google Ads API get accounts under an MCC

2020-07-20 Thread beyond Clicks
Hi Guys, I'm running the below query; SELECT customer.id, customer_client.id, customer_client.descriptive_name FROM customer_client which is then run through like so; $stream = $googleAdsServiceClient->searchStream($customerId, $mccQuery); the goal being to give the system an account