Here is the response. [ERROR]APIExceptionstdClass Object
( [ApiExceptionFault] => stdClass Object ( [message] => [CriterionError.INVALID_CRITERION_ID @ selector.searchParameters[1].locations[0]; trigger:'2300'] [ApplicationException.Type] => ApiException [errors] => SoapVar Object ( [enc_type] => 0 [enc_value] => CriterionError Object ( [reason] => INVALID_CRITERION_ID [fieldPath] => selector.searchParameters[1].locations[0] [trigger] => 2300 [errorString] => CriterionError.INVALID_CRITERION_ID [ApiErrorType] => CriterionError [_parameterMap:ApiError:private] => Array ( [ApiError.Type] => ApiErrorType ) ) [enc_stype] => CriterionError [enc_ns] => https://adwords.google.com/api/adwords/cm/v201209 ) ) ) On Friday, October 19, 2012 5:41:56 AM UTC-7, Danial Klimkin wrote: > > Hello Gatsby, Andrezza, > > > Please send me the request and response XML logs for the call with an > error over *email*. (Reply button on the forum). > > > -Danial, AdWords API Team. > > > On Friday, October 19, 2012 3:22:14 AM UTC+4, Andrezza wrote: >> >> Danial, I'm using the lastest adwords api v201209 with the java client >> software and I have the same problem. >> >> The services are returning this error randomly and we are using the >> production environment. >> >> Andrezza >> >> Em quinta-feira, 11 de outubro de 2012 09h30min00s UTC-3, Danial Klimkin >> escreveu: >>> >>> Hello Patrick, >>> >>> >>> The sandbox environment is good for testing only and all data is >>> generated. The services can return zeroes, random values or an error, >>> depending on service. >>> >>> >>> -Danial, AdWords API Team. >>> >>> >>> On Tuesday, October 9, 2012 1:07:09 PM UTC+4, Patrick Fischer wrote: >>>> >>>> Hi, >>>> >>>> I'm using the lastest adwords api v201209 with the php client software. >>>> >>>> Using the same code in sandbox instead of the production server fails >>>> with the following message: Fatal error: Uncaught SoapFault exception: >>>> [soap:Server] [CriterionError.INVALID_CRITERION_ID @ >>>> selector.searchParameters[2].locations[0]; trigger:'2276'] >>>> >>>> In v201206 it still works in production and also in sandbox. >>>> >>>> Greetings >>>> >>>> $selector = new TargetingIdeaSelector(); >>>> $selector->requestType = 'STATS'; >>>> $selector->ideaType = 'KEYWORD'; >>>> $selector->requestedAttributeTypes = array('KEYWORD_TEXT', >>>> 'COMPETITION', 'SEARCH_VOLUME'); >>>> $selector->localeCode = 'de_DE'; >>>> $selector->currencyCode = 'EUR'; >>>> >>>> $paging = new Paging(); >>>> $paging->startIndex = 0; >>>> $paging->numberResults = 500; >>>> $selector->paging = $paging; >>>> >>>> $relatedToQuerySearchParameter = new RelatedToQuerySearchParameter(); >>>> $relatedToQuerySearchParameter->queries = $kwList; >>>> >>>> $location = new Location(); >>>> $location->id = 2276; //2040 >>>> >>>> $locationSearchParameter = new LocationSearchParameter(); >>>> $locationSearchParameter->locations = array( $location ); >>>> >>>> $language = new Language(); >>>> $language->id = 1001; >>>> >>>> $languageSearchParameter = new LanguageSearchParameter(); >>>> $languageSearchParameter->languages = array( $language ); >>>> >>>> $selector->searchParameters = >>>> array($relatedToQuerySearchParameter,$locationSearchParameter,$languageSearchParameter); >>>> >>> -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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