Re: CUSTOMER_NOT_ENABLED

2019-09-04 Thread anirudh maddy
Hi Nikisha, Without checking the status, I'm making requests to the API, this is causing our error rate to increase. I want to avoid that. Could you suggest a query or a method which I can use to avoid errors? On Thursday, 15 August 2019 20:09:30 UTC+5:30, adsapiforumadvisor wrote: > > Hi Anir

Adding Metro area in the query is not returning any result

2019-08-29 Thread anirudh maddy
Below is the query I'm using to fetch data from the API for Locations Report SELECT customer.currency_code, campaign.name, segments.geo_target_metro, segments.geo_target_region, segments.geo_target_city, metrics.clicks, metrics.impressions, metrics.cost_micros FROM geographic_view When I run

How to get Region and City Name using inner query in Google Ads API?

2019-08-28 Thread anirudh maddy
I'm able to fetch Region and City IDs in the below format. However, I would want their names to be displayed instead of IDs. One way I figured out was making another request with the Region/City ID to fetch the name. Query to fetch Region and City IDs. SELECT campaign.name ,segments.geo_t

Re: CUSTOMER_NOT_ENABLED

2019-08-15 Thread anirudh maddy
Is there any way I can check the status of the account using a query. Currently, I'm using the below query to get the list of accounts: SELECT customer.id, customer.descriptive_name, customer.manager, customer_client.resource_name, customer_client.client_customer, customer_client.level, cus

Unable to find the right metrics for Total Cost, Converted Clicks, Cost/Converted Click etc

2019-05-27 Thread anirudh maddy
This is what I'm doing currently. I need to show data campaigns wise as well as cumulative results. My query goes something like this : "query": "SELECT customer.currency_code, metrics.impressions, metrics.clicks, metrics.ctr, metrics.conversions, metrics.all_conversions , metrics.c

How do I get Day wise breakdown of Metrics like Clicks, Impressions, CTR etc related to campaigns?

2019-05-26 Thread anirudh maddy
What should be the order by query term to break down the results day wise? Here is what I tried : SELECT campaign.name, customer.currency_code, metrics.impressions, metrics. clicks, metrics.ctr, metrics.average_cpc, metrics.average_position, metrics. all_conversions , metrics.cost_per_convers

Re: developer-token parameter is missing even though I'm passing the token in Google Ads API

2019-05-11 Thread anirudh maddy
4 UTC+5:30, anirudh maddy wrote: > > I'm passing the Developer Token in the GET request to fetch the MCC > accounts. But I keep getting the below error even though I'm passing the > required information. > > > > > "message": "developer-to

Re: How to make a POST request via Node JS to fetch data from the Google Ads API?

2019-05-08 Thread anirudh maddy
In followed the exact same instructions, generated AccessToken using your Guide, but I'm still getting the same error. On Wednesday, 8 May 2019 21:35:42 UTC+5:30, googleadsapi-forumadvisor wrote: > > Hello Anirudh, > > It seems like the Access token is not passed properly. In the API call the >

Re: developer-token parameter is missing even though I'm passing the token in Google Ads API

2019-05-08 Thread anirudh maddy
Hello Sai, I'm following the exact thing, I'm generating the access_tokens using a refresh token if they expire. I used the same code to Integrate Google Analytics, Google Search, YouTube Reporting. It worked fine with all the APIs, only with Google Ads API I'm facing this issue. Is there any

Re: How to make a POST request via Node JS to fetch data from the Google Ads API?

2019-05-08 Thread anirudh maddy
n"errors": [\n {\n "errorCode": {\n "authenticationError": "AUTH ENTICATION_ERROR"\n},\n"message": "Authentication of the request failed."\n }\n

Re: developer-token parameter is missing even though I'm passing the token in Google Ads API

2019-05-08 Thread anirudh maddy
console-project.";, "status": "UNAUTHENTICATED" } } I'm passing the correct OAuth2.0 Access Token. What could be the issue here? On Tuesday, 7 May 2019 16:03:54 UTC+5:30, anirudh maddy wrote: > > I'm passing the Developer Token in the GET reques

Re: developer-token parameter is missing even though I'm passing the token in Google Ads API

2019-05-07 Thread anirudh maddy
7; curl: (3) Port number ended with ' ' On Tuesday, 7 May 2019 16:03:54 UTC+5:30, anirudh maddy wrote: > > I'm passing the Developer Token in the GET request to fetch the MCC > accounts. But I keep getting the below error even though I'm passing the > required

developer-token parameter is missing even though I'm passing the token in Google Ads API

2019-05-07 Thread anirudh . maddy
I'm passing the Developer Token in the GET request to fetch the MCC accounts. But I keep getting the below error even though I'm passing the required information. "message": "developer-token parameter is missing I tried making the request in different ways. But I'm unable to figure it

How to fetch the list of Customer IDs linked to a Google Ads Account via rest API?

2019-05-07 Thread anirudh . maddy
Which API endpoint should I call to fetch the list of Customer IDs linked to a Google Account after getting the Access Token and Refresh Token via OAuth2.0? What are the parameters I need to pass to the API to fetch the list of Customer IDs? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=

How to make a POST request via Node JS to fetch data from the Google Ads API?

2019-05-06 Thread anirudh . maddy
I'm confused with the documentation. Could someone guide me on how to make requests via REST API. Here is what I have tried. var options = { url: 'https://googleads.googleapis.com/v1/customers/'+accountid+'/adGroups', header

Request is missing required authentication credential Google Ads API beta

2018-10-11 Thread anirudh maddy
var url = 'https://googleads.googleapis.com/v0/customers/myCustomerId?key=myKey'; var newAcessToken = getGoogleAccessToken(refresh_token); var bearerToken = 'Bearer '+ newAcessToken; var options =

Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential with Google Ads API request

2018-10-11 Thread anirudh maddy
Here is my code in Node Js var newAcessToken = getGoogleAccessToken(refresh_token); var bearerToken = 'Bearer '+ newAcessToken; var url = 'https://googleads.googleapis.com/v0/customers/XX