AdWords API Re: Structure Report triggers invalid date error in GetAllJobs
I'm running .NET 3.5, VS 2008, on Vista exactly the same i don't know about reference.cs? It is in a subtree of your ReportAPI Web Reference (possibly you need to click on the Show all files button at the top of the Solution explorer) Reference.cs is the autogenerated .cs code by the ReportAPI .wsdl file --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en -~--~~~~--~~--~--~---
AdWords API Re: Using Google API for large number of camapigns
Yeah, actually something like that ;) - Jan On 13 Nov., 16:09, timprepscius [EMAIL PROTECTED] wrote: If I am not mistaken Jan actually meant to say: No, there is no bulk upload mechanism. Yes you could do it, but via 20,000 or more api calls- for which google charges exorbitant rates. (Except now they have a 'christmas special') Why don't you try their adword's editor.. which uses a closed extended api... (sort of like microsoft [the other monopoly] had all of their closed extended apis).. Apparently there is also some sort of bulk upload mechanism on their adwords web pages somewhere. -tim On Nov 13, 3:52 am, Jan Piotrowski (AdWords API Guru) [EMAIL PROTECTED] wrote: Yes, it can. But perhaps you are better of with Adwords Editor. There you can 'paste' a csv-like structure to create adgroups and keywords. If you only need this once, it probably is better suited for your needs. - Jan PS: Creating 20.000 adgroups at once seems like a really bad idea. Bidmanagement nightmare. On 13 Nov., 04:30, notalian [EMAIL PROTECTED] wrote: We are new to Adwords API. We need to create about 20,000 ad groups. If we can get all the data in SQL in correct format, can API be used to create all these ad groups in bulk kind of like making a feed for Google Base? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en -~--~~~~--~~--~--~---
AdWords API AW: AdWords API Java Class Cast Exception in new V13
Hi Daniel, try to initialize your AdWords-user with an explicit String that indicates the API-version: e.g. public static final String API_VERSION = v13; adWordsUser = new AdWordsUser( adWordsAccountSettings.getRootLogin(), adWordsAccountSettings.getPassword(), adWordsAccountSettings.getClientLogin(), adWordsAccountSettings.getUserAgent(), adWordsAccountSettings.getDeveloperToken(), adWordsAccountSettings.getApplicationToken(), API_VERSION, null); If you don't do that, the AdWordsUser gets initialized with 'v12' by default, which leads to your ClassCastExceptions... Hope this helps... Tino -- Refined Labs GmbH Landwehrstraße 17 80336 München Tel +49 89 1392879-0 [EMAIL PROTECTED] http://www.refinedlabs.com Sitz: München AG München HRB 166589 Geschäftsführer: Thomas Bindl, Stephan Seitz -Ursprüngliche Nachricht- Von: adwords-api@googlegroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von Daniel Gesendet: Freitag, 14. November 2008 07:22 An: AdWords API Forum Betreff: AdWords API Java Class Cast Exception in new V13 Hi everybody! Today i want to switch from V12 to V13 but it seems there is a little Bug in the Java Lib with the AdwordsUser Object. So when i try to get a ReportService i use this method: private ReportServiceSoapBindingStub getReportService() { try { return (ReportServiceSoapBindingStub) mAdwordsUser.getService (AdWordsUser.REPORT_SERVICE); } catch (ServiceException e) { e.printStackTrace(); } return null; } But after i download the new V13 library all i get is this ClassCastException: java.lang.ClassCastException: com.google.api.adwords.v12.ReportServiceSoapBindingStub cannot be cast to com.google.api.adwords.v13.ReportServiceSoapBindingStub In fact - all of my imports are V13 so i think that the AdwordsUser Object always return the ReportService in V12. Would be nice if somebody can check and fix this ... :) Regards, Daniel --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en -~--~~~~--~~--~--~---
AdWords API Re: AW: AdWords API Re: Google Adwords Keyword Insertion API Usage Rates?
Just to amend something in my previous post: I forgot that we already impose a server-side restriction on addCriteria() calls that requires all new criteria in a single call be associated with the same ad group. So passing in new criteria for multiple ad groups in a single call isn't an option. Cheers, -Jeff Posnick, AdWords API Team On Nov 10, 1:34 pm, AdWords API Advisor [EMAIL PROTECTED] wrote: Hello, As Tino points out, the cost in API units is identical regardless of the batch size you use for your addCriteria() calls. So that's not a consideration. Here are a couple of things to keep in mind when deciding how to batch up your criteria: - You need to either call checkCriteria() in advance to make sure all your criteria are valid, or be prepared to handle the case where one or more of your keywords are considered invalid. If one keyword in your addCriteria() request is invalid then none of the other keywords in your request will be processed (http://code.google.com/apis/ adwords/docs/developer/adwords_api_services.html#policychecking), so that is something to consider if you're not calling checkCriteria() in advance. - If your primary concern is speed and this isn't a one-off type of operation, you may see better performance by bucketing your criteria by ad group, and only passing in criteria that are added to the same ad group in each addCriteria() call. This isn't the more important optimization and will only save you a few milliseconds at best, but it's worth mentioning. - There's some overhead involved in SOAP requests and responses, from the XML de/serialization to the time it takes for a roundtrip HTTP request. You will in general see higher throughput if you can minimize the number of total SOAP requests you make. - Your HTTP client library might be configured with a client-side timeout that will close the connection if the SOAP server takes to long in sending back a response due to a very large request. I'm not aware of any server-side timeouts that we impose--at least nothing that's hardcoded. So take all that into account. As for specific recommendations for batch sizes, you should be fine with passing several hundred criteria into an addCriteria() call. If all you're looking to do is add 10,000 keywords in a one-off operation then I don't really see much benefit in doing them more than a hundred or so at a time in a loop. Cheers, -Jeff Posnick, AdWords API Team P.S.: I'm actually based on the East Coast, though I might be accused of keeping a West Coast schedule. :-) On Nov 10, 4:51 am, Tino Hertlein [EMAIL PROTECTED] wrote: Sorry, I do not have any official numbers. But perhaps Jeff can help you this (european) afternoon, when the Googlers start to work at the WestCoast ;-) Tino -- Refined Labs GmbH Landwehrstraße 17 80336 München Tel +49 89 1392879-0 [EMAIL PROTECTED] http://www.refinedlabs.com Sitz: München AG München HRB 166589 Geschäftsführer: Thomas Bindl, Stephan Seitz Von: Exotic Solutions [mailto:[EMAIL PROTECTED] Gesendet: Montag, 10. November 2008 10:38 An: Tino Hertlein Betreff: Re: AdWords API AW: AdWords API Re: Google Adwords Keyword Insertion API Usage Rates? Dear Tino, Thank you for your quick reply. Can you provide me any information on the limits to send number of items per call? Regards, Shahid. On Mon, Nov 10, 2008 at 2:21 PM, Tino Hertlein [EMAIL PROTECTED] wrote: Unfortunately your calculations are not correct: API costs for an addCriteria-call in CriterionService are 20 b per item /b, not per call! So adding 10.000 keywords, will cost you 10.000 * 20 API units, regardless in how many calls you split the request. Though batch-requests are very useful in general, in do not know if 10.000 items per call is exceeding any limitation of the AdWords-webservice... Tino -- Refined Labs GmbH Landwehrstraße 17 80336 München Tel +49 89 1392879-0 [EMAIL PROTECTED]://www.refinedlabs.com Sitz: München AG München HRB 166589 Geschäftsführer: Thomas Bindl, Stephan Seitz -Ursprüngliche Nachricht- Von: adwords-api@googlegroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von Exotic Solutions Gesendet: Montag, 10. November 2008 09:28 An: AdWords API Forum Betreff: AdWords API Re: Google Adwords Keyword Insertion API Usage Rates? Dear Jeff, It seems that you are from API team. I would like to know that is it possible to send an API call (one call) of 10,000 keywords at a time using Google API? Basically I would like to reduce cost since I have to get report on more than 1 million keywords Therefore, what I am looking is to send a Packet of 10,000 keywords on each call. Is it possible? As per Google rate sheet, Google charge 20 API units to send one API call. So if I can send a packet of 10,000 keywords in one call, it should cost me 20 API Units for each call as per the rate
AdWords API Re: Report Job error: Either this object does not exist, or this user does not have permission to access it.
Hello Jeff, Right...we've implemented the semaphore suggestion as a Java thread pool with a maximum of 5 threads. However, it is unclear to me from the Report Center documentation as to whether the referenced account is an MCC account or client account. We've made the assumption it has been the client account. Is this incorrect? I find it odd that that our code can get the status of the report for a while and then it disappears. If i were to request a report job status using a bogus report identifier would I get the same message? Thanks. -Eric Trull On Nov 13, 9:09 am, AdWords API Advisor [EMAIL PROTECTED] wrote: A quick followup question: are you doing anything in your code to make sure that you don't have more than 15 active reports at any one time? As per http://code.google.com/apis/adwords/docs/developer/ReportService.html The Report Center stores up to 15 generated reports per account. When the sixteenth report is generated, the Report Center deletes the oldest stored report. If you're managing 200 client accounts and not waiting for each of their reports to complete before scheduling the next batch, I could see how you'd frequently exceed the limit of 15 reports active at once. Does that sound like it might be the cause? If you're not already doing so, I'd make sure that you use a semaphore if this is a threaded environment (or just a simple counter if you're single threaded) to keep track of the number of active reports request for your account. Each time you schedule a new report, decrement the semaphore, and each time a report completes and you've successfully downloaded it from its URL, increment the semaphore to indicate that you can start scheduling the next report. I have some sample code illustrating how to do this in Python as part of the AdWords API Local Database Sync project. Take a look at how the reports_semaphore Semaphore object is used in http://code.google.com/p/awapi-local-db-sync/source/browse/trunk/bin/... http://code.google.com/p/awapi-local-db-sync/source/browse/trunk/bin/... A similar approach would work in any language that supports threading. Cheers, -Jeff Posnick, AdWords API Team On Nov 13, 11:51 am, AdWords API Advisor [EMAIL PROTECTED] wrote: Hello Eric, Thanks for the additional detail about the occurrence rate. I don't think this is related to the issue in the other thread. It's pretty easy to trigger that error when you're not supplying the appropriate MCC/client email credentials, which sounds like is what is happening in the other developer's case. In your case, your login information is fine but the SOAP fault indicates that the Report Center doesn't believe the report job ID is associated with your account. Cheers, -Jeff Posnick, AdWords API Team On Nov 13, 11:33 am, Eric [EMAIL PROTECTED] wrote: Hello Jeff, This behavior started about three weeks ago. It happens every day and effects anywhere from 4 to 10 client accounts out of over 200 client accounts. If we try again after the failure, we are able to get the report. There was another thread started yesterday that is giving the same error message:http://groups.google.com/group/adwords-api/t/28c2754c1630b84b?hl=en This problem might be related to requests for client accounts made through an MCC. We do request the AccountInfo object, to get the currency, before making the report request. Thanks. -Eric Trull On Nov 11, 9:37 am, AdWords API Advisor [EMAIL PROTECTED] wrote: Hello Eric, Yes, that does look very odd. I'm filing a bug about it. You're saying that this happens at least once a day? When did the behavior start? Cheers, -Jeff Posnick, AdWords API Team On Nov 10, 3:47 pm, Eric [EMAIL PROTECTED] wrote: We have been getting a lot of 500 Internal Server Error with a fault string of Either this object does not exist, or this user does not have permission to access it. when checking the status of a successfully validated and scheduled ReportJob. There does not appear to be any coincidence with the account itself as the problem moves day to day. Below is a log that shows ReportJob validation, scheduling, and subsequent status checks. The first couple of status checks return 202/Pending and then the 500 error. We retry a couple of times before finally giving up. Any thoughts? Thanks -Eric - Validate Report Job - POST /api/adwords/v12/ReportService HTTP/1.0 Content-Type: text/xml; charset=utf-8 Accept: application/soap+xml, application/dime, multipart/related, text/* User-Agent: Axis/1.4 Host: adwords.google.com Cache-Control: no-cache Pragma: no-cache SOAPAction: Content-Length: 4171 ?xml version=1.0 encoding=UTF-8? soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/ envelope/
AdWords API Does someone have a working PHP example with basic functions?
Could someone provide a working example in PHP with rudimentary functionality, Sandbox is ok! All i need to do is upload a new adgroup/text ad to an existing adword's users campaign. I see the snippets and functions..but i would greatly appreciate a working PHP program which i can build upon. Georg. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en -~--~~~~--~~--~--~---
AdWords API Re: Does someone have a working PHP example with basic functions?
Hello Georg, Have you tried the APIlity client library? I think it would fit the bill. http://google-apility.sourceforge.net/ There's a separate discussion forum for APIlity users if you have any questions specific to it: http://groups.google.com/group/adwords-api-php Cheers, -Jeff Posnick, AdWords API Team On Nov 14, 11:51 am, GeorgR [EMAIL PROTECTED] wrote: Could someone provide a working example in PHP with rudimentary functionality, Sandbox is ok! All i need to do is upload a new adgroup/text ad to an existing adword's users campaign. I see the snippets and functions..but i would greatly appreciate a working PHP program which i can build upon. Georg. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en -~--~~~~--~~--~--~---
AdWords API Re: Structure Report triggers invalid date error in GetAllJobs
original question resolved/reported. see: http://code.google.com/p/google-api-adwords-dotnet/issues/detail?id=13 --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en -~--~~~~--~~--~--~---
AdWords API Structure Report exceeds 250MB limit - what now?
My Structure Reports are getting truncated at the 250MB limit. Is it possible to get an exception on the limit, even if for structure reports only? My only alternative would be to iterate through all accounts, campaigns, adgroups, and criterion, which is A LOT of API units and extra traffic... Any other ideas? MCC: 290-087-1247 CID: 938-333-7070 (example) --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en -~--~~~~--~~--~--~---
AdWords API Re: Structure Report exceeds 250MB limit - what now?
Hello, (As a preface, I'm hampered when discussing this issue by the fact that I don't have access to an account large enough for this to be an issue, so I haven't been able to test this behavior myself.) Are you seeing the same truncation when you download the report as a GZip file? If so, what exactly are you able to download: a GZip file whose compressed size is 250mb? Or a GZip file whose uncompressed size is 250mb? Cheers, -Jeff Posnick, AdWords API Team On Nov 14, 1:04 pm, crozzer [EMAIL PROTECTED] wrote: My Structure Reports are getting truncated at the 250MB limit. Is it possible to get an exception on the limit, even if for structure reports only? My only alternative would be to iterate through all accounts, campaigns, adgroups, and criterion, which is A LOT of API units and extra traffic... Any other ideas? MCC: 290-087-1247 CID: 938-333-7070 (example) --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en -~--~~~~--~~--~--~---
AdWords API Re: Structure Report exceeds 250MB limit - what now?
I assumed you would be able to access my MCC and CID? I'm re-running the reports now, and will attempt to download them via browser and post the results later today. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en -~--~~~~--~~--~--~---