To make sure i understand you correctly, Are you saying if i know of 
someones test account, and im not connected to it at all, i can still use 
my production manager account developer token and query that test account 
and get the test data that is in there?

Concerning what im doing, i have a developer token (from my production 
account) and i currently use it everyday to query my live production google 
ads account. And that works all well. Recently i wanted to test some write 
api queries. I created a test account (not related to my production account 
at all).  According to what you said, I should just swap my customerId key 
that i use for my production with my test account id? When i do that, and 
try to hit  the GoogleAdsServiceClient.SearchStream endpoint, i get the 
following error
Exception thrown: 'Google.Ads.GoogleAds.V12.Errors.GoogleAdsException' in 
Google.Ads.GoogleAds.dll: 'Status(StatusCode="PermissionDenied", 
Detail="The caller does not have permission")'

On Wednesday, February 8, 2023 at 4:11:51 PM UTC-5 Google Ads API Forum 
Advisor wrote:

> Hi Levi,
>
> Thank you for reaching out to the Google Ads API support team.
>
> Regarding your concern, please note that you need to use the developer 
> token of your production manager account when making requests against the 
> test manager account. Even if it's not approved yet, the token will still 
> work on test accounts, including the ones just created. I would suggest 
> checking this test account guide 
> <https://developers.google.com/google-ads/api/docs/first-call/test-accounts> 
> as 
> it will help you about the details of test accounts. Also, this reporting 
> guide 
> <https://developers.google.com/google-ads/api/docs/reporting/overview?hl=en> 
> for 
> more information about reporting.
>
> Let us know if you have further questions.
>
> Regards,
> [image: Google Logo] 
> Carmela 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2LUITh: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 
"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/584a9865-cb41-469f-82ea-1f9793dd726fn%40googlegroups.com.
  • Re... Levi S
    • ... Levi S
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to