Hi,

Thanks for getting back to us.

Please note that as per the guide included in the links below, both 
GoogleAdsService.Search and GoogleAdsService.SearchStream would require the 
customer_id to be supplied in the request body.

Can you try performing a request to List Accessible Accounts method? Through 
this method, you can list customers accessible to you. Listing accessible 
customers is one of the few requests in the Google Ads API that does not 
require you to specify a customer ID in the request. The resulting list of 
customers is based on your OAuth credentials. The request returns a list of all 
accounts that you are able to act upon directly given your current credentials. 
This will not necessarily include all accounts within the account hierarchy, 
rather, it will only include accounts where your authenticated user has been 
added with admin or other rights in the account.

You may also try checking the Find your Google Ads customer ID help article in 
finding your customer ID from Google Ads UI.

Let us know how it goes.

Reference links included in this email:

GoogleAdsService.Search SearchGoogleAdsRequest: 
https://developers.google.com/google-ads/api/reference/rpc/v13/SearchGoogleAdsRequest
GoogleAdsService.SearchStream SearchGoogleAdsStreamRequest: 
https://developers.google.com/google-ads/api/reference/rpc/v13/SearchGoogleAdsStreamRequest
List Accessible Accounts : 
https://developers.google.com/google-ads/api/docs/account-management/listing-accounts
Find your Google Ads customer ID: 
https://support.google.com/google-ads/answer/1704344?hl=en

Regards,

Google Ads API Team
ref:_00D1U1174p._5004Q2lA73z: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/nfK2m000000000000000000000000000000000000000000000RUBR5F00SseyAQFcQkWuE8CT2XS0YA%40sfdc.net.
  • Ge... Jessica Villa
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Jessica Villa
        • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
          • ... Jessica Villa
          • ... Jessica Villa
            • ... Jessica Villa
              • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to