I want to get all the accounts within an MCC which contains 755 accounts,
but 635 of those are hidden. In the API references
<https://developers.google.com/adwords/api/docs/reference/v201609/ManagedCustomerService.ManagedCustomer#excludehiddenaccounts>
I
found out that I can filter out all the hidden accounts by setting the
field ExcludeHiddenAccounts = true in the ManagedCustomerService.get method
(I read about it here
<http://googleadsdeveloper.blogspot.mx/2015/08/hiding-adwords-accounts-now-possible.html>).
However, when I set it in the list of predicates the API is ignoring it and
return all the accounts in the MCC. This snippet contains the selector I'm
using:
selector = {
'fields': ['CustomerId', 'Name'],
'paging': {
'startIndex': str(offset),
'numberResults': str(self.page_size)
},
'predicates': [{
'field' : 'ExcludeHiddenAccounts',
'operator' : 'EQUALS' ,
'values' : 'true'
}]
}
Am I missing something?
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
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/642df809-3b0f-4302-ba73-d57b2aebdb8e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.