Re: Limits issue: ProductPartitionTree .createAdGroupTree generates API request

2018-07-06 Thread Константин Латыпов
Using NegativeAdGroupCriterion instead of BiddableAdGroupCriterion solve this issue. Thank you четверг, 5 июля 2018 г., 19:27:13 UTC+3 пользователь Константин Латыпов написал: > > Tell me please is it possible? (previous post) > > среда, 4 июля 2018 г., 4:04:20 UTC+3 пользователь Anash P.

Re: Limits issue: ProductPartitionTree .createAdGroupTree generates API request

2018-07-05 Thread Константин Латыпов
Tell me please is it possible? (previous post) среда, 4 июля 2018 г., 4:04:20 UTC+3 пользователь Anash P. Oommen (AdWords API Team) написал: > > Yep, your code should work. > > Cheers > Anash P. Oommen, > AdWords API Advisor. > > On Tuesday, July 3, 2018 at 11:06:09 AM UTC-4, Константин Латыпов

Re: Limits issue: ProductPartitionTree .createAdGroupTree generates API request

2018-07-04 Thread Константин Латыпов
Hi, Anash P. Oommen This code will works for ProductPartitionNode partitionNode .addChild(emptyDimensionType) .asExcludedUnit(); And ProductPartition have no method asExcludedUnit(); It only have: . setPartitionType(ProductPartitionType.UNIT); And this:

Re: Limits issue: ProductPartitionTree .createAdGroupTree generates API request

2018-07-03 Thread 'Anash P. Oommen (AdWords API Team)' via AdWords API and Google Ads API Forum
Yep, your code should work. Cheers Anash P. Oommen, AdWords API Advisor. On Tuesday, July 3, 2018 at 11:06:09 AM UTC-4, Константин Латыпов wrote: > > Thank you. > > this code fixed issue: > > productAdGroupCriterion.setBiddingStrategyConfiguration(adGroup.getBiddingStrategyConfiguration()); >

Re: Limits issue: ProductPartitionTree .createAdGroupTree generates API request

2018-07-03 Thread Константин Латыпов
Thank you. this code fixed issue: productAdGroupCriterion.setBiddingStrategyConfiguration(adGroup.getBiddingStrategyConfiguration()); emptyAdGroupCriterion.setBiddingStrategyConfiguration(adGroup.getBiddingStrategyConfiguration()); But there is last issue (I hope) How can I create

Re: Limits issue: ProductPartitionTree .createAdGroupTree generates API request

2018-07-02 Thread 'Anash P. Oommen (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi, Could you try a few things? 1. You are missing a biddingStrategyConfiguration node in couple of operands, could you add them? 2. Could you make sure the root node appears before the child nodes in the operations list? Let me know if that doesn't address the issues. Cheers Anash P.

Re: Limits issue: ProductPartitionTree .createAdGroupTree generates API request

2018-07-02 Thread Константин Латыпов
Hi, Dannison I sent you info via "Reply privately to author" at friday. If you will need any additional info I will be glad to provide it. Best regards пятница, 29 июня 2018 г., 10:52:30 UTC+3 пользователь Dannison Yao (AdWords API Team) написал: > > Hi, > > My apologies for the back and

Re: Limits issue: ProductPartitionTree .createAdGroupTree generates API request

2018-06-29 Thread 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi, My apologies for the back and forth. Could you send me your complete SOAP request and response logs that was generated when you used this code you sent in your previous response along with your clientCustomerId so I could further investigate this? You may send this via *Reply privately to

Re: Limits issue: ProductPartitionTree .createAdGroupTree generates API request

2018-06-28 Thread Константин Латыпов
Hi, I think that I dont understand this: "you should associate your ProductPartition *Root* to your "Other" case first before adding it in your BiddableAdGroupCriterion". I thought that this is association code: productNode.setParentCriterionId(rootPartition.getId()); But it still not

Re: Limits issue: ProductPartitionTree .createAdGroupTree generates API request

2018-06-28 Thread 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi, According to your logs, you are encountering the error RequiredError.REQUIRED , which means that you have a missing entity that the service you are using needs before it executes. Another error you are

Re: Limits issue: ProductPartitionTree .createAdGroupTree generates API request

2018-06-27 Thread Константин Латыпов
Thank you! But I have next issue. I have AdGroupOperations with negative temporari IDs. I create SUBDIVISION, ProductID dimension and Others Partitions. I send AdGroup and Partition opeartions at one job. When I try to create Partitions I receive following ERRORS: 2018-06-27 13:39:59.625

Re: Limits issue: ProductPartitionTree .createAdGroupTree generates API request

2018-06-27 Thread 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi, After creating your ProductPartition object, you have to set this criterion to a BiddableAdGroupCriterion

Re: Limits issue: ProductPartitionTree .createAdGroupTree generates API request

2018-06-26 Thread Константин Латыпов
Hi, Tell me please how can I pass Partitions to AdGroupCriterionOperations. It have no any suitable methods: ProductPartition rootPartition = new ProductPartition(); rootPartition.setPartitionType(ProductPartitionType.SUBDIVISION); // Create

Re: Limits issue: ProductPartitionTree .createAdGroupTree generates API request

2018-06-26 Thread 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi, Unfortunately, we do not have an exact sample code on how to use Batch Job Processing for Product Partition, however, you can pattern your code on this example to create your product

Re: Limits issue: ProductPartitionTree .createAdGroupTree generates API request

2018-06-25 Thread Константин Латыпов
Hi, Yes, I'm using batchJobService. But when I prepare operations by provided code ( at previous posts) it generates requests to API. And it seems that there is some other way to create Partitions for new AdGroup. Something like thais at PHP:

Re: Limits issue: ProductPartitionTree .createAdGroupTree generates API request

2018-06-25 Thread 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi, Regarding your issue with using the batch job service to create your ProductPartition trees, could you confirm if your batch operations are taking too long and is not completing successfully? Currently the only way to create partitions without having to pass multiple requests

Re: Limits issue: ProductPartitionTree .createAdGroupTree generates API request

2018-06-22 Thread Константин Латыпов
Hi, errors=[RateExceededError{apiErrorType=RateExceededError, errorString= RateExceededError.RATE_EXCEEDED, fieldPath=, rateName=OperationsPerDay, rateScope=DEVELOPER, reason=RATE_EXCEEDED, retryAfterSeconds=86400, trigger= Basic Access Operations Quota}]} I know about account limits etc. My

Re: Limits issue: ProductPartitionTree .createAdGroupTree generates API request

2018-06-22 Thread 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi, To further investigate on this, could you provide any error messages for the "limits error" that you mentioned along with the batch job Id and the clientCustomerId you used? You may send those to me via the *Reply privately to author*. Regards, Dannison AdWords API Team -- --

Limits issue: ProductPartitionTree .createAdGroupTree generates API request

2018-06-22 Thread Константин Латыпов
Hello As I see this code generates request: ProductPartitionTree partitionTree = ProductPartitionTree .createAdGroupTree(adWordsServices, authService.getSession(), partition.getAdGroupId()); logs: [INFO ] c.g.a.a.a.l.c.AdWordsServiceClient.requestInfoLogger - Request