Re: how can i pass clientcustomerid dynamically

2018-11-29 Thread vibhesh
Thanks Zweitze, Solution works for me, i am new to googleadword so not aware whole design of library. it was not easy for me without your help. Thanks again On Thursday, November 29, 2018 at 4:11:15 PM UTC+5:30, Zweitze wrote: > > My method is to create a new AdWordsUser instance for that

Re: how can i pass clientcustomerid dynamically

2018-11-29 Thread 'Peter Oliquino (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi, Thank you for the assistance Zweitze. However, my apologies as I can not further assist you on this since the error is specific to the client library .NET. I would recommend that you post your concern in here

Re: how can i pass clientcustomerid dynamically

2018-11-29 Thread Zweitze
My method is to create a new AdWordsUser instance for that user. AdWordsUser has a constructor that takes a dictionary with key-value pairs - the values in that dictionary will override the values in app.config. For instance: MyUser = new AdWordsUser(new Dictionary {

Re: how can i pass clientcustomerid dynamically

2018-11-29 Thread vibhesh
Hi, Thanks for the qiuck response but after doing that i am facing the issue at below line user.Config.clientCustomerId = "123-456-7890"; tried this one as well user.Config.ClientCustomerId = "123-456-7890"; key name in my app.config is please suggest me library reference if needed

Re: how can i pass clientcustomerid dynamically

2018-11-29 Thread 'Peter Oliquino (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi, You can do this by using the Config property of the AdsUser object. You may refer to the "Configuring the Ads user instance at runtime" section of this guide as to how. Best regards, Peter AdWords API Team On

how can i pass clientcustomerid dynamically

2018-11-28 Thread vibhesh
Hi I am using DotNet client library c# to download performance report and also other activity related to this for my customer account, but when i want to do the same for my other customer every time i have to got app.config and change ClientCustomerId(). Can i pass it from c# code ? instead