Hi Team,
We have created test creds on Google ADs platform. Generated developer token, OAuth client ID and secret, and refresh token. We have created one campaign in the test account.
Now, we are trying to call Google ADs API's getCampaign() API with test creds (using clientID and client secret). In response we are getting status as OK, but no campaign related details are getting returned. Below is the request and response string:
Request
MethodName: google.ads.googleads.v7.services.GoogleAdsService/SearchStream Endpoint: googleads.googleapis.com:443 Headers: {developer-token=REDACTED, x-goog-api-client=gl-java/15.0.2 gapic/ gax/1.63.0 grpc/1.36.0} Body: customer_id: "6377058490" query: "SELECT campaign.id, campaign.name FROM campaign ORDER BY campaign.id"Response:
Headers: Metadata(content-type=application/grpc,request-id=sNH3h8fggnVsl1okVEEl-g,date=Tue, 15 Jun 2021 08:00:45 GMT,alt-svc=h3=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":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: null Status: Status{code=OK, description=null, cause=null}.
|
||||||
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api...@googlegroups.com
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 adwords-api...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/8USjy000000000000000000000000000000000000000000000QUTZ6200rIyaCTJwSxyRVs4NOSps5Q%40sfdc.net.