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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

Reply via email to