Here is the code that I wrote, which is returning *xsi:type="RequiredError"*

criterion = {
   'xsi_type': 'CriterionUserList',
   'userListId':user_list_id
}

criterion_operation = {
   'operator': 'REMOVE',
   'operand': {
      'campaignId': campaign['id'],
      'criterion': criterion
   }
}

resp = criterion_service.mutate([criterion_operation])


On Fri, Dec 1, 2017 at 5:43 PM, George D Elig <geo...@infotrustllc.com>
wrote:

> Using the Python API, I've created a NegativeCampaign exclusion list. How
> can I programmatically deactivate/disable that CRMBasedUserList? Closing
> the userlist prevents new users from being added but I want to stop
> excluding adds to that user, without requiring a user to log into AdWords.
>
> --
> --
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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 a topic in the
> Google Groups "AdWords API Forum" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/adwords-api/nayLX2aPqIY/unsubscribe.
> To unsubscribe from this group and all its topics, 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/8fdc1b8a-c6e8-4b36-a02c-0a1e15c32678%40googlegroups.com
> <https://groups.google.com/d/msgid/adwords-api/8fdc1b8a-c6e8-4b36-a02c-0a1e15c32678%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/CAHGY3CvUgARhL-i564%2BCX0-2cYyX7hgDYXurqqxrhTXN3xFByQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to