Re: some US city CriteriaIds aren't accepted as campaign critera?

2012-01-30 Thread Eric Koleda
Hi David,

It appears that the cities CSV and table is slightly out of date, and I'm 
working with our documentation team to update it.  This is likely to happen 
from time to time, and long term you may want to use the 
LocationCriterionService to look up the criterion IDs.  Thank you for the 
feedback about the column headers, I'll see if those can be standardized.

Best,
- Eric Koleda, AdWords API Team

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: some US city CriteriaIds aren't accepted as campaign critera?

2012-01-30 Thread David Bonner
Thanks.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: some US city CriteriaIds aren't accepted as campaign critera?

2012-01-26 Thread David Bonner
Also, is there a specific reason why the countrycodes.csv uses 'CriteriaID' 
for the column name, but the others I've tested so far use 'CriteriaId'? 
 Any chance we could get them all normalized?

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


some US city CriteriaIds aren't accepted as campaign critera?

2012-01-25 Thread David Bonner
As part of transitioning to v201109, I've written a small wrapper that 
pulls the criteria csvs from the api docs page, and looks up criteria ids. 
 While testing that wrapper, I discovered there are cities listed (at 
http://code.google.com/apis/adwords/docs/appendix/cities_us.csv) that are 
refused as campaign criteria.  For example, the entries for Hyannisport and 
South Grafton, MA in the cities csv are:

Massachusetts,Hyannis Port,1018255,Boston MA-Manchester NH,506,US-MA
Massachusetts,South Grafton,1018410,Boston MA-Manchester NH,506,US-MA


But trying to use those ids as campaign criteria gets me the following 
error:

  soap:Fault
   faultcodesoap:Server/faultcode
   faultstring[CriterionError.CANNOT_TARGET_CRITERION @ 
operations[119].operand.criterion; trigger:'1018255', 
CriterionError.CANNOT_TARGET_CRITERION @ operations[232].operand.criterion; 
trigger:'1018410']/faultstring
   detail
ApiExceptionFault 
xmlns=https://adwords.google.com/api/adwords/cm/v201109;
 message[CriterionError.CANNOT_TARGET_CRITERION @ 
operations[119].operand.criterion; trigger:'1018255', 
CriterionError.CANNOT_TARGET_CRITERION @ operations[232].operand.criterion; 
trigger:'1018410']/message
 ApplicationException.TypeApiException/ApplicationException.Type
 errors xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xsi:type=CriterionError
  fieldPathoperations[119].operand.criterion/fieldPath
  trigger1018255/trigger
  errorStringCriterionError.CANNOT_TARGET_CRITERION/errorString
  ApiError.TypeCriterionError/ApiError.Type
  reasonCANNOT_TARGET_CRITERION/reason
 /errors
 errors xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xsi:type=CriterionError
  fieldPathoperations[232].operand.criterion/fieldPath
  trigger1018410/trigger
  errorStringCriterionError.CANNOT_TARGET_CRITERION/errorString
  ApiError.TypeCriterionError/ApiError.Type
  reasonCANNOT_TARGET_CRITERION/reason
 /errors
/ApiExceptionFault
   /detail
  /soap:Fault



I was under the impression that the csv files in the api docs were the 
authoritative source for criteria ids...is that not the case?  Or is it 
simply that not all criteria can be used as campaign criteria?

If it helps, this was run against sandbox, and the requestId 
was 0004b760a56264b80a0d1a1a6940. 

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