Hi Martin,
I’m James from the Google Ads scripts support team. Thank you for reaching out to us.
Can you please provide us with the following information below so that we can further investigate and troubleshoot?
Kindly send the requested items via `Reply privately to author` option. If the said option is not available on your end, you may send those through this email alias <googleadsscr...@google.com> instead.
Regards,
|
||||||
Hi Martin,
Thank you for getting back to us. I work with James and allow me to assist you here.
Upon checking your implementation, your script is currently getting all accounts with name “'Cancelled Account”. Since you mentioned that you want to get an account with CANCELED status, you should add a condition .withCondition('customer_client.status = "CANCELED"') in your selector.
Please do note that this is a new behavior of the New Experience wherein the selector will only returns all your active accounts.
Regards,
|
||||||
Thank you for the help,
there isn’t any info about the customer_client.status in the Ads Scripts
documentation. And I couldn't guess I have to use it.
I saw your testScript. It may be some kind of workaround, but yet I prefer the old scripts' behavior when we were able to access all accounts at once.
Now we'll have to use 2 selectors - one for the active, and one for the canceled accounts.
--
-- You received this message because you are subscribed to the Google Groups AdWords Scripts Forum group. Please do not reply to this email. To post to this group or unsubscribe please visit https://developers.google.com/adwords/scripts/community.
---
You received this message because you are subscribed to the Google Groups "Google Ads Scripts Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-scrip...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-scripts/KkeAS000000000000000000000000000000000000000000000RE6DW800tVJy_j2bSiWlsnOkBjoMJw%40sfdc.net.
|
||||||
. 
Hi Martin,
This is Yasmin from the Google Ads scripts team.
You could check this link from our documentation on the ManagedAccountSelector for the format of a condition, which is .withCondition("ColumnName IN [Value1, Value2]").
That being said, if an error would still persist on your end, kindly provide more context as well as to it not working. It would also be highly appreciated if you can provide the following information (via `Reply privately to author` option or through the email alias `googleadsscr...@google.com` if the said option is not available on your end):
Regards,
|
||||||