Hi all,
Another question concerning VBA access to Adwords API in the forum. I hope I could write a complete walkthrough for VBA user after that.
I've recompiled the Common and Adwords librairies with COM visibility, and trying to make a simple AccountCreation example conversion from VB to VBA but I can't (don't know more exactly) how to call from VBA the ServiceSignature
AdWordsService.v201109_1.CreateAccountService. I believe it's more a VB2VBA language conversion problem (object instantiation) than a API issue.
Private Sub CommandButton1_Click()
Dim user As Google_AdWords.AdWordsUser
Set user = New Google_AdWords.AdWordsUser
' Get the CreateAccountService.
Dim createAccountService As Google_AdWords.Google_Api_Ads_AdWords_v201109_1_CreateAccountService
Set createAccountService = user.GetService(...)
The original code is :
Dim createAccountService As CreateAccountService = user.GetService( _
AdWordsService.v201109_1.CreateAccountService)
Does anyone know how to go from the VB to the VBA code ?
Very precise question, but it seems to be my last issue before using adwords api from VBA (Excel, Access)...
Thanks for your help !
- DB.