Number of ads from Google AdWords API?
The more sponsored links page used to display the number of ads for a certain keyword. I was wondering if the Google AdWords API could give me an exact number of ads of a certain keyword or not? Seems like it only returns a horizontal scale with no specific numbers? -- 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-...@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.
AdWords API ApiUsageError.INVALID_DATE_RANGE @ selector.infoSelector
Hello support, I am trying to invoke the get in Infoservice with the following SOAP request. ?xml version=1.0 encoding=UTF-8? SOAP-ENV:Envelope xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/ envelope/ xmlns:SOAP-ENC=http://schemas.xmlsoap.org/soap/encoding/; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:ns1=https://adwords.google.com/api/adwords/info/v200909; xmlns:ns2=https://adwords.google.com/api/adwords/cm/v200909; SOAP-ENV:Header ns1:RequestHeader SOAP-ENC:arrayType=xsd:string[4] ns2:authToken xsi:type=xsd:string**/ns2:authToken ns2:useragent xsi:type=xsd:string*/ns2:useragent ns2:developerToken xsi:type=xsd:string/ ns2:developerToken ns2:applicationToken xsi:type=xsd:string**/ ns2:applicationToken /ns1:RequestHeader /SOAP-ENV:Header SOAP-ENV:Body get xmlns =https://adwords.google.com/api/adwords/info/v200909; selector xmlns =https://adwords.google.com/api/adwords/info/v200909; xsi:type=InfoSelector dateRange xmlns=https://adwords.google.com/api/adwords/cm/v200909; min xsi:type=string2008/min max xsi:type=string20081112/max /dateRange apiUsageType xmlns =https://adwords.google.com/api/adwords/info/ v200909 xsi:type=ApiUsageTypeUNIT_COUNT/apiUsageType /selector /get /SOAP-ENV:Body /SOAP-ENV:Envelope Each time I m getting the error : soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/ envelope/soap:HeaderResponseHeader xmlns:ns2=https:// adwords.google.com/api/adwords/cm/v200909 xmlns=https:// adwords.google.com/api/adwords/info/ v200909ns2:requestIdb7a4446177a748ad8fbc461b7150707a/ ns2:requestIdns2:operations1/ns2:operationsns2:responseTime278/ ns2:responseTimens2:units1/ns2:units/ResponseHeader/ soap:Headersoap:Bodysoap:Faultfaultcodesoap:Server/ faultcodefaultstring[ApiUsageError.INVALID_DATE_RANGE @ selector.infoSelector]/faultstringdetailApiExceptionFault xmlns=https://adwords.google.com/api/adwords/info/v200909; xmlns:ns2=https://adwords.google.com/api/adwords/cm/ v200909ns2:message[ApiUsageError.INVALID_DATE_RANGE @ selector.infoSelector]/ ns2:messagens2:ApplicationException.TypeApiException/ ns2:ApplicationException.Typens2:errors xmlns:xsi=http://www.w3.org/ 2001/XMLSchema-instance xsi:type=ApiUsageErrorns2:fieldPathselector.infoSelector/ ns2:fieldPathns2:trigger/ ns2:triggerns2:ApiError.TypeApiUsageError/ ns2:ApiError.TypereasonINVALID_DATE_RANGE/reason/ns2:errors/ ApiExceptionFault/detail/soap:Fault/soap:Body/soap:Envelope Kindly let me know where it is going wrong. Thanks in advance. Regards, S* -- 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-...@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.
AdWords API Re: BulkMutateJobService extremely slow
Eric, It was a real account, not the sandbox. AdGroupAdService is much faster. Since the bulk service does not currently meet either of our expectations (upload whole campaign in one step, faster upload), we went back to the conventional services. Cheers, Peter On Nov 24, 11:05 pm, AdWords API Advisor adwordsapiadvi...@google.com wrote: Hi Peter, Thanks for the feedback on this service. Which environment were you making requests against? Out of curiosity, have you tried adding the ads using the AdGroupAdService to compare the times? Best, - Eric Koleda, AdWords API Team On Nov 24, 5:09 am, Peter Niederwieser pnied...@gmail.com wrote: We've been trying to use the new BulkMutateJobService, but it appears to be extremely slow. Adding 400 text ads in one job consisting of 4 parts took 70 minutes. What could be going wrong here? Cheers, Peter -- 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-...@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.
AdWords API Re: Error reading reports using PHP APIlity 1.13.1 library
Hi, i got the same problems since a few days ago. Unfortunetaly the only solution currently works is to deactivate wsdl caching in settings.ini. But if Caching is off, there will be much more network traffic. So don't know if that's the number 1 solution. Best Regards Andreas -- 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-...@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.
AdWords API EntityNotFound.INVALID_ID
I'm having the same sort of problem as here: http://groups.google.com/group/adwords-api/browse_thread/thread/d9e412d0078265c0/bdaae26caa7b166a?lnk=gstq=EntityNotFound.INVALID_ID#bdaae26caa7b166a We have an MCC account and when I want to delete an Ad Text of another account (which is available through our MCC account) the Google API returns the following error: [EntityNotFound.INVALID_ID @ operations[0].adGroupAd.ad.id] Both AdgroupID (1590327034) and AdID exists (3750066754), i'm using this classes: http://code.google.com/p/google-api-adwords-php/downloads/list The wierd thing is that adding new Adgroups + Ad Texts is no problem, but when I want to delete them it returns [EntityNotFound.INVALID_ID @ operations[0].adGroupAd.ad.id]. Could you tell me how to fix this problem? See also below: SoapFault Object ( [message:protected] = [EntityNotFound.INVALID_ID @ operations [0].adGroupAd.ad.id] [string:private] = [code:protected] = 0 [file:protected] = C:\xampp\htdocs\Otmtools\classes\adwords_api \src\Google\Api\Ads\Common\Lib\AdsSoapClient.php [line:protected] = 160 [trace:private] = Array -- 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-...@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.
AdWords API Very new to the API and PHP
Hi Everyone Basically I need lots of help. I have downloaded the apility zip and uploaded the contents to my webhost under the public_html folder. The question I have now is..now what? I know what I want to achieve but am very new to this so I would appreciate some guidance. I'm already confused with some of the Apility documentation (i'm not thick btw!) First off it says to edit authentication .ini edit authentication.ini and enter your data according to your API account settings..then it goes on to say do not put it in a web-readable area of your host..then it says The most secure way to make sure no one can steal your account login data is to provide the login data directly. Therefore, after including APIlity into your project file, set the authentication context manually as shown below: include('apility'); $apilityUser = new APIlityUser( 'em...@isp.tld', 'p455woRd', 'clientem...@isp.tld', 'D3v3Lop3rT0keN', '4pPlicaTi0nTok3n'); This means leaving authentication.ini untouched. So what am i supposed to do? Edit the ini file or not?! What does it mean by manually? Every time I want to do something? It's not overly transparent... And then within the apility folder the readme file says Getting started is easy, just check out the given example. If I load any page it's blank! I have edited auth.ini with my details (but then surely that shouldn't be in the same folder...see above note..should I be amending the ini file or not?). I have amended setttings.ini to use the sandbox and i get error messages left right and centre. i am sure I am missing something quite simple but it's not overly clearly laid out for a noob. Any help would be very much appreciated! Regards Peter -- 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-...@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.
AdWords API Total Adspend
As far as I can see apart from ReportService, which won't give synchronous results, there's no way of getting realtime Adspend. Does anyone know if this is achievable. The one thing I want from the API is real time spend. Not too much to ask?? -- 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-...@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.
AdWords API v2009 API Is quota charged on SOAP Faults
Hello, While developing our client for the v2009 API I have been doing some error condition tests. I have noticed that the 'operations' and 'units' headers come back even when requests fail. Some times this looks like its properly calculated. e.g. If the error is in a mutate call which adds keywords then the 'operations' matches the number of keyword objects which had the error, and the units is 15 per operation. So when I submit a mutate to add 5 keywords but 2 are missing match types, then it says that 30 units were used. But some times it looks completely random. e.g. I submit a mutate call which deletes 3 keywords each with the same invalid adgroup id, then the error is INTERNAL ERROR and I get different values for 'operations' and 'units'. Once was 22/330, another was 14/210. So 15 units per operataion, but operation count is just crud. So my main question is: - Are the quota 'units' reported in the header of a SOAP::Fault actually charged to our account? And if so, what about the buggy looking situations as shown in my second 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-...@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.
AdWords API Restricting TargettingIdeaService to specific keywords
Hi, I'm new to the api, and I'm wondering the best ways to implement something. I'm trying to write something that queries specific keywords and returns the traffic data for those keywords. Like if you use the web based keywords tool and select the filter to only show the results for the keywords that you entered. So if I supplied the keywords kettle and fish I'd just want it to return the results for just those two keywords so that I can see the average monthly search volume and the last 12 month's search volumes. Is this actually possible with the 2009 TargettingIdeaService? If so, how would I go about filtering this, the documentation is a bit vague on this one. -- 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-...@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.
AdWords API Search Volume Trends?
Is it possible to return the search volume trends like you can get in the web based tool that are decimal numbers? I can return the average search volume over 12 months, but not the same numbers that you get when you export the search volume trends from the web tool. -- 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-...@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.
AdWords API error in php sample code ()
hi there is and error in php sample code AuthToken.php. when it try to connect to https://www.google.com/accounts/ClientLogin it returns a certificate error you must change a small part of the AuthToken.php and replcae it with the following code: line 47: curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $post_vars); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); // you must add this line -- 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-...@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.
AdWords API Campaign mutate question
Hey guys, I'm trying to mutate a campaign object but I'm running into a Read- only error being throw. I found a previous thread that said that you should create a new data transfer object and pass that into the mutate function. Apparently this is because some fields are read-only and passing in a DTO with those fields set triggers a read-only error. My problem is that I only want to mutate a single field, STATUS. I'm afraid that if I create a new DTO that other fields could be mutated. Even if I do set all the fields to the pre-existing DTO, how can I be sure that I get them all? This api call will modify our client's campaigns so it's very important that I don't modify any other fields. Is there any easy way to be certain that I only mutate a single field? Any advice would be great. Thanks! Tim -- 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-...@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.
AdWords API about adwords google api
ello, Why are you setting the namespace to 'https://adwords.google.cn/api/ adwords/v12'? Please use 'adwords.google.com' as the server portion of the URL, not adwords.google.cn. If that doesn't resolve the issue for you, please provide a log of the SOAP request and response (with your token and password information X-ed out). Cheers, -Jeff Posnick, AdWords API Team On Feb 17, 10:44 pm, ainihong001 ainihong...@126.com wrote: hi,i want to use some Adwords api. and i have got developer_token and application_token, i use the demo of get_keyword_variations.php . But it returns List of additional keywords to consider has 0 variation (s). List of popular queries with given seed has 0 variation(s)., it shows maybe the method of getKeywordVariations not work rightly. i don't want to use APIlity,just to debug this.tks. The code of get_keyword_variations.php is below and i have replace the email and others using myown information and i can provide the right information about the email and password if necessary. # Provide AdWords login information. $email = 'INSERT_LOGIN_EMAIL_HERE'; $password = 'INSERT_PASSWORD_HERE'; $client_email = 'INSERT_CLIENT_LOGIN_EMAIL_HERE'; $useragent = 'INSERT_COMPANY_NAME: AdWords API PHP Sample Code'; $developer_token = 'INSERT_DEVELOPER_TOKEN_HERE'; $application_token = 'INSERT_APPLICATION_TOKEN_HERE'; # Define SOAP headers. $headers = 'email' . $email . '/email'. 'password' . $password . '/password' . 'clientEmail' . $client_email . '/clientEmail' . 'useragent' . $useragent . '/useragent' . 'developerToken' . $developer_token . '/developerToken' . 'applicationToken' . $application_token . '/applicationToken'; # Set up service connection. To view XML request/response, change value of # $debug to 1. To send requests to production environment, replace # sandbox.google.com with adwords.google.com. $namespace = 'https://adwords.google.cn/api/adwords/v12'; $keyword_tool_service = SoapClientFactory::GetClient( $namespace . '/KeywordToolService?wsdl', 'wsdl'); $keyword_tool_service-setHeaders($headers); $debug = 1; # Create seed keyword structure. $seed_keyword = 'negativefalse/negative' . 'texttea/text' . 'typeBroad/type'; $use_synonyms = 'useSynonymstrue/useSynonyms'; # Get keyword variations. $request_xml = 'getKeywordVariations' . 'seedKeywords' . $seed_keyword . '/seedKeywords' . $use_synonyms . 'languagesen/languages' . 'countriesUS/countries' . '/getKeywordVariations'; $variation_lists = $keyword_tool_service-call('getKeywordVariations', $request_xml); $variation_lists = $variation_lists['getKeywordVariationsReturn']; if ($debug) show_xml($keyword_tool_service); if ($keyword_tool_service-fault) show_fault($keyword_tool_service); # Display keyword variations. $to_consider = $variation_lists['additionalToConsider']; echo 'List of additional keywords to consider has ' . count ($to_consider) . ' variation(s).' . \n; $more_specific = $variation_lists['moreSpecific']; echo 'List of popular queries with given seed has ' . count ($more_specific) . ' variation(s).' . \n; ? manzil helping me. -- 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-...@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.
AdWords API ReportService job runs, but report/record is not available at the url that was returned/empty
AdWords API ReportService job runs, but report/record is not available at the url that was returned/empty The only changes I made to the example were ?php require_once('soapclientfactory.php'); # Provide AdWords login information. $email = 'i...@aziatischekunst.com'; $password = 'startthis'; $client_email =’abc.com'; $useragent = 'abcd'; $developer_token = abc.com++USD'; $application_token = 'INSERT_APPLICATION_TOKEN_HERE'; # Define SOAP headers. $headers = 'email' . $email . '/email'. 'password' . $password . '/password' . 'clientEmail' . $client_email . '/clientEmail' . 'useragent' . $useragent . '/useragent' . 'developerToken' . $developer_token . '/developerToken' . 'applicationToken' . $application_token . '/applicationToken'; # Set up service connection. To view XML request/response, change value of # $debug to 1. To send requests to production environment, replace # sandbox.google.com with adwords.google.com. $namespace = 'https://sandbox.google.com/api/adwords/v13'; $report_service = SoapClientFactory::GetClient($namespace . '/ReportService?wsdl', 'wsdl'); $report_service-setHeaders($headers); $debug = 1; # Create report job structure. $report_job = 'selectedReportTypeKeyword/selectedReportType' . 'nameSample Keyword Report/name' . 'aggregationTypesSummary/aggregationTypes' . 'adWordsTypeSearchOnly/adWordsType' . 'keywordTypeBroad/keywordType' . 'startDay2009-10-29/startDay' . 'endDay2009-11-29/endDay' . 'selectedColumnsCampaign/selectedColumns' . 'selectedColumnsAdGroup/selectedColumns' . 'selectedColumnsKeyword/selectedColumns' . 'selectedColumnsKeywordStatus/selectedColumns' . 'selectedColumnsKeywordMinCPC/selectedColumns' . 'selectedColumnsKeywordDestUrlDisplay/selectedColumns' . 'selectedColumnsImpressions/selectedColumns' . 'selectedColumnsClicks/selectedColumns' . 'selectedColumnsCTR/selectedColumns' . 'selectedColumnsAveragePosition/selectedColumns'; $request_xml = 'validateReportJob' . 'job xmlns:impl=https://adwords.google.com/api/adwords/v13; ' . 'xsi:type=impl:DefinedReportJob' . $report_job . '/job' . '/validateReportJob'; # Validate report. $report_service-call('validateReportJob', $request_xml); if ($debug) show_xml($report_service); if ($report_service-fault) show_fault($report_service); # Schedule report. $request_xml = 'scheduleReportJob' . 'job xmlns:impl=https://adwords.google.com/api/adwords/v13; ' . 'xsi:type=impl:DefinedReportJob' . $report_job . '/job' . '/scheduleReportJob'; $job_id = $report_service-call('scheduleReportJob', $request_xml); $job_id = $job_id['scheduleReportJobReturn']; if ($debug) show_xml($report_service); if ($report_service-fault) show_fault($service); # Wait for report to finish. $request_xml = 'getReportJobStatus' . 'reportJobId' . $job_id . '/reportJobId' . '/getReportJobStatus'; $status = $report_service-call('getReportJobStatus', $request_xml); $status = $status['getReportJobStatusReturn']; if ($debug) show_xml($report_service); if ($report_service-fault) show_fault($service); while ($status != 'Completed' and $status != 'Failed') { echo 'Report job status is ' . $status . '.' . \n; sleep(30); $status = $report_service-call('getReportJobStatus', $request_xml); $status = $status['getReportJobStatusReturn']; if ($debug) show_xml($report_service); if ($report_service-fault) show_fault($service); } if ($status == 'Failed') { echo 'Report job generation failed.' . \n; return; } # Download report. $request_xml = 'getGzipReportDownloadUrl' . 'reportJobId' . $job_id . '/reportJobId' . '/getGzipReportDownloadUrl'; $report_url = $report_service-call('getGzipReportDownloadUrl', $request_xml); $report_url = $report_url['getGzipReportDownloadUrlReturn']; if ($debug) show_xml($report_service); if ($report_service-fault) show_fault($service); echo 'Report is available at ' . $report_url . '.' . \n; function show_xml($service) { echo $service-request; echo $service-response; echo \n; } function show_fault($service) { echo \n; echo 'Fault: ' . $service-fault . \n; echo 'Code: ' . $service-faultcode . \n; echo 'String: ' . $service-faultstring . \n; echo 'Detail: ' . $service-faultdetail . \n; exit(0); } ? -- 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-...@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.
AdWords API Bulgarian region codes
Hello, have Bulgarian region codes been added to the Region Codes listings, as in the stats we are getting from Google, we have BG-01 and similar codes? If yes, why aren't they listed in the official Region Codes listings? Given the different codes and the actual cities that the stats come from, I can logically conclude which region corresponds to the code, but is that official? http://code.google.com/apis/adwords/docs/developer/adwords_api_regions.html -- 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-...@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.
AdWords API Re: use axis2 adb way can not get ImageAd related object
Hi, You can see my reply on your original thread: http://groups.google.com/group/adwords-api/browse_thread/thread/965cc737af1cc0fd/ Best, - Eric Koleda, AdWords API Team On Nov 25, 9:42 pm, Hongyu Li hongyu...@gmail.com wrote: I am use axis2 WSDL2Java adb to generate java code with AdService. The WSDL2Java has passed, but I can't find relate class about ImageAd, TextAd ... Only have one Ad class, I want upload a ImageAd, Is there a way to do this by axix2 ?? BTW: I was try xmlbean way to generate javacode, but I get Syntax Error In stub class... -- 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-...@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: AdWords API use axis2 adb way and can not get ImageAd related object
Hi, You can see my reply on your original thread: http://groups.google.com/group/adwords-api/browse_thread/thread/965cc737af1cc0fd/ Best, - Eric Koleda, AdWords API Team On Nov 25, 9:44 pm, Hongyu Li hongyu...@gmail.com wrote: I am use axis2 WSDL2Java adb to generate java code with AdService. The WSDL2Java has passed, but I can't find relate class about ImageAd, TextAd ... Only have one Ad class, I want upload a ImageAd, Is there a way to do this by axix2 ?? BTW: I was try xmlbean way to generate javacode, but I get Syntax Error In stub class... -- 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-...@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.
AdWords API Re: API usage cost for third-parties
Hi, The emails returned should all be real, meaning that requests were actually made against them. With the v13 version, emails will be returned based off of the developer token, and a developer token is not limited to the MCC account that owns it. Are there other MCC accounts in your organization that manage these accounts? Best, - Eric On Nov 26, 8:15 am, dzin dzintaras public.dzinta...@gmail.com wrote: Thanks for an answer it works. But one strange thing - when a list of all client emails is returned with API usage some emails are unknown. Meaning they are not in my client DB which means no API requests could be issued on behalf of then with my account. What kind of emails are they then? Is it possible to get real client emails that is the ones with which request were realy made? Thank You. On Nov 23, 9:02 pm, AdWords API Advisor adwordsapiadvi...@google.com wrote: Hi, AllAPIusage is charged to the account that owns the developer token. If this expense needs to be spread across multiple clients it must be billed outside of the AdWords system. You can find out how manyAPIunits were used by a client account by using the InfoService: v13:http://code.google.com/apis/adwords/docs/developer/InfoService.html#g... v2009:http://code.google.com/apis/adwords/v2009/docs/reference/InfoService Best, - Eric Koleda, AdWordsAPITeam On Nov 23, 6:34 am, dzin dzintaras public.dzinta...@gmail.com wrote: Hi, is it possible (and if so how) to makeAPIaccesscostfor accounts on witch behalf requests are executed? For example: have d...@google.com, accou...@google.com and accou...@google.com. APIaccess is made using d...@google.com with client emails accou...@google.com and accou...@google.com. How to make that accou...@google.com and accou...@google.com accounts would be charged for operations made onbehalf-of-them and not developer account d...@google.com? -- 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-...@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.
AdWords API Re: Recent fork of Agua
Hi David, The APIlity and Agua projects have been deprecated, as has much of the v13 API that they use. The new AdWords API PHP client library replaces APIlity, although there is no Agua replacement: http://code.google.com/p/google-api-adwords-php/ Best, - Eric Koleda, AdWords API Team On Nov 26, 8:47 am, David Levy dvid.l...@gmail.com wrote: Hi I am searching for a recent fork of Agua (http://google- apility.sourceforge.net/agua.html) - as the last release 1.13.1 is one year old. I would be great if it comes with more recent features, reporting, and v13 support.. Thanks !! -- 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-...@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.
AdWords API Re: ADD AdGroupOperation
Hi P.W., The order of the parameters to the constructor for the different operations (CampaignOperation, AdGroupOperation, AdGroupAdOperation) are not consistent. This is because these classes are automatically generated from the WSDL files and the order cannot be manipulated for consistency. As an alternative, create the object with an empty constructor and set the fields manually in an order of your choosing: $operation = new AdGroupAdOperation(); $operation-operand = $adText; $operation-operator = 'ADD'; Best, - Eric On Nov 26, 10:37 am, phpoo phpoo...@hotmail.com wrote: Ok, I do not understand I was using the example of folder /examples/ v200909/AddAllCampaigns.php not found in the documentation something told me to ADD AdGroups was another order of operation, and now to ADD TextAd is not so new AdGroupAdOperation ($adText, NULL, 'ADD')? thanks P.W On Nov 25, 8:01 pm, AdWords API Advisor adwordsapiadvi...@google.com wrote: Hi, I believe the order of the objects in your constructor is wrong. It should be: $operations = array(new AdGroupOperation($adgroup1, 'ADD', NULL)); Best, - Eric Koleda, AdWords API Team On Nov 25, 3:11 pm, phpoo phpoo...@hotmail.com wrote: Hi eu tenho um erro no meu script mas não entendo I'm trying to add a AdGroup and returns me an error.The section of code that the error is this $operations = array(new AdGroupOperation(NULL, $adgroup1, 'ADD')); $adgroupReturnValue = $AdGroupService-mutate($operations); #Add campaigns. When the print $operations command returns that Array ( [0] = AdGroupOperation Object ( [operand] = [operator] = AdGroup Object ( And the error that returns is this SoapFault Object ( [message:protected] = [RequiredError.REQUIRED @ operations[0].operator, OperatorError.OPERATOR_NOT_SUPPORTED @ operations[0]] Can anyone help me? -- 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-...@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.
AdWords API Re: perl TargetingIdeaService sample
Hi Nicolas, Unfortunately there is no Perl example for this service. There is a similar PHP example though that you may find helpful: http://code.google.com/p/google-api-adwords-php/source/browse/trunk/examples/v200909/GetRelatedPlacementsExample.php Best, - Eric Koleda, AdWords API Team On Nov 27, 4:30 am, kolok noud...@weborama.com wrote: Hi, I am using google perl library for v2009 version. i try to use TargetingIdeaSercice for have site suggestion. I don't understand how to initialize searchParameters in my selector. Can you give me a complete selector sample to get site by topics ? Thank you Nicolas -- 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-...@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.
AdWords API Re: v200909 error setting Campaign Monthly Budget
Hi Pete, I'm glad that you are starting to migrate to the v2009 API. This particular error should have been returned in a more identifiable way, so you can catch and handle it client side. I'll work with the core engineering team to have this fixed. Thanks for bringing this issue to our attention. Best, - Eric Koleda, AdWords API Team. On Nov 27, 10:05 am, pete peteseri...@gmail.com wrote: Hi I'm migrating our dot Net interface with the Adwords API to utilise v200909; as per Google recommendations, I'm also migrating to the Adwords dot net client library instead of generating proxy stubs from the WSDL's (due to the Namespace conflict). During testing, I attempted to set a Campaign Monthly budget where it is not allowed. Using v13 and associated WSDL proxies I'm able to parse a validation error One or more input elements failed validation. : This customer does not have access to monthly budgets. This is useful. Using the dot net client and v200909 - I get an ambiguous response InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ - (SOAP response below). This is not useful. Do I need to do anything else to get at the underlying exception or is this all I can get? regards pete soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/; soap:Header ResponseHeader xmlns=https://adwords.google.com/api/adwords/cm/ v200909 requestId60dafca05d328ca9b73ddb4e0cd07c3d/requestId operations1/operations responseTime389/responseTime units1/units /ResponseHeader /soap:Header soap:Body soap:Fault faultcodesoap:Server/faultcode faultstringInternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ / faultstring detail ApiExceptionFault xmlns=https://adwords.google.com/api/ adwords/cm/v200909 messageInternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ / message ApplicationException.TypeApiException/ ApplicationException.Type errors xmlns:xsi=http://www.w3.org/2001/XMLSchema- instance xsi:type=InternalApiError fieldPath /fieldPath trigger /trigger ApiError.TypeInternalApiError/ApiError.Type reasonUNEXPECTED_INTERNAL_API_ERROR/reason /errors /ApiExceptionFault /detail /soap:Fault /soap:Body /soap:Envelope -- 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-...@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.
AdWords API InfoService getUnitCount returns 0 for November 25 through 28
Every day I run a process to get my API usage. This returned 0 for 4 days, from November 25th through November 28th, and with smaller than normal numbers on the 24th and 29th. So far today it seems to be tracking normally again. I have double-checked that all of my processes that actually use API points have been running steadily, and even checked the AdWords change history to confirm that things have been working as expected. So I am puzzled as to why the usage reports 0 for those days. I thought it might have to do with the fact that I hadn't upgraded to v2009, but I just ran a test with the v2009 InfoService and got the same results. Is there any way for me to figure out what happened? -- 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-...@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.
AdWords API Re: limitation on number of location entries
Hi Andy, There is a limit of 300 positive geo targets per campaign, which has been in affect since v13: http://code.google.com/apis/adwords/docs/developer/GeoTarget.html. Best, - Eric Koleda, AdWords API Team On Nov 28, 1:44 pm, Andy Doan a...@iconvex.com wrote: Your answer is appreciated! Question: A few weeks ago, I was able to add over 1000s location entries (1000s different zips) to my campaigns. Last night, I was only be able to add max 300 location entries (either via API or Adwords Interface) Is this a limitation that is recently asserted by Google Adwords? Please advise! Thanks. Andy Doan iConvex, Inc. Find information about our services at www.iconvex.com w (714) 515-6620 | F (800) 360-2841 | a...@iconvex.com 17060 San Mateo St. Unit J. Fountain Valley, CA 92708 -- 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-...@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.
AdWords API Re: Insert 1500 keywords
Hi, We have just released a new feature that replaced check* methods, and a blog post will be out later this week. The validateOnly header can be used to check any request but not commit the changes: http://code.google.com/apis/adwords/v2009/docs/headers.html Best, - Eric Koleda, AdWords API Team On Nov 29, 7:02 am, martinusapiklie...@centrum.sk martinusapiklie...@centrum.sk wrote: to AdWords API Advisor: When will be added alternate to the alternative for CriterionService.checkCriteria function to th v2009??? Thanks -- 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-...@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.
AdWords API Re: Problem with TargetingIdeaServiceInterface?
Hi SEMDEV, Looking at your code it doesn't appear you are using the client library to generate your service. Please see the GetRelatedKeywords.java example for more information on how to use the client library: http://code.google.com/p/google-api-adwords-java/source/browse/trunk/examples/v200909/GetRelatedKeywords.java Best, - Eric On Nov 29, 11:37 pm, SEM sem...@gmail.com wrote: Hi Eric: I just updated my project to use the newly downloaded client lib with adwords-lib 6.2.0's jar In addition, I updated my source to use all parameters as in the example above but this still fails with this ambiguous error: Fault occurred while processing. Here's my updated source... final TargetingIdeaServiceInterface tisi = new TargetingIdeaServiceLocator().getTargetingIdeaServiceInterfacePort(); ((Stub) tisi).setHeader( GOOGLE_API_NAMESPACE, RequestHeader, new SoapHeader(APP-TOKEN-REMOVED, AUTH_TOKEN, null, EMAIL, DEV-TOKEN-REMOVED, USER-AGENT) ); Keyword[] kwa = new Keyword[1]; kwa[0] = new Keyword(); kwa[0].setText(cheap airline tickets); kwa[0].setMatchType(KeywordMatchType.BROAD); LanguageTarget lt = new LanguageTarget(); lt.setLanguageCode(en); CountryTarget ct = new CountryTarget(); ct.setCountryCode(US); TargetingIdeaSelector tis = new TargetingIdeaSelector(); tis.setSearchParameters(new SearchParameter[] { new RelatedToKeywordSearchParameter(null, kwa), new ExcludedKeywordSearchParameter(null, kwa), new KeywordMatchTypeSearchParameter(null, new KeywordMatchType[] { kwa[0].getMatchType() } ), new CompetitionSearchParameter(null, new CompetitionSearchParameterLevel[] {CompetitionSearchParameterLevel.LOW}), new LanguageTargetSearchParameter(null, new LanguageTarget[] {lt}), new CountryTargetSearchParameter(null, new CountryTarget[] {ct}) } ); tis.setIdeaType(IdeaType.KEYWORD); tis.setRequestType(RequestType.IDEAS); tis.setPaging(new Paging(0, 6)); TargetingIdeaPage tip = tisi.get(tis); TargetingIdea[] tia = tip.getEntries(); for (TargetingIdea ti : tia) { System.out.println(ti); } The error I still get is... Exception in thread main AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server faultSubcode: faultString: Fault occurred while processing. faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace:Fault occurred while processing. at org.apache.axis.message.SOAPFaultBuilder.createFault (SOAPFaultBuilder.java:222) at org.apache.axis.message.SOAPFaultBuilder.endElement (SOAPFaultBuilder.java:129) at org.apache.axis.encoding.DeserializationContext.endElement (DeserializationContext.java:1087) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement (Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scan EndElement (Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl $FragmentContentDriver.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next (Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next (Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scan Document (Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse (Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse (Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse (Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl $JAXPSAXParser.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(Unknown Source) at org.apache.axis.encoding.DeserializationContext.parse (DeserializationContext.java:227) at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696) at org.apache.axis.Message.getSOAPEnvelope(Message.java:435) at org.apache.axis.transport.http.HTTPSender.readFromSocket (HTTPSender.java:796) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java: 144) at org.apache.axis.strategies.InvocationStrategy.visit (InvocationStrategy.java:32) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) at
Re: Number of ads from Google AdWords API?
Hi, The TargetingIdeaService can return the competition scale for the returned keywords, but it is not possible to determine the exact number of ads that target that keyword: http://code.google.com/apis/adwords/v2009/docs/reference/TargetingIdeaService.AttributeType.html#COMPETITION Best, - Eric Koleda, AdWords API Team On Nov 30, 3:38 am, vrgoogler vrforumaccou...@gmail.com wrote: The more sponsored links page used to display the number of ads for a certain keyword. I was wondering if the Google AdWords API could give me an exact number of ads of a certain keyword or not? Seems like it only returns a horizontal scale with no specific numbers? -- 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-...@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.
AdWords API Re: ApiUsageError.INVALID_DATE_RANGE @ selector.infoSelector
Hi S*, The error is due to an incorrect namespace on the dateRange element. This element must be in the /info/ namespace, although the child min and max elements must be in the /cm/ namespace. get xmlns=https://adwords.google.com/api/adwords/info/v200909; selector xsi:type=InfoSelector dateRange min xmlns=https://adwords.google.com/api/adwords/cm/ v200909 xsi:type=string2008/min max xmlns=https://adwords.google.com/api/adwords/cm/ v200909 xsi:type=string20081112/max /dateRange apiUsageType xsi:type=ApiUsageTypeUNIT_COUNT/ apiUsageType /selector /get Best, - Eric Koleda, AdWords API Team On Nov 30, 5:52 am, sm1 smita.gaw...@gmail.com wrote: Hello support, I am trying to invoke the get in Infoservice with the following SOAP request. ?xml version=1.0 encoding=UTF-8? SOAP-ENV:Envelope xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/ envelope/ xmlns:SOAP-ENC=http://schemas.xmlsoap.org/soap/encoding/; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:ns1=https://adwords.google.com/api/adwords/info/v200909; xmlns:ns2=https://adwords.google.com/api/adwords/cm/v200909; SOAP-ENV:Header ns1:RequestHeader SOAP-ENC:arrayType=xsd:string[4] ns2:authToken xsi:type=xsd:string**/ns2:authToken ns2:useragent xsi:type=xsd:string*/ns2:useragent ns2:developerToken xsi:type=xsd:string/ ns2:developerToken ns2:applicationToken xsi:type=xsd:string**/ ns2:applicationToken /ns1:RequestHeader /SOAP-ENV:Header SOAP-ENV:Body get xmlns =https://adwords.google.com/api/adwords/info/v200909; selector xmlns =https://adwords.google.com/api/adwords/info/v200909; xsi:type=InfoSelector dateRange xmlns=https://adwords.google.com/api/adwords/cm/v200909; min xsi:type=string2008/min max xsi:type=string20081112/max /dateRange apiUsageType xmlns =https://adwords.google.com/api/adwords/info/ v200909 xsi:type=ApiUsageTypeUNIT_COUNT/apiUsageType /selector /get /SOAP-ENV:Body /SOAP-ENV:Envelope Each time I m getting the error : soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/ envelope/soap:HeaderResponseHeader xmlns:ns2=https:// adwords.google.com/api/adwords/cm/v200909 xmlns=https:// adwords.google.com/api/adwords/info/ v200909ns2:requestIdb7a4446177a748ad8fbc461b7150707a/ ns2:requestIdns2:operations1/ns2:operationsns2:responseTime278/ ns2:responseTimens2:units1/ns2:units/ResponseHeader/ soap:Headersoap:Bodysoap:Faultfaultcodesoap:Server/ faultcodefaultstring[ApiUsageError.INVALID_DATE_RANGE @ selector.infoSelector]/faultstringdetailApiExceptionFault xmlns=https://adwords.google.com/api/adwords/info/v200909; xmlns:ns2=https://adwords.google.com/api/adwords/cm/ v200909ns2:message[ApiUsageError.INVALID_DATE_RANGE @ selector.infoSelector]/ ns2:messagens2:ApplicationException.TypeApiException/ ns2:ApplicationException.Typens2:errors xmlns:xsi=http://www.w3.org/ 2001/XMLSchema-instance xsi:type=ApiUsageErrorns2:fieldPathselector.infoSelector/ ns2:fieldPathns2:trigger/ ns2:triggerns2:ApiError.TypeApiUsageError/ ns2:ApiError.TypereasonINVALID_DATE_RANGE/reason/ns2:errors/ ApiExceptionFault/detail/soap:Fault/soap:Body/soap:Envelope Kindly let me know where it is going wrong. Thanks in advance. Regards, S* -- 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-...@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.
AdWords API Removing additional keywords to consider from TargetingIdeaSelector results
How can I remove the additional keywords to consider from the results returned by the TargetingIdeaSelector API in v2009? For instance, if I query life insurance the results returned include keywords like home insurance and business insurance which don't have anything to do with life insurance. In the deprecated API the KeywordToolService returns two arrays, one is called moreSpecific and one is called additionalToConsider and so we can just ignore the second array but I can't find any way to remove this data in TargetingIdeaSelector. -- 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-...@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.
AdWords API Insert Keywords = UNEXPECTED INTERNAL API ERROR
Hi, I'm inserting batches of multiple keywords trough the AdGroupCriterion Service. Unfortunately the system is returning more and more UNEXPECTED INTERNAL API ERROR's I tried to add about 4 keywords, and 70% of this operations returned this error.. I read a lot about this error, and if i'm right it is not my fault. I tried inserting keywords in batches of 10/20/50/100 and all these different settings keeps returning there errors. Can someone please help me, as this is getting very annoying. My last 2 Request ID's: 57c98e01c76a54563e46e39cf073a03e 7c9c8e7fb08774d657b6cfb5733ee3b4 -- 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-...@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.
AdWords API Re: Retrieving Stats
thanks Eric, I still have many questions, and you intend to use quite yet. thanks On 30 nov, 12:41, AdWords API Advisor adwordsapiadvi...@google.com wrote: Hi P.W., The format for v2009 should be MMdd. For example: ('20091130','20091215') Best, - Eric Koleda, AdWords API Team On Nov 26, 12:07 pm, phpoo phpoo...@hotmail.com wrote: Enjoying your answer above But the format that I'm walking in the correct format ('2009-11-30','2009-12-15'), and returns me this message SoapFault Object ( [message:protected] = DateError.INVALID_STRING_DATE @ while invoking public abstract com.google.ads.api.services.campaignmgmt.ad.adgroupad.AdGroupAdReturnValue com.google.ads.api.services.campaignmgmt.ad.adgroupad.AdGroupAdService.muta te (java.util.List) throws com.google.ads.api.services.common.error.ApiException with params help-me P.W On Nov 3, 2:12 am, alal ada...@etax.com.au wrote: Found the answer:http://code.google.com/apis/adwords/v2009/docs/reference/CampaignServ... format should be MMdd and not -MM-dd as implied in documentation here: http://code.google.com/apis/adwords/v2009/docs/reference/AdGroupCrite... On Nov 3, 2:48 pm, alal ada...@etax.com.au wrote: Hi, I'm not sure why i am getting an DateError.INVALID_STRING_DATEerror when trying to get stats using the AdGroupCrierionService (v200906 + .net lib 4.1.0). Below are the Soap Req. and Resp. for 3 variation on date range format (using -mm-dd per the online documentation for daterange). Thanks -- -SoapRequest at 3/11/2009 2:37:05 PM- POST /api/adwords/cm/v200906/AdGroupCriterionService HTTP/1.0 Host: adwords.google.com:443 User-agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.4200) Content-type: text/xml; charset=utf-8 Content-length: 1027 SOAPAction: get -- ?xml version=1.0 encoding=utf-8? soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:xsd=http://www.w3.org/2001/XMLSchema; soap:Header RequestHeader xmlns=https://adwords.google.com/api/adwords/cm/ v200906 applicationTokenHMMw/applicationToken authToken/authToken developerToken6vMA/developerToken /RequestHeader /soap:Header soap:Body get xmlns=https://adwords.google.com/api/adwords/cm/v200906; selector idFilters adGroupId293736192/adGroupId /idFilters criterionUseBIDDABLE/criterionUse userStatusesACTIVE/userStatuses userStatusesPAUSED/userStatuses statsSelector dateRange min2009-11-2/min max2009-11-2/max /dateRange /statsSelector /selector /get /soap:Body /soap:Envelope -- -SoapResponse at 3/11/2009 2:37:06 PM- Content-type: text/xml; charset=UTF-8 Content-length: 842 SOAPAction: get -- soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/; soap:Body soap:Fault faultcodesoap:Server/faultcode faultstringDateError.INVALID_STRING_DATE@ while invoking public abstract com.google.ads.api.services.campaignmgmt.criterion.adgroupcriterion.v200906 .jaxbgen.AdGroupCriterionPage com.google.ads.api.services.campaignmgmt.criterion.adgroupcriterion.v200906 .jaxbgen.AdGroupCriterionServiceInterface.get (com.google.ads.api.services.campaignmgmt.criterion.adgroupcriterion.v20090 6.jaxbgen.AdGroupCriterionSelector) throws com.google.ads.api.services.campaignmgmt.criterion.adgroupcriterion.v200906 .jaxbgen.ApiException_Exception with params [com.google.ads.api.services.campaignmgmt.criterion.adgroupcriterion.v20090 6.jaxbgen.adgroupcriterionselec...@137b7a4]./ faultstring /soap:Fault /soap:Body /soap:Envelope -- -SoapRequest at 3/11/2009 2:37:42 PM- POST /api/adwords/cm/v200906/AdGroupCriterionService HTTP/1.0 Host: adwords.google.com:443 User-agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.4200) Content-type: text/xml; charset=utf-8 Content-length: 1045 SOAPAction: get -- ?xml version=1.0 encoding=utf-8? soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:xsd=http://www.w3.org/2001/XMLSchema; soap:Header RequestHeader
AdWords API Re: EntityNotFound.INVALID_ID
Hi, Do you have the SOAP XML request and response from this request? Perhaps the id's aren't being passed correctly. Best, - Eric Koleda, AdWords API Team On Nov 26, 7:47 am, m.dekun...@onetomarket.nl extramcc +...@onetomarket.com wrote: I'm having the same sort of problem as here:http://groups.google.com/group/adwords-api/browse_thread/thread/d9e41... We have an MCC account and when I want to delete an Ad Text of another account (which is available through our MCC account) the Google API returns the following error: [EntityNotFound.INVALID_ID @ operations[0].adGroupAd.ad.id] Both AdgroupID (1590327034) and AdID exists (3750066754), i'm using this classes:http://code.google.com/p/google-api-adwords-php/downloads/list The wierd thing is that adding new Adgroups + Ad Texts is no problem, but when I want to delete them it returns [EntityNotFound.INVALID_ID @ operations[0].adGroupAd.ad.id]. Could you tell me how to fix this problem? See also below: SoapFault Object ( [message:protected] = [EntityNotFound.INVALID_ID @ operations [0].adGroupAd.ad.id] [string:private] = [code:protected] = 0 [file:protected] = C:\xampp\htdocs\Otmtools\classes\adwords_api \src\Google\Api\Ads\Common\Lib\AdsSoapClient.php [line:protected] = 160 [trace:private] = Array -- 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-...@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.
AdWords API Re: Very new to the API and PHP
Hi Peter, If you are new to the API I wouldn't recommend you use the APIlity library. It has been deprecated, as has most of the v13 API it runs against. It has been replaced by the AdWords API PHP client library: http://code.google.com/p/google-api-adwords-php/ Best, - Eric Koleda, AdWords API Team On Nov 26, 11:43 am, Peter Stannett pstannet...@googlemail.com wrote: Hi Everyone Basically I need lots of help. I have downloaded the apility zip and uploaded the contents to my webhost under the public_html folder. The question I have now is..now what? I know what I want to achieve but am very new to this so I would appreciate some guidance. I'm already confused with some of the Apility documentation (i'm not thick btw!) First off it says to edit authentication .ini edit authentication.ini and enter your data according to your API account settings..then it goes on to say do not put it in a web-readable area of your host..then it says The most secure way to make sure no one can steal your account login data is to provide the login data directly. Therefore, after including APIlity into your project file, set the authentication context manually as shown below: include('apility'); $apilityUser = new APIlityUser( 'em...@isp.tld', 'p455woRd', 'clientem...@isp.tld', 'D3v3Lop3rT0keN', '4pPlicaTi0nTok3n'); This means leaving authentication.ini untouched. So what am i supposed to do? Edit the ini file or not?! What does it mean by manually? Every time I want to do something? It's not overly transparent... And then within the apility folder the readme file says Getting started is easy, just check out the given example. If I load any page it's blank! I have edited auth.ini with my details (but then surely that shouldn't be in the same folder...see above note..should I be amending the ini file or not?). I have amended setttings.ini to use the sandbox and i get error messages left right and centre. i am sure I am missing something quite simple but it's not overly clearly laid out for a noob. Any help would be very much appreciated! Regards Peter -- 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-...@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.
AdWords API Re: Total Adspend
Hi, There is currently no way to get the spend for an entire account. However, it is possible to get the spend for a Campaign over a given date range. If you include a StatsSelector object in a CampaignService.get() call the returned Stats object will contain the cost (aka spend) for that campaign over the given date range: http://code.google.com/apis/adwords/v2009/docs/reference/CampaignService.Stats.html With one call you can return the stats for all campaigns in the account and them sum up the cost fields to get the total spend for the account. Best, - Eric Koleda, AdWords API Team On Nov 26, 6:07 pm, phil.balder...@yahoo.com phil.balder...@yahoo.com wrote: As far as I can see apart from ReportService, which won't give synchronous results, there's no way of getting realtime Adspend. Does anyone know if this is achievable. The one thing I want from the API is real time spend. Not too much to ask?? -- 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-...@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.
AdWords API Re: v2009 API Is quota charged on SOAP Faults
Hi Fred, Do you have the SOAP XML request and response that shows this behavior? The request ID would also suffice. Best, - Eric Koleda, AdWords API Team On Nov 27, 12:45 am, fred dec...@decideinteractive.com wrote: Hello, While developing our client for the v2009 API I have been doing some error condition tests. I have noticed that the 'operations' and 'units' headers come back even when requests fail. Some times this looks like its properly calculated. e.g. If the error is in a mutate call which adds keywords then the 'operations' matches the number of keyword objects which had the error, and the units is 15 per operation. So when I submit a mutate to add 5 keywords but 2 are missing match types, then it says that 30 units were used. But some times it looks completely random. e.g. I submit a mutate call which deletes 3 keywords each with the same invalid adgroup id, then the error is INTERNAL ERROR and I get different values for 'operations' and 'units'. Once was 22/330, another was 14/210. So 15 units per operataion, but operation count is just crud. So my main question is: - Are the quota 'units' reported in the header of a SOAP::Fault actually charged to our account? And if so, what about the buggy looking situations as shown in my second 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-...@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.
AdWords API Re: Restricting TargettingIdeaService to specific keywords
Hi Tim, There is no way to restrict the results to only the seed keywords. Your best option is to set the paging to return a limited number of results. Best, - Eric Koleda, AdWords API Team On Nov 27, 5:38 am, tim.pa...@epiphanysolutions.co.uk tim.pa...@epiphanysolutions.co.uk wrote: Hi, I'm new to the api, and I'm wondering the best ways to implement something. I'm trying to write something that queries specific keywords and returns the traffic data for those keywords. Like if you use the web based keywords tool and select the filter to only show the results for the keywords that you entered. So if I supplied the keywords kettle and fish I'd just want it to return the results for just those two keywords so that I can see the average monthly search volume and the last 12 month's search volumes. Is this actually possible with the 2009 TargettingIdeaService? If so, how would I go about filtering this, the documentation is a bit vague on this one. -- 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-...@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.
AdWords API Re: Search Volume Trends?
Hi Tim, The search trends information can be obtained from the TargetingIdeaService using the Attribute TARGETED_MONTHLY_SEARCHES: http://code.google.com/apis/adwords/v2009/docs/reference/TargetingIdeaService.AttributeType.html#TARGETED_MONTHLY_SEARCHES Best, - Eric Koleda, AdWords API Team On Nov 27, 7:49 am, tim.pa...@epiphanysolutions.co.uk tim.pa...@epiphanysolutions.co.uk wrote: Is it possible to return the search volume trends like you can get in the web based tool that are decimal numbers? I can return the average search volume over 12 months, but not the same numbers that you get when you export the search volume trends from the web tool. -- 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-...@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.
AdWords API Still over keyword quota, campaigns deleted
Hi, I got the following message while attempting to post: aw_api.Errors.RequestError: Code 17: The campaigns for this customer already have the maximum number of active keywords permitted, so this campaign may not be activated. I then deleted all of the campaigns in the account, however I am still receiving the same message. I'm also getting all the UI warnings about having lots of keywords. Do I need to individually delete each keyword? Thanks, -Travis -- 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-...@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.
AdWords API Re: error in php sample code ()
Hi, Thank you for bringing this to our attention. This problem was already resolved in the AdWords API PHP client library: http://code.google.com/p/google-api-adwords-php/source/browse/trunk/src/Google/Api/Ads/Common/Util/AuthToken.php Best, - Eric Koleda, AdWords API Team On Nov 27, 1:25 pm, Bertina abert...@gmail.com wrote: hi there is and error in php sample code AuthToken.php. when it try to connect tohttps://www.google.com/accounts/ClientLogin it returns a certificate error you must change a small part of the AuthToken.php and replcae it with the following code: line 47: curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $post_vars); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); // you must add this line -- 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-...@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.
AdWords API Re: Campaign mutate question
Hi Tim, When creating the new DTO you only need to set the required fields and the fields you want to change. Any fields not included in the request (set as null) will be left unchanged. For example, to pause an ad you only need the following operation: v20:operations v20:operatorSET/v20:operator v20:operand v20:adGroupIdX/v20:adGroupId v20:ad v20:idX/v20:id /v20:ad v20:statusPAUSED/v20:status /v20:operand /v20:operations Best, - Eric Koleda, AdWords API Team On Nov 27, 3:19 pm, Timothy Merrifield timothymerrifi...@gmail.com wrote: Hey guys, I'm trying to mutate a campaign object but I'm running into a Read- only error being throw. I found a previous thread that said that you should create a new data transfer object and pass that into the mutate function. Apparently this is because some fields are read-only and passing in a DTO with those fields set triggers a read-only error. My problem is that I only want to mutate a single field, STATUS. I'm afraid that if I create a new DTO that other fields could be mutated. Even if I do set all the fields to the pre-existing DTO, how can I be sure that I get them all? This api call will modify our client's campaigns so it's very important that I don't modify any other fields. Is there any easy way to be certain that I only mutate a single field? Any advice would be great. Thanks! Tim -- 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-...@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: AdWords API ReportService job runs, but report/record is not available at the url that was returned/empty
Hi, Reports will not actually be generated in the sandbox environment, and a dummy XML file will be returned. Run the code against the production environment to get actual results. Best, - Eric Koleda, AdWords API Team On Nov 28, 6:58 pm, Dharmendra Chaudhary dharmendra@gmail.com wrote: AdWords API ReportService job runs, but report/record is not available at the url that was returned/empty The only changes I made to the example were ?php require_once('soapclientfactory.php'); # Provide AdWords login information. $email = 'i...@aziatischekunst.com'; $password = 'startthis'; $client_email =’abc.com'; $useragent = 'abcd'; $developer_token = abc.com++USD'; $application_token = 'INSERT_APPLICATION_TOKEN_HERE'; # Define SOAP headers. $headers = 'email' . $email . '/email'. 'password' . $password . '/password' . 'clientEmail' . $client_email . '/clientEmail' . 'useragent' . $useragent . '/useragent' . 'developerToken' . $developer_token . '/developerToken' . 'applicationToken' . $application_token . '/applicationToken'; # Set up service connection. To view XML request/response, change value of # $debug to 1. To send requests to production environment, replace # sandbox.google.com with adwords.google.com. $namespace = 'https://sandbox.google.com/api/adwords/v13'; $report_service = SoapClientFactory::GetClient($namespace . '/ReportService?wsdl', 'wsdl'); $report_service-setHeaders($headers); $debug = 1; # Create report job structure. $report_job = 'selectedReportTypeKeyword/selectedReportType' . 'nameSample Keyword Report/name' . 'aggregationTypesSummary/aggregationTypes' . 'adWordsTypeSearchOnly/adWordsType' . 'keywordTypeBroad/keywordType' . 'startDay2009-10-29/startDay' . 'endDay2009-11-29/endDay' . 'selectedColumnsCampaign/selectedColumns' . 'selectedColumnsAdGroup/selectedColumns' . 'selectedColumnsKeyword/selectedColumns' . 'selectedColumnsKeywordStatus/selectedColumns' . 'selectedColumnsKeywordMinCPC/selectedColumns' . 'selectedColumnsKeywordDestUrlDisplay/selectedColumns' . 'selectedColumnsImpressions/selectedColumns' . 'selectedColumnsClicks/selectedColumns' . 'selectedColumnsCTR/selectedColumns' . 'selectedColumnsAveragePosition/selectedColumns'; $request_xml = 'validateReportJob' . 'job xmlns:impl=https://adwords.google.com/api/adwords/v13; ' . 'xsi:type=impl:DefinedReportJob' . $report_job . '/job' . '/validateReportJob'; # Validate report. $report_service-call('validateReportJob', $request_xml); if ($debug) show_xml($report_service); if ($report_service-fault) show_fault($report_service); # Schedule report. $request_xml = 'scheduleReportJob' . 'job xmlns:impl=https://adwords.google.com/api/adwords/v13; ' . 'xsi:type=impl:DefinedReportJob' . $report_job . '/job' . '/scheduleReportJob'; $job_id = $report_service-call('scheduleReportJob', $request_xml); $job_id = $job_id['scheduleReportJobReturn']; if ($debug) show_xml($report_service); if ($report_service-fault) show_fault($service); # Wait for report to finish. $request_xml = 'getReportJobStatus' . 'reportJobId' . $job_id . '/reportJobId' . '/getReportJobStatus'; $status = $report_service-call('getReportJobStatus', $request_xml); $status = $status['getReportJobStatusReturn']; if ($debug) show_xml($report_service); if ($report_service-fault) show_fault($service); while ($status != 'Completed' and $status != 'Failed') { echo 'Report job status is ' . $status . '.' . \n; sleep(30); $status = $report_service-call('getReportJobStatus', $request_xml); $status = $status['getReportJobStatusReturn']; if ($debug) show_xml($report_service); if ($report_service-fault) show_fault($service); } if ($status == 'Failed') { echo 'Report job generation failed.' . \n; return; } # Download report. $request_xml = 'getGzipReportDownloadUrl' . 'reportJobId' . $job_id . '/reportJobId' . '/getGzipReportDownloadUrl'; $report_url = $report_service-call('getGzipReportDownloadUrl', $request_xml); $report_url = $report_url['getGzipReportDownloadUrlReturn']; if ($debug) show_xml($report_service); if ($report_service-fault) show_fault($service); echo 'Report is available at ' . $report_url . '.' . \n; function show_xml($service) { echo $service-request; echo $service-response; echo \n; } function show_fault($service) { echo \n; echo 'Fault: ' . $service-fault . \n; echo 'Code: ' . $service-faultcode . \n; echo 'String: ' . $service-faultstring . \n; echo 'Detail: ' . $service-faultdetail . \n; exit(0);} ? -- 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-...@googlegroups.com. To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com. For more options, visit this group at
AdWords API Re: InfoService getUnitCount returns 0 for November 25 through 28
Hi, Thank you for bringing this to our attention. The core engineering team is looking into the issue. Best, - Eric Koleda, AdWords API Team On Nov 30, 11:16 am, j.e.frank j.e.fr...@gmail.com wrote: Every day I run a process to get my API usage. This returned 0 for 4 days, from November 25th through November 28th, and with smaller than normal numbers on the 24th and 29th. So far today it seems to be tracking normally again. I have double-checked that all of my processes that actually use API points have been running steadily, and even checked the AdWords change history to confirm that things have been working as expected. So I am puzzled as to why the usage reports 0 for those days. I thought it might have to do with the fact that I hadn't upgraded to v2009, but I just ran a test with the v2009 InfoService and got the same results. Is there any way for me to figure out what happened? -- 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-...@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.
AdWords API Re: Removing additional keywords to consider from TargetingIdeaSelector results
Hi Tony, The solution is to use the NgramGroupsSearchParameter. More information is available here: http://groups.google.com/group/adwords-api/browse_thread/thread/dd91fb012cd2f26d http://groups.google.com/group/adwords-api/browse_thread/thread/b1d3189f4483c78d http://code.google.com/apis/adwords/v2009/docs/reference/TargetingIdeaService.NgramGroupsSearchParameter.html Best, - Eric Koleda, AdWords API Team On Nov 30, 12:35 pm, Tony t...@tonyspencer.com wrote: How can I remove the additional keywords to consider from the results returned by the TargetingIdeaSelector API in v2009? For instance, if I query life insurance the results returned include keywords like home insurance and business insurance which don't have anything to do with life insurance. In the deprecated API the KeywordToolService returns two arrays, one is called moreSpecific and one is called additionalToConsider and so we can just ignore the second array but I can't find any way to remove this data in TargetingIdeaSelector. -- 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-...@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.
AdWords API Re: Insert Keywords = UNEXPECTED INTERNAL API ERROR
Hi, Thanks for bringing this to our attention and providing detailed technical information. The core engineering team is aware of the issue and working on a fix. If you see this behavior on any other services please let us know. Best, - Eric Koleda, AdWords API Team On Nov 30, 12:40 pm, MaxT maxicttilb...@gmail.com wrote: Hi, I'm inserting batches of multiple keywords trough the AdGroupCriterion Service. Unfortunately the system is returning more and more UNEXPECTED INTERNAL API ERROR's I tried to add about 4 keywords, and 70% of this operations returned this error.. I read a lot about this error, and if i'm right it is not my fault. I tried inserting keywords in batches of 10/20/50/100 and all these different settings keeps returning there errors. Can someone please help me, as this is getting very annoying. My last 2 Request ID's: 57c98e01c76a54563e46e39cf073a03e 7c9c8e7fb08774d657b6cfb5733ee3b4 -- 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-...@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.
AdWords API Re: Problem with TargetingIdeaServiceInterface?
Hi Eric: I switched to instantiating the user using the client library code at... AdWordsServiceLogger.log(); AdWordsUser user = new AdWordsUser(EMAIL, PASSWORD, xxx, xxx, xxx); TargetingIdeaServiceInterface targetingIdeaService = user.getService(AdWordsService.V200909.TARGETING_IDEA_SERVICE); ... and this worked for me. In digging deeper into the soap request, found that the request header's namespace used by the client library was ... https://adwords.google.com/api/adwords/o/v200909 ... whereas my manually written code had an error and used the following incorrect namespace ... https://adwords.google.com/api/adwords/cm/v200909 The error message wasn't clear in identifying that but this is now solved. The reason why we prefer not to use Google's generated client library is because version info is hardwired in to the generated package names. e.g. when you switch users from using 200906 to 200909, all of their imports need to be manually changed. If the generated client library omitted the version number from the package name, our transition from one version of the API to the next would be less effort. Once I got my prototype working, the TargetingIdea elements display keyword text, match type and idea type. How do I get it to display the average targeted monthly search volume and the global monthly search volume for the keyword variations? The documentation on AverageTargetedMonthlySearchesSearchParameter and GlobalMonthlySearchesSearchParameter aren't clear. Are these fields used as an input to restrict the suggestions that fit within a volume range? OR are they used as parameters to determine what output fields are generated for the TargetingIdea elements? e.g. show me the volume for the keyword variations? The old deprecated v13 API for this that returned keyword variations as http://code.google.com/apis/adwords/docs/developer/KeywordVariation.html was more intuitive to use. Let me know. Thanks. On Nov 30, 8:39 am, AdWords API Advisor adwordsapiadvi...@google.com wrote: Hi SEMDEV, Looking at your code it doesn't appear you are using the client library to generate your service. Please see the GetRelatedKeywords.java example for more information on how to use the client library: http://code.google.com/p/google-api-adwords-java/source/browse/trunk/... Best, - Eric On Nov 29, 11:37 pm, SEM sem...@gmail.com wrote: Hi Eric: I just updated my project to use the newly downloaded client lib with adwords-lib 6.2.0's jar In addition, I updated my source to use all parameters as in the example above but this still fails with this ambiguous error: Fault occurred while processing. Here's my updated source... final TargetingIdeaServiceInterface tisi = new TargetingIdeaServiceLocator().getTargetingIdeaServiceInterfacePort(); ((Stub) tisi).setHeader( GOOGLE_API_NAMESPACE, RequestHeader, new SoapHeader(APP-TOKEN-REMOVED, AUTH_TOKEN, null, EMAIL, DEV-TOKEN-REMOVED, USER-AGENT) ); Keyword[] kwa = new Keyword[1]; kwa[0] = new Keyword(); kwa[0].setText(cheap airline tickets); kwa[0].setMatchType(KeywordMatchType.BROAD); LanguageTarget lt = new LanguageTarget(); lt.setLanguageCode(en); CountryTarget ct = new CountryTarget(); ct.setCountryCode(US); TargetingIdeaSelector tis = new TargetingIdeaSelector(); tis.setSearchParameters(new SearchParameter[] { new RelatedToKeywordSearchParameter(null, kwa), new ExcludedKeywordSearchParameter(null, kwa), new KeywordMatchTypeSearchParameter(null, new KeywordMatchType[] { kwa[0].getMatchType() } ), new CompetitionSearchParameter(null, new CompetitionSearchParameterLevel[] {CompetitionSearchParameterLevel.LOW}), new LanguageTargetSearchParameter(null, new LanguageTarget[] {lt}), new CountryTargetSearchParameter(null, new CountryTarget[] {ct}) } ); tis.setIdeaType(IdeaType.KEYWORD); tis.setRequestType(RequestType.IDEAS); tis.setPaging(new Paging(0, 6)); TargetingIdeaPage tip = tisi.get(tis); TargetingIdea[] tia = tip.getEntries(); for (TargetingIdea ti : tia) { System.out.println(ti); } The error I still get is... Exception in thread main AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server faultSubcode: faultString: Fault occurred while processing. faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace:Fault occurred while processing. at org.apache.axis.message.SOAPFaultBuilder.createFault (SOAPFaultBuilder.java:222) at
AdWords API Re: InfoService getUnitCount returns 0 for November 25 through 28
Thanks. Let me know if you need any additional info, such as the developer token and login that I am using. On Nov 30, 2:51 pm, AdWords API Advisor adwordsapiadvi...@google.com wrote: Hi, Thank you for bringing this to our attention. The core engineering team is looking into the issue. Best, - Eric Koleda, AdWords API Team On Nov 30, 11:16 am, j.e.frank j.e.fr...@gmail.com wrote: Every day I run a process to get my API usage. This returned 0 for 4 days, from November 25th through November 28th, and with smaller than normal numbers on the 24th and 29th. So far today it seems to be tracking normally again. I have double-checked that all of my processes that actually use API points have been running steadily, and even checked the AdWords change history to confirm that things have been working as expected. So I am puzzled as to why the usage reports 0 for those days. I thought it might have to do with the fact that I hadn't upgraded to v2009, but I just ran a test with the v2009 InfoService and got the same results. Is there any way for me to figure out what happened? -- 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-...@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.
AdWords API Re: Still over keyword quota, campaigns deleted
Hi Travis, Because a campaign and ad group can never be completely deleted (it is just marked with a status of deleted) I believe you do need to remove the actual keywords from the ad groups to be back under the limit. You may also want to also ask your question to the general AdWords forum: http://www.google.com/support/forum/p/AdWords. Best, - Eric Koleda, AdWords API Team On Nov 30, 2:09 pm, Travis B briggs.tra...@gmail.com wrote: Hi, I got the following message while attempting to post: aw_api.Errors.RequestError: Code 17: The campaigns for this customer already have the maximum number of active keywords permitted, so this campaign may not be activated. I then deleted all of the campaigns in the account, however I am still receiving the same message. I'm also getting all the UI warnings about having lots of keywords. Do I need to individually delete each keyword? Thanks, -Travis -- 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-...@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.
AdWords API Re: Problem with TargetingIdeaServiceInterface?
Hi SEMDEV, I'm glad to hear this is working now, and thanks for the feedback about the client library. As for the TargetingIdeaService, there are two types of objects that are easy to confuse: SearchParameters and AttributeTypes. SearchParamters are used to constrain or filter the results that are returned: http://code.google.com/apis/adwords/v2009/docs/reference/TargetingIdeaService.SearchParameter.html AttributeTypes are used to bring back extra fields for each result that is returned: http://code.google.com/apis/adwords/v2009/docs/reference/TargetingIdeaService.AttributeType.html Both of these are set on the TargetingIdeaSelector, in the fields searchParameters and requestedAttributeTypes respectivly: http://code.google.com/apis/adwords/v2009/docs/reference/TargetingIdeaService.TargetingIdeaSelector.html In your case you want the AttributeTypes AVERAGE_TARGETED_MONTHLY_SEARCHES and GLOBAL_MONTHLY_SEARCHES. Best, - Eric On Nov 30, 3:06 pm, SEM sem...@gmail.com wrote: Hi Eric: I switched to instantiating the user using the client library code at... AdWordsServiceLogger.log(); AdWordsUser user = new AdWordsUser(EMAIL, PASSWORD, xxx, xxx, xxx); TargetingIdeaServiceInterface targetingIdeaService = user.getService(AdWordsService.V200909.TARGETING_IDEA_SERVICE); ... and this worked for me. In digging deeper into the soap request, found that the request header's namespace used by the client library was ... https://adwords.google.com/api/adwords/o/v200909 ... whereas my manually written code had an error and used the following incorrect namespace ... https://adwords.google.com/api/adwords/cm/v200909 The error message wasn't clear in identifying that but this is now solved. The reason why we prefer not to use Google's generated client library is because version info is hardwired in to the generated package names. e.g. when you switch users from using 200906 to 200909, all of their imports need to be manually changed. If the generated client library omitted the version number from the package name, our transition from one version of the API to the next would be less effort. Once I got my prototype working, the TargetingIdea elements display keyword text, match type and idea type. How do I get it to display the average targeted monthly search volume and the global monthly search volume for the keyword variations? The documentation on AverageTargetedMonthlySearchesSearchParameter and GlobalMonthlySearchesSearchParameter aren't clear. Are these fields used as an input to restrict the suggestions that fit within a volume range? OR are they used as parameters to determine what output fields are generated for the TargetingIdea elements? e.g. show me the volume for the keyword variations? The old deprecated v13 API for this that returned keyword variations ashttp://code.google.com/apis/adwords/docs/developer/KeywordVariation.html was more intuitive to use. Let me know. Thanks. On Nov 30, 8:39 am, AdWords API Advisor adwordsapiadvi...@google.com wrote: Hi SEMDEV, Looking at your code it doesn't appear you are using the client library to generate your service. Please see the GetRelatedKeywords.java example for more information on how to use the client library: http://code.google.com/p/google-api-adwords-java/source/browse/trunk/... Best, - Eric On Nov 29, 11:37 pm, SEM sem...@gmail.com wrote: Hi Eric: I just updated my project to use the newly downloaded client lib with adwords-lib 6.2.0's jar In addition, I updated my source to use all parameters as in the example above but this still fails with this ambiguous error: Fault occurred while processing. Here's my updated source... final TargetingIdeaServiceInterface tisi = new TargetingIdeaServiceLocator().getTargetingIdeaServiceInterfacePort(); ((Stub) tisi).setHeader( GOOGLE_API_NAMESPACE, RequestHeader, new SoapHeader(APP-TOKEN-REMOVED, AUTH_TOKEN, null, EMAIL, DEV-TOKEN-REMOVED, USER-AGENT) ); Keyword[] kwa = new Keyword[1]; kwa[0] = new Keyword(); kwa[0].setText(cheap airline tickets); kwa[0].setMatchType(KeywordMatchType.BROAD); LanguageTarget lt = new LanguageTarget(); lt.setLanguageCode(en); CountryTarget ct = new CountryTarget(); ct.setCountryCode(US); TargetingIdeaSelector tis = new TargetingIdeaSelector(); tis.setSearchParameters(new SearchParameter[] { new RelatedToKeywordSearchParameter(null, kwa), new ExcludedKeywordSearchParameter(null, kwa), new KeywordMatchTypeSearchParameter(null, new KeywordMatchType[] { kwa[0].getMatchType() } ), new CompetitionSearchParameter(null, new
AdWords API Re: Problem with TargetingIdeaServiceInterface?
Hi Eric: Thanks ... explicitly specifying additional attribute types worked! On a related note, I have a few questions re: throttling / bandwidth restrictions... a] What is the max number of keywords I can submit in a single request to get keyword variations? b] Suppose I submit a set of 100,000 keywords as an input, what are the limits w.r.t. returning results? Does the adwords system throttle at Y output suggestions for X input keywords? c] Are there any rate limit thresholds w.r.t. number of times this API may be called per unit time per app token or per IP? Let me know. Regards. On Nov 30, 12:29 pm, AdWords API Advisor adwordsapiadvi...@google.com wrote: Hi SEMDEV, I'm glad to hear this is working now, and thanks for the feedback about the client library. As for the TargetingIdeaService, there are two types of objects that are easy to confuse: SearchParameters and AttributeTypes. SearchParamters are used to constrain or filter the results that are returned: http://code.google.com/apis/adwords/v2009/docs/reference/TargetingIde... AttributeTypes are used to bring back extra fields for each result that is returned: http://code.google.com/apis/adwords/v2009/docs/reference/TargetingIde... Both of these are set on the TargetingIdeaSelector, in the fields searchParameters and requestedAttributeTypes respectivly: http://code.google.com/apis/adwords/v2009/docs/reference/TargetingIde... In your case you want the AttributeTypes AVERAGE_TARGETED_MONTHLY_SEARCHES and GLOBAL_MONTHLY_SEARCHES. Best, - Eric On Nov 30, 3:06 pm, SEM sem...@gmail.com wrote: Hi Eric: I switched to instantiating the user using the client library code at... AdWordsServiceLogger.log(); AdWordsUser user = new AdWordsUser(EMAIL, PASSWORD, xxx, xxx, xxx); TargetingIdeaServiceInterface targetingIdeaService = user.getService(AdWordsService.V200909.TARGETING_IDEA_SERVICE); ... and this worked for me. In digging deeper into the soap request, found that the request header's namespace used by the client library was ... https://adwords.google.com/api/adwords/o/v200909 ... whereas my manually written code had an error and used the following incorrect namespace ... https://adwords.google.com/api/adwords/cm/v200909 The error message wasn't clear in identifying that but this is now solved. The reason why we prefer not to use Google's generated client library is because version info is hardwired in to the generated package names. e.g. when you switch users from using 200906 to 200909, all of their imports need to be manually changed. If the generated client library omitted the version number from the package name, our transition from one version of the API to the next would be less effort. Once I got my prototype working, the TargetingIdea elements display keyword text, match type and idea type. How do I get it to display the average targeted monthly search volume and the global monthly search volume for the keyword variations? The documentation on AverageTargetedMonthlySearchesSearchParameter and GlobalMonthlySearchesSearchParameter aren't clear. Are these fields used as an input to restrict the suggestions that fit within a volume range? OR are they used as parameters to determine what output fields are generated for the TargetingIdea elements? e.g. show me the volume for the keyword variations? The old deprecated v13 API for this that returned keyword variations ashttp://code.google.com/apis/adwords/docs/developer/KeywordVariation.html was more intuitive to use. Let me know. Thanks. On Nov 30, 8:39 am, AdWords API Advisor adwordsapiadvi...@google.com wrote: Hi SEMDEV, Looking at your code it doesn't appear you are using the client library to generate your service. Please see the GetRelatedKeywords.java example for more information on how to use the client library: http://code.google.com/p/google-api-adwords-java/source/browse/trunk/... Best, - Eric On Nov 29, 11:37 pm, SEM sem...@gmail.com wrote: Hi Eric: I just updated my project to use the newly downloaded client lib with adwords-lib 6.2.0's jar In addition, I updated my source to use all parameters as in the example above but this still fails with this ambiguous error: Fault occurred while processing. Here's my updated source... final TargetingIdeaServiceInterface tisi = new TargetingIdeaServiceLocator().getTargetingIdeaServiceInterfacePort(); ((Stub) tisi).setHeader( GOOGLE_API_NAMESPACE, RequestHeader, new SoapHeader(APP-TOKEN-REMOVED, AUTH_TOKEN, null, EMAIL, DEV-TOKEN-REMOVED, USER-AGENT) ); Keyword[] kwa = new Keyword[1]; kwa[0] = new Keyword(); kwa[0].setText(cheap airline tickets); kwa[0].setMatchType(KeywordMatchType.BROAD);
AdWords API Re: v2009 API Is quota charged on SOAP Faults
I assume you want the SOAP from the delete call which had the dodgy operations header. Unfortunately I did not save the XML last week, but was getting that behaviour consistently on Friday (Thursday evening in the US) This week I am unable to reproduce this issue. When deleting keywords with an invalid adgroup ID it still gives an INTERNAL ERROR but now returns a response with headers of 1 operation and one 1 unit. Most of the time. On one occasion I did get a very different operation/unit count (but still only 1 unit per operation). The SOAP is below. I will keep an eye on it, and will save the XML if I do get the issue again. If you wanted other SOAP (e.g. the 15 quota per invalid keyword in an Add operation) then I can still reproduce that. Do we actually get charged the quota reported in the headers of SOAP Faults? 1201-112153 W P4PGoogle.pm/2241 ERROR REQUEST: POST https://adwords.google.com/api/adwords/cm/v200909/AdGroupCriterionService HTTP/1.1 Accept: text/xml Accept: multipart/* Content-Length: 2032 Content-Type: text/xml; charset=utf-8 SOAPAction: https://adwords.google.com/api/adwords/cm/v200909#mutate; ?xml version=1.0 encoding=UTF-8? SOAP-ENV:Envelope xmlns:xsi=http://www.w3.org/2001/XMLSchema- instance xmlns:SOAP-ENC=http://schemas.xmlsoap.org/soap/encoding/; xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsd=http://www.w3.org/2001/XMLSchema; SOAP- ENV:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; SOAP-ENV:Header RequestHeader xmlns=https://adwords.google.com/api/adwords/cm/ v200909 SOAP-ENC:arrayType=xsd:string[4] authToken xsi:type=xsd:stringsomething1/authToken useragent xsi:type=xsd:stringsomething2/useragent developerToken xsi:type=xsd:stringsomething3/developerToken applicationToken xsi:type=xsd:stringsomething4/applicationToken /RequestHeader /SOAP-ENV:Header SOAP-ENV:Body mutate xmlns=https://adwords.google.com/api/adwords/cm/v200909; operations operatorREMOVE/operator operand xsi:type=BiddableAdGroupCriterion bids xsi:type=ManualCPCAdGroupCriterionBids SOAP- ENC:arrayType=xsd:anyType[1] maxCpc amount microAmount xsi:nil=true/ /amount /maxCpc /bids adGroupId3690779520/adGroupId userStatus xsi:nil=true/ criterion xsi:type=Keyword text xsi:nil=true/ id14899356282/id matchTypeBROAD/matchType /criterion destinationUrl xsi:nil=true/ /operand /operations operations operatorREMOVE/operator operand xsi:type=BiddableAdGroupCriterion bids xsi:type=ManualCPCAdGroupCriterionBids SOAP- ENC:arrayType=xsd:anyType[1] maxCpc amount microAmount xsi:nil=true/ /amount /maxCpc /bids adGroupId3690779520/adGroupId userStatus xsi:nil=true/ criterion xsi:type=Keyword text xsi:nil=true/ id14899572282/id matchTypeBROAD/matchType /criterion destinationUrl xsi:nil=true/ /operand /operations /mutate /SOAP-ENV:Body /SOAP-ENV:Envelope 1201-112153 W P4PGoogle.pm/2243 ERROR RESPONSE: HTTP/1.1 200 OK Cache-Control: private, max-age=0 Connection: close Date: Tue, 01 Dec 2009 00:21:53 GMT Server: GFE/2.0 Content-Type: text/xml; charset=UTF-8 Expires: Tue, 01 Dec 2009 00:21:53 GMT Client-Date: Tue, 01 Dec 2009 00:21:53 GMT Client-Response-Num: 1 Client-SSL-Cert-Issuer: /C=US/O=Equifax/OU=Equifax Secure Certificate Authority Client-SSL-Cert-Subject: /C=US/ST=California/L=Mountain View/O=Google Inc./CN=adwords.google.com Client-SSL-Cipher: AES256-SHA Client-SSL-Warning: Peer certificate not verified Client-Transfer-Encoding: chunked X-Content-Type-Options: nosniff X-Frame-Options: SAMEORIGIN X-XSS-Protection: 0 soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/; soap:Header ResponseHeader xmlns=https://adwords.google.com/api/adwords/cm/ v200909 requestId5e72e19c21b7d51ee7e7304b27770e16/requestId operations787/operations responseTime172/responseTime units787/units /ResponseHeader /soap:Header soap:Body soap:Fault faultcodesoap:Server/faultcode faultstringInternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ / faultstring detail ApiExceptionFault xmlns=https://adwords.google.com/api/adwords/cm/ v200909 messageInternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ /message ApplicationException.TypeApiException/ApplicationException.Type errors xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:type=InternalApiError fieldPath /fieldPath trigger /trigger ApiError.TypeInternalApiError/ApiError.Type reasonUNEXPECTED_INTERNAL_API_ERROR/reason /errors /ApiExceptionFault /detail /soap:Fault /soap:Body /soap:Envelope On Dec 1, 5:43 am, AdWords API Advisor adwordsapiadvi...@google.com wrote: Hi Fred, Do you have the SOAP XML request and response that shows this behavior? The request ID would also suffice. Best, - Eric Koleda, AdWords API Team On Nov 27, 12:45 am, fred dec...@decideinteractive.com wrote: Hello, While developing our client for the v2009 API I have been doing some error condition tests. I have noticed that the 'operations' and 'units' headers come back even when requests fail. Some times this looks like its properly calculated. e.g. If the
AdWords API Re: PHP Client Library for v2009, EntityNotFound.INVALID_ID @ selector ERROR
Hi, Very useful thread, thanks for that. Just want to confirm I understand this correctly. Does this mean that you can only call InfoService::get if the username you use for authorisation is the same user who owns the developerToken? Are there any other situations in v2009 where the username and devToken have to match? (either directly or via an MCC relationship). As I understand it there were no such rules in v1 through v13 Thanks On Nov 19, 6:11 am, AdWords API Advisor adwordsapiadvi...@google.com wrote: Hi Eugene, Great, I'm glad to hear that it's working now. I'm working with the documentation team to make the authentication requirements clearer. The forum is the best way to get help with the AdWords API, and we try to respond to questions at least twice a day. Best, - Eric On Nov 18, 1:24 pm, Eugene popov...@aheadworks.com wrote: Eric, I found email and password associated with my token and it works! And yes it works only with MCC account email/password. Thank you very much! Is there any way to contact you directly to get help faster? We are migrating our apps from apility (v13) to PHP Client Library for AdWords API v2009. So I think we will have more problems, questions... Thanks again.- Hide quoted text - - Show quoted text - -- 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-...@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.