Using multiple customer IDs while importing offline conversions -C#

31 views
Skip to first unread message

Shafeena Kabir

unread,
Nov 9, 2017, 5:26:35 AM11/9/17
to AdWords API Forum
Hi,

Is there a way to use multiple customer IDs while importing offline conversions in C#. Right now I am only aware of using a single customer ID in Web.config file and creating an Adwords user object and passing it to methods to add an upload conversion and later import conversions .

Zweitze

unread,
Nov 9, 2017, 6:08:33 AM11/9/17
to AdWords API Forum
Class AdWordsUser has a second constructor which takes a Dictionary<string, string>. All values in the dictionary override the corresponding values in the config file. Important: the names are case sensitive!

I believe one of the samples shows how to use this constructor - but probably not a sample on offline conversions.
Otherwise look in the sources.

Sreelakshmi Sasidharan (AdWords API Team)

unread,
Nov 9, 2017, 2:23:13 PM11/9/17
to AdWords API Forum
Hi, 

To upload conversions to multiple accounts, you will need to make separate requests for each account with the respective client customer id in the header. If you want to change the client customer id at the run time, you can refer to this guide. You could also take a look at the ParallelReportDownload sample for better understanding. 

Thanks,
Sreelakshmi, AdWords API Team
Reply all
Reply to author
Forward
0 new messages