Are there any basic VB.net examples anywhere on the web for the new
v200909 API?
I had used the v13 api in an application my company uses, and all the
code and functions in there worked just fine, but to be honest I am
having a heck of a time even getting started in this new version. For
instance, in v13, in order to get all the campaign id's I used this
chunk of code:
=============================================
Dim service As New CampaignService.CampaignService()
' Define SOAP headers.
service.emailValue = New CampaignService.email()
service.emailValue.Text = New String() {email}
service.passwordValue = New CampaignService.password()
service.passwordValue.Text = New String() {password}
service.clientEmailValue = New CampaignService.clientEmail()
service.clientEmailValue.Text = New String() {clientEmail}
service.useragentValue = New CampaignService.useragent()
service.useragentValue.Text = New String() {useragent}
service.developerTokenValue = New
CampaignService.developerToken()
service.developerTokenValue.Text = New String()
{developerToken}
service.applicationTokenValue = New
CampaignService.applicationToken()
service.applicationTokenValue.Text = New String()
{applicationToken}
service.clientCustomerIdValue = New
CampaignService.clientCustomerId
service.clientCustomerIdValue.Text = New String() {CustID}
'Dim CampaignList() As Campaign = service.getAllAdWordsCampaigns
(0)
Dim c As Campaign
For Each c In CampaignList
If c.status.ToString = "Active" Then
Debug.Print(c.name & " " & c.status.ToString & " " &
c.budgetAmount & " " & c.id)
End If
'Next
====================================================
which worked just fine. However in trying to get a new version of
this, i am only finding little bits and chunks of code, and having
problems even figuring out how to to log in.
can anyone direct me to a vb.net example that would function as the
above code does?
thank you.
--
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.