Hello,

I have a manager account with a lot of accounts underneath.

I would like to obtain all campaigns with non-zero impressions accessible 
from this manager account. If I try to query the manager account with 
something like this:

SELECT
campaign.id,
campaign.name,
campaign.status,
customer.id,
customer.currency_code
FROM campaign
ORDER BY campaign.id

passing the manager's customer_id, I receive an empty list of campaigns. I 
found out that I have to individually call the above query for each client 
account underneath the manager account, passing the client id as 
customer_id and the manager id as login_customer_id.

This is not ideal; the manager account can have lots of client accounts 
(over 100), and many of these client accounts don't have active campaigns; 
having to query each one of these accounts will take a lot of time (and 
requests) and will be mostly redundant, as most client accounts won't 
necessarily have active campaigns. But I have to query all client accounts 
because I don't know when they might become active.

Is there a better way of querying *all* campaigns and their performance 
metrics from a given manager account without having to iterate over every 
client account?

Thank you

Felipe

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/caabc63e-49ef-4692-ba68-104a5d710cfdn%40googlegroups.com.

Reply via email to