Re: Label update returns DUPLICATE_NAME

2020-10-08 Thread 'Kostas Kougios' via AdWords API and Google Ads API Forum
ok thanks, I've send the email On Tuesday, 6 October 2020 at 20:19:18 UTC+1 adsapiforumadvisor wrote: > Hello, > > Please share the request and response for the API calls that fail for > these updates. Do so using *reply privately to author*. > > Regards, > Anthony > Google Ads API Team > > [ima

Re: campaign setBiddingScheme on v9.0.0 of the api?

2020-10-08 Thread 'Kostas Kougios' via AdWords API and Google Ads API Forum
Ok thanks On Thursday, 8 October 2020 at 08:49:28 UTC+1 adsapiforumadvisor wrote: > Hi Kostas, > > Thanks for posting your concern. > > It is indeed that the bidding scheme is not part of of the said Campaign > resource. The reason is, it is not possible to set bidding scheme directly > to a ca

campaign setBiddingScheme on v9.0.0 of the api?

2020-10-07 Thread 'Kostas Kougios' via AdWords API and Google Ads API Forum
Hi, I can't seem to find the setBiddingScheme on class com.google.ads.googleads.v5.resources.Campaign . It seems to be in some javadocs like public Campaign.Builder setBiddingStrategyType(@NotNull com.google.ads.googleads.v5.enums.BiddingStrategyTypeEnum.BiddingStrategyType value) Outp

Re: FAILURE REQUEST SUMMARY. Method: google.ads.googleads.v5.services.GoogleAdsService/Search, Endpoint: googleads.googleapis.com:443, CustomerID: XXX, RequestID: null, ResponseCode: UNAVAILABLE, Faul

2020-10-07 Thread 'Kostas Kougios' via AdWords API and Google Ads API Forum
Hi, I don't "have perms to reply to the author in this group". Here is req/response that I just got from a test run: 10:00:04.671 [Gax-105] INFO c.g.ads.googleads.lib.request.detail - FAILURE REQUEST DETAIL. Request --- MethodName: google.ads.googleads.v5.services.CampaignBudgetService/Mut

Re: Label update returns DUPLICATE_NAME

2020-10-06 Thread 'Kostas Kougios' via AdWords API and Google Ads API Forum
and managed to recreate with plain java api code (in scala, v9.0.0 of the java api dep, v5 of the api): val resource = "customers/###/labels/###" // note please ask for ids, it may be occurring only in certain accounts import com.google.ads.googleads.v5.enums.LabelStatusEnum.LabelStatus import

Re: Label update returns DUPLICATE_NAME

2020-10-06 Thread 'Kostas Kougios' via AdWords API and Google Ads API Forum
Ok it happened again, during an update. The update doesn't change the label name: error_code { label_error: DUPLICATE_NAME } message: "Label names must be unique." trigger { string_value: "Keyword_Coverage_v4.0_Native" } location { field_path_elements { field_name: "operations" inde

FAILURE REQUEST SUMMARY. Method: google.ads.googleads.v5.services.GoogleAdsService/Search, Endpoint: googleads.googleapis.com:443, CustomerID: XXX, RequestID: null, ResponseCode: UNAVAILABLE, Fault: i

2020-10-06 Thread 'Kostas Kougios' via AdWords API and Google Ads API Forum
Hi, I am occasionally get these. Some days it's quite often. Makes working with the api quite slow. Today it is pretty bad. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=

Re: Label update returns DUPLICATE_NAME

2020-10-06 Thread 'Kostas Kougios' via AdWords API and Google Ads API Forum
The op I did was for an field_path_elements { field_name: "update" } but it stopped happening since yesterday so I can't reproduce it now. What I tried is to retrieve an existing label and just update it without changing anything. That failed with a DUPLICATE_NAME. If I manage to reproduc

Label update returns DUPLICATE_NAME

2020-10-05 Thread 'Kostas Kougios' via AdWords API and Google Ads API Forum
Hi, I am having this issue where I can't update any labels. The update doesn't change the label name. My code is pretty standard I think (scala): val g = Label.newBuilder .setName(StringValue.of("Keyword_Coverage_v4.0_Native")) .setStatus(LabelStatus.valueOf("ENABLED")) .setResourceName("custo

(java client v9.0.0) Batch Job, random "task was cancelled" on OperationFutureImpl.get()

2020-09-30 Thread 'Kostas Kougios' via AdWords API and Google Ads API Forum
Hi, While creating batcj jobs, I am randomly getting the following exception. 2 out of 3 times it works ok but the other 1 time the exception occurs with no info on what caused it. The data I send are always the same, so it can't be data related. Exception in thread "main" java.util.concurrent

(java google api client v9.0.0) Batch Job api error reporting lacking vs bulk mutate errors

2020-09-28 Thread 'Kostas Kougios' via AdWords API and Google Ads API Forum
Hi, when uploading data via the google api v5 java client and using the bulk mutate, I get more information i.e. policy error information when I upload a problematic keyword. The class returned is GoogleAdsError which contains ErrorDetails which in turn has PolicyViolationDetails. But when usi

Re: Automic Endpoint Service rpc GET raise InternalServerError

2020-08-26 Thread 'Kostas Kougios' via AdWords API and Google Ads API Forum
Same issue here using the java beta api v8.0.0 On Wednesday, 26 August 2020 at 11:22:57 UTC+1 ja...@leandigitalmedia.com wrote: > We are using v4, via REST calls from PHP. > > Still out for us at the moment. We are making reporting calls to > */v4/customers/{{customer_id}}/googleAds:search* abs

Re: Only fails at AddCompleteCampaignsUsingBatchJob : User doesn't have permissions to access customer

2020-08-18 Thread 'Kostas Kougios' via AdWords API and Google Ads API Forum
Oh thats a shame as we based our whole architecture on the negative ids! Any hint on when (about) is it going to be available? On Tuesday, 18 August 2020 at 13:03:32 UTC+1 adsapiforumadvisor wrote: > Hello, > > This feature is not yet widely available. I believe that the access you're > missing

Re: Only fails at AddCompleteCampaignsUsingBatchJob : User doesn't have permissions to access customer

2020-08-17 Thread 'Kostas Kougios' via AdWords API and Google Ads API Forum
Hi Brian, thanks for the reply. If the credentials didn't have access, then AddCampaigns example wouldn't work either right? Btw, I am using these credentials on our codebase as well, and normal google beta api works fine apart from the batch job service. That's why I tried the google provided

Re: Only fails at AddCompleteCampaignsUsingBatchJob : User doesn't have permissions to access customer

2020-08-17 Thread 'Kostas Kougios' via AdWords API and Google Ads API Forum
Hi Brian, thanks for the reply. If the credentials didn't have access, then AddCampaigns example wouldn't work either right? Btw, I am using these credentials on our codebase as well, and normal google beta api works fine apart from the batch job service. That's why I tried the google provided

Re: Only fails at AddCompleteCampaignsUsingBatchJob : User doesn't have permissions to access customer

2020-08-17 Thread 'Kostas Kougios' via AdWords API and Google Ads API Forum
Hi, So the error I am getting from AddCompleteCampaignsUsingBatchJob is the one you mention: "Mutate job #0 has a status 'User doesn't have permission to access customer. Note: If you're accessing a client customer, the manager's customer id must be set in the 'login-customer-id' header. See

Re: Only fails at AddCompleteCampaignsUsingBatchJob : User doesn't have permissions to access customer

2020-08-14 Thread 'Kostas Kougios' via AdWords API and Google Ads API Forum
Hi, In the logs I've send, the login-customer-id header is present with the manager id. Here it is again (replaced some digits with ). Also please note I am running the example code that google provides, so this is not my code. Are you part of the google dev team? Do you have the ability to

Re: Only fails at AddCompleteCampaignsUsingBatchJob : User doesn't have permissions to access customer

2020-08-14 Thread 'Kostas Kougios' via AdWords API and Google Ads API Forum
So I am using the class AddCompleteCampaignsUsingBatchJob from https://github.com/googleads/google-ads-java.git Here is the full debug log output: 2020-08-14 01:18:36,427 INFO [Gax-2] logging.RequestLogger (RequestLogger.java:157) - SUCCESS REQUEST SUMMARY. Method: google.ads.googleads.v4.se

Only fails at AddCompleteCampaignsUsingBatchJob : User doesn't have permissions to access customer

2020-08-13 Thread 'Kostas Kougios' via AdWords API and Google Ads API Forum
Hi, I am running the AddCompleteCampaignsUsingBatchJob from the example java project and it prints the results: 2020-08-13 07:36:23,238 INFO [Gax-6] logging.RequestLogger (RequestLogger.java:157) - SUCCESS REQUEST SUMMARY. Method: google.ads.googleads.v4.services.BatchJobService/ListBatchJobR