Hi Luis, I'm well aware of the format for both iOS and Android. However, these mobile application IDs are returned by AdWords via a call to get Automatic Placement Performance report.. So basically, adwords is telling me that these are the mobile apps that are giving us a lot of clicks. It's not me trying to construct my own app ID. These are coming back from the API call to adwords. And when I try to add these to exclusion lists via NegativeCampaignCriteria, the API returns an error complaining about the app ID format. So, it's basically AdWords returning these.
I saw another post related to this, https://groups.google.com/forum/#!searchin/adwords-api/INVALID_MOBILE_APP%7Csort:date/adwords-api/WUvX2wjhz6U/Xn_x7wdMBgAJ But, what's the solution? On Friday, January 18, 2019 at 8:22:08 AM UTC, googleadsapi-forumadvisor wrote: > > Hi, > > The format of the app ID that you used was invalid which triggers > the CriterionError.INVALID_MOBILE_APP error. A well formed app ID for > AdWords API would be "1-476943146" for iOS and "2-com.labpixies.colordrips" > for Android. You may check this guide > <https://developers.google.com/adwords/api/docs/reference/v201809/AdGroupCriterionService.MobileApplication#appid> > for > details. I would suggest to correct those app ID then retry your request > again. > > Let me know if you still encounter any error after doing my suggestion. > > Thanks and regards, > Luis > AdWords API Team > > > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > Also find us on our blog and discussion group: > http://googleadsdeveloper.blogspot.com/search/label/adwords_api > https://developers.google.com/adwords/api/community/ > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > > Was your question answered? Please rate your experience with us by taking > a short survey. > If not -- reply to this email and tell us what else we can do to help. > > Take Survey > <https://support.google.com/google-ads/contact/survey_transactional?caseid=5-5851000025222&hl=en&ctx=1> > > Also find us on our blog and discussion group: > http://googleadsdeveloper.blogspot.com/search/label/adwords_api > https://developers.google.com/adwords/api/community/ > On 01/18/19 12:06:25 ppcdev...@mineeds.com <javascript:> wrote: > > I'm getting mobile application ID(s) via the API, and trying to add as > negative or biddable criterion to another ad group. In doing so, I get > exceptions: > > [CriterionError.INVALID_MOBILE_APP @ > operations[103].operand.criterion.appId; > trigger:'10002-CA-APP-PUB-8367418828198308', > CriterionError.INVALID_MOBILE_APP @ > operations[309].operand.criterion.appId; > trigger:'10002-CA-APP-PUB-8392731756470098'] > > And I have a lot of these, where I cannot neither add or delete them: > mobileapp::10002-ca-app-pub-8367418828198308 > mobileapp::10002-ca-app-pub-8392731756470098 > mobileapp::10002-ca-app-pub-4028238683451937 > mobileapp::10002-ca-app-pub-8162149483502798 > mobileapp::10002-ca-app-pub-5694554969453415 > mobileapp::10002-ca-app-pub-1413939963884036 > mobileapp::10002-ca-app-pub-5075118958809920 > mobileapp::10002-ca-app-pub-2397825577270378 > mobileapp::10002-ca-app-pub-4640908852121081 > mobileapp::10002-ca-app-pub-3169207933671961 > mobileapp::10002-ca-app-pub-4547683005564946 > mobileapp::10002-ca-app-pub-9549248647599949 > mobileapp::10002-ca-app-pub-3605354403339561 > > > How do I add or delete these mobile apps as adgroupscriterion? > > -- > -- > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > 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/2b1b6dad-3a08-4efb-b958-998cb94d26a7%40googlegroups.com > > <https://groups.google.com/d/msgid/adwords-api/2b1b6dad-3a08-4efb-b958-998cb94d26a7%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/bf81eb88-4376-4a38-a671-50128977a545%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.