The mobileapp::10001-ca-gmail is passed to us from the AUTOMATIC_PLACEMENTS_PERFORMANCE_REPORT in the Domain field.
The report XML request would be something like: <reportDefinition xmlns="https://adwords.google.com/api/adwords/cm/v201802"> <selector> <fields>Domain</fields> <fields>CampaignName</fields> <fields>CampaignId</fields> <fields>AdGroupName</fields> <fields>AdGroupId</fields> <fields>Impressions</fields> <fields>Clicks</fields> <fields>Cost</fields> <fields>Conversions</fields> <fields>ConversionValue</fields> <predicates><field>CampaignStatus</field> <operator>EQUALS</operator> <values>ENABLED</values></predicates> <predicates><field>AdGroupStatus</field> <operator>EQUALS</operator> <values>ENABLED</values></predicates> <dateRange> <min>20181024</min> <max>20181024</max> </dateRange> </selector> <reportName>AUTOMATIC_PLACEMENTS_PERFORMANCE_REPORT</reportName> <reportType>AUTOMATIC_PLACEMENTS_PERFORMANCE_REPORT</reportType> <dateRangeType>CUSTOM_DATE</dateRangeType> <downloadFormat>XML</downloadFormat> </reportDefinition> Using the full domain "mobileapp::10001-ca-gmail" gives the same error from CampaignCriterionService when trying to create a negative placement. <?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>000578f5a0ba07200a375dc33509a906</requestId> <serviceName>CampaignCriterionService</serviceName> <methodName>mutate</methodName> <operations>1</operations> <responseTime>177</responseTime> </ResponseHeader> </soap:Header> <soap:Body> <soap:Fault> <faultcode>soap:Client</faultcode> <faultstring>[CriterionError.INVALID_MOBILE_APP @ operations[0].operand.criterion.appId; trigger:'mobileapp::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:'mobileapp::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>mobileapp::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> We get a few mobileapp:: domains which follow this pattern: mobileapp::10002-ca-app-pub-xxxxxxxxx mobileapp::10002-ca-mb-app-pub-xxxxxxxx mobileapp::10001-ca-mb-app-pub-xxxxxxxx mobileapp::10001-ca-gmail Regards. On Tuesday, 23 October 2018 23:42:20 UTC+1, Luis Xander Talag (AdWords API Team) wrote: > > Hi David, > > As you may already know, this appId > <https://developers.google.com/adwords/api/docs/reference/v201809/CampaignCriterionService.MobileApplication#appid> > > is not in the right format which is why you're getting the > INVALID_MOBILE_APP > <https://developers.google.com/adwords/api/docs/reference/v201809/CampaignCriterionService.CriterionError.Reason#INVALID_MOBILE_APP> > > error. For IOS, the 9 digit string, while for android, the application's > package name. For your "ca-gmail" value, it appears that this is not the > right format. Could you provide more details as to where you were able to > get the appId: 10001-ca-gmail? Could you also try to set the appId value > as *mobileapp::10001-ca-gmail*? > > Thanks, > Luis > AdWords API Team > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. 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/46917a12-f93b-4ae2-8f20-806899fc5235%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
