Hello Alex,

Did you try to change the clientCustomerId in your API call to test account 
instead of manager test account? Please give it a try, if you are still 
facing any errors then share the entire SOAP logs(request and response 
<https://developers.google.com/adwords/api/docs/guides/call-structure#response>)
 
without redacting any information. In the U the manager account may show-up 
the campaigns however, via API, you will need to use the client account 
that owns the campaign in the ClientCustomerId header field. You could 
refer this README.md 
<https://github.com/googleads/googleads-java-lib/blob/master/README.md#how-do-i-enable-logging>
 file 
to enable logging for Java client libraries, you could refer here 
<https://developers.google.com/adwords/api/docs/clientlibraries> for other 
languages. You could use reply privately to author option while sharing the 
details requested.

Regards,
Sai Teja, AdWords API Team.

On Wednesday, October 31, 2018 at 7:16:05 PM UTC-4, [email protected] 
wrote:
>
> Hello!
> There is a primary account for working with google ads (503-425-5686).
> For this account (503-425-5686) a developer account has been created.
>
> After that, a test account was created (397-761-8798)
> Further, the settings file looks like this:
> api.adwords.refreshToken=Was created for an account (397-761-8798)
> api.adwords.clientId=Was created for an account (503-425-5686)
> api.adwords.clientSecret=Was created for an account (503-425-5686)
> api.adwords.clientCustomerId=397-761-8798
> api.adwords.developerToken=Was created for an account (503-425-5686)
>
> Next, I make a request GetCampaigns.java and get in response:
> "[31 Oct 2018 11:23:22,552-requestInfoLogger:INFO:main] Request made: 
> Service: CampaignService Method: get clientCustomerId: 397-761-8798 URL: 
> https://adwords.google.com/api/adwords/cm/v201809/CampaignService Request 
> ID: 0005797ea9a00cc00ae9eb129702a061 ResponseTime(ms): 168 OperationsCount: 
> 1 IsFault: false FaultMessage: null
> No campaigns were found. "
>
> If I make an AddCampaigns.java request, the answer comes in: (Look in - 
> Remove AddCampaigns.java - Error log.txt)
>
> I hope for your help!
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
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/0983ea1e-82d6-46ce-9244-5d86aabbda60%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to