Hey, I am transitioning to the Google Ads API from Adwords and have most
thigns working, but I hit one sticking point. If I run the get accessible
accounts thing, I only get my top level account, but if I run a query to
customer_client or customer_client_link, I can list them all no problem.
The issue is I cant get metrics on that. If I try taking anything I can
get from htat and run them against the customer the customer table or any
other table, I dont get anything.
Either I run this with the top level account id:
$query = 'SELECT
customer.id,
customer.descriptive_name
FROM customer
WHERE customer.id = '.$customerClientID.'
';
$googleAdsServiceClient->searchStream(
$topAccountID,
$query);
And get 0 results
Or I run this with just the customer client id:
$query = 'SELECT
customer.id,
customer.descriptive_name
FROM customer
';
$googleAdsServiceClient->searchStream(
$customerClientID ,
$query);
And get a fatal error saying I do not have access.
I have also tried using resource_name in my where clause and everything
else I can think of. Is there a way to get metrics in this situation?
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a7502a07-21b1-44ee-9051-2380ce175ab7n%40googlegroups.com.