Hi, I wanted to clarify my previous reply. In AdWords, you can:
1. Create a campaign that targets users who have a specific mobile app installed. My previous reply covers this case. 2. Create a *Mobile app installs* campaign that aims to promote installs of your app. This is covered in our Driving Mobile App Downloads guide <https://developers.google.com/adwords/api/docs/guides/driving-mobile-app-downloads> . In addition, on option #2, some users are confused by the fact that when you create a *Mobile app installs* campaign in the UI, it prompts your for the mobile app that you are trying to promote, but this does *not actually get saved as or translated to a criterion of type MobileApplication*. Instead, it is saved with the campaign, but that attribute is *not accessible from the API*, and merely serves as a convenience so that the UI won't have to prompt you for the app again when you create each *TemplateAd* . In contrast, when using the API to build your *Mobile app installs* campaign, you *must* specify the appId and appStore <https://developers.google.com/adwords/api/docs/appendix/templateads#flipcup_ad> when creating *each* *TemplateAd*, so there's no need to perform any additional setup when creating the campaign. Hope that clears things up for everyone. Cheers, Josh, AdWords API Team On Tuesday, May 12, 2015 at 7:51:58 AM UTC-7, Josh Radcliff (AdWords API Team) wrote: > > Hi, > > Please check out our Criteria Usage page > <https://developers.google.com/adwords/api/docs/guides/criteria-usage>, > which shows: > > - Whether you can target or exclude each criteria type at the > *CampaignCriterion* or *AdGroupCriterion* level > - Which campaign types support each criteria type > > That page shows that you can only *exclude* *MobileApplication* criteria > at the campaign level, but you are attempting to *target* > *MobileApplication* criteria at the campaign level. > > If you want to target a *MobileApplication* criterion, you should instead > set this up at the ad group level using an *AdGroupCriterion*. Note, > however, that this is only available if the campaign is a *Display > Network only* campaign. > > Cheers, > Josh, AdWords API Team > > On Tuesday, May 12, 2015 at 3:39:56 AM UTC-4, Orangevn wrote: >> >> I was create new campaign with type " Moblie app install" by guidline. I >> was using CamapignCriterion: *MobileApplication* , but it has return API >> Error: CriterionError.CANNOT_ADD_CRITERIA_TYPE >> >> my code: >> >> var campaignCriterion = >> new CampaignCriterion >> { >> campaignId = success[s.Key].id >> >> }; >> >> var mobileApplication = new MobileApplication >> { >> appId = m.AppId.ToString(), >> type = CriterionType.MOBILE_APPLICATION >> }; >> campaignCriterion.criterion = mobileApplication; >> >> // Create operation. >> var operation = new CampaignCriterionOperation >> { >> operand = campaignCriterion, >> @operator = Operator.ADD >> }; >> >> campaignCriterionList.Add(operation); >> >> CampaignCriterionReturnValue retVal = >> campaignCriterionService.mutate(campaignCriterionList.ToArray()); >> >> >> Help me. >> >> Thanks! >> >> >> >> -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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. Visit this group at http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/bec4afce-8e21-4ad0-97f3-dcc7298036e0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.