Hello - An easier way to resolve/read an error in the Ruby lib is to wrap your call in a begin/rescue and then call the soap_faultstring_ex method. For example:
begin #CALL TO ADWORDS API HERE rescue => e logger.info "#RESCUED AdWords API ERROR #{e.soap_faultstring_ex}" end This will produce nice output for the actual problem, for example: #RESCUED AdWords API ERROR [NotEmptyError.EMPTY_LIST @ selector.searchParameters[0].keywords] Above we had an issue where the keyword was not getting passed in properly. The code_ex value might also be of some use. Hope this helps, Ben On May 12, 9:10 am, AdWords API Advisor <adwordsapiadvi...@google.com> wrote: > Hi, > > The full SOAP XML response for this error will likely contain more > information about the cause. This information should be available in > your log files. > > Best, > - Eric Koleda, AdWords API Team > > On May 11, 4:59 am, fwmadwords <adwo...@firewatchingmedia.com> wrote: > > > > > > > I'm using the Ruby client library and trying to use the TargetingIdea > > service. When I use the sandbox, I get some results back, but when I > > use my production credentials, I get this error: > > > AdWords::Error::GoogleInternalError: get Call Failed: > > #<SOAP::SOAPElement:0x1031202d8> > > > Here is my code: > > > service = @adwords.service("TargetingIdea", 200909) > > > kw = service.module::Keyword.new > > kw.text = keyword > > kw.matchType = "BROAD" > > > parameter1 = service.module::RelatedToKeywordSearchParameter.new > > parameter1.keywords = [kw] > > > parameter2 = > > service.module::AverageTargetedMonthlySearchesSearchParameter.new > > parameter2.operation = service.module::LongComparisonOperation.new > > parameter2.operation.minimum = 0 > > parameter2.operation.maximum = 100_000_000_000 > > > selector = service.module::TargetingIdeaSelector.new > > selector.searchParameters = [parameter1, parameter2] > > selector.requestedAttributeTypes = > > ["AVERAGE_TARGETED_MONTHLY_SEARCHES"] > > selector.ideaType = "KEYWORD" > > selector.requestType = "STATS" > > selector.localeCode = "ja_JP" > > selector.currencyCode = "JPY" > > selector.paging = service.module::Paging.new > > selector.paging.startIndex = 0 > > selector.paging.numberResults = 1 > > service.get(selector) #Fails here > > > -- > > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > > Also find us on our blog and discussion > > group:http://adwordsapi.blogspot.comhttp://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 > > athttp://groups.google.com/group/adwords-api?hl=en > > -- > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > Also find us on our blog and discussion > group:http://adwordsapi.blogspot.comhttp://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 > athttp://groups.google.com/group/adwords-api?hl=en -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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