Hi sorry to hijack this old thread.
We've encountered some appIDs within automatic placements which are of the format you mentioned...
In this case:
10001-ca-gmail
Problem is we'd like to create a negative placement for it, but the CampaignCriterionService keeps returning INVALID_MOBILE_APP when we use "10001-ca-gmail" as the appId within a NegativeCampaignCriterion object.
The SOAP request body would be:
<SOAP-ENV:Body>
<mutate xmlns="https://adwords.google.com/api/adwords/cm/v201802">
<operations>
<operator>ADD</operator>
<operand xsi:type="NegativeCampaignCriterion" >
<campaignId>123456789</campaignId>
<criterion xsi:type="MobileApplication" >
<appId>10001-ca-gmail<appId> </criterion>
</operand>
</operations>
</mutate>
</SOAP-ENV:Body>
The response we're getting is the following. Is there a way to achieve a negative placement for such an appId?
Thanks
<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/v201802">
<requestId>000578ce5282c4380a372fc45c03ba6d</requestId>
<serviceName>CampaignCriterionService</serviceName>
<methodName>mutate</methodName>
<operations>1</operations>
<responseTime>158</responseTime>
</ResponseHeader>
</soap:Header>
<soap:Body>
<soap:Fault>
<faultcode>soap:Client</faultcode>
<faultstring>[CriterionError.INVALID_MOBILE_APP @ operations[0].operand.criterion.appId; trigger:'10001-ca-gmail']</faultstring>
<detail>
<ApiExceptionFault xmlns="https://adwords.google.com/api/adwords/cm/v201802">
<message>[CriterionError.INVALID_MOBILE_APP @ operations[0].operand.criterion.appId; trigger:'10001-ca-gmail']</message>
<ApplicationException.Type>ApiException</ApplicationException.Type>
<errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CriterionError">
<fieldPath>operations[0].operand.criterion.appId</fieldPath>
<fieldPathElements>
<field>operations</field>
<index>0</index>
</fieldPathElements>
<fieldPathElements>
<field>operand</field>
</fieldPathElements>
<fieldPathElements>
<field>criterion</field>
</fieldPathElements>
<fieldPathElements>
<field>appId</field>
</fieldPathElements>
<trigger>10001-ca-gmail</trigger>
<errorString>CriterionError.INVALID_MOBILE_APP</errorString>
<ApiError.Type>CriterionError</ApiError.Type>
<reason>INVALID_MOBILE_APP</reason>
</errors>
</ApiExceptionFault>
</detail>
</soap:Fault>
</soap:Body>
</soap:Envelope>