Hi,
We've encountered some appIDs within automatic placements which are not of 
the format we would usually expect.
This thread mentions some alternatives to the 1- (iOS) or 2- (Android) 
format:
https://groups.google.com/d/msg/adwords-api/7n3tKhv36uc/8tdQl0x_DgAJ
 
In this case the appId is:

*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 
<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/ 
<http://schemas.xmlsoap.org/soap/envelope/>"> <soap:Header> <ResponseHeader 
xmlns="https://adwords.google.com/api/adwords/cm/v201802 
<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 
<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 
<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>*

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/574cda83-bc0f-4b99-9a0e-ff0239925bbb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... david
    • ... 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum
      • ... david
        • ... 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum

Reply via email to