Re: Create ad schedule bug

2021-03-09 Thread Eylon Raymond Harari
Sent, thanks On Wednesday, March 10, 2021 at 4:35:50 AM UTC+10 adsapiforumadvisor wrote: > Hi Eylon, > > Please email us at googleadsapi-supp...@google.com if you are unable to > reply privately. > > Cheers, > Anthony > > [image: Google Logo] > Anthony > Google Ads API Team > > >

Re: Create ad schedule bug

2021-03-08 Thread Eylon Raymond Harari
Hey peter, the option for replying to the author is not available for me... I there another address I can send the details to? On Tuesday, March 9, 2021 at 12:00:35 PM UTC+10 adsapiforumadvisor wrote: > Hi Eylon, > > Unfortunately, since node.js is not supported directly, then our team does >

Re: Create ad schedule bug

2021-03-06 Thread Eylon Raymond Harari
Hi Peter, I am not using any of the client's libraries - its all on nodejs with the raw google ads API. However, my project is hosted on the google app engine so maybe that's something you can access. How do you reckon we can proceed from here? On Friday, March 5, 2021 at 11:41:50 AM UTC+10

Re: Create ad schedule bug

2021-03-03 Thread Eylon Raymond Harari
Hi Matt, Ill share some of the curl requests, responses and outcomes to better explain the situation. * Please look at the operations directed at "SUNDAY", which will be highlighted in blue. The first request is showing the expected behavior, the second request will showcase the bug -

Create ad schedule bug

2021-02-26 Thread Eylon Raymond Harari
Ad schedule cannot be updated for a 45 minute timeframe. 0, 15, 30 minutes works fine. When I add "FORTY_FIVE" in startMinute/endMinute it rounds it back to 0 (see examples below) Refference: Endpoint: *https://googleads.googleapis.com/v6/customers/{customerid}/campaignCriteria:mutate*

Re: Creating ad_schedule using rest API with the campaignCriteria service

2021-02-03 Thread Eylon Raymond Harari
"status":"ENABLED",* *"campaign":"customers/{customer_id}/campaigns/{campaign_id}",* *"bidModifier":1.0* * }* * }* * ]* *}* *campaign *needs to be in in *"customers/{customer_id}/campaigns/{campaign_id}" *format, an

Re: Creating ad_schedule using rest API with the campaignCriteria service

2021-02-03 Thread Eylon Raymond Harari
Hi, thanks for the tip I tried again like this: *curl --location -g --request POST 'https://googleads.googleapis.com/v6/customers/{customer_id}/campaignCriteria:mutate ' \* *--header 'Authorization:

Re: Creating ad_schedule using rest API with the campaignCriteria service

2021-02-02 Thread Eylon Raymond Harari
t;customers/{customer_id}/campaignCriteria/{campaign_id}~{random_generated_id}"* *2- "campaignCriterion":"customers/{customer_id}/campaignCriteria"* *3- "**campaignCriteria* *":"customers/{customer_id}/campaignCriteria/{campaign_id}~{random_generated_id}&quo

Creating ad_schedule using rest API with the campaignCriteria service

2021-02-02 Thread Eylon Raymond Harari
I am trying to create new a ad_schedule for a given campaign. *Steps I have taken to achieve that: *1) Get all the existing ad_schedule criteria - working ✅

Re: Removing adschedule in REST API using campaign criterion id's

2021-02-02 Thread Eylon Raymond Harari
Thanks, all working On Tuesday, February 2, 2021 at 3:39:46 PM UTC+10 adsapiforumadvisor wrote: > Hi Eylon, > > You can refer to this guide > on > how you can construct your mutate requests using REST. > > For additional

Removing adschedule in REST API using campaign criterion id's

2021-02-01 Thread Eylon Raymond Harari
Im trying to remove all ad schedule criterions from a campaign using the REST API. *1. This is a sample data shape of how the schedule criterions / resources look like:* *[* * {* * "campaignCriterion":{* *

Re: Update/Mutate campaign budget using REST API

2021-01-28 Thread Eylon Raymond Harari
Works great, thanks for the help! On Thursday, January 28, 2021 at 6:48:13 AM UTC+10 adsapiforumadvisor wrote: > Hi Eylon, > > Thank you for reaching out. Please give it a try to the following code: > > > curl --request POST \ > > --header "Content-Type: application/json" \ > >

Update/Mutate campaign budget using REST API

2021-01-26 Thread Eylon Raymond Harari
Im trying to update campaign budgets using the rest api. This has been working successfully for other operations, such as updating the campaign status, name, etc.. I'll provide a few examples here of the types of "payloads" I have been using. *1. Updating campaign status (that one works

Re: Service account and Google Ads Api

2021-01-05 Thread Eylon Raymond Harari
I had the exact same problem - NOT_ADS_USER If you indeed completed all the prerequisites and the succeeding steps

Re: Using Service account [HTTP error 401]: “Request had invalid authentication credentials. Expected OAuth 2 access token…”

2021-01-05 Thread Eylon Raymond Harari
: *sub: GOOGLE_MMC_MANAGER_EMAIL,* *GOOGLE_MMC_MANAGER_EMAIL *is the email that you created the MMC account with. On Wednesday, January 6, 2021 at 5:36:01 AM UTC+10 Eylon Raymond Harari wrote: > Hi Ernie, > sorry for the late response. > > I have created all the process from scratc

Re: Using Service account [HTTP error 401]: “Request had invalid authentication credentials. Expected OAuth 2 access token…”

2021-01-05 Thread Eylon Raymond Harari
Hi Ernie, sorry for the late response. I have created all the process from scratch and tested, retested, and still getting the same error. The *Reply privately to author* option is disabled and I can only send a public response - Is there an address for me to send the details or can you

Using Service account [HTTP error 401]: “Request had invalid authentication credentials. Expected OAuth 2 access token…”

2020-12-19 Thread Eylon Raymond Harari
Im building an app with google ads api using a *service account* auth flow (server to server). The problem - the auth part is not working... *Sample of the request:* const request = require('request'); request({ 'method': 'GET', 'url':

Re: Google Ads API - Service account [HTTP error 401]: “Request had invalid authentication credentials. Expected OAuth 2 access token…”

2020-12-19 Thread Eylon Raymond Harari
ile: './pathtokeyfile.json', scopes: SCOPES, }); const token = await authClient.getAccessToken(); return token; }; On Sunday, December 20, 2020 at 6:55:58 AM UTC+10 Eylon Raymond Harari wrote: > Im building an app with google ads api using a *service account* auth > flow (server

Google Ads API - Service account [HTTP error 401]: “Request had invalid authentication credentials. Expected OAuth 2 access token…”

2020-12-19 Thread Eylon Raymond Harari
Im building an app with google ads api using a *service account* auth flow (server to server). The problem - the auth part is not working... *Sample of the request:* ``` request({ 'method': 'GET', 'url': 'https://googleads.googleapis.com/v6/customers/', 'headers': { 'Authorization':