Hi Nima,

Upon checking on your account, the campaign where this adGroupId belongs is 
with a Search Network with Display Select 
<https://support.google.com/adwords/answer/3437721> as Campaign Type 
<https://developers.google.com/adwords/api/docs/guides/campaigns-overview#campaign_types>.
 
As you can see in this guide 
<https://developers.google.com/adwords/api/docs/appendix/targetingtypes>, 
CriterionUserInterest 
<https://developers.google.com/adwords/api/docs/reference/v201710/AdGroupCriterionService.CriterionUserInterest>
 can 
be created using user interest category ID (In-market 
<https://developers.google.com/adwords/api/docs/appendix/in-market-categories>
 | Affinity 
<https://developers.google.com/adwords/api/docs/appendix/affinity-categories>) 
which 
is available via the Display Network only 
<https://support.google.com/adwords/answer/6340468> campaign type. Please keep 
in mind that audience targeting 
<https://support.google.com/adwords/answer/2497940?hl=en&ref_topic=3122880> is 
not available for all campaign types. 

I suggest that if you want to create a CriterionUserInterest criterion, you 
should use a campaign with the Display Network only campaign type. Also, 
you may check the UI under *Display Network > + TARGETING > Interests & 
remarketing > Select category *on the available categories you can add in 
your campaign.

Let me know if this helps.

Thanks and regards,
Luis
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [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 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/bfb35830-735a-413d-8ed6-070d1d378859%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • UNEXPECTED_IN... Nima Mirbakhsh
    • Re: UNEX... 'Luis Xander Talag (AdWords API Team)' via AdWords API Forum
      • Re: ... Nima Mirbakhsh
        • ... 'Luis Xander Talag (AdWords API Team)' via AdWords API Forum
          • ... 'Luis Xander Talag (AdWords API Team)' via AdWords API Forum
            • ... 'Luis Xander Talag (AdWords API Team)' via AdWords API Forum

Reply via email to