refresh token

2022-10-04 Thread Sasa
Hi, I'm working on Google ads API and I'm doing API request with client ID OAuth2. Therefore I need refresh token. Do you maybe know when does refresh token expire? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/

Re: Google Ads Test Account Does Not Function As Expected

2022-10-04 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Chad, Thank you for the reply. I am also a member of the Google Ads API team and let me provide support to your concern. To answer the below question first, yes, I can confirm that your understanding is correct. But the human interactions that are referring to the other authentication flow

Re: INVALID_VALUE

2022-10-04 Thread Warren Halderman
Oh my sweet jesus I was using 'body' instead of 'payload' in UrlFetchApp's .fetch method this whole time. Gods damn this UrlFetchApp implementation. Thanks for your help Yasar, all's fixed. On Wednesday, October 5, 2022 at 10:07:19 AM UTC+9 Warren Halderman wrote: > Hi Yasar, > > Thank you for

Re: INVALID_VALUE

2022-10-04 Thread Warren Halderman
Hi Yasar, Thank you for the quick response. The curl sample you sent works fine, but my problem is with making the equivalent request in Google Apps Script. Making the exact same request (same endpoint, same headers [with my tokens], same body) using UrlFetchApp.fetch returns an INVALID_VALUE

Re: Google Ads Test Account Does Not Function As Expected

2022-10-04 Thread Chad Wood
Sadly, the system we're building will need to operate without human interaction. Otherwise, I'd love to take the easier option. I understand that any option for connecting to Google Ads via API (beside service accounts) would require a user to interact with the application, even if just to

RE: NAME_ALREADY_USED error when trying to create a segment with Google Ads API

2022-10-04 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Nathan, Thanks for reaching out to the Google Ads API Forum. I’ve replied to you on your support thread you have created with our team. Kindly avoid creating duplicate threads for the same issue for better issue tracking and resolution. You may contineu further discussion on that thread and

Re: Always show lead form when someone interacts with my ad

2022-10-04 Thread 'Joilson Rezende' via Google Ads API and AdWords API Forum
hello, where can i track the request? I would like to know if this feature will be added in the api Em quarta-feira, 3 de agosto de 2022 às 10:34:58 UTC-3, adsapi escreveu: > Hi Joilson, > > Thanks for reaching out. This feature is not currently supported in the > Ads API. However, please

RE: Update Keyword to NegativeKeyword?

2022-10-04 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi, Thank you for reaching out to our API support team about your concern. The negative attribute of the AdGroupCriterion resource is unfortunately immutable. For you to 'convert' a criteria from being positive to negative, and vice-versa, you would first need to REMOVE that criteria and

Re: Google Ads Test Account Does Not Function As Expected

2022-10-04 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Chad, Thank you for your reply. Interactions are sometimes made private due to the sensitive information being shared. Regarding your issue with the service account authentication, and for this "User in the cookie is not a valid Ads user." issue, this appears to be related to the

RE: INVALID_VALUE

2022-10-04 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Warren, Thanks for reaching out to the Google Ads API Forum. Kindly note that the INVALID_VALUE error indicates that the field's value is invalid. The REST endpoint for generateKeywordIdeas in order to get a list of keyword ideas. POST

Re: Error in Google Ads API: change_event.client_type - Changes via "GOOGLE_ADS_EDITOR" are missing.

2022-10-04 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi everyone, Thank you for your patience. I’ve received an update from my team. Kindly note that the Google Ads editor changes are not supported in change_event report. As of now, we are not planning editor support for the change_event service. Regards, Yasar Google Ads API Team

Update Keyword to NegativeKeyword?

2022-10-04 Thread Cantare John
This is the endpoint im using + payload URL https://googleads.googleapis.com/v11/customers/customerID/adGroupCriteria:mutate { "operations": [ { "updateMask": "negative", "update": { "resourceName": "customers/6873600921/adGroupCriteria/resourceId", "negative": true } } ], } But i get i this

Re: Associate a label to an audience data segment/user list in the API

2022-10-04 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Ben, Thank you for your response and for the attached screenshot. Upon checking, below are the label relevant services that are currently supported in the Google Ads API : AdGroupAdLabelService AdGroupCriterionLabelService AdGroupLabelService CampaignLabelService CustomerLabelService

Re: Google Ads Test Account Does Not Function As Expected

2022-10-04 Thread Chad Wood
@adsapi, While researching this issue, I plugged the error code into google and did an Exact Match search. Only three results. I played around with my search and eventually found more results, but there was a trend of responses asking for replies as private messages. This trend resulted in

Re: Google Ads API Invoice status

2022-10-04 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Igor, Thanks for getting back to us. I understand that you are trying to make a script to get a reminder regarding the payment for the invoices, however, checking if the invoice is already paid or not status isn’t available in Google Ads API. You may check fields that can be used to get

RE: Unable to select child account using AdsManagerApp

2022-10-04 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Indrani, Thank you for reaching out. This channel and our team specializes in Google Ads API related concerns only. Since the issue you are encountering is with the Google Ads Scripts, I would recommend that you reach out to their support team via this forum channel instead. I hope this

Unable to select child account using AdsManagerApp

2022-10-04 Thread teamvadw...@gmail.com
Hi, We are unable to select child accounts with AdsManagerApp in the New Google Ads Script Experience. Following is the code to get the child account. var accountSelecter = AdsManagerApp.accounts().withIds(['127-167-0580']]); var account = accountSelecter.get(); if(account.hasNext()) {

INVALID_VALUE

2022-10-04 Thread Warren Halderman
I'm trying to use the Google Ads API in Apps Script but am getting the following error, which doesn't help me diagnose the problem. Can someone please provide an example JSON request for the generateKeywordIdeas

Re: Google Ads API Invoice status

2022-10-04 Thread Igor Borenovič
Hello, we are trying to make a script which will remind us that we need to pay for our invoices by using the Google Ads API. We need a way to get the info if the invoice is already paid for so we can get only the unpaid ones. Best regards, Igor On Monday, October 3, 2022 at 8:36:48 PM UTC+2

Re: Service account

2022-10-04 Thread 'Kate Orlova' via Google Ads API and AdWords API Forum
Let me explain all my steps. 1. I've created service account in my project in https://console.cloud.google.com/. 2. I've created key and get creds from json file. 3. My admin configure domain wide delegation for this service account, scope https://www.googleapis.com/auth/adwords 4. I have a user

Re: No PERFORMANCE_MAX campaign data in shopping_performance_view report

2022-10-04 Thread Oksana Sulyma
Let me copy paste the part of private response I got from API support team (without confidential info) here - in case this could be helpful for more people: Hi Oksana, Thanks for getting back to us with the requested information. Yes, it is correct that the Products tab in Google Ads UI is

RE: Google Ads Test Account Does Not Function As Expected

2022-10-04 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Chad, Thank you for reaching us out. I am Sherwin from Google Ads API support team. I hope that you are doing well today. Since you mentioned that your implementation is Service account flow, please check this document if you implemented it properly specially if you met the prerequisites.