Hi Radosław,
It is not possible to use this target in the API unless you are a Beta user.
Best,
- David Torres - AdWords API Team
On Tuesday, February 26, 2013 8:20:01 AM UTC-5, Radosław Pociecha wrote:
Hi,
When we are trying to add campaign criterion with id=630252 we are
getting error from api :[CriterionError.CANNOT_TARGET_CRITERION @
operations[0].operand.criterion; trigger:'630252']
also when such criterion is created using adwords interface we can not see
it with api. This suggests that this criterion can not be handled with api,
on the other side
https://developers.google.com/adwords/api/docs/appendix/mobileplatforms
suggests
that it is supprted.
SOAP Request:
?xml version=1.0 encoding=utf-8?
soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;
xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:xsi=
http://www.w3.org/2001/XMLSchema-instance;
soapenv:Header
ns1:RequestHeader soapenv:actor=
http://schemas.xmlsoap.org/soap/actor/next; soapenv:mustUnderstand=0
xmlns:ns1=https://adwords.google.com/api/adwords/cm/v201209;
__HEADER_REMOVED__
/ns1:RequestHeader
/soapenv:Header
soapenv:Body
mutate xmlns=https://adwords.google.com/api/adwords/cm/v201209;
operations
operatorADD/operator
Operation.TypeCampaignCriterionOperation/Operation.Type
operand
campaignId__CAMPIGN_ID_REMOVED__/campaignId
criterion xsi:type=ns2:OperatingSystemVersion xmlns:ns2=
https://adwords.google.com/api/adwords/cm/v201209;
ns2:id630252/ns2:id
ns2:Criterion.TypeOperatingSystemVersion/ns2:Criterion.Type
/criterion
CampaignCriterion.TypeCampaignCriterion/CampaignCriterion.Type
/operand
/operations
/mutate
/soapenv:Body
/soapenv:Envelope
SOAP Response:
soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
soap:Header
ResponseHeader xmlns=
https://adwords.google.com/api/adwords/cm/v201209;
requestId0004d6a0393d0b800ae53cdb6e5d/requestId
serviceNameCampaignCriterionService/serviceName
methodNamemutate/methodName
operations0/operations
responseTime193/responseTime
units0/units
/ResponseHeader
/soap:Header
soap:Body
soap:Fault
faultcodesoap:Server/faultcode
faultstring[CriterionError.CANNOT_TARGET_CRITERION @
operations[0].operand.criterion; trigger:'630252']/faultstring
detail
ApiExceptionFault xmlns=
https://adwords.google.com/api/adwords/cm/v201209;
message[CriterionError.CANNOT_TARGET_CRITERION @
operations[0].operand.criterion; trigger:'630252']/message
ApplicationException.TypeApiException/ApplicationException.Type
errors xsi:type=CriterionError xmlns:xsi=
http://www.w3.org/2001/XMLSchema-instance;
fieldPathoperations[0].operand.criterion/fieldPath
trigger630252/trigger
errorStringCriterionError.CANNOT_TARGET_CRITERION/errorString
ApiError.TypeCriterionError/ApiError.Type
reasonCANNOT_TARGET_CRITERION/reason
/errors
/ApiExceptionFault
/detail
/soap:Fault
/soap:Body
/soap:Envelope
Radosław Pociecha
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.