I'm trying to exclude a few user lists from a Smart Display campaign using 
the API, but I get the following error: 

AdwordsApi::V201809::CampaignCriterionService::ApiException ([
OperationAccessDenied.OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE @ operations
[0].operand.criterion; trigger:'DISPLAY(DISPLAY_SMART_CAMPAIGN)'])

This is what my mutation looks like:

[
  {
    xsi_type: "CampaignCriterionOperation",
    operator: "ADD",
    operand: {
      xsi_type: "NegativeCampaignCriterion",
      campaign_id: campaign_id,
      criterion: {
        xsi_type: "CriterionUserList",
        user_list_id: user_list_id
      }
    }
  }
]

I can successfully exclude existing user lists from the same campaign using 
the GUI. 

Any advice would be helpful.

Thanks

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/27cae58b-ed54-42f8-81bc-26aca47f92ae%40googlegroups.com.

Reply via email to