RE: Migration to Google Ads API - Get list of all accounts under MCC

2019-09-16 Thread Google Ads API Forum Advisor Prod
Hi Riley, The descriptive_name should return the appropriate account names. If you are facing issues, you send me your API request and response through reply privately to author so I can take a closer look. Regards, Anthony Google Ads API Team ref:_00D1U1174p._5001UHGWyo:ref -- --

Re: Migration to Google Ads API - Get list of all accounts under MCC

2019-09-12 Thread Riley Blair
Hi Anthony, Just curious why the *descriptive_name* field cannot be accessed with the same query? It currently seems as if accounts with, for example, 50+ customer clients, an additional 50+ requests must be made in order to get the *descriptive_name *for each? Is is possible to access the

RE: Migration to Google Ads API - Get list of all accounts under MCC

2019-04-10 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hello, You won't be able to return the customer ID that your refresh token comes from. Regards, Anthony Google Ads API Team =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: https://ads-developers.googleblog.com/search/label/google_ads_api

Re: Migration to Google Ads API - Get list of all accounts under MCC

2019-04-09 Thread cv
Thanks for the answer, But I was looking for loginCustomerId, that will give me whose refreshtoken I was using it when someone authorised throughoAuth. Thanks, On Wednesday, 10 April 2019 00:38:41 UTC+5:30, googleadsapi-forumadvisor wrote: > > Hello, > > The manager >

RE: Migration to Google Ads API - Get list of all accounts under MCC

2019-04-09 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hello, The manager field will give you a value to whether or not an account is a manager account. Regards, Anthony Google Ads API Team =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our

Re: Migration to Google Ads API - Get list of all accounts under MCC

2019-04-09 Thread cv
Hi, But how I can get the Linked account(When user authorised through oAuth where I am not know he has linked with manager or normal account ) is Manager account or Normal account when user authorised my app with which clientCustomerId he has authorised? Thanks On Friday, 5 April 2019

RE: Migration to Google Ads API - Get list of all accounts under MCC

2019-04-04 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hi Marcel, You can have a look at the resources page to get a description between Customer, CustomerClient and CustomerClientLink. Your response should

Re: Migration to Google Ads API - Get list of all accounts under MCC

2019-04-04 Thread Alexander Belozerov
Hi there, Im having similar issue, this would get me list of all accounts, including mcc. For example if we have tree-like structure with master MCC and multiple level MCCs under it, what would be the best way to get a list of all non MCC account under master MCC? This is in order to collect

Re: Migration to Google Ads API - Get list of all accounts under MCC

2019-04-04 Thread Marcel Zemp
The query now runs, but I'm not sure what I'm getting back. According to the documentation for SearchGoogleAdsResponse , I should get a list of results

RE: Migration to Google Ads API - Get list of all accounts under MCC

2019-04-03 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hi Marcel, You can try using the GoogleAdsService and set the query to the one that I provided earlier. You can find a similar API call here

Re: Migration to Google Ads API - Get list of all accounts under MCC

2019-04-03 Thread Marcel Zemp
Hi Anthony Thanks for getting back. I've tried the CustomerClientService with Python service = client.get_service('CustomerClientService') query = ('SELECT customer_client.resource_name,' 'customer_client.client_customer,' 'customer_client.level,

RE: Migration to Google Ads API - Get list of all accounts under MCC

2019-04-01 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hi Marcel, To get the account hierarchy via Google Ads API, you could use the customer_client resource. Through which you can get only the resource name, level, Boolean value of hidden status and Client_customer