google.ads.googleads.v10.services.GoogleAdsService.Search alternative

527 views
Skip to first unread message

Stef van den Berg

unread,
Apr 26, 2022, 5:03:08 AM4/26/22
to Google Ads API and AdWords API Forum
We use the google.ads.googleads.v10.services.GoogleAdsService.Search to fetch customer details.
Maybe I am missing it in the documentation but we are searching for an alternative to make just fetch it by a customer get. But can not find it in the documentation.

Thanks in advanced.

Stef van den Berg

unread,
Apr 26, 2022, 5:21:37 AM4/26/22
to Google Ads API and AdWords API Forum
The search REST endpoint is giving a 403 when we use the search endpoint at certain customers. Could this be an permissions issue. 

Op dinsdag 26 april 2022 om 11:03:08 UTC+2 schreef Stef van den Berg:

Google Ads API Forum Advisor

unread,
Apr 27, 2022, 3:19:41 AM4/27/22
to vandenb...@gmail.com, adwor...@googlegroups.com

Hi Stef,


Thanks for reaching out to the Google Ads API Support team.
 

With regards to your concern, you may refer to this documentation GoogleAdsService. To get methods have been removed. Any service that exclusively had a get method has been removed as well. The primary way to retrieve objects continues to be using GoogleAdsService's search and searchStream methods.
 

Also, for this concern "The search REST endpoint is giving a 403 when we use the search endpoint at certain customers. Could this be an permissions issue." ? Can you provide the complete Ads API logs (request and response with request-id) to further investigation to this concern?
 

You can provide it via Reply privately to the author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.
 

Regards,

Google Logo
Darwin
Google Ads API Team
 


ref:_00D1U1174p._5004Q2aNccA:ref

Stef van den Berg

unread,
Apr 29, 2022, 10:33:18 AM4/29/22
to Google Ads API and AdWords API Forum
We used the managed account to execute the search. But when we used the actual customer id account it worked.

Op woensdag 27 april 2022 om 09:19:41 UTC+2 schreef adsapi:

Google Ads API Forum Advisor

unread,
May 2, 2022, 1:09:12 PM5/2/22
to vandenb...@gmail.com, adwor...@googlegroups.com
Hi Stef,

I would recommend checking the login customer ID guide. If you specified a login customer ID for an account that the authenticating user does not have direct access to, then a permissions error will be thrown.

Please let us know if you have any other questions on this.

Regards,
Matt
Google Ads API Team

Google Logo
Matt
Google Ads API Team
 


ref:_00D1U1174p._5004Q2aNccA:ref
Reply all
Reply to author
Forward
0 new messages