should ADGROUP_PERFORMANCE_REPORT return all bid types set on an ad group?

2013-07-26 Thread David Bonner
Hi all,

We've traditionally used the ADGROUP_PERFORMANCE_REPORT as a structure 
report to fetch details about ad groups, including the current bids set. 
 It seems like with v201302, the report only returns a value for the 
currently active bidding strategy...ie. if set to MANUAL_CPC, we don't get 
the CPM or CPA bids in the report.

Is this intentional?

Thanks,
Dave

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

--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: SSL connections hanging

2013-03-15 Thread David Bonner
In Cambridge, we use Comcast, and yeah, we started seeing the same issue a 
while ago.  Simply making ssl connections to www.google.com on https port 
in a loop will reproduce the issue pretty reliably.

On Friday, 1 March 2013 17:29:35 UTC-5, lg...@wordstream.com wrote:

 Hi Chris,

 Funny enough I am based in Boston and yes, we do use Comcast. It is odd 
 though that it started on one day.

 Regards,

 L.P.

 On Friday, March 1, 2013 11:50:31 AM UTC-5, Chris Palmer wrote:

 L.P.

 I have not found a great solution. I ended up patching the adwords 
 library in a couple of places so that it raises reasonable expceptions and 
 then modifying our calling code to catch those various exceptions and 
 retrying the task at hand.

 Are you based in the US? What area of the country and who is your ISP? 
 We're in the Boston area and use Comcast. I'd be curious if you are also 
 nearby, which would suggest it is an ISP issue. To be honest I haven't 
 bothered to contact Comcast yet because I'm pretty sure they would just 
 lead us on a merry go around.

 Chris

 On Thursday, February 28, 2013 1:18:56 PM UTC-5, lg...@wordstream.comwrote:

 Good afternoon,

 I use python 2.6, the latest API (adwords_api_python-15.6.2) and also 
 run the same 'hanging time' issue as what Chris describes. It has been 
 going on for a little while (about the same time as Chris).

 Chris: have you found a remedy to your problem?

 Anash: has any one else also inquired ?

 Thank you in advance.

 Regards,

 L.P.

 On Thursday, February 14, 2013 9:43:27 PM UTC-5, Anash P. Oommen 
 (AdWords API Team) wrote:

 Hi Chris,

 ssl hanging/timeouts usually have to do with the local network or ISP 
 issues. I'm not aware of any SSL related issues being reported internally 
 or from other users.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Thursday, February 14, 2013 1:08:33 AM UTC+5:30, Chris Palmer wrote:

 Since Sunday, we are having a problem where various attempts to make 
 or read SSL connections to google services are getting hung up. I would 
 say 
 about 1 in 20 attempts to connect and read data is getting hung. Using 
 the 
 15.5.0 python client library, with python 2.7.3 (and 2.7.2+)

 This issue are happening all over the place in the adwords library:

 AuthToken.__Login()
 urllib.urlopen() calls to open wsdl and xsd urls
 reading data during ReportDownloader.DownloadReport calls

 and the hangs can occur both during the do_handshake and reads on the 
 underlying ssl socket. If left alone the hangs have lasted over an hour, 
 at 
 which point we have just killed the process.

 Additionally we are having similar issues where trying to make ssl 
 connections to google outside of the adwords library (scraping a couple 
 of 
 web pages). Which makes me think that there is something larger going on 
 with the network. Are there any know ssl connection issues with Google 
 right now?

 We didn't originally have a timeout limit set at the socket layer, so 
 we are able to work around the issue by doing that. But that then gives 
 us 
 another problem of trying to deal with the multitude of ways the adwords 
 library handles and propogates (or doesn't) the timeout exceptions. It's 
 proving very difficult to gracefully handle the timeouts and simply retry 
 the connection (which generally works right away).

 Thanks
 Chris



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

--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: reporting returning ERROR_GETTING_RESPONSE_FROM_BACKEND errors?

2012-11-30 Thread David Bonner
Hi Anansh,

Thanks for the response.  I'm seeing this regularly while trying to pull 
down the current state of a full account, but I'm unable to reproduce it 
with a single report request in isolation.

Is there a flag to turn on logging of full http requests and responses in 
the python client library, btw?  I couldn't find one.

-Dave

On Thursday, 29 November 2012 01:57:18 UTC-5, Anash P. Oommen wrote:

 Hi David,

 This error should go away if you retry the calls, but if you are seeing 
 this very frequently, please send me a failed HTTP request and response to 
 anash.p...@google.com javascript:. I'll investigate this further.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Tuesday, 27 November 2012 22:21:46 UTC+5:30, David Bonner wrote:

 Hi all,


 Has anyone else been seeing these?


 AdWordsReportError: HTTP code: 500, type: 
 'ReportDownloadError.ERROR_GETTING_RESPONSE_FROM_BACKEND', trigger: 'Unable 
 to read report data', field path: ''


 We're getting this when pulling both AD_PERFORMANCE_REPORT with a 
 predicate listing 100 ad group ids, as well as when pulling a 
 KEYWORD_PERFORMANCE_REPORT with a predicate listing many more ad group ids 
 (~5K, I believe).

 I checked the docs and the forum, and couldn't find an explanation of 
 what ERROR_GETTING_RESPONSE_FROM_BACKEND meant, or what we could reasonably 
 expect to pass in as far as the size of a predicate values list.

 Should we just be catching these errors, and resending with a smaller 
 list of values?

 Thanks,
 Dave



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





reporting returning ERROR_GETTING_RESPONSE_FROM_BACKEND errors?

2012-11-27 Thread David Bonner


Hi all,


Has anyone else been seeing these?


AdWordsReportError: HTTP code: 500, type: 
 'ReportDownloadError.ERROR_GETTING_RESPONSE_FROM_BACKEND', trigger: 'Unable 
 to read report data', field path: ''


We're getting this when pulling both AD_PERFORMANCE_REPORT with a predicate 
listing 100 ad group ids, as well as when pulling a 
KEYWORD_PERFORMANCE_REPORT with a predicate listing many more ad group ids 
(~5K, I believe).

I checked the docs and the forum, and couldn't find an explanation of 
what ERROR_GETTING_RESPONSE_FROM_BACKEND meant, or what we could reasonably 
expect to pass in as far as the size of a predicate values list.

Should we just be catching these errors, and resending with a smaller list 
of values?

Thanks,
Dave

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: BudgetService returning InternalApiError.UNEXPECTED_INTERNAL_API_ERROR in the SANDBOX

2012-11-26 Thread David Bonner
FWIW, I'm seeing the same issue.  Don't have time to migrate my testing rig 
to use a test account, but it looks like I don't really have a choice any 
more.

On Monday, 26 November 2012 01:42:43 UTC-5, Patrick Ma wrote:

 Note: I masked my credentials from the request recording.

 For some reason any request whether it's mutate or get to BudgetService 
 results in this error:

 ---
 http_interactions:
 - request:
 method: post
 uri: 
 https://adwords-sandbox.google.com/api/adwords/cm/v201209/BudgetService
 body:
   encoding: US-ASCII
   string: ?xml version=1.0 encoding=UTF-8?env:Envelope 
 xmlns:xsd=http://www.w3.org/2001/XMLSchema;
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:wsdl=
 https://adwords.google.com/api/adwords/cm/v201209;
 xmlns:env=http://schemas.xmlsoap.org/soap/envelope/
 env:Headerwsdl:RequestHeader
 xmlns=https://adwords.google.com/api/adwords/cm/v201209
 userAgentmultichannel
 (AwApi-Ruby/0.7.2, Common-Ruby/0.8.2, Savon/1.2.0, ruby/1.9.3, 
 HTTPI/1.1.1,
 
 net_http)/userAgentdeveloperToken***/developerTokenclientCustomerId***/clientCustomerId/wsdl:RequestHeader/env:Headerenv:Bodyget
 xmlns=https://adwords.google.com/api/adwords/cm/v201209
 selectorfieldsName/fieldsfieldsPeriod/fieldsfieldsAmount/fieldsfieldsDeliveryMethod/fieldsfieldsStatus/fields/selector/get/env:Body/env:Envelope
 headers:
   Soapaction:
   - ! 'get'
   User-Agent:
   - multichannel (AwApi-Ruby/0.7.2, Common-Ruby/0.8.2, Savon/1.2.0, 
 ruby/1.9.3,
 HTTPI/1.1.1, net_http)
   Authorization:
   - Bearer ya29.AHES6ZSPd1S7jPYrijuUbYdXfPEIInqAzAVmUg8R6b8krGk
   Content-Type:
   - text/xml;charset=UTF-8
   Content-Length:
   - '862'
   Accept:
   - ! '*/*'
   response:
 status:
   code: 500
   message: Internal Server Error
 headers:
   Content-Type:
   - text/xml; charset=UTF-8
   Date:
   - Mon, 26 Nov 2012 06:38:03 GMT
   Expires:
   - Mon, 26 Nov 2012 06:38:03 GMT
   Cache-Control:
   - private, max-age=0
   X-Content-Type-Options:
   - nosniff
   X-Frame-Options:
   - SAMEORIGIN
   X-Xss-Protection:
   - 1; mode=block
   Server:
   - GSE
   Transfer-Encoding:
   - chunked
 body:
   encoding: US-ASCII
   string: soap:Envelope xmlns:soap=
 http://schemas.xmlsoap.org/soap/envelope/;soap:HeaderResponseHeader
 xmlns=https://adwords.google.com/api/adwords/cm/v201209
 requestId0004cf602cdc8c400a83341b11d6/requestIdserviceNameBudgetService/serviceNamemethodNameget/methodNameoperations0/operationsresponseTime134/responseTimeunits0/units/ResponseHeader/soap:Headersoap:Bodysoap:Faultfaultcodesoap:Server/faultcodefaultstring[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
 @ 
 com.google.ads.api.services.common.error.InternalApiError.lt;initgt;(InternalApiErro]/faultstringdetailApiExceptionFault
 xmlns=https://adwords.google.com/api/adwords/cm/v201209
 message[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
 @ 
 com.google.ads.api.services.common.error.InternalApiError.lt;initgt;(InternalApiErro]/messageApplicationException.TypeApiException/ApplicationException.Typeerrors
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
 xsi:type=InternalApiErrorfieldPath/fieldPathtrigger/triggererrorStringInternalApiError.UNEXPECTED_INTERNAL_API_ERROR/errorStringApiError.TypeInternalApiError/ApiError.TypereasonUNEXPECTED_INTERNAL_API_ERROR/reason/errors/ApiExceptionFault/detail/soap:Fault/soap:Body/soap:Envelope
 http_version: 
   recorded_at: Mon, 26 Nov 2012 06:38:03 GMT
 recorded_with: VCR 2.3.0


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: How do you send a None (ie. a nil) from the python client library?

2012-10-29 Thread David Bonner
Yeah, that was going to be my next option, but I was hoping to get a useful 
response from Google.

Thanks for the help, btw.

On Friday, 26 October 2012 16:08:50 UTC-4, Alex Jones wrote:

 I'm on the java library, but it seems that you can't just send a budget 
 with a null ID or anything. if you really want to remove your budgets when 
 you are done I would recommend creating a budget with no money (or whatever 
 the minimum is), and then using it as a parking lot for campaigns tied to 
 budgets you want to delete.

 On Friday, October 26, 2012 5:34:06 AM UTC-4, David Bonner wrote:

 Anyone?

 On Tuesday, 23 October 2012 12:50:01 UTC-4, David Bonner wrote:

 Hi all,

 I'm trying, but unable, to get the client library to actually set 
 xsi:nil=true on an attribute.  This is related to the problem I'm having 
 in https://groups.google.com/forum/#!topic/adwords-api/TB8YPC3dU_8 ... 
 I'm trying to dissociate a campaign from a budget before I delete the 
 campaign, but simply sending:

 {
   'xsi_type': 'CampaignOperation',
   'operator': 'SET',
   'operand': [{
 'xsi_type': 'Campaign',
 'id': '12345',
 'name': 'something something DELETED XY:ZZ',
 'status': 'DELETED',
 'budget': None,
   }],
 }

 Doesn't seem to work.  Can anyone help?

 Thanks,
 Dave



-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: How do you send a None (ie. a nil) from the python client library?

2012-10-26 Thread David Bonner
Anyone?

On Tuesday, 23 October 2012 12:50:01 UTC-4, David Bonner wrote:

 Hi all,

 I'm trying, but unable, to get the client library to actually set 
 xsi:nil=true on an attribute.  This is related to the problem I'm having 
 in https://groups.google.com/forum/#!topic/adwords-api/TB8YPC3dU_8 ... 
 I'm trying to dissociate a campaign from a budget before I delete the 
 campaign, but simply sending:

 {
   'xsi_type': 'CampaignOperation',
   'operator': 'SET',
   'operand': [{
 'xsi_type': 'Campaign',
 'id': '12345',
 'name': 'something something DELETED XY:ZZ',
 'status': 'DELETED',
 'budget': None,
   }],
 }

 Doesn't seem to work.  Can anyone help?

 Thanks,
 Dave


-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Do deleted campaigns count towards the budget refcount?

2012-10-23 Thread David Bonner
Must be a python client library bug...I tried setting the campaign.budget 
to None, and the campaign.budget.budgetId to None, and neither one managed 
to dissociate the campaign from the budget.  Turning debug on, it looks 
like the soap being sent doesn't have the budget set to nil.

Has anyone managed this with the python client library yet?

On Tuesday, 23 October 2012 11:46:13 UTC-4, Alex Jones wrote:

 You have to dissociate them as you delete campaigns. otherwise they still 
 count as linked to the budget. Just set budgetId to null as part of your 
 campaign delete.

 On Thursday, October 18, 2012 406:32 PM UTC-4, David Bonner wrote:

 Hi all,

 I'm in the middle of migrating from 201109 to 201209, and trying to 
 update my unit tests.  After deleting any campaigns I've created, I try to 
 delete the budgets I created for them.  As soon as I do that, I'm getting 
 a BudgetError.BUDGET_IN_USE error.

 Has anyone else seen this?  Do I need to dissociate the budget from the 
 campaign as I delete it?

 Thanks,
 Dave



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


How do you send a None (ie. a nil) from the python client library?

2012-10-23 Thread David Bonner
Hi all,

I'm trying, but unable, to get the client library to actually set 
xsi:nil=true on an attribute.  This is related to the problem I'm having 
in https://groups.google.com/forum/#!topic/adwords-api/TB8YPC3dU_8 ... I'm 
trying to dissociate a campaign from a budget before I delete the campaign, 
but simply sending:

{
  'xsi_type': 'CampaignOperation',
  'operator': 'SET',
  'operand': [{
'xsi_type': 'Campaign',
'id': '12345',
'name': 'something something DELETED XY:ZZ',
'status': 'DELETED',
'budget': None,
  }],
}

Doesn't seem to work.  Can anyone help?

Thanks,
Dave

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


Do deleted campaigns count towards the budget refcount?

2012-10-18 Thread David Bonner
Hi all,

I'm in the middle of migrating from 201109 to 201209, and trying to update 
my unit tests.  After deleting any campaigns I've created, I try to delete 
the budgets I created for them.  As soon as I do that, I'm getting 
a BudgetError.BUDGET_IN_USE error.

Has anyone else seen this?  Do I need to dissociate the budget from the 
campaign as I delete it?

Thanks,
Dave

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


v201209 released?

2012-10-04 Thread David Bonner
Hi all,

I'm in the process of upgrading our code from v201109 in advance of the 
sunset date, and I noticed that there's mention of a 
v201209https://developers.google.com/adwords/api/docs/reference/#v201209on 
the release notes page.  However, I haven't seen anything on the blog, 
and the most recent (15.4.1) python client library doesn't mention it 
either. Is this an imminent release it's worth waiting for?  Or is this 
going to be something that shows up after the v201109 sunset?

Thanks,
Dave

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: API access stopped

2012-03-26 Thread David Bonner
Just a guess, but is it possible your tool wasn't updated to use the most 
recent version of the adwords API?  All previous versions were sunset at 
the end of February.  See, for example:

http://googleadsdeveloper.blogspot.com/2012/01/prepare-for-sunset-with-adwords-api.html

On Monday, 26 March 2012 06:41:22 UTC-4, TurkeyTwizzler wrote:

 Hi all, 

 I've had an unusual occurence with the adwords API. As of January this 
 year, my credentials no longer seem to be working. I've reset the password 
 for the account, and amended all of my tools to suit, but this hasn't 
 worked, I've also reset the developer token, and I've had no luck. 

 The main tool I'm using is a custom built reporting tool, which pulls data 
 from a range of APIs,including analytics, bing, yahoo and so on, all of 
 which are still working. It's just adwords that's stopped. Nothing in the 
 backend of this reporting system has changed, (code-wise) so I'm guessing 
 the problem is external. I've also tried using the adwords credentials and 
 the token in third party tools and the access isn't working in those 
 either. 

 I am totally stuck... any ideas of where i can start looking?

 Thanks in advance! 

 TT

 p.s I'm not a developer, I work closely with a developerm so If there are 
 any questions, I'll pass them on to him and get feedback as soon as I can. 



-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Negative values seen for average position

2012-03-26 Thread David Bonner
Hi Kevin,

Thanks for the reply.  This issue went away...I believe some time later 
that day.

-Dave

On Monday, 26 March 2012 09:27:20 UTC-4, Kevin Winter wrote:

 Hi,
   We're not aware of any issue on our side that would be causing this.  Is 
 this still occuring for you?  Could you please provide some more details 
 regarding exactly what account and what ReportDefinition XML you are using? 
  I'd like to try to reproduce if this is still an issue for you.

 - Kevin Winter
 AdWords API Team

 On Thursday, March 22, 2012 10:32:55 AM UTC-4, David Bonner wrote:

 We're seeing this again this morning, in impressions on geo performance 
 reports.  Anyone else seeing it?

 On Thursday, 8 March 2012 10:17:27 UTC-5, Kevin Winter wrote:

 Hi,
   There was a known issue where stats collection/processing were not 
 functioning properly for a few days.  The negative numbers were the results 
 of spam detection operations subtracting a click or impression, but there 
 were zero impressions/clicks processed for that period.  We believe we have 
 re-processed all outstanding data (which was not lost, merely not visible) 
 and stats should be returned to normal as of today.  We apologize for the 
 trouble this has caused.

 - Kevin Winter
 AdWords API Team

 On Wednesday, March 7, 2012 5:25:32 PM UTC-5, j.e.frank wrote:

 Google,

 Any update on this issue?

 On Wednesday, March 7, 2012 2:56:48 AM UTC-5, Daniel Bergholm wrote:

 We are experiencing the same problem. We are getting a lot of rows 
 with negative impressions (the ones I have seen have -1 impressions) 
 for 
 the last couple of days. 
 We too have modelled our data representation on the assumption that 
 these values cannot be negative, so it breaks our processing.


 On Tuesday, 6 March 2012 12:47:27 UTC+1, rp wrote:

 Hi,

 We have the same issue, for several accounts we are getting negative 
 impressions, clicks and costs in reports for yesterday.


On Monday, 26 March 2012 09:27:20 UTC-4, Kevin Winter wrote:

 Hi,
   We're not aware of any issue on our side that would be causing this.  Is 
 this still occuring for you?  Could you please provide some more details 
 regarding exactly what account and what ReportDefinition XML you are using? 
  I'd like to try to reproduce if this is still an issue for you.

 - Kevin Winter
 AdWords API Team

 On Thursday, March 22, 2012 10:32:55 AM UTC-4, David Bonner wrote:

 We're seeing this again this morning, in impressions on geo performance 
 reports.  Anyone else seeing it?

 On Thursday, 8 March 2012 10:17:27 UTC-5, Kevin Winter wrote:

 Hi,
   There was a known issue where stats collection/processing were not 
 functioning properly for a few days.  The negative numbers were the results 
 of spam detection operations subtracting a click or impression, but there 
 were zero impressions/clicks processed for that period.  We believe we have 
 re-processed all outstanding data (which was not lost, merely not visible) 
 and stats should be returned to normal as of today.  We apologize for the 
 trouble this has caused.

 - Kevin Winter
 AdWords API Team

 On Wednesday, March 7, 2012 5:25:32 PM UTC-5, j.e.frank wrote:

 Google,

 Any update on this issue?

 On Wednesday, March 7, 2012 2:56:48 AM UTC-5, Daniel Bergholm wrote:

 We are experiencing the same problem. We are getting a lot of rows 
 with negative impressions (the ones I have seen have -1 impressions) 
 for 
 the last couple of days. 
 We too have modelled our data representation on the assumption that 
 these values cannot be negative, so it breaks our processing.


 On Tuesday, 6 March 2012 12:47:27 UTC+1, rp wrote:

 Hi,

 We have the same issue, for several accounts we are getting negative 
 impressions, clicks and costs in reports for yesterday.



-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Negative values seen for average position

2012-03-22 Thread David Bonner
We're seeing this again this morning, in impressions on geo performance 
reports.  Anyone else seeing it?

On Thursday, 8 March 2012 10:17:27 UTC-5, Kevin Winter wrote:

 Hi,
   There was a known issue where stats collection/processing were not 
 functioning properly for a few days.  The negative numbers were the results 
 of spam detection operations subtracting a click or impression, but there 
 were zero impressions/clicks processed for that period.  We believe we have 
 re-processed all outstanding data (which was not lost, merely not visible) 
 and stats should be returned to normal as of today.  We apologize for the 
 trouble this has caused.

 - Kevin Winter
 AdWords API Team

 On Wednesday, March 7, 2012 5:25:32 PM UTC-5, j.e.frank wrote:

 Google,

 Any update on this issue?

 On Wednesday, March 7, 2012 2:56:48 AM UTC-5, Daniel Bergholm wrote:

 We are experiencing the same problem. We are getting a lot of rows with 
 negative impressions (the ones I have seen have -1 impressions) for the 
 last couple of days. 
 We too have modelled our data representation on the assumption that 
 these values cannot be negative, so it breaks our processing.


 On Tuesday, 6 March 2012 12:47:27 UTC+1, rp wrote:

 Hi,

 We have the same issue, for several accounts we are getting negative 
 impressions, clicks and costs in reports for yesterday.



-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: PHP v201109 ReportDefinitionService-mutate()

2012-03-22 Thread David Bonner
You don't need to store and manage report definitions any more in v201109. 
 You just send the report definition you want as part of the report 
download call.

On Thursday, 22 March 2012 12:04:53 UTC-4, Jonathan wrote:


 Hi, 

 I'm trying to migrate from the PHP API v201101 to v201109 and I realized 
 that the *ReportDefinitionService *no longer has a mutate() method.
 From what I understand this should be replace using the *MutateJobService* 
 class 
 but I'm having trouble understanding how that can be done considering the 
 *ReportDefinitionOperation *class has been omitted from this version of 
 the API.

 Thanks

  

 $reportDefinitionService = $user-​GetReportDefinitionService('​v201109');

 $reportDefinition = new ReportDefinition();

 $reportDefinition-reportName = 'AD performance report #' .time();

 $reportDefinition-​dateRangeType = 'LAST_30_DAYS';

 //custom***

 $startDate = date(Ymd, strtotime(-1 days)); //-2

 $endDate = date(Ymd, strtotime(-1 days));   //-1

 $selector-dateRange = new DateRange($startDate, $endDate);

 $reportDefinition-​dateRangeType = CUSTOM_DATE;

 //end

  $reportDefinition-reportType = $reportType;

  $reportDefinition-​downloadFormat = 'CSV';

  $reportDefinition-selector = $selector;


  // Create operations.

 $operation = new ReportDefinitionOperation(); 

  $operation-operand = $reportDefinition;

  $operation-operator = 'ADD';


  $operations = array($operation);

  $result = $reportDefinitionService-​mutate($operations);

  $array=array();

  ini_set('memory_limit', '-1');

  // Display report definitions.

 if ($result != null) {

   foreach ($result as $reportDefinition) {

$csv = ReportUtils::DownloadReport($​reportDefinition-id, 
 $path= null, $user); 

 $rows = explode( \n, $csv );

 for($i=2;$icount($rows)-1;$i+​+)

 {

 $array[]=explode( \t , $rows[$i] );

 } 

}

 } 



-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: duplicate locations being returned from CampaignCriterionService.get?

2012-03-05 Thread David Bonner
Thanks for the response, Kevin.

I'd like to avoid special-casing my paging logic for this particular 
service, if i can...is that logic safe to use elsewhere?  I'd been a bit 
more paranoid, and only been incrementing by the length of returned data.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: duplicate locations being returned from CampaignCriterionService.get?

2012-03-05 Thread David Bonner
Thanks again for the help.

On Monday, 5 March 2012 11:56:25 UTC-5, Kevin Winter wrote:

 Hi,
   Yes, we recommend this approach for all paging scenarios.  We've since 
 updated out code examples to do this as well: 
 http://code.google.com/p/google-api-ads-python/source/browse/trunk/examples/adspygoogle/adwords/v201109/targeting/get_campaign_targeting_criteria.py#75

 - Kevin Winter
 AdWords API Team

 On Monday, March 5, 2012 11:21:06 AM UTC-5, David Bonner wrote:

 Thanks for the response, Kevin.

 I'd like to avoid special-casing my paging logic for this particular 
 service, if i can...is that logic safe to use elsewhere?  I'd been a bit 
 more paranoid, and only been incrementing by the length of returned data.



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


duplicate locations being returned from CampaignCriterionService.get?

2012-02-28 Thread David Bonner
I'm seeing some weird behavior, hoping someone else has seen it as well. 
 I'm querying for campaign criteria, with a list of campaign ids as the 
only predicate.  I've got paging turned on, with a page size of 5000.  The 
first response gives me 71 criteria, and says there are a total of 79.  I 
pull the second page, and get the final 8 criteria.  But all 8 of those are 
duplicates.

The dupes are for multiple campaigns, and there are multiple criteria types 
in there as well.

I assumed that I was simply missing a field that would differentiate the 
two, but damned if I can figure out which.

   serviceSelector xsi3:type=cm:Selector
cm:fieldsAddress/cm:fields
cm:fieldsAgeRangeType/cm:fields
cm:fieldsCampaignId/cm:fields
cm:fieldsCriteriaType/cm:fields
cm:fieldsDisplayType/cm:fields
cm:fieldsGeoPoint/cm:fields
cm:fieldsId/cm:fields
cm:fieldsIsObsolete/cm:fields
cm:fieldsKeywordMatchType/cm:fields
cm:fieldsKeywordText/cm:fields
cm:fieldsLanguageCode/cm:fields
cm:fieldsLanguageName/cm:fields
cm:fieldsLocationName/cm:fields
cm:fieldsParentLocations/cm:fields
cm:fieldsPlacementUrl/cm:fields
cm:fieldsPlatformName/cm:fields
cm:fieldsRadiusDistanceUnits/cm:fields
cm:fieldsRadiusInUnits/cm:fields
cm:predicates xsi3:type=cm:Predicate
 cm:fieldCampaignId/cm:field
 cm:operatorIN/cm:operator
 SNIP CAMPAIGN IDS
/cm:predicates
cm:paging xsi3:type=cm:Paging
 cm:startIndex0/cm:startIndex
 cm:numberResults5000/cm:numberResults
/cm:paging
   /serviceSelector

This is in python, with adspygoogle 15.1.4.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: How to get keywords quality info

2012-02-27 Thread David Bonner
Did you remember to include QualityScore in the list of fields you 
requested?

http://code.google.com/apis/adwords/docs/appendix/selectorfields.html#v201109-AdGroupCriterionService

On Monday, 27 February 2012 04:17:08 UTC-5, Hudarsono Hu wrote:

 Hi All,

 Note : This is in Sandbox mode.

 When we submit a keyword, we get return value that contains 'Quality Info.

 But when we try to run Get on AdgroupCriterionService, we get the 
 return value without qualityinfo. THis is what was returned :

 entries xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
 xsi:type=BiddableAdGroupCriterion
   adGroupId3065405361/adGroupId
   criterionUseBIDDABLE/criterionUse
   criterion xsi:type=Keyword
 id11710095/id
 typeKEYWORD/type
 Criterion.TypeKeyword/Criterion.Type
 matchTypeBROAD/matchType
   /criterion
   
 AdGroupCriterion.TypeBiddableAdGroupCriterion/AdGroupCriterion.Type
   stats
 networkSEARCH/network
 Stats.TypeStats/Stats.Type
   /stats
 /entries


 So we can check the quality info of that keyword after addition?


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


Any word on adding approvalStatus to keyword and managed placements performance reports?

2012-02-21 Thread David Bonner
A search of this forum shows requests for it to be added, going back as far 
as 2009, with responses along the lines of it'll be passed along to the 
core engineering team, or it might take a while.  Just wondering if there's 
been any movement to get it included.

Thanks.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: About developer Token

2012-02-21 Thread David Bonner
You don't need a developer token to use sandbox. 
 See http://code.google.com/apis/adwords/docs/sandbox.html for more details.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: ValidationError: Field 'text' is not in type 'Criterion'.

2012-02-16 Thread David Bonner
You need to specify types (using xsi_type) for all the objects represented 
in that dict struct.

You have:
[{'operand': {'adGroupId': u'5480244943',
  'criterion': {'matchType': 'PHRASE',
'text': u'1391besaa22aqb',
'type': 'Keyword'},
  'type': 'BiddableAdGroupCriterion'},
  'operator': 'ADD'},
 {'operand': {'adGroupId': u'5480244943',
  'criterion': {'matchType': 'PHRASE',
'text': u'1391b-esaa22-aqb',
'type': 'Keyword'},
  'type': 'BiddableAdGroupCriterion'},
  'operator': 'ADD'}]


You need:
[{'xsi_type': 'AdGroupCriteironOperation',
  'operand': {'adGroupId': u'5480244943',
  'criterion': {'matchType': 'PHRASE',
'text': u'1391besaa22aqb',
'xsi_type': 'Keyword'},
  'xsi_type': 'BiddableAdGroupCriterion'},
  'operator': 'ADD'},
 {'xsi_type': 'AdGroupCriterionOperation',
  'operand': {'adGroupId': u'5480244943',
  'criterion': {'matchType': 'PHRASE',
'text': u'1391b-esaa22-aqb',
'xsi_type': 'Keyword'},
  'xsi_type': 'BiddableAdGroupCriterion'},
  'operator': 'ADD'}]

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Is the v13.AccountInterface being sunsetted?

2012-02-16 Thread David Bonner
Yup, end of the month, per the many blog and forum posts.

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

2012-02-15 Thread David Bonner
You need to use the ID.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: some US city CriteriaIds aren't accepted as campaign critera?

2012-01-30 Thread David Bonner
Thanks.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: some US city CriteriaIds aren't accepted as campaign critera?

2012-01-26 Thread David Bonner
Also, is there a specific reason why the countrycodes.csv uses 'CriteriaID' 
for the column name, but the others I've tested so far use 'CriteriaId'? 
 Any chance we could get them all normalized?

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


some US city CriteriaIds aren't accepted as campaign critera?

2012-01-25 Thread David Bonner
As part of transitioning to v201109, I've written a small wrapper that 
pulls the criteria csvs from the api docs page, and looks up criteria ids. 
 While testing that wrapper, I discovered there are cities listed (at 
http://code.google.com/apis/adwords/docs/appendix/cities_us.csv) that are 
refused as campaign criteria.  For example, the entries for Hyannisport and 
South Grafton, MA in the cities csv are:

Massachusetts,Hyannis Port,1018255,Boston MA-Manchester NH,506,US-MA
Massachusetts,South Grafton,1018410,Boston MA-Manchester NH,506,US-MA


But trying to use those ids as campaign criteria gets me the following 
error:

  soap:Fault
   faultcodesoap:Server/faultcode
   faultstring[CriterionError.CANNOT_TARGET_CRITERION @ 
operations[119].operand.criterion; trigger:'1018255', 
CriterionError.CANNOT_TARGET_CRITERION @ operations[232].operand.criterion; 
trigger:'1018410']/faultstring
   detail
ApiExceptionFault 
xmlns=https://adwords.google.com/api/adwords/cm/v201109;
 message[CriterionError.CANNOT_TARGET_CRITERION @ 
operations[119].operand.criterion; trigger:'1018255', 
CriterionError.CANNOT_TARGET_CRITERION @ operations[232].operand.criterion; 
trigger:'1018410']/message
 ApplicationException.TypeApiException/ApplicationException.Type
 errors xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xsi:type=CriterionError
  fieldPathoperations[119].operand.criterion/fieldPath
  trigger1018255/trigger
  errorStringCriterionError.CANNOT_TARGET_CRITERION/errorString
  ApiError.TypeCriterionError/ApiError.Type
  reasonCANNOT_TARGET_CRITERION/reason
 /errors
 errors xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xsi:type=CriterionError
  fieldPathoperations[232].operand.criterion/fieldPath
  trigger1018410/trigger
  errorStringCriterionError.CANNOT_TARGET_CRITERION/errorString
  ApiError.TypeCriterionError/ApiError.Type
  reasonCANNOT_TARGET_CRITERION/reason
 /errors
/ApiExceptionFault
   /detail
  /soap:Fault



I was under the impression that the csv files in the api docs were the 
authoritative source for criteria ids...is that not the case?  Or is it 
simply that not all criteria can be used as campaign criteria?

If it helps, this was run against sandbox, and the requestId 
was 0004b760a56264b80a0d1a1a6940. 

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


Has anyone successfully run the python api client library tests?

2012-01-18 Thread David Bonner
I'm trying to set up some automated testing for when we have to make 
changes to the client library, and the obvious first step seemed to be 
simply running the tests that come bundled with the library.  However, 
trying to run tests/adspygoogle/adwords/alltests.py throws a validation 
error on seemingly every variation of values I can enter when running 
config.py.

Has anybody gotten this to work?

Thanks.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: validateOnly seemingly has no effect

2012-01-17 Thread David Bonner
Yeah, we do the same approach pretty much everywhere, and after switching 
to 15.x, campaign creation fails with a name collision, presumably because 
validateOnly is being ignored.

Thanks for isolating this and posting it to the issue tracker, I see 
they've already at least accepted the bug.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: validateOnly seemingly has no effect

2012-01-17 Thread David Bonner
It's on the client api site.

http://code.google.com/p/google-api-ads-python/issues/list

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: best method for getting customerId in v201109?

2012-01-17 Thread David Bonner
It's a known bug in the sandbox server, it always returns a customerId of 0 
for the mcc 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


Re: how can I get MCC account info after I calling CampaignService.get mentioned in Using the Sandbox

2012-01-13 Thread David Bonner
Not sure about Jack, but for me, it'd be helpful to have the MCC account's 
customerId.  That way I wouldn't need to special case my client creation, 
and not include customerClientId in the headers when using the sandbox MCC 
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


Re: getting consistent 500s thru the Adwords API. why?

2011-11-23 Thread David Bonner
I'm getting internal server errors from the v201008 ServicedAccountService. 
 Started yesterday afternoon EDT, and it doesn't seem to have been fixed.

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