Re: best method for getting customerId in v201109?
Hi Kevin, Are there still issues with the CustomerID = 0? For most my clients, I have no problems and can look up the Customer ID. But sometimes it comes back as 0. For example I just got this response: soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/; soap:Header ResponseHeader xmlns:ns2=https://adwords.google.com/api/adwords/cm/v201109; xmlns=https://adwords.google.com/api/adwords/mcm/v201109; ns2:requestId0004bf88a41487c80aec782b3b94/ns2:requestId ns2:serviceNameServicedAccountService/ns2:serviceName ns2:methodNameget/ns2:methodName ns2:operations0/ns2:operations ns2:responseTime25/ns2:responseTime ns2:units0/ns2:units /ResponseHeader /soap:Header soap:Body getResponse xmlns=https://adwords.google.com/api/adwords/mcm/v201109; xmlns:ns2=https://adwords.google.com/api/adwords/cm/v201109; rval accountscustomerId0/customerIdcanManageClientsfalse/canManageClients/accounts /rval /getResponse /soap:Body /soap:Envelope I am trying to run AdHoc reports for clients, for which I need the customerID. My code checks to see if I have the customer ID in my local DB, and if not it looks it up. Usually this works, but occasionally it fails. If I then look up the ID manually by logging into the web interface and copying the CustomerID, AdHoc reports work fine. Any ideas why? Thanks Ben On Thursday, 23 February 2012 16:52:09 UTC, Kevin Winter wrote: Hi Chris, Yes, that should work. It bases this behavior on the authenticated user (which needs to be a non-MCC account). - Kevin Winter AdWords API Team On Thursday, February 23, 2012 11:44:15 AM UTC-5, chris h wrote: Hi Kevin, Should this work with an existing oauth token? Or do I need to get a new token? I'm sure my token was created before you made this change. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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: Cannot get Customer ID with read only access
Hi Danial, With the v13 lib I am using AccountService (https://adwords.google.com/ api/adwords/v13/AccountService) With v201109 I am using ServicedAccountGraph Thanks for help. Kind regards, Ben On Feb 3, 10:19 am, Danial Klimkin danial.klimkin+fo...@google.com wrote: Hello Ben, How do you retrieve the client customer ID? Is this ServicedAccountService or InfoService? -Danial, AdWords API Team. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
Exception has been thrown by the target of an invocation
Hi, I have encountered a strange problem which is causing me a lot of grief, and wondered if someone had some pointers. I have writen a Windows Service - which uses the Traffic Estimator Service to gather some data for me. I recently updated the code from V13 to v201101. If I run the code as a console application, it works fine. If I run the code as a Windows Service it works fine on my development PC, but as soon as I try and run the service on the live server (windows 2008 server) it throws an error. This line: TrafficEstimatorService trafficestimatorservice = (TrafficEstimatorService)user.GetService(AdWordsService.v201101.TrafficEstimatorService); Throws this error: Exception has been thrown by the target of an invocation. / Could not find file 'C:\Windows\TEMP\10hoolot.dll'. My user is setup: Dictionarystring, string headers = new Dictionarystring, string(); headers.Add(email, x...@xx.xxx); headers.Add(password, ); headers.Add(useragent, xx); headers.Add(developerToken, x); user = new AdWordsUser(headers); What I dont understand is why the code works as a console app on the server, but when the same library is called by a windows service it throws this error. Any ideas? Kind regards, Ben -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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: Traffic Estimator Service
Hi Anash, Thats great - thanks very much. Cheers, Ben On Dec 13, 3:19 am, AdWords API Advisor adwordsapiadvi...@google.com wrote: Hi Ben, I've opened an issue with the AdWords API team, and they agreed that returning the value as float makes sense. This change may happen in the next version of the AdWords API, though I don't have an exact date on when it will be available. Cheers, Anash P. Oommen, AdWords API Advisor. On Dec 9, 5:31 pm, Ben Vincent b...@trafficsmart.co.uk wrote: Hi Anash, Sorry to keep pestering you. Just wondered if there was any news, as we are eager to get this working for us. Kind Regards, Ben On Dec 6, 11:49 am, AdWords API Advisor adwordsapiadvi...@google.com wrote: Hi Ben, I'm awaiting the response from the AdWords team, I'll ping them again today. Cheers, Anash P. Oommen, AdWords API Advisor. On Dec 6, 3:33 pm, Ben Vincent b...@trafficsmart.co.uk wrote: Hi Anash, Just wondered if you managed to find anything out about this? Are there any further details I can give you to help? Cheers, Ben On Dec 3, 1:59 pm, AdWords API Advisor adwordsapiadvi...@google.com wrote: Hi Ben, I'll take a look the requests later today and update this thread once I have more details. Cheers, Anash P. Oommen, AdWords API Advisor. On Dec 2, 4:46 pm, Ben Vincent b...@trafficsmart.co.uk wrote: Hi Anash, I am working with Hylton on this, so can provide the details. We are using the .Net client library which I just noticed was written by you :-) An Example request ID on old API (V13) that gives us clicks back as a float f314b8d1f2739537fd712342c2a63b9a An Example Request ID on new API (V201008) that gives the clicks back as a long 0a40ae685bfe955945fd957740ff2fd9 Let me know if you require any other details. Kind Regards, Ben On Dec 2, 9:58 am, AdWords API Advisor adwordsapiadvi...@google.com wrote: Hi Hylton, Are you using a client library for writing your code? Do you have a requestid for a request that you can post here, so I may investigate the issue? Cheers, Anash P. Oommen, AdWords API Advisor. On Dec 1, 4:14 pm, hylton hyl...@trafficsmart.co.uk wrote: Hi We use the TrafficEstimatorService in v13 of the API, and understand that it will be removed sometime next year, and we will instead have to use the new TrafficEstimatorService that has been included in v201008. However, the new service in v201008 only shows the estimated max Clicks on a keyword as a LONG, and it appears to be rounded down. This means if there are less than 30 clicks available on a keyword in a month, the new TrafficEstimatorService in v201008 just returns an estimate of 0... The existing v13 service appears much more helpful, as it returns UpperClicksPerDay as a float, and can return 0.5, say, if there are approx 15 clicks available per month. This makes the v13 service much better for exploring long tail keywords. Will the TrafficEstimatorService in v201008 be updated to also return a FLOAT for the max Clicks, before the v13 service is put into Sunset? Thanks Hylton- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text - -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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: Traffic Estimator Service
Hi Anash, Sorry to keep pestering you. Just wondered if there was any news, as we are eager to get this working for us. Kind Regards, Ben On Dec 6, 11:49 am, AdWords API Advisor adwordsapiadvi...@google.com wrote: Hi Ben, I'm awaiting the response from the AdWords team, I'll ping them again today. Cheers, Anash P. Oommen, AdWords API Advisor. On Dec 6, 3:33 pm, Ben Vincent b...@trafficsmart.co.uk wrote: Hi Anash, Just wondered if you managed to find anything out about this? Are there any further details I can give you to help? Cheers, Ben On Dec 3, 1:59 pm, AdWords API Advisor adwordsapiadvi...@google.com wrote: Hi Ben, I'll take a look the requests later today and update this thread once I have more details. Cheers, Anash P. Oommen, AdWords API Advisor. On Dec 2, 4:46 pm, Ben Vincent b...@trafficsmart.co.uk wrote: Hi Anash, I am working with Hylton on this, so can provide the details. We are using the .Net client library which I just noticed was written by you :-) An Example request ID on old API (V13) that gives us clicks back as a float f314b8d1f2739537fd712342c2a63b9a An Example Request ID on new API (V201008) that gives the clicks back as a long 0a40ae685bfe955945fd957740ff2fd9 Let me know if you require any other details. Kind Regards, Ben On Dec 2, 9:58 am, AdWords API Advisor adwordsapiadvi...@google.com wrote: Hi Hylton, Are you using a client library for writing your code? Do you have a requestid for a request that you can post here, so I may investigate the issue? Cheers, Anash P. Oommen, AdWords API Advisor. On Dec 1, 4:14 pm, hylton hyl...@trafficsmart.co.uk wrote: Hi We use the TrafficEstimatorService in v13 of the API, and understand that it will be removed sometime next year, and we will instead have to use the new TrafficEstimatorService that has been included in v201008. However, the new service in v201008 only shows the estimated max Clicks on a keyword as a LONG, and it appears to be rounded down. This means if there are less than 30 clicks available on a keyword in a month, the new TrafficEstimatorService in v201008 just returns an estimate of 0... The existing v13 service appears much more helpful, as it returns UpperClicksPerDay as a float, and can return 0.5, say, if there are approx 15 clicks available per month. This makes the v13 service much better for exploring long tail keywords. Will the TrafficEstimatorService in v201008 be updated to also return a FLOAT for the max Clicks, before the v13 service is put into Sunset? Thanks Hylton- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text - -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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: Traffic Estimator Service
Hi Anash, Just wondered if you managed to find anything out about this? Are there any further details I can give you to help? Cheers, Ben On Dec 3, 1:59 pm, AdWords API Advisor adwordsapiadvi...@google.com wrote: Hi Ben, I'll take a look the requests later today and update this thread once I have more details. Cheers, Anash P. Oommen, AdWords API Advisor. On Dec 2, 4:46 pm, Ben Vincent b...@trafficsmart.co.uk wrote: Hi Anash, I am working with Hylton on this, so can provide the details. We are using the .Net client library which I just noticed was written by you :-) An Example request ID on old API (V13) that gives us clicks back as a float f314b8d1f2739537fd712342c2a63b9a An Example Request ID on new API (V201008) that gives the clicks back as a long 0a40ae685bfe955945fd957740ff2fd9 Let me know if you require any other details. Kind Regards, Ben On Dec 2, 9:58 am, AdWords API Advisor adwordsapiadvi...@google.com wrote: Hi Hylton, Are you using a client library for writing your code? Do you have a requestid for a request that you can post here, so I may investigate the issue? Cheers, Anash P. Oommen, AdWords API Advisor. On Dec 1, 4:14 pm, hylton hyl...@trafficsmart.co.uk wrote: Hi We use the TrafficEstimatorService in v13 of the API, and understand that it will be removed sometime next year, and we will instead have to use the new TrafficEstimatorService that has been included in v201008. However, the new service in v201008 only shows the estimated max Clicks on a keyword as a LONG, and it appears to be rounded down. This means if there are less than 30 clicks available on a keyword in a month, the new TrafficEstimatorService in v201008 just returns an estimate of 0... The existing v13 service appears much more helpful, as it returns UpperClicksPerDay as a float, and can return 0.5, say, if there are approx 15 clicks available per month. This makes the v13 service much better for exploring long tail keywords. Will the TrafficEstimatorService in v201008 be updated to also return a FLOAT for the max Clicks, before the v13 service is put into Sunset? Thanks Hylton- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text - -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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: Traffic Estimator Service
Hi Anash, I am working with Hylton on this, so can provide the details. We are using the .Net client library which I just noticed was written by you :-) An Example request ID on old API (V13) that gives us clicks back as a float f314b8d1f2739537fd712342c2a63b9a An Example Request ID on new API (V201008) that gives the clicks back as a long 0a40ae685bfe955945fd957740ff2fd9 Let me know if you require any other details. Kind Regards, Ben On Dec 2, 9:58 am, AdWords API Advisor adwordsapiadvi...@google.com wrote: Hi Hylton, Are you using a client library for writing your code? Do you have a requestid for a request that you can post here, so I may investigate the issue? Cheers, Anash P. Oommen, AdWords API Advisor. On Dec 1, 4:14 pm, hylton hyl...@trafficsmart.co.uk wrote: Hi We use the TrafficEstimatorService in v13 of the API, and understand that it will be removed sometime next year, and we will instead have to use the new TrafficEstimatorService that has been included in v201008. However, the new service in v201008 only shows the estimated max Clicks on a keyword as a LONG, and it appears to be rounded down. This means if there are less than 30 clicks available on a keyword in a month, the new TrafficEstimatorService in v201008 just returns an estimate of 0... The existing v13 service appears much more helpful, as it returns UpperClicksPerDay as a float, and can return 0.5, say, if there are approx 15 clicks available per month. This makes the v13 service much better for exploring long tail keywords. Will the TrafficEstimatorService in v201008 be updated to also return a FLOAT for the max Clicks, before the v13 service is put into Sunset? Thanks Hylton- Hide quoted text - - Show quoted text - -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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