Hello Albin, What jumps out to me about your sample code is that you're setting the keywordMaxCpc to 1000L. That's almost certainly below the minimum bid amount, unless you're using a currency that I'm not familiar with. For USD, specifying 10000L would be equal to 1 cent, and 1000000 would be equal to 1 USD. Try passing in at least 10000 and see if you have more success.
If that's not it, then could you please let us know exactly what error you're getting back, and ideally pass along the logs of the SOAP request and response you're making (with your password and token information X-ed out)? Cheers, -Jeff Posnick, AdWords API Team On Jun 3, 5:31 am, Albin <albinwo...@gmail.com> wrote: > Hello, > > I've created a Campaign but I can´t add groups. I've tried several > configurations and followed several samples but I'm always getting the > same error. How could I investigate it closer? > > My code is so simple: > > grp = New AWGroupService.AdGroup > grp.name = "Group #1" > grp.keywordMaxCpc = 1000L > grp.keywordMaxCpcSpecified = True > > grpsrv.addAdGroup(idCampaign, grp) > > I'm sure idCampaign has a valid value. > > The object grpsrv is an AWGroupService.AdGroupService which I've > instanciated with the same values I used to instanciate > AWCampaignService.CampaignService so they should also be right to be > used here. > > Any idee? > > Thanks. > - Albin --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---