Hi Francisco,
  Those IDs don't appear to be valid.  If I change the target type to 
Department on our Geographical 
Targeting<https://developers.google.com/adwords/api/docs/appendix/geotargeting>page
 , I do see a bunch of french departments, but I didn't find any 
mention of the few IDs I spotchecked.

- Kevin Winter
AdWords API Team

On Tuesday, May 21, 2013 7:31:36 AM UTC-4, francis...@gmail.com wrote:
>
> Hello,
>
> I have been working on using the Adwords Api to set up Locations for 
> France.
>
> It is working fine with Cities and Regions but I’m having issues with 
> Departments.
>
> I can work on Departments as 
>
>
> <https://lh5.googleusercontent.com/-937Vaj2a-lk/UZtatZygAqI/AAAAAAAAAAM/VlRFLalyxGg/s1600/Department.jpg>
>
>
> from https://adwords.google.com/cm/CampaignMgmt but I can’t from the API.
>
> Here below the error I’m getting when trying to add a Location which 
> target_type is Department
> AddGeoTarget
>
> PHP Fatal error:  Uncaught SoapFault exception: [soap:Server] 
> [CriterionError.CANNOT_TARGET_CRITERION @ operations[8].operand.criterion; 
> trigger:'9040859', CriterionError.CANNOT_TARGET_CRITERION @ 
> operations[11].operand.criterion; trigger:'9040857', 
> CriterionError.CANNOT_TARGET_CRITERION @ operations[12].operand.criterion; 
> trigger:'9040914', CriterionError.CANNOT_TARGET_CRITERION @ 
> operations[14].operand.criterion; trigger:'9040856', 
> CriterionError.CANNOT_TARGET_CRITERION @ operations[15].operand.criterion; 
> trigger:'9040882', CriterionError.CANNOT_TARGET_CRITERION @ 
> operations[16].operand.criterion; trigger:'9040883', 
> CriterionError.CANNOT_TARGET_CRITERION @ operations[17].operand.criterion; 
> trigger:'9040860', CriterionError.CANNOT_TARGET_CRITERION @ 
> operations[18].operand.criterion; trigger:'9040877', 
> CriterionError.CANNOT_TARGET_CRITERION @ operations[19].operand.criterion; 
> trigger:'9040905', CriterionError.CANNOT_TARGET_CRITERION @ 
> operations[20].operand.criterion; trigger:'9040912', 
> CriterionError.CANNOT_TARGET_CRITERION @ in 
> /home/paco/Google_Api/aw_api_php_lib_4.2.2/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php
>  
> on line 200
> Thank you for your feedback on this issue
>
> Francisco
>

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

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to