Thanks for your answer it helps me! Can you tell me, when I make request like it is in the example you linked, I catch error:
> [error] => Array > > ( > > [code] => 401 > > [message] => Request had invalid authentication credentials. >> Expected OAuth 2 access token, login cookie or other valid authentication >> credential. See >> https://developers.google.com/identity/sign-in/web/devconsole-project. > > [status] => UNAUTHENTICATED > > ) > > But when I add another one HTTP Header: > login-customer-id > Everything works great. What is the reason of error in my request without "login-customer-id" in HTTP Head? I don't think that it is an error in example. вторник, 3 декабря 2019 г., 1:00:50 UTC+3 пользователь adsapiforumadvisor написал: > > Hi, > > The Google Ads API server endpoint where all requests are sent is: > https://googleads.googleapis.com. You may refer to this guide > <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request_url> > > on how to build the request URL for any specific object. Please refer to an > example > <https://developers.google.com/google-ads/api/docs/reporting/example#http_request_url> > > which illustrates about the request URL for GoogleAdsService.Search > <https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v2.services#google.ads.googleads.v2.services.GoogleAdsService.Search>. > > Let me know if you have any further questions. > > Regards, > Bharani, Google Ads API Team > > > ref:_00D1U1174p._5001UODXR6: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 [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/8c8bbd96-24ec-436d-92d4-9621f1aed825%40googlegroups.com.
