Re: How to use the Google Ads API using REST Only

2019-03-20 Thread De1
Awesome! That worked! Thanks Much! On Wednesday, 20 March 2019 14:33:05 UTC-4, googleadsapi-forumadvisor wrote: > > Hello, > > You could try using the Method: > google.ads.googleads.v1.services.CustomerService/ListAccessibleCustomers > and Endpoint: googleads.googleapis while trying your RESTful

RE: How to use the Google Ads API using REST Only

2019-03-20 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hello, You could try using the Method: google.ads.googleads.v1.services.CustomerService/ListAccessibleCustomers and Endpoint: googleads.googleapis while trying your RESTful call. You have to pass the OAuth credentials the same way you pass for other RESTful API calls. You could refer this API ca

Re: How to use the Google Ads API using REST Only

2019-03-19 Thread De1
Hi Sai, The issue is that I'm not using a client library and I don't know how to resolve CustomerService.ListAccessibleCustomers into a RESTful call. On Tuesday, 19 March 2019 13:35:24 UTC-4, googleadsapi-forumadvisor wrote: > > Hello, > > To get the accessible accounts for a user you can use

RE: How to use the Google Ads API using REST Only

2019-03-19 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hello, To get the accessible accounts for a user you can use CustomerService.ListAccessibleCustomers which returns resource names of customers directly a

Re: How to use the Google Ads API using REST Only

2019-03-18 Thread De1
Actually...now that I sat down to use this. This is the wrong list. What I need is the list of accounts I have access too, not the list of accounts under a manager account. When I log in to Google Ads I am presented with different accounts to click on (some individual some MCC), it is that list

Re: How to use the Google Ads API using REST Only

2019-02-25 Thread De1
Thanks a bunch Derek. Seems like when in doubt...Query! Nice. On Monday, 25 February 2019 14:53:41 UTC-4, derek@metrictheory.com wrote: > > Hi De1, > > Try this: > > var options = { > method: 'POST', > muteHttpExceptions: true, > headers: { > 'Authorization': 'Bearer YOUR

Re: How to use the Google Ads API using REST Only

2019-02-25 Thread Afonso Praça
Tks man, I will try and let you know about that. Best, -- *Afonso Praça* Software Developer VTEX - e-Commerce Cloud Software +55 21 979.151515 www.vtex.com Em seg, 25 de fev de 2019 às 15:53, escreveu: > Hi De1, > > Try this: > > var options = { > method: 'POST', > muteHttpExceptions:

Re: How to use the Google Ads API using REST Only

2019-02-25 Thread derek . martin
Hi De1, Try this: var options = { method: 'POST', muteHttpExceptions: true, headers: { 'Authorization': 'Bearer YOUR_ACCESS_TOKEN', 'developer-token': 'YOUR_DEVELOPER_TOKEN', 'login-customer-id': 'YOUR_LOGIN_CUSTOMER_ID', 'x-goog-api-client': 'YOUR_USER_AGEN

How to use the Google Ads API using REST Only

2019-02-25 Thread De1
Hi, I'm creating a solution using Apps Script so I'm not using a client library. I'm finding it difficult to get at how to do things using REST as the documentation focuses on gRPC. eg. I would like to retrieve a list of accounts. The section that explains the Call Structure