Re: GeoLocation - some addresses works, some not (PHP)
Hello, thank you for your reply. Im not sure what you mean with the request id. But i cleaned the logs, started a new try (with the address) and the following posts are the logs: request_info.log: [Jan 28 2011 11:01:08.00 - INFO] email=mmv.hes...@googlemail.com effectiveUser=177-142-6580 service=CampaignService method=mutate operators={ADD: 1} responseTime=1692 requestId=091b61cab6f6d3db40ee02a7d357fb7d operations=1 units=1 server=adwords.google.com isFault=false faultMessage=null [Jan 28 2011 11:01:13.00 - INFO] email=mmv.hes...@googlemail.com effectiveUser=177-142-6580 service=GeoLocationService method=get operators={} responseTime=238 requestId=cec00625de2be6513e60a6cb97fdc53b operations=1 units=1 server=adwords.google.com isFault=false faultMessage=null [Jan 28 2011 11:01:14.00 - INFO] email=mmv.hes...@googlemail.com effectiveUser=177-142-6580 service=CampaignTargetService method=mutate operators={SET: 3} responseTime=638 requestId=d2bcd5448b379bbc59c3271aa3a3 operations=1 units=1 server=adwords.google.com isFault=true faultMessage=[TargetError.INVALID_REGIONCODE_LENGTH @ operations[1].operand.targets[0]] soap_xml.log: [Jan 28 2011 11:01:08.00 - INFO] POST /api/adwords/cm/v201008/ CampaignService HTTP/1.1 Host: adwords.google.com Connection: Keep-Alive User-Agent: PHP-SOAP/5.3.1, gzip Accept-Encoding: gzip, deflate Content-Encoding: gzip Content-Type: text/xml; charset=utf-8 SOAPAction: Content-Length: 768 ?xml version=1.0 encoding=UTF-8? SOAP-ENV:Envelope xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/ envelope/ xmlns:ns1=https://adwords.google.com/api/adwords/cm/ v201008 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; SOAP-ENV:Header ns1:RequestHeader xsi:type=ns1:RequestHeader ns1:authToken*/ns1:authToken ns1:clientCustomerId177-142-6580/ns1:clientCustomerId ns1:developerTokenmVbLdarOAGT9PHoiO-804g/ns1:developerToken ns1:userAgentAwApi-PHP-2.4.1-MMV/ns1:userAgent /ns1:RequestHeader /SOAP-ENV:Header SOAP-ENV:Body ns1:mutate ns1:operations ns1:operatorADD/ns1:operator ns1:operand ns1:nameKnoellweb #erstellt: 28.01.2011 11:01 - 1296208866/ns1:name ns1:statusPAUSED/ns1:status ns1:budget ns1:periodDAILY/ns1:period ns1:amount ns1:microAmount500/ns1:microAmount /ns1:amount ns1:deliveryMethodACCELERATED/ns1:deliveryMethod /ns1:budget ns1:biddingStrategy xmlns:ns1=https://adwords.google.com/ api/adwords/cm/v201008 xsi:type=ns1:ManualCPC/ /ns1:operand /ns1:operations /ns1:mutate /SOAP-ENV:Body /SOAP-ENV:Envelope HTTP/1.1 200 OK Content-Type: text/xml; charset=UTF-8 SOAPAction: Content-Encoding: gzip Transfer-Encoding: chunked Date: Fri, 28 Jan 2011 10:01:10 GMT Expires: Fri, 28 Jan 2011 10:01:10 GMT Cache-Control: private, max-age=0 X-Content-Type-Options: nosniff X-Frame-Options: SAMEORIGIN X-XSS-Protection: 1; mode=block Server: GSE ?xml version=1.0? soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/; soap:Header ResponseHeader xmlns=https://adwords.google.com/api/adwords/cm/ v201008 requestId091b61cab6f6d3db40ee02a7d357fb7d/requestId operations1/operations responseTime1692/responseTime units1/units /ResponseHeader /soap:Header soap:Body mutateResponse xmlns=https://adwords.google.com/api/adwords/cm/ v201008 rval ListReturnValue.TypeCampaignReturnValue/ ListReturnValue.Type value id75283779/id nameKnoellweb #erstellt: 28.01.2011 11:01 - 1296208866/ name statusPAUSED/status servingStatusSERVING/servingStatus startDate20110128/startDate endDate20371231/endDate budget periodDAILY/period amount ComparableValue.TypeMoney/ComparableValue.Type microAmount500/microAmount /amount deliveryMethodACCELERATED/deliveryMethod /budget biddingStrategy xmlns:xsi=http://www.w3.org/2001/XMLSchema- instance xsi:type=ManualCPC BiddingStrategy.TypeManualCPC/BiddingStrategy.Type enhancedCpcEnabledfalse/enhancedCpcEnabled positionPreferenceOFF/positionPreference /biddingStrategy conversionOptimizerEligibility eligiblefalse/eligible rejectionReasonsCAMPAIGN_IS_NOT_ACTIVE/ rejectionReasons rejectionReasonsCONVERSION_TRACKING_NOT_ENABLED/ rejectionReasons /conversionOptimizerEligibility adServingOptimizationStatusOPTIMIZE/ adServingOptimizationStatus frequencyCap impressions0/impressions /frequencyCap /value /rval /mutateResponse /soap:Body /soap:Envelope [Jan 28 2011 11:01:13.00 - INFO] POST /api/adwords/cm/v201008/ GeoLocationService HTTP/1.1 Host: adwords.google.com Connection:
Re: V13 AccountService error
Hi Eric, I've been struggling with that for over three weeks now. Any ideas how long it may last? Best Rafal -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en
Re: Having problems to get a development token. Please Help !!
*The easiest workaround is to - Create a new gmail account for use with your MCC alone - Follow sequence (2), - Use the new login in sequence (2), after picking I have... option. *Dear Anash, I think this is not an option neither for me nor for other users. The entire point is to keep the same e-mail address for both AdWords and AdWords API. Creating a new gmail account as you suggest will force us to have a new e-mail address for API. Besides I do not use gmail. I use yahoo mail. So we still need help in resolving this issue. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en
Re: MediaService Questions
Code examples should be updated then: http://code.google.com/p/google-api-adwords-java/source/browse/trunk/examples/v201008/UploadImage.java Would love images to take names for easy reference later. Pete On Jan 27, 6:19 pm, AdWords API Advisor adwordsapiadvi...@google.com wrote: Hi Pete, To address your questions: 1) Yes, it is not possible to upload media after it's been uploaded. 2) Only some media types support names. Images do not support names. 3) Same as above. Best, - Eric Koleda, AdWords API Team On Jan 26, 1:54 pm, Pete Lavetsky (AdWords API Guru) pete.lavet...@gmail.com wrote: Bump. On Jan 25, 10:04 am, Pete Lavetsky (AdWords API Guru) pete.lavet...@gmail.com wrote: Good morning, Couple questions regarding the MediaService: 1) Is it upload and get only? ie. there's no SET for overwriting media like images? 2) Is it possible to set the name of a piece of Media? I'm implementing the setName method but it doesn't seem to be sticking 3) Same for creation time. The getCreationTime doesn't seem to return anything Thanks Pete -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en
Re: traffic estimator geotarget
In other words, you can't target a city when requesting search volume. You can only target a country and a language. My understanding is that this is equivalent to the adwords user interface, is that correct? -Jason On Jan 27, 6:52 pm, AdWords API Advisor adwordsapiadvi...@google.com wrote: Hi Murali, The average local monthly searches are available using AVERAGE_TARGETED_MONTHLY_SEARCHES. You target countries and languages. In STATS mode you can pass up to 2000 keywords in a request. Best, - Eric On Jan 27, 1:26 am, Murali4044 murali4...@gmail.com wrote: Hi Eric, I can get GLOBAL MONTHLY SEARCH from GetReleatedKeywords.php But i have few question How can we calculate LOCAL MONTHLY SEARCH? Can we target the particular location? And can we pass multiple keywords in single request for getting LOCAL MONTHLY SEARCH? Thanks in advance Murali M On Jan 11, 5:30 pm, AdWords API Advisor adwordsapiadvi...@google.com wrote: Hi Murali, You can use the TargetingIdeaService in STATS mode to get AVERAGE_TARGETED_MONTHLY_SEARCHES. Best, - Eric On Jan 11, 1:26 am, Murali4044 murali4...@gmail.com wrote: Hi Eric, How can i get local monthly searches through API. can i pass multiple keywords in single request. is it possible in GetRelatedKeywords.php ? Thanks in advance Murali M On Jan 7, 3:43 am, AdWords API Advisor adwordsapiadvi...@google.com wrote: Hi Murali, You are likely making this request against the sandbox environment, which returns dummy data for these requests. Best, - Eric On Jan 5, 6:05 am, Murali4044 murali4...@gmail.com wrote: Hi Eric, Thanks for your reply. through this API i am getting very high values for example keyword florist location is New york,US-NY,US. the value is give below. Results for the keyword with text 'florist' and match type 'BROAD': Estimated average CPC: -1765467296 Estimated ad position: 4.00 Estimated daily clicks: 35089 Estimated daily cost: 201250 But through Google Traffic Estimator the estimated daily clicks is 37. Can you please explain where is the problem Many Thanks Murali -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en
Re: Getting Reports using v13.
I have made the necessasary changes and here is the updated code. $soapHeaders = 'email'.$email.'/email' .'password'.$password.'/password' //.'clientEmail'.$client_email.'/clientEmail' .'useragent'.$useragent.'/useragent' .'developerToken'.$developer_token.'/developerToken' .'applicationToken'.$application_token.'/applicationToken'; $xmlvar = new SoapVar($soapHeaders, XSD_ANYXML ); $namespace = 'https://adwords.google.com/api/adwords/v13'; $endpoint = 'https://adwords.google.com/api/adwords/v13/ReportService?wsdl'; $client = new SoapClient($endpoint, array( 'features' = SOAP_SINGLE_ELEMENT_ARRAYS, 'encoding' = 'utf-8', 'trace' = 1)); $header = new SoapHeader($namespace, 'Header', $xmlvar); $client-__setSoapHeaders($header); try { $jobs = $client-getAllJobs(); foreach ($jobs-getAllJobsReturn as $job) { $reportUrl = $client-getGzipReportDownloadUrl($job-id); var_dump($reportUrl); } } catch (Exception $ex) { echo REQUEST:\n . $client-__getLastRequest() . \n; var_dump($ex); } And the output is . This is the soap request. REQUEST: ?xml version=1.0 encoding=UTF-8? SOAP-ENV:Envelope xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/; xmlns:ns1=https://adwords.google.com/api/adwords/v13;SOAP-ENV:HeaderemailXXX/emailpasswordXXX/passworduseragentzoosk/useragentdeveloperTokenXXX/developerTokenapplicationTokenIgnored/applicationToken/SOAP-ENV:HeaderSOAP-ENV:Bodyns1:getGzipReportDownloadUrl//SOAP-ENV:Body/SOAP-ENV:Envelope And then i get object(SoapFault)#22 -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en
Re: V13 AccountService error
Hi Rafal, It may be helpful to log into the web interface with that account, as that may force it to update the values. Best, - Eric On Jan 28, 9:55 am, rafal ra...@tooloha.com wrote: Hi Eric, I've been struggling with that for over three weeks now. Any ideas how long it may last? Best Rafal -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en
Re: traffic estimator geotarget
Hi Jason, That's correct, the Traffic Estimator web interface has the same limitation. Best, - Eric On Jan 28, 11:52 am, jmshinn jmsh...@gmail.com wrote: In other words, you can't target a city when requesting search volume. You can only target a country and a language. My understanding is that this is equivalent to the adwords user interface, is that correct? -Jason On Jan 27, 6:52 pm, AdWords API Advisor adwordsapiadvi...@google.com wrote: Hi Murali, The average local monthly searches are available using AVERAGE_TARGETED_MONTHLY_SEARCHES. You target countries and languages. In STATS mode you can pass up to 2000 keywords in a request. Best, - Eric On Jan 27, 1:26 am, Murali4044 murali4...@gmail.com wrote: Hi Eric, I can get GLOBAL MONTHLY SEARCH from GetReleatedKeywords.php But i have few question How can we calculate LOCAL MONTHLY SEARCH? Can we target the particular location? And can we pass multiple keywords in single request for getting LOCAL MONTHLY SEARCH? Thanks in advance Murali M On Jan 11, 5:30 pm, AdWords API Advisor adwordsapiadvi...@google.com wrote: Hi Murali, You can use the TargetingIdeaService in STATS mode to get AVERAGE_TARGETED_MONTHLY_SEARCHES. Best, - Eric On Jan 11, 1:26 am, Murali4044 murali4...@gmail.com wrote: Hi Eric, How can i get local monthly searches through API. can i pass multiple keywords in single request. is it possible in GetRelatedKeywords.php ? Thanks in advance Murali M On Jan 7, 3:43 am, AdWords API Advisor adwordsapiadvi...@google.com wrote: Hi Murali, You are likely making this request against the sandbox environment, which returns dummy data for these requests. Best, - Eric On Jan 5, 6:05 am, Murali4044 murali4...@gmail.com wrote: Hi Eric, Thanks for your reply. through this API i am getting very high values for example keyword florist location is New york,US-NY,US. the value is give below. Results for the keyword with text 'florist' and match type 'BROAD': Estimated average CPC: -1765467296 Estimated ad position: 4.00 Estimated daily clicks: 35089 Estimated daily cost: 201250 But through Google Traffic Estimator the estimated daily clicks is 37. Can you please explain where is the problem Many Thanks Murali -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en
Re: Negative keywords lists via the API
Hi Rob, Unfortunately these types of shared lists aren't yet available with the API. From what I know about them they can't be shared across multiple accounts. Best, - Eric Koleda, AdWords API Team On Jan 27, 11:18 am, Rob Sedgwick grim...@blackbelts.co.uk wrote: We would like to use the new feature negative keyword lists for global control of negative keywords. The Adwords web site has this feature but it does not yet seem to be available via the API. Is this right? Also we have hundreds of different accounts. Is it possible to enter the negative keyword lists at MCC level and then accounts beneath this should be able to access them? This is not possible that we can see via the web site, but does the API allow this? We don't want to have to maintain hundreds of different copies of the same list. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en
Re: RateExceededError?
Hi Bryan, Please see the following blog post for more information: http://adwordsapi.blogspot.com/2010/06/better-know-error-rateexceedederror.html Best, - Eric Koleda, AdWords API Team On Jan 27, 7:52 pm, ADM goo...@scienceops.com wrote: I just received 2 of these errors from the API: RateExceededError rateName=DatabaseOperations, rateKey=high_request, rateScope=ACCOUNT, retryAfterSeconds=30 RateExceededError rateName=DatabaseOperations, rateKey=high_request, rateScope=ACCOUNT, retryAfterSeconds=30 What doest this mean? I reran both cases immediately and they worked without error. Nothing had changed. Is this new? Thanks, Bryan -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en
Re: Getting Reports using v13.
Looks like it , But i am calling the client with the id. $reportUrl = $client-getGzipReportDownloadUrl($job-id); I will try to reformate the request and check if i am missing something. On Jan 28, 1:42 pm, AdWords API Advisor adwordsapiadvi...@google.com wrote: Hi, It looks like the request XML doesn't contain the reportJobId to get the URL of. Can you ensure that you are passing in this value correctly? Best, - Eric On Jan 28, 3:16 pm, adword user chandrashekar.vijayar...@gmail.com wrote: I have made the necessasary changes and here is the updated code. $soapHeaders = 'email'.$email.'/email' .'password'.$password.'/password' //.'clientEmail'.$client_email.'/clientEmail' .'useragent'.$useragent.'/useragent' .'developerToken'.$developer_token.'/developerToken' .'applicationToken'.$application_token.'/applicationToken'; $xmlvar = new SoapVar($soapHeaders, XSD_ANYXML ); $namespace = 'https://adwords.google.com/api/adwords/v13'; $endpoint = 'https://adwords.google.com/api/adwords/v13/ReportService?wsdl'; $client = new SoapClient($endpoint, array( 'features' = SOAP_SINGLE_ELEMENT_ARRAYS, 'encoding' = 'utf-8', 'trace' = 1)); $header = new SoapHeader($namespace, 'Header', $xmlvar); $client-__setSoapHeaders($header); try { $jobs = $client-getAllJobs(); foreach ($jobs-getAllJobsReturn as $job) { $reportUrl = $client-getGzipReportDownloadUrl($job-id); var_dump($reportUrl); } } catch (Exception $ex) { echo REQUEST:\n . $client-__getLastRequest() . \n; var_dump($ex); } And the output is . This is the soap request. REQUEST: ?xml version=1.0 encoding=UTF-8? SOAP-ENV:Envelope xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/; xmlns:ns1=https://adwords.google.com/api/adwords/v13;SOAP-ENV:HeaderemailXXX/emailpasswordXXX/passworduseragentzoo sk/useragentdeveloperTokenXXX/developerTokenapplicationTokenIgnored /applicationToken/SOAP-ENV:HeaderSOAP-ENV:Bodyns1:getGzipReportDownl oadUrl//SOAP-ENV:Body/SOAP-ENV:Envelope And then i get object(SoapFault)#22 -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en