set CrmBasedUserList status to closed

2017-09-19 Thread Stephanie Vance
I am using the python client library and want to use the API to change the 
status of a CrmBasedUserList from OPEN to CLOSED since the remove operator 
isn't supported.

I am submitting the following as my list of operations where list_id is of 
type integer:

[
{
"operator": "SET",
"operand": {
"status": "CLOSED",
"id": list_id
}
}
]

I am getting the following error as a response:

[UserListError.USER_LIST_MUTATE_NOT_SUPPORTED @ operations[0].operand]

Am I missing something in the operand? I have reviewed the documentation 

 and 
'id' is the only required field for the set operator.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/90d3e06d-d818-4b94-8bf6-391f1de985df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: set CrmBasedUserList status to closed

2017-09-22 Thread Stephanie Vance
Shwetha,

I wanted to check in and make sure you received my response with the data 
you requested. I replied privately shortly after you posted your reply.  If 
you didn't get it I will resend it, otherwise is this still being looked 
into?

Thanks,
Stephanie

On Tuesday, September 19, 2017 at 3:58:06 PM UTC-4, Shwetha Vastrad 
(AdWords API Team) wrote:
>
> Hi Stephanie, 
>
> Could you check if this UserList is owned by the AdWords account specified 
> in the clientCustomerId header? Could you enable logging 
> 
>  and 
> provide the SOAP request and response log for this operation? Please use 
> *Reply 
> privately to author* when responding. 
>
> Thanks,
> Shwetha, 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/76f0621a-6e47-426b-8557-c3c7bb92a23c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: set CrmBasedUserList status to closed

2017-09-22 Thread Stephanie Vance
Oh sorry i never got your response, I added the xsi type parameter into my
request and it worked, thank you for your help!

On Fri, Sep 22, 2017 at 10:05 AM, 'Shwetha Vastrad (AdWords API Team)' via
AdWords API Forum  wrote:

> Hi Stephanie,
>
> I did receive the information you sent. I had responded to you privately.
> Could you check if you received my message?
>
> Essentially, you need to specify the type of UserList using "xsi:type".
> Could you retry the request by modifying the operand as shown below?
>
> {
> 'xsi_type': 'CrmBasedUserList',
>
> "status": "CLOSED",
> 'id': list_id
> }
>
> Regards,
> Shwetha, 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 a topic in the
> Google Groups "AdWords API Forum" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/adwords-api/QqxrToy72rY/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/f64a4758-4b00-4e9c-8c22-3884c3fd308e%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/CAPqzbWaUR-S2_vip60EWvqXzUFwhZVmp4WBi%3D5%2BXJz9ZpUggUw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


User List Size is 0 from API but not in UI

2017-09-27 Thread Stephanie Vance
I am trying to get the size of all my user lists with the python SDK. When 
I check the UI, I have lists of varying size from 1,300 up to 300k members. 
When I use the get operation of the AdWordsUserListService, all my CRM and 
Similar lists come back with a size of 0 and size range 
of "LESS_THAN_FIVE_HUNDRED". Should I be getting this data another way? I 
had seen a couple other similar posts that didn't have answers yet.

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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b8d023ff-4e2b-45c5-8b87-d01645cf9f22%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: User List Size is 0 from API but not in UI

2017-09-27 Thread Stephanie Vance
Shwetha,

Yes that worked! Thank you!

Stephanie

On Wednesday, September 27, 2017 at 3:32:39 PM UTC-4, Shwetha Vastrad 
(AdWords API Team) wrote:
>
> Hi Stephanie, 
>
> You need to include the values "SizeForSearch" and "SizeRangeForSearch" in 
> the selector to get the estimated number of users in a user list in the 
> google.com domain which are available for targeting in search campaigns. 
> Could you retry the AdwordsUserListService.get() request by including these 
> fields and let me know if you are able to get the size? 
>
> Thanks,
> Shwetha, 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/00c2edcb-179d-4fde-b2cf-a2c24d593061%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.