ok thanks On Tuesday, May 9, 2023 at 10:14:26 PM UTC+5:30 Google Ads API Forum Advisor wrote:
> Hi, > > Thanks for getting back with us. > > Please note that you can still use reporting to retrieve campaign data. > However, you can’t retrieve data that is in the production level. > > With regards to your concern, in *Google Ads API* perspective, you need > to authenticate API requests with *OAuth2 credentials* using the email > with the appropriate *access* to the accounts (customer_id) you will > specify in your requests. Please make sure you use the correct > login-customer-id that you used to generate the OAuth2 credentials. > > You can try to query with the customer_id to get the campaign under that > account. However, you try to get the campaigns and specify in the WHERE > clause the customer_id you want to retrieve, this will return an empty > result. You may see our *campaign report* for more information on the > available fields and *campaign query builder* to build and validate your > request body. > > Let me know if this clarifies your concern. > > Links included in this email: > > - *Google ads API *- > *https://developers.google.com/google-ads/api/docs/start?hl=en* > <https://developers.google.com/google-ads/api/docs/start?hl=en> > - *OAuth2 credentials* - > *https://developers.google.com/google-ads/api/docs/oauth/cloud-project* > <https://developers.google.com/google-ads/api/docs/oauth/cloud-project> > - *Access -* > > *https://support.google.com/google-ads/answer/9978556?visit_id=637631240193711507-751960742&rd=1* > > > <https://support.google.com/google-ads/answer/9978556?visit_id=637631240193711507-751960742&rd=1> > > - *campaign report* - > *https://developers.google.com/google-ads/api/fields/v13/campaign* > <https://developers.google.com/google-ads/api/fields/v13/campaign> > - *campaign query builder* - > > *https://developers.google.com/google-ads/api/fields/v13/campaign_query_builder* > > > <https://developers.google.com/google-ads/api/fields/v13/campaign_query_builder> > > > > Regards, > [image: Google Logo] Google Ads API Team > > ref:_00D1U1174p._5004Q2lBo0A: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 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/ee2da490-be96-4a38-adbf-6cdcbd756ab8n%40googlegroups.com.