Hi Sid, The logs you provided include your developer token, which should be kept private. I recommend you reset your developer token, which can be done in the AdWords UI in the AdWords API Center.
You can disable logging to the console by re-running the config.py script or by editing your configuration pickle. http://code.google.com/p/google-api-ads-python/source/browse/trunk/scripts/adspygoogle/adwords/config.py Best, - Eric On Wednesday, April 4, 2012 4:54:43 PM UTC-4, Sid wrote: > > Thanks Eric, > > Attached is a sample from the console output. > > > > On Wednesday, April 4, 2012 1:47:39 PM UTC-7, Eric Koleda wrote: >> >> Hi Sid, >> >> What kind of console messages are you seeing? The Python Client Library >> shouldn't output anything to the console on it's own. >> >> Best, >> - Eric Koleda, AdWords API Team >> >> On Monday, April 2, 2012 3:18:57 PM UTC-4, Sid wrote: >>> >>> Hi >>> >>> I'm updating max_cpc via the python API to my Adwords account. I would >>> like to restrict the amount of console output so that I can email the >>> output to myself in the cron and keep track of success/failures. However >>> the size of SOAP messages is so large that my mail server is unable to mail >>> the output to me. Are there specific flags I can use to suppress the >>> console messages? Ideally I'd only like to be able to see what I explicitly >>> print out in my code as the email content. Snippet from my code: >>> >>> for row in rows: >>> ad_group_id = str(row[0]) >>> criterion_id = str(row[1]) >>> max_cpc = row[2] >>> operations = [{ >>> 'operator': 'SET', >>> 'operand': { >>> 'xsi_type': 'BiddableAdGroupCriterion', >>> 'adGroupId': ad_group_id, >>> 'criterion': { >>> 'id': criterion_id, >>> }, >>> 'bids': { >>> 'xsi_type': 'ManualCPCAdGroupCriterionBids', >>> 'maxCpc': { >>> 'amount': { >>> 'microAmount': max_cpc >>> } >>> } >>> } >>> } >>> }] >>> try: >>> ad_group_criteria = ad_group_criterion_service.Mutate(operations)[0] >>> except Exception as e: >>> print "Failed to update bid (%s,%s,%s) for account %s Exception %s" >>> %(ad_group_id,criterion_id,max_cpc,input_account,e) >>> print str(cursor.rowcount) + " Bids updated for account " + >>> input_account >>> >> -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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