Re: ReportService keeps failing with "The remote server returned an error: (400) Bad Request"

2012-11-06 Thread Soapy
Fixed it, removed the client email from the header and it works again.  
Hope this helps someone else.

On Tuesday, 6 November 2012 10:47:48 UTC, Soapy wrote:
>
> I'm also gettnig this error.   Anash, there is no XML response to give you 
> as the server is saying there is something wrong with this request.   It 
> does not return any XML data.The error I am getting is "The remote 
> server returned an error: (400) Bad Request."
>
> It's my understanding a 400 code means the web server was unable to 
> understand the request and process it.   We've not made any changes to our 
> code, we've just started getting this 400 error today.  I'm using the 
> latest v201209 version.
>
> If I open the url before adding the client info it opens ok and gives an 
> error message about missing client info.   When I add the client info, then 
> request the data a 400 error is returned.
>
>
> On Tuesday, 30 October 2012 15:18:25 UTC, Eric Liu wrote:
>>
>> We received a lot of errors like this from 7am today.
>> Is there something going on?
>>
>> Thanks
>> Eric
>>
>>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: ReportService keeps failing with "The remote server returned an error: (400) Bad Request"

2012-11-06 Thread Soapy
I'm also gettnig this error.   Anash, there is no XML response to give you 
as the server is saying there is something wrong with this request.   It 
does not return any XML data.The error I am getting is "The remote 
server returned an error: (400) Bad Request."

It's my understanding a 400 code means the web server was unable to 
understand the request and process it.   We've not made any changes to our 
code, we've just started getting this 400 error today.  I'm using the 
latest v201209 version.

If I open the url before adding the client info it opens ok and gives an 
error message about missing client info.   When I add the client info, then 
request the data a 400 error is returned.


On Tuesday, 30 October 2012 15:18:25 UTC, Eric Liu wrote:
>
> We received a lot of errors like this from 7am today.
> Is there something going on?
>
> Thanks
> Eric
>
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: using adparam to set prices on all ads in an adgroup

2012-10-11 Thread Soapy

Hi Justin,

Just wanted to say I'm in exactly the same position as you.  I just want to 
update the price in my ad, it seems crazy you have to do this for each 
keyword.   As the [criterionId] is required I can't see anyway around it.   
It's seems to me this is a feature the developers want, looks straight 
forward for Google to implement.   They must have a reason for not doing it 
as users were requesting it back in 2010.


-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


AdWords API Re: vb.net examples

2010-01-29 Thread Soapy
Hi Weblamer,

I struggled porting our VB.net desktop apps over to 2009 too.  I've
finally got them working!   Don't try and use the built in web
references, you need to create them manually using the wsdl.exe from
the DOS prompt example:

C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin>wsdl.exe /
language:VB /sharetypes /out:AdWordsApi.vb
https://adwords.google.com/api/adwords/cm/v200909/AdGroupCriterionService?wsdl
https://adwords.google.com/api/adwords/cm/v200909/AdGroupService?wsdl
https://adwords.google.com/api/adwords/cm/v200909/AdGroupAdService?wsdl
https://adwords.google.com/api/adwords/cm/v200909/CampaignService?wsdl

Edit the above to include the files you need (the above is just an
example)

When this file has built, add it to your project and edit the line:

Partial Public Class SoapHeader

Change it to:

Partial Public Class RequestHeader

That should get you started.

Cheers

Soapy

On Jan 26, 7:28 pm, Weblamer  wrote:
> 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 adwords-...@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.



AdWords API v2009 Adwords Api bug and Desktop Applications

2010-01-26 Thread Soapy
Are there any plans to fix the bug, where the new version of the api
is not compatible with desktop .net applications?

See 
http://groups.google.com/group/adwords-api/browse_thread/thread/fcde4e1d252152f5/

There's now less than 100 days left before V13 is dropped, we have 3
desktop applications that need converting and this bug is a real show
stopper for us.

We are using VB (express 2005) so the .net c# library is not suitable

-- 
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-...@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.



AdWords API Method AdGroupService.get can not be reflected.

2009-11-23 Thread Soapy
I'm trying to port and application from V13 to 2009 in vb.net (2005
express) but am getting an error when trying to create a "new"
instance of the adservice.

[code]

Dim adservice As AdGroupService
adservice = New AdGroupService  ' << - causes error "Method
AdGroupService.get can not be reflected."

[/code]

I've tried two different methods:

1) Adding a webreference  
https://adwords.google.com/api/adwords/cm/v200909/AdGroupService?wsdl
to the project

2) By creating a vb file using wsdl.exe /language:VB /order
https://adwords.google.com/api/adwords/cm/v200909/AdGroupService?wsdl
and adding this to the project.

(The code above is from method 2)

Both methods generate the error "Method AdGroupService.get can not be
reflected."   Any ideas?

--

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-...@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=.