Re: Get account information

2022-01-26 Thread 'Hao Long' via Google Ads API and AdWords API Forum
Thanks Peter, yes, as your suggest first we get label from customer_label resource and use the label(customers/{customer_id}/labels/{label_id}) value to map resource_name in label resource to get label.name. we got the value as we want. On Tuesday, January 25, 2022 at 10:52:50 AM UTC+8 adsapi

Re: Get account information

2022-01-24 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Hao, In my earlier response, I recommended that customer_label (Represents a relationship between a customer and a label.) report so that this may return the applied label to the customer_id specified in your API request. The customer_client.applied_labels (The resource names of the labels o

Re: Get account information

2022-01-24 Thread 'Hao Long' via Google Ads API and AdWords API Forum
Hi Baker, The current pending issue is how to get the account labels on client account, the account will help us to derive some useful fields like channel/subchannel and we tried your suggestion get the resource_name from customer_client and is returned customers/***/customerClients/*** not

Re: Get account information

2022-01-21 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Hao, You can try customer_client on an MCC account to see the resource names of the labels that that MCC gives to the client accounts beneath it. It will also tell you how many levels down in the hierarchy the account is. You can get the label contents from a label report with that MCC. It's

Re: Get account information

2022-01-21 Thread 'Hao Long' via Google Ads API and AdWords API Forum
Currently we only found one way to get the account labels: call customer_client to get the customer list then call customer_lable to get the lables, and at last to call label to get the label name. as we could find there have efficient way to get account labels: customer_client.applied_labels

Re: Get account information

2022-01-21 Thread 'Hao Long' via Google Ads API and AdWords API Forum
made up some info base on previous message. the account label should setup on account level not MCC account, we could see lots of case the accounts have diff labels under the same mcc account. detail please see attached pic. On Friday, January 21, 2022 at 4:03:12 PM UTC+8 Hao Long wrote: > Tha

Re: Get account information

2022-01-21 Thread 'Hao Long' via Google Ads API and AdWords API Forum
Thanks John, for your inputs that means the account labels are setup on MCC level, all the accounts under this mcc account will have the same account label value? Thanks Hao On Friday, January 21, 2022 at 2:32:24 PM UTC+8 adsapi wrote: > Hi Hao, > > Thank you for providing further details to y

Re: Get account information

2022-01-20 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Hao, Thank you for providing further details to your concern. The label that you've shown to the provided screenshot is created and belongs in the higher MCC account 236-043-6167. With this, if you want to get the "Display" label, then you need to query the report for the MCC account 236-04

Re: Get account information

2022-01-20 Thread 'Hao Long' via Google Ads API and AdWords API Forum
Thanks Yasar, we try to use your suggestion to get account label and find below exception case: String searchQuery = "*SELECT label.id, label.name, label.resource_name FROM label * "; SearchGoogleAdsStreamRequest request = SearchGoogleAdsStreamRequest.newBuilder() .setCustomerId(Long.toStrin

Re: Get account information

2022-01-18 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Hao, Thanks for getting back to us. Yes, you can pull the label report on the manager account by using the customer.id field in your where clause in the label report. Also, I suggest you use the Query builder to construct your GAQL. Let us know if you have any further questions. Regards, Y

Re: Get account information

2022-01-18 Thread 'Hao Long' via Google Ads API and AdWords API Forum
Thanks you mean i could use customer_client.applied_labels to get label resource name like 'customers/9293907848/labels/3064162226' and then use label report 'label.resource_name ' = 'customers/9293907848/lab

Re: Get account information

2022-01-17 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Hao, You can get the label contents by pulling a label report on manager account 9293907848. 'label.resource_name' matches 'customers/9293907848/labels/3064162226'. My team came back to me that: 'UNKNOWN ' - it's used for unrecognized values, which is potentially caused by newer versions o

Re: Get account information

2022-01-17 Thread 'Hao Long' via Google Ads API and AdWords API Forum
for customer.getAccountLabels migrate, i try customer_client.applied_labels and customer_labe to get the values and returned below sample values: customers/8772668342 customers/9293907848/labels/3064162226 customers/8772668

Re: Get account information

2022-01-16 Thread 'Hao Long' via Google Ads API and AdWords API Forum
Thanks Baker, as suggestion we have tried customer_client.applied_labels and customer_label both, they all return empty. customer.getAccountLabels is very important field for us, could you please help on this? On Saturd

Re: Get account information

2022-01-14 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi, Hao, UNKNOWN is for devices unspecified in this version of Ads API, it's there to allow for compatibility with v9 if new devices are added in v10 or higher. We will get back to you as soon as possible on UNKNOWN. Regards, Aryeh Baker Google Ads API Team ref:_00D1U1174p._5004Q2UikHa:ref -

Re: Get account information

2022-01-14 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Hao, I work with Peter and will assist you. Here's a list of improved features in Ads, the list of campaigns that are supported by Ads and unsupported by AdWords is in this list. Here's our guide to labels in Ads API and here's a link to how to get the resource name of manager labels that a

Re: Get account information

2022-01-14 Thread 'Hao Long' via Google Ads API and AdWords API Forum
Here i need summary my encounter issues when i migrate my program from Google Adwords API to Google Ads API: 1. for ad group performance report migrate from adwords(ADGROUP_PERFORMANCE_REPORT) to ads(ad_group) a. for Device we could found the mapping between two API(Device - segments.d

Re: Get account information

2022-01-13 Thread 'Hao Long' via Google Ads API and AdWords API Forum
Thanks Peter, you mean i need query the lables from another resource? how about customer_client.applied_labels in https://developers.google.com/google-ads/api/fields/v9/customer_client On Friday, January 14, 2022 at 10:52:11 AM UTC+8 adsapi wrote: > Hi Hao, > > Thank you for your follow up.

Re: Get account information

2022-01-13 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Hao, Thank you for your follow up. By managedCustomer.accountLabels, are you referring to labels associated to an account/customer? If yes, then you can try the customer_label report. Let me know if this is what you're looking for. Otherwise, could you share further details on the above lab

Re: Get account information

2022-01-13 Thread 'Hao Long' via Google Ads API and AdWords API Forum
Thanks John, we have the same question on managedCustomer.accountLabels, could you please help guide how to get this field in Google Ads? On Wednesday, January 12, 2022 at 5:07:47 PM UTC+8 adsapi wrote: > Hi Hao, > > Thank you for the reply. > > The possible field that you can use in the *canM

Re: Get account information

2022-01-12 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Hao, Thank you for the reply. The possible field that you can use in the canManageClients is customer.manager while customer.conversion_tracking_setting.cross_account_conversion_tracking_id for EffectiveConversionTrackingId. Please verify if you can get the information that you are looking

Re: Get account information

2022-01-11 Thread 'Hao Long' via Google Ads API and AdWords API Forum
Hi Baker, Thanks for your updates, i know your points we could draft query from customer_client(https://developers.google.com/google-ads/api/fields/v9/customer_client) but we can not find the relationship for some fields, such as from google adwords *getEffectiveConversionTrackingId* to google a

RE: Get account information

2022-01-11 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi there, You may modify the Get Account Hierarchy sample by adding a customer report pull for each customer Id of each production account. Feel free to get back to us. Regards, Aryeh Baker Google Ads API Team ref:_00D1U1174p._5004Q2UikHa:ref -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~