Hi,

Thanks for the reply. Could you please elaborate on that? I modified the 
second example to set the ClientCustomerId in the client(second example) 
but I still get the exact same errors when I request metrics.

Kind regards,
Alex.

On Wednesday, April 14, 2021 at 5:50:38 AM UTC+3 adsapiforumadvisor wrote:

> Hi Alexander,
>
> Thank you for reaching out. 
>
> Generally, metrics are associated to entities belonging to a specific 
> client account. That said, retrieving these metrics would require customers 
> to specify which client account ID (customer ID) they wish to retrieve the 
> metrics from.
>
> In your scenario, it appears that you are querying the metrics using a 
> manager account. This is unfortunately not possible due to the above 
> mentioned details.
>
> To avoid this error, you need to ensure that the customer ID you specify 
> in your request header (customer_id / ClientCustomerId field) belongs to a 
> client account under your manager account.
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence Napa Oliquino 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2FY6tx:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/1d579890-7d37-4f95-a55a-18e098313da3n%40googlegroups.com.

Reply via email to