Sandbox Error Sending a campaign over Please help

4 views
Skip to first unread message

SAP

unread,
May 8, 2008, 6:31:39 PM5/8/08
to AdWords API Forum
Supposedly on the first request to my GoogleCampaignService Web
Reference (https://sandbox.google.com/api/adwords/v9/CampaignService?
wsdl), we get 5 test accounts by the getclientemail, I'm not getting
anything....
Anyway, the code runs good until I try to send a campaign

CampaignService _campaignService = new CampaignService();
_campaignService.emailValue = new GoogleCampaignService.email();
_campaignService.emailValue.Text = new String[]
{ thisAccount.username };
_campaignService.passwordValue = new GoogleCampaignService.password();
_campaignService.passwordValue.Text = new String[]
{ thisAccount.password };

Campaign campaign=new Campaign();
.....


_campaignService.addCampaign(campaign); --------> throws the
following exception The requested version is no longer supported.
Please upgrade your application to a more recent version of the API.

What am I missing?

Tino Hertlein

unread,
May 9, 2008, 4:12:43 AM5/9/08
to AdWords API Forum
Looking at the URL you posted, I suppose you work with V9 of the API?

But the current version of the API is 12. (http://www.google.com/apis/adwords/developer/index.html).

As far as I know, only the current version and the version before are supported (at the moment: V11 and V12).

So, upgrading your Code to one of these would probably solve your problem.


Tino
--
Refined Labs GmbH
Landwehrstraße 17
80336 München
Tel +49 89 1392879-0
ti...@refinedlabs.com
http://www.refinedlabs.com

Sitz: München
AG München HRB 166589
Geschäftsführer:
Thomas Bindl, Stephan Seitz

-----Ursprüngliche Nachricht-----
Von: adwor...@googlegroups.com [mailto:adwor...@googlegroups.com] Im Auftrag von SAP
Gesendet: Freitag, 9. Mai 2008 00:32
An: AdWords API Forum
Betreff: AdWords API Sandbox Error Sending a campaign over Please help

SAP

unread,
May 9, 2008, 5:23:59 PM5/9/08
to AdWords API Forum


On May 9, 4:12 am, "Tino Hertlein" <t...@refinedlabs.com> wrote:
> Looking at the URL you posted, I suppose you work with V9 of the API?
>
> But the current version of the API is 12. (http://www.google.com/apis/adwords/developer/index.html).
>
> As far as I know, only the current version and the version before are supported (at the moment: V11 and V12).
>
> So, upgrading your Code to one of these would probably solve your problem.
>
> Tino
> --
> Refined Labs GmbH
> Landwehrstraße 17
> 80336 München
> Tel +49 89 1392879-0
> t...@refinedlabs.comhttp://www.refinedlabs.com

Tino Hertlein

unread,
May 12, 2008, 5:20:45 AM5/12/08
to adwor...@googlegroups.com

Have a look at the documentation on: http://www.google.com/apis/adwords/developer/Campaign.html

BudgetPeriod.Monthly - 'Indicates a monthly base budget (available only to a limited set of developers).'


Try out the BudgetPeriod.Daily-option. The use of that one is not restricted...


Tino
--
Refined Labs GmbH
Landwehrstraße 17
80336 München
Tel +49 89 1392879-0
ti...@refinedlabs.com
http://www.refinedlabs.com

Sitz: München
AG München HRB 166589
Geschäftsführer:
Thomas Bindl, Stephan Seitz

-----Ursprüngliche Nachricht-----
Von: SAP [mailto:lvi...@sapient.com]
Gesendet: Freitag, 9. Mai 2008 23:29
An: Tino Hertlein
Betreff: Re: AdWords API Sandbox Error Sending a campaign over Please help

Right, sorry, actually I am using V12. Now it's telling me one or more
input fileds are missing validation... Something to do with the
budget.... I am testing with the following:

Campaign campaign = new Campaign();
campaign.name ="NAME";
campaign.startDay = new DateTime(2008,05,20);
campaign.startDaySpecified = true;
DateTime endDay = new DateTime().AddMonths(4);

campaign.endDay = endDay;

campaign.endDaySpecified = true;
campaign.status = CampaignStatus.Active ;

campaign.budgetAmount = 100;
campaign.budgetAmountSpecified=true;
campaign.budgetPeriod = BudgetPeriod.Monthly;
campaign.budgetPeriodSpecified = true;


On May 9, 4:12 am, "Tino Hertlein" <t...@refinedlabs.com> wrote:

> Looking at the URL you posted, I suppose you work with V9 of the API?
>
> But the current version of the API is 12. (http://www.google.com/apis/adwords/developer/index.html).
>
> As far as I know, only the current version and the version before are supported (at the moment: V11 and V12).
>
> So, upgrading your Code to one of these would probably solve your problem.
>
> Tino
> --
> Refined Labs GmbH
> Landwehrstraße 17
> 80336 München
> Tel +49 89 1392879-0

> t...@refinedlabs.comhttp://www.refinedlabs.com

Reply all
Reply to author
Forward
0 new messages