Re: How can I deactivate a CRMBasedUserList using the API?

2017-12-04 Thread 'Peter Oliquino' via AdWords API Forum
Hi George,

If you wish to terminate the CrmBasedUserList as your 
NegativeCampaignCriterion 
,
 
then, you may do so by using the CampaignCriterionService.mutate() method. 
You may refer to the NegativeCampaignCriterion documentation which I have 
linked for the required fields in order to make a successful REMOVE 
operation.

If the issue persists, you may send to me the generated SOAP request and 
response so I can further investigate. You may reply via the *Reply 
privately to author* option.

Thanks and regards,
Peter
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 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/4780616b-d564-4b9b-a2d1-11ec18706b79%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How can I deactivate a CRMBasedUserList using the API?

2017-12-03 Thread G David Elig
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 
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
> 
> .
> 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.


How can I deactivate a CRMBasedUserList using the API?

2017-12-01 Thread George D Elig
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 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/8fdc1b8a-c6e8-4b36-a02c-0a1e15c32678%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.