Re: Incorrect Namespaces in Google.Api.Ads.AdWords.v201506.ReportDefinition

2015-07-06 Thread Matt Akers
Looks like Line 35, 175, and 195 are the offending lines in the 
ReportDefinition.cs file.  

On Wednesday, July 1, 2015 at 4:18:49 PM UTC-6, Umesh Dengale wrote:
>
> Hello,
>
> Thanks for pointing out above issue. We have filed issue  
> and 
> engineers from the .Net client library team will look into it.
>
> Thanks,
> Umesh, AdWords API Team.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/cb767446-9473-4200-8050-707158cc22b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Getting Error The SoapListenerExtension class is not loaded. The most possible cause for this error is that you haven't registered Google.Api.Ads.Common.Lib.SoapListenerExtension as a soap extensi

2015-10-20 Thread Matt Akers
This worked perfectly!!  Thank you!  

I will note I had to build the tags out inside system.web in my app.config. 
 $YOURCODE$

On Friday, April 6, 2012 at 6:56:41 AM UTC-6, David Torres wrote:
>
> Hi,
>
> Make sure you have this line in your App.config or Web.config
>
> 
>
>
> Did you just migrated to version >= 14.0.0?
>
> Best,
>
> -David Torres - AdWords API Team
>
> On Tuesday, April 3, 2012 1:09:49 AM UTC-4, Pramod Patil wrote:
>>
>> Hi
>>
>> I am using newer version of  Google.Api.Ads.AdWords.v201109. but I am 
>> getting error on red code line . would you please help to resolve this.
>>
>> Error : 
>>
>> T*he SoapListenerExtension class is not loaded. The most possible cause 
>> for this error is that you haven't registered 
>> Google.Api.Ads.Common.Lib.SoapListenerExtension as a soap extension under 
>> configuration/system.web/webServices/soapExtensionTypes in your your 
>> App.config or Web.config.*
>>
>>
>> Below is my code.
>>
>> Imports Google.Api.Ads.AdWords.Lib
>> Imports Google.Api.Ads.AdWords.v13
>> Imports Google.Api.Ads.AdWords.v201109
>>
>> Public Function getUser() As AdWordsUser
>> Dim headers As New Dictionary(Of String, String)
>> Dim SearchEngineDBObj As New SearchEngineDB(SQLConn)
>> Dim SearchEngineObj As SearchEngine
>> Dim emailObj As New 
>> FusionLibrary.Fusion.Campaign.eMail("192.168.2.205")
>>
>> SearchEngineObj = SearchEngineDBObj.populate("Google")
>> If SearchEngineObj Is Nothing Then
>> SearchID = 0
>> Return Nothing
>> End If
>>
>> SearchID = SearchEngineObj.SearchID
>> headers.Add("email", "X")
>> headers.Add("password", "")
>> headers.Add("useragent", "X")
>> headers.Add("developerToken", "XX")
>> headers.Add("applicationToken", "XX")
>> headers.Add("clientCustomerId", "XX"
>> 'headers.Add("AuthorizationMethod", "ClientLogin")
>>
>> Try
>> Dim AdWordsUserObj As New AdWordsUser(headers)
>> Return AdWordsUserObj
>> Catch ex As Exception
>> Return Nothing
>> End Try
>> End Function
>>
>>   Public Function updateCampaigns() As Integer
>> Dim user As AdWordsUser
>> user = getUser()
>>
>> If user Is Nothing Then
>> Return 0
>> End If
>>
>> Dim CampaignServiceObj As CampaignService
>> Dim page As CampaignPage
>> Dim SearchEngineeCampaignDBObj As New 
>> SearchEngineCampaignDB(SQLConn)
>> Dim secObj As SearchEngineCampaign
>> Dim rtn As String
>>
>> CampaignServiceObj = 
>> user.GetService(AdWordsService.v201109.CampaignService)
>>
>> Try
>> Dim selector As New Selector()
>> selector.fields = New String() {"Id", "Name", "Status"}
>>
>> Dim orderByName As New OrderBy()
>> orderByName.field = "Name"
>> orderByName.sortOrder = SortOrder.ASCENDING
>>
>> Dim emailObj As New 
>> FusionLibrary.Fusion.Campaign.eMail("XX")
>>
>> Dim SearchEngineDBObj As New SearchEngineDB(SQLConn)
>> Dim SearchEngineObj As SearchEngine
>>
>> SearchEngineObj = SearchEngineDBObj.populate("Google")
>> If SearchEngineObj Is Nothing Then
>> SearchID = 0
>> Return Nothing
>> End If
>>
>> selector.ordering = New OrderBy() {orderByName}
>> TryCast(user.Config, AdWordsAppConfig).ClientCustomerId = 
>> SearchEngineObj.UserName
>>
>>
>> *page = CampaignServiceObj.get(selector)*
>>
>> 
>> Catch ex As Exception
>> Return 0
>> End Try
>>
>> If page Is Nothing Then
>> Return 0
>> End If
>> If page.entries.Length = 0 Then
>> Return 0
>> End If
>>
>> For Each CampaignObj As 
>> Google.Api.Ads.AdWords.v201109.Campaign In page.entries
>> secObj = New SearchEngineCampaign
>> secObj.SearchID = SearchID
>> secObj.CampaignName = CampaignObj.name
>> secObj.BudgetAmount = 
>> CampaignObj.budget.amount.microAmount / 100
>> secObj.Status = CampaignObj.status.ToString
>> secObj.ID = CampaignObj.id
>> rtn = SearchEngineeCampaignDBObj.findAdd(secObj)
>> Next
>>
>> Return page.entries.Length - 1
>> End Function
>>
>>
>> Thanks
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.googl