Hi team, Any Info on above queries. We would like to understand if we enable Ads API for our google console project, is there any implication on our production calls?
Thanks & Regards On Fri, Jan 21, 2022 at 5:10 PM Rten Marketo <r10.mark...@gmail.com> wrote: > HI team, > > We are working on migration of Google Adwords to Google Ads API Migration. > I tried a few of Google Ads API calls using the oauth credential created > for the project for which Adword API is enabled. Those call failed due to > below error > > curl --location --request GET ' >> https://googleads.googleapis.com/v9/customers:listAccessibleCustomers' \ >> --header 'Content-Type: application/json' \ >> --header 'developer-token: <developer token>' \ >> --header 'login-customer-id: <customer Id >' \ >> --header 'Authorization: Bearer <access_tokne>' > > > > >> { >> "error": { >> "code": 403, >> "message": "Google Ads API has not been used in project XXXXX before or >> it is disabled. Enable it by visiting >> https://console.developers.google.com/apis/api/googleads.googleapis.com/overview?project= >> <https://console.developers.google.com/apis/api/googleads.googleapis.com/overview?project=XXXXXXX>XXXXXXXXX >> then retry. If you enabled this API recently, wait a few minutes for the >> action to propagate to our systems and retry.", >> "status": "PERMISSION_DENIED", >> "details": [ >> { >> "@type": "type.googleapis.com/google.rpc.Help", >> "links": [ >> { >> "description": "Google developers console API activation", >> "url": " >> https://console.developers.google.com/apis/api/googleads.googleapis.com/overview?project= >> <https://console.developers.google.com/apis/api/googleads.googleapis.com/overview?project=529154114729> >> XXXXXXXXX" >> } >> ] >> }, >> { >> "@type": "type.googleapis.com/google.rpc.ErrorInfo", >> "reason": "SERVICE_DISABLED", >> "domain": "googleapis.com", >> "metadata": { >> "consumer": "projects/XXXXXXXX", >> "service": "googleads.googleapis.com" >> } >> } >> ] >> } >> } > > > > The project for which I have generated the Oauth credential is being used > in production. > A Couple of questions related to activation of google Ads API > > - If we activate the Google Ads API for this project and also if our > code will still make calls using Adword API in production, Does activation > of ads API cause problems for the Adword calls which are being used in > production? > - Do we create test projects using the same developer token and use > that Oauth credential for our dev setup ? > - Do we require to create both a new developer token and a test > project for our testing purpose > > > Thanks & Regards, > r10.mark...@gmail.com > > > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@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 "Google Ads API and AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/CAAguJvA_%3DWWvx8-9Nast--%2BtCNx79nDw%3D92%3DmuNq--ok32kH3g%40mail.gmail.com.