I have now created a campaign from test account, but not able to fetch it
through getCampaigns.java
If I am sending customer id as the test manager account, the list returned
is empty.
If I am sending the test client account id, I am getting this error.
Response
--------
Headers:
Metadata(content-type=application/grpc,request-id=9O3qGW-bDPaAhqEhYwKixQ,date=Thu,
24 Feb 2022 06:43:43 GMT,alt-svc=h3=":443"; ma=2592000,h3-29=":443";
ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443";
ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43")
Body: null
Failure message: errors {
error_code {
authorization_error: USER_PERMISSION_DENIED
}
message: "User doesn\'t have permission to access customer. Note: If
you\'re accessing a client customer, the manager\'s customer id must be set
in the \'login-customer-id\' header. See
https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid"
}
request_id: "9O3qGW-bDPaAhqEhYwKixQ"
On Thursday, February 24, 2022 at 2:16:32 AM UTC+5:30 adsapi wrote:
> Hi Libsys,
>
> Thank you for reaching out to the Google Ads API support team.
>
> With regards to your concern, The test account does not include the
> billing information. However, you still could create the test client
> account under the test manager account. All the test client accounts are
> invisible by default. To be able to see the test client accounts under the
> test manager account, you would need to click on the down arrow next to the
> test manager account number and then on the drop-down list click on the
> three vertical dots icon and select cancelled accounts. If you still have
> issues creating the test client account, please refer to this code example
> <https://developers.google.com/google-ads/api/docs/samples/create-customer>
> and
> create the test client account via the API.
>
> Thanks,
> [image: Google Logo]
> Nirmita
> Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q2WyJ3q: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/dafd1a5b-feb6-40ad-81a4-6da1bd09f699n%40googlegroups.com.