Hi Joana,

Your code appears to be logically correct. If recent changes have been 
applied to your user list, it usually takes a while before it is reflected. 
Could you try running your code again and see if the changes have been 
reflected? If not, could you provide the complete SOAP request and response 
logs that were generated after setting the status to *OPEN* so I could 
investigate this further? You may send the requested information using the 
*Reply 
privately to author* option. If you have not enabled logging yet, you may 
follow this guide 
<https://github.com/googleads/googleads-php-lib/blob/master/README.md#logging> 
on 
how to do so.

According to this guide about the CrmBasedUserLIst.status 
<https://developers.google.com/adwords/api/docs/reference/v201809/AdwordsUserListService.CrmBasedUserList#status>,
 
if the status is *OPEN*, the list is still populating members and can still 
be targeted. If it is set to *CLOSED*, then the list is not being populated 
already and cannot be used for targeting anymore. From your understanding, 
*client 
1 *and *client 2* should be in the list, while *client 3* should not be in 
the list because it was targeted after the list was CLOSED.

Regards,
Dannison
AdWords API Team

On Saturday, October 20, 2018 at 7:17:53 AM UTC+8, Joana Esteves wrote:
>
> Hi Google team,
>
> I'm using your API, using PHP client library, to update Customer Lists 
> daily.
>
> We noticed that some of the lists are closed status, checked by 
> select/query the list for it status:
> $selector->setFields(['Id', 'Name', 'Status']); 
>  (...)
>
> var_dump($user_list->getStatus()); // CLOSED
>
> it returns: closed, the same status I can see on the UI.
>
> Then I use the code to set the OPEN status:
> if ($user_list->getStatus() === UserListMembershipStatus::CLOSED) {
>       var_dump($user_list->setStatus(UserListMembershipStatus::OPEN));
>       var_dump($user_list->getStatus());
>     }
>
> immediately after set the status using this code, the list updates it 
> status (checked with the var_dump), but it doesn't show on UI
> also, if I query the status again (code snippet 1), the customer list 
> status is closed.
>
>
> Also, can I clarify with you how updating customers to a customer list can 
> be affected by the status of the list?
>
>> "Membership status" shows whether a list is adding more users or not.
>> *Open* means that new visitors are still being added.
>> *Closed* means that no new visitors are added.
>
>
> *day 1* -  new customer list created, *client 1* and* client 2* added the 
> customer list, and at this time the status of the list is open;
> *day 2* - get customer list by id, the status of the list is closed, and 
> added *client 1* and *client 3* to the customer list.
>
> By documentation, what I understand is:
> - client 1 is in the list
> - client 2 is not in the list, because it was added after the list be 
> closed (somehow by google adwords end)
>
> If this is the case, is a massive problem to us. Can you please clarify my 
> assumptions by reading your docs?
>
>
> Thanks a lot,
> Joana
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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 and Google Ads 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/34384d3e-956c-4cd9-96f2-d5adaefa282e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... Joana Esteves
    • ... 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
      • ... Joana Esteves
        • ... GregT
          • ... Dorian Kind
            • ... 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
        • ... 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
          • ... GregT
            • ... 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
              • ... GregT
                • ... 'Thanet Knack Praneenararat (AdWords API Team)' via AdWords API and Google Ads API Forum
    • ... henry caparroso

Reply via email to