Re: Error ADDing a new Campaign -- BUDGET_PERIOD_NOT_AVAILABLE

2010-04-30 Thread Don Spaulding
Thanks Peer, switching our budgets to DAILY periods worked.

On Apr 29, 4:10 pm, Peer Jakobsen (AdWords API Guru)
peer.jakob...@gmail.com wrote:
 The MONTHLY budget period is a legacy value. It's not allowed on new
 campaigns.

 Cheers

 --
 =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 Also find us on our blog and discussion 
 group:http://adwordsapi.blogspot.comhttp://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 
 athttp://groups.google.com/group/adwords-api?hl=en

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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


Error ADDing a new Campaign -- BUDGET_PERIOD_NOT_AVAILABLE

2010-04-29 Thread Don Spaulding
I'm using python and suds to make calls to the AdWords API, and I'm
running into an error that I'm not sure how to fix.  I've included the
request and response below.  Can someone see what I'm doing wrong?
(I've masked some of the information in the request, but the response
is exactly what I received.

?xml version=1.0 encoding=UTF-8?
SOAP-ENV:Envelope xmlns:ns0=https://adwords.google.com/api/adwords/
cm/v201002 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xmlns:tns=https://adwords.google.com/api/adwords/cm/v201002;
xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/;
   SOAP-ENV:Header
  tns:RequestHeader
 tns:authTokenxxx/tns:authToken
 tns:clientEmailxxx/tns:clientEmail
 tns:developerTokenxx/tns:developerToken
 tns:userAgentxx/tns:userAgent
  /tns:RequestHeader
   /SOAP-ENV:Header
   SOAP-ENV:Body
  ns0:mutate
 ns0:operations xsi:type=ns0:CampaignOperation
ns0:operatorADD/ns0:operator
ns0:operand
   ns0:nameSherry Loccer - Geo #2/ns0:name
   ns0:statusPAUSED/ns0:status
   ns0:budget
  ns0:periodMONTHLY/ns0:period
  ns0:amount xsi:type=ns0:Money
 ns0:microAmount7500/ns0:microAmount
  /ns0:amount
  ns0:deliveryMethodACCELERATED/ns0:deliveryMethod
   /ns0:budget
   ns0:biddingStrategy xsi:type=ns0:ManualCPC
  ns0:BiddingStrategy.TypeManualCPC/
ns0:BiddingStrategy.Type
   /ns0:biddingStrategy
/ns0:operand
 /ns0:operations
  /ns0:mutate
   /SOAP-ENV:Body
/SOAP-ENV:Envelope


?xml version=1.0?
soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
soap:Header
ResponseHeader xmlns=https://adwords.google.com/api/adwords/
cm/v201002
requestIdd470ac2c98147d5b71dc344fe06d3f5d/requestId
operations1/operations
responseTime522/responseTime
units1/units
/ResponseHeader
/soap:Header
soap:Body
soap:Fault
faultcodesoap:Server/faultcode
faultstring[BudgetError.BUDGET_PERIOD_NOT_AVAILABLE @
operations[0].operand.budget]/faultstring
detail
ApiExceptionFault xmlns=https://adwords.google.com/
api/adwords/cm/v201002
message[BudgetError.BUDGET_PERIOD_NOT_AVAILABLE
@ operations[0].operand.budget]/message
ApplicationException.TypeApiException/
ApplicationException.Type
errors xmlns:xsi=http://www.w3.org/2001/
XMLSchema-instance xsi:type=BudgetError
fieldPathoperations[0].operand.budget/
fieldPath
trigger/
ApiError.TypeBudgetError/ApiError.Type
reasonBUDGET_PERIOD_NOT_AVAILABLE/reason
/errors
/ApiExceptionFault
/detail
/soap:Fault
/soap:Body
/soap:Envelope

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Error ADDing a new Campaign -- BUDGET_PERIOD_NOT_AVAILABLE

2010-04-29 Thread Peer Jakobsen (AdWords API Guru)
The MONTHLY budget period is a legacy value. It's not allowed on new
campaigns.

Cheers

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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