Hi, That should work. You can also set the *clientCustomerId* on the *RequestHeader* directly, similar to how the HandlePolicyViolationError example sets the *validateOnly* header value.
https://github.com/googleads/googleads-adwords-dotnet-lib/blob/master/examples/adwords/VB/v201402/ErrorHandling/HandlePolicyViolationError.vb#L100 Cheers, Josh, AdWords API Team On Tuesday, March 11, 2014 4:19:28 PM UTC-4, MA wrote: > > I think I have it figured out... > > 'Generate Report for Each Account > For Each childAccount As ManagedCustomerTreeNode In > rootNode.ChildAccounts > Dim AdWordsReport As New > DoubleClick_Adwords_Report_Download_With_AQWL > Dim fileName As String = "Adwords" & "_" & > Format(Now(), "yyyyMMddHHmmss").ToString() & "_AdwordsDailyReporting_" & > childAccount.Account.customerId.ToString() & ".csv" > 'Parse ManagedCustomer.customerID value to > ClientCustomerId format (eg. 123-456-7890) > Dim AdvertiserID As String = > childAccount.Account.customerId.ToString().Substring(0, 3) & "-" & > childAccount.Account.customerId.ToString().Substring(3, 3) & "-" & > childAccount.Account.customerId.ToString().Substring(6, 4) > > Dim objDictionary As New > System.Collections.Generic.Dictionary(Of String, String) > objDictionary.Add("clientCustomerId", AdvertiserID) > Dim user1 As New AdWordsUser(objDictionary) > > AdWordsReport.RunReport(user1, fileName) > Next > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
