Re: CriterionError.INVALID_CRITERION_ID on setting location-id on v201209 in sandbox

2012-11-09 Thread Gatsby Lee
Takeshi,

どうもありがとう.

It is working fine now.
Again, thank you for your quick fix.

Gatsby

On Thursday, November 8, 2012 11:19:47 PM UTC-8, Takeshi Hagikura wrote:

 Hello,

 Apologies for the inconvenience.
 The issue has been fixed now.
 If you are still seeing the error, can you please let us know again?

 Thanks,
 - Takeshi, AdWords API Team


 2012年11月9日金曜日 3時29分38秒 UTC+9 Gatsby Lee:

 Hello,

 this issue is getting worse instead better.
 I got this issue even with us location id.

 When is Google Adwords team planning to fix this?

 Gatsby

 On Tuesday, October 9, 2012 2:07:09 AM UTC-7, 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


Re: CriterionError.INVALID_CRITERION_ID on setting location-id on v201209 in sandbox

2012-11-08 Thread Gatsby Lee
Hello,

this issue is getting worse instead better.
I got this issue even with us location id.

When is Google Adwords team planning to fix this?

Gatsby

On Tuesday, October 9, 2012 2:07:09 AM UTC-7, 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


Re: CriterionError.INVALID_CRITERION_ID @ selector.searchParameters[0].locations[0]; trigger:'2826'

2012-11-07 Thread Gatsby Lee
If you use v201206, it will be fine.
BTW, I heard that the latest v201209 client library is fixed for this.

Gatsby

On Wednesday, November 7, 2012 8:43:49 AM UTC-8, rizo wrote:

 Hi 

 I have been using the Google adwords api for quite some time without any 
 problems. I have recently started to get the error:

 CriterionError.INVALID_CRITERION_ID @ 
 selector.searchParameters[0].locations[0]; trigger:'2826'

 when getting volumes. Any idea what could be causing this?




-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: CriterionError.INVALID_CRITERION_ID @ selector.searchParameters[0].locations[0]; trigger:'2826'

2012-11-07 Thread Gatsby Lee
oh really?

location id 2826. I think it is GB.
I am able to use the location id 2826.

BTW I am using 3.2.0

On Wednesday, November 7, 2012 1:15:46 PM UTC-8, Ian Knox wrote:

 ad no luck with 3.2.2 either.
 :(

 On Wednesday, November 7, 2012 3:02:07 PM UTC-6, Ian Knox wrote:

 For what it's worth, we've been seeing the same issue while using PHP 
 client lib 3.2.1 and v201209 *and* v201206.  
 I see that 3.2.2 has been released so I'll give that a go and report back 
 shortly.
 Ian Knox

 On Wednesday, November 7, 2012 12:56:18 PM UTC-6, Gatsby Lee wrote:

 If you use v201206, it will be fine.
 BTW, I heard that the latest v201209 client library is fixed for this.

 Gatsby

 On Wednesday, November 7, 2012 8:43:49 AM UTC-8, rizo wrote:

 Hi 

 I have been using the Google adwords api for quite some time without 
 any problems. I have recently started to get the error:

 CriterionError.INVALID_CRITERION_ID @ 
 selector.searchParameters[0].locations[0]; trigger:'2826'

 when getting volumes. Any idea what could be causing this?




-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: CriterionError.INVALID_CRITERION_ID on setting location-id on v201209 in sandbox

2012-10-24 Thread Gatsby Lee
no problem :)

On Tuesday, October 23, 2012 5:11:36 PM UTC-7, Steven wrote:

 201206 works fine, thanks for the prompt reply. I hope someone will update 
 this thread when a 201209 patch has been posted.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: CriterionError.INVALID_CRITERION_ID on setting location-id on v201209 in sandbox

2012-10-24 Thread Gatsby Lee
thank you Paul!!

On Wednesday, October 24, 2012 1:32:39 AM UTC-7, Paul Matthews wrote:

 Hi Gatsby, Andrezza, Steven

 There is currently a bug that is affecting a small number of TIS queries.
 We're currently working on a fix and expect the problem to be resolved
 within a few days.

 If you continue to experience this problem, please let us know.

 -Paul, AdWords API Team.

 On Wednesday, 24 October 2012 01:11:36 UTC+1, Steven wrote:

 201206 works fine, thanks for the prompt reply. I hope someone will 
 update this thread when a 201209 patch has been posted.



-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: CriterionError.INVALID_CRITERION_ID on setting location-id on v201209 in sandbox

2012-10-23 Thread Gatsby Lee
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


Re: CriterionError.INVALID_CRITERION_ID on setting location-id on v201209 in sandbox

2012-10-23 Thread Gatsby Lee
try to use 201206.
I am using that one instead of 201209 because this issue.

On Tuesday, October 23, 2012 4:11:46 PM UTC-7, Steven wrote:

 Any movement on this? We have the same issue and we cant deploy the newest 
 version without a workaround.

 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


CriterionError.INVALID_CRITERION_ID

2012-10-18 Thread Gatsby Lee
Hello,

We are migrating our code base with v201209 and noticed that many location 
criteria codes are considered as invalid.
For example, the location id for Greece is 2300. 
We are using this location id.
And here is the response.

I just gave you one example, but there are more.
Can you tell me what I should do?

[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

)

 

)

 

) 

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: TargetingIdeaService - MonthlySearchVolume - last month always missing value

2012-10-18 Thread Gatsby Lee
I have had this for long time, I think you shouldn't expect that all 
keywords have search volume for previous month.

On Wednesday, October 17, 2012 8:45:14 AM UTC-7, Ben Vincent wrote:

 Hi,

 I am trying to migrate some code for the TargetingIdeaService from version 
 2011 to version 201209 for fetchign keyword suggestions based on a single 
 kewyord.

 Everything is working fine, apart from the MonthlySearchVolumes 
 (TARGETED_MONTHLY_SEARCHES)

 This is meant to return data for the last 12 months (excluding the current 
 month).

 So if I run the query now, I would expect to get data for Aug 2012 - Oct 
 2011

 No matter what keyword I look for, I always have a missing value for the 
 previous month. Here is a capture of the XML returned:

 data
 keyTARGETED_MONTHLY_SEARCHES/key
 value xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
 xsi:type=MonthlySearchVolumeAttribute
 Attribute.TypeMonthlySearchVolumeAttribute/Attribute.Type
 valueyear2012/yearmonth9/month/value
 valueyear2012/yearmonth8/monthcount12100/count/value
 valueyear2012/yearmonth7/monthcount14800/count/value
 valueyear2012/yearmonth6/monthcount14800/count/value
 valueyear2012/yearmonth5/monthcount14800/count/value
 valueyear2012/yearmonth4/monthcount18100/count/value
 valueyear2012/yearmonth3/monthcount33100/count/value
 valueyear2012/yearmonth2/monthcount18100/count/value
 valueyear2012/yearmonth1/monthcount14800/count/value
 valueyear2011/yearmonth12/monthcount9900/count/value
 valueyear2011/yearmonth11/monthcount22200/count/value
 valueyear2011/yearmonth10/monthcount49500/count/value
 /value
 /data


 So last month, September is missing the count:
 valueyear2012/yearmonth9/month/value

 For every example I try, I seem to always be missing the count for the 
 previous month.

 Is this a bug - or does the v201209 only return 11 months now?

 This is on the live system, not the sandbox.

 Thanks for any help anyone can give.

 Kind regards,

 Ben




-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: CriterionError.INVALID_CRITERION_ID on setting location-id on v201209 in sandbox

2012-10-18 Thread Gatsby Lee
Danial,

Even though we are using the production server to get data, we still see 
the same error.

Gatsby


On Thursday, October 11, 2012 5:30:00 AM UTC-7, Danial Klimkin wrote:

 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


Re: CriterionError.INVALID_CRITERION_ID

2012-10-18 Thread Gatsby Lee
There is one more.

https://groups.google.com/forum/#!topic/adwords-api/3vuB7sDGS8o

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: [v201209] Vietnam ID 2704 - LocationSearchParameter Error

2012-10-18 Thread Gatsby Lee
Thank you Sebastiaan,

I will try to use v201206

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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