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. 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, Константин Латыпов wrote:
>>>
>>> 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 exculuded partition?
>>>
>>> Something like this code for PartitionNode:
>>>   partitionNode
>>> .addChild(emptyDimensionType)
>>> .asExcludedUnit();
>>>
>>>
>>> Best regards
>>>
>>>
>>> понедельник, 2 июля 2018 г., 19:24:45 UTC+3 пользователь Anash P. Oommen 
>>> (AdWords API Team) написал:

 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. Oommen,
 AdWords API Team.

 On Monday, July 2, 2018 at 10:39:16 AM UTC-4, Константин Латыпов wrote:
>
> 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 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 author*. Could you also set your SOAP XML logger to 
>> *DEBUG* mode?
>>
>> Regards,
>> Dannison
>> AdWords API Team
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/7a091508-9861-4f4c-aab3-05749625db91%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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, Константин Латыпов wrote:
>>
>> 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 exculuded partition?
>>
>> Something like this code for PartitionNode:
>>   partitionNode
>> .addChild(emptyDimensionType)
>> .asExcludedUnit();
>>
>>
>> Best regards
>>
>>
>> понедельник, 2 июля 2018 г., 19:24:45 UTC+3 пользователь Anash P. Oommen 
>> (AdWords API Team) написал:
>>>
>>> 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. Oommen,
>>> AdWords API Team.
>>>
>>> On Monday, July 2, 2018 at 10:39:16 AM UTC-4, Константин Латыпов wrote:

 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 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 author*. Could you also set your SOAP XML logger to 
> *DEBUG* mode?
>
> Regards,
> Dannison
> AdWords API Team
>


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a64439af-46a5-4e64-8108-4829450a2ce0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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: emptyAdGroupCriterion.setCriterionUse(CriterionUse.NEGATIVE); . 
don't help.

Tell me please how can I add Excluded Other Case?

My code sample:

operations.addAll(adGroupOperations);
   operations.addAll(buildPartitions(adGroupOperations));

// Use a BatchJobHelper to upload all operations.
   BatchJobHelper batchJobHelper = adWordsServices
   .getUtility(authService.getSession(), BatchJobHelper.class);
   batchJobHelper.uploadBatchJobOperations(operations, 
batchJob.getUploadUrl().getUrl());

 -

/**
* Create Product Partition Operations for provided AdGroupOperations
*
* @param adGroupOperations
* @return
*/
   private List buildPartitions(List<
AdGroupOperation> adGroupOperations) {
   List adGroupCriterionOperations = new 
LinkedList<>();
   adGroupOperations.forEach(adGroupOperation -> {
   AdGroup adGroup = adGroupOperation.getOperand();

if (AdGroupStatus.REMOVED.equals(adGroup.getStatus())) {
   return;
   }

// --- Create Product Dimensions --
   ProductOfferId dimensionType = 
ProductDimensions.createOfferId(adGroup.getName());
   ProductOfferId emptyDimensionType = new ProductOfferId();

// --- Create Root Subdivision --
   // Create AdGroupCriterionOperation.
   ProductPartition rootPartition = new ProductPartition();
   rootPartition.setPartitionType(ProductPartitionType.SUBDIVISION);
   rootPartition.setId(adGroup.getId());

ProductPartition productNode = new ProductPartition();
   productNode.setPartitionType(ProductPartitionType.UNIT);
   productNode.setCaseValue(dimensionType);
   productNode.setParentCriterionId(rootPartition.getId());
   productNode.setId(adGroup.getId() * 10 - 1);

// --- Create Others UNIT --
   ProductPartition emptyNode = new ProductPartition();
   emptyNode.setPartitionType(ProductPartitionType.UNIT);
   emptyNode.setCaseValue(emptyDimensionType);
   emptyNode.setParentCriterionId(rootPartition.getId());
   emptyNode.setId(adGroup.getId() * 10 - 2);

// --- Create Product ID UNIT --
   // Create BiddableAdGroupCriterion.
   BiddableAdGroupCriterion productAdGroupCriterion = new 
BiddableAdGroupCriterion();
   productAdGroupCriterion.setAdGroupId(adGroup.getId());
   productAdGroupCriterion.setCriterion(productNode);
  
 
productAdGroupCriterion.setBiddingStrategyConfiguration(adGroup.getBiddingStrategyConfiguration());

// Create AdGroupCriterionOperation.
   AdGroupCriterionOperation productOperation = new 
AdGroupCriterionOperation();
   productOperation.setOperand(productAdGroupCriterion);
   productOperation.setOperator(Operator.ADD);

// Create BiddableAdGroupCriterion.
   BiddableAdGroupCriterion emptyAdGroupCriterion = new 
BiddableAdGroupCriterion();
   emptyAdGroupCriterion.setAdGroupId(adGroup.getId());
   emptyAdGroupCriterion.setCriterion(emptyNode);
  
 
emptyAdGroupCriterion.setBiddingStrategyConfiguration(adGroup.getBiddingStrategyConfiguration());

// Create AdGroupCriterionOperation.
   AdGroupCriterionOperation emptyOperation = new 
AdGroupCriterionOperation();
   emptyOperation.setOperand(emptyAdGroupCriterion);
   emptyOperation.setOperator(Operator.ADD);

// Create BiddableAdGroupCriterion.
   BiddableAdGroupCriterion biddableAdGroupCriterion = new 
BiddableAdGroupCriterion();
   biddableAdGroupCriterion.setAdGroupId(adGroup.getId());
   biddableAdGroupCriterion.setCriterion(rootPartition);

// Create AdGroupCriterionOperation.
   AdGroupCriterionOperation rootOperation = new 
AdGroupCriterionOperation();
   rootOperation.setOperand(biddableAdGroupCriterion);
   rootOperation.setOperator(Operator.ADD);

// Add to list.
   adGroupCriterionOperations.add(rootOperation);
   adGroupCriterionOperations.add(emptyOperation);
   adGroupCriterionOperations.add(productOperation);
   });
   return adGroupCriterionOperations;
   }



Best regards


среда, 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, Константин Латыпов wrote:
>>

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());
>   
> emptyAdGroupCriterion.setBiddingStrategyConfiguration(adGroup.getBiddingStrategyConfiguration());
>
> But there is last issue (I hope)
> How can I create exculuded partition?
>
> Something like this code for PartitionNode:
>   partitionNode
> .addChild(emptyDimensionType)
> .asExcludedUnit();
>
>
> Best regards
>
>
> понедельник, 2 июля 2018 г., 19:24:45 UTC+3 пользователь Anash P. Oommen 
> (AdWords API Team) написал:
>>
>> 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. Oommen,
>> AdWords API Team.
>>
>> On Monday, July 2, 2018 at 10:39:16 AM UTC-4, Константин Латыпов wrote:
>>>
>>> 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 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 author*. Could you also set your SOAP XML logger to *DEBUG* mode?

 Regards,
 Dannison
 AdWords API Team

>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d460f92e-f6df-451f-9e39-03b952baffc7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 exculuded partition?

Something like this code for PartitionNode:
  partitionNode
.addChild(emptyDimensionType)
.asExcludedUnit();


Best regards


понедельник, 2 июля 2018 г., 19:24:45 UTC+3 пользователь Anash P. Oommen 
(AdWords API Team) написал:
>
> 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. Oommen,
> AdWords API Team.
>
> On Monday, July 2, 2018 at 10:39:16 AM UTC-4, Константин Латыпов wrote:
>>
>> 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 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 author*. Could you also set your SOAP XML logger to *DEBUG* mode?
>>>
>>> Regards,
>>> Dannison
>>> AdWords API Team
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e030af8e-8e40-4bdf-931c-f1936ba64c07%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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. Oommen,
AdWords API Team.

On Monday, July 2, 2018 at 10:39:16 AM UTC-4, Константин Латыпов wrote:
>
> 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 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 
>> author*. Could you also set your SOAP XML logger to *DEBUG* mode?
>>
>> Regards,
>> Dannison
>> AdWords API Team
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b844598e-dfea-40cb-aca3-0b78cb7c1914%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 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 
> author*. Could you also set your SOAP XML logger to *DEBUG* mode?
>
> Regards,
> Dannison
> AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/0206bef1-5fb2-4580-b9cc-59f57747be84%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 author*. 
Could you also set your SOAP XML logger to *DEBUG* mode?

Regards,
Dannison
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3adf2439-4362-4f76-915b-44b851973223%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 working:

operations.addAll(adGroupOperations);
operations.addAll(buildPartitions(adGroupOperations));

// Use a BatchJobHelper to upload all operations.
BatchJobHelper batchJobHelper = adWordsServices
.getUtility(authService.getSession(), BatchJobHelper.class);
batchJobHelper.uploadBatchJobOperations(operations, 
batchJob.getUploadUrl().getUrl());

 -

/**
 * Create Product Partition Operations for provided AdGroupOperations
 *
 * @param adGroupOperations
 * @return
 */
private List 
buildPartitions(List adGroupOperations) {
List adGroupCriterionOperations = new 
LinkedList<>();
adGroupOperations.forEach(adGroupOperation -> {
AdGroup adGroup = adGroupOperation.getOperand();

if (AdGroupStatus.REMOVED.equals(adGroup.getStatus())) {
return;
}

// --- Create Product Dimensions --
ProductOfferId dimensionType = 
ProductDimensions.createOfferId(adGroup.getName());
ProductOfferId emptyDimensionType = new ProductOfferId();

// --- Create Root Subdivision --
// Create AdGroupCriterionOperation.
ProductPartition rootPartition = new ProductPartition();

rootPartition.setPartitionType(ProductPartitionType.SUBDIVISION);
rootPartition.setId(adGroup.getId());

// --- Create Product ID UNIT --
ProductPartition productNode = new ProductPartition();
productNode.setPartitionType(ProductPartitionType.UNIT);
productNode.setCaseValue(dimensionType);
productNode.setParentCriterionId(rootPartition.getId());
productNode.setId(adGroup.getId() * 10 - 1);

// --- Create Others UNIT --
ProductPartition emptyNode = new ProductPartition();
emptyNode.setPartitionType(ProductPartitionType.UNIT);
emptyNode.setCaseValue(emptyDimensionType);
emptyNode.setParentCriterionId(rootPartition.getId());
emptyNode.setId(adGroup.getId() * 10 - 2);

// Create BiddableAdGroupCriterion.
BiddableAdGroupCriterion productAdGroupCriterion = new 
BiddableAdGroupCriterion();
productAdGroupCriterion.setAdGroupId(adGroup.getId());
productAdGroupCriterion.setCriterion(productNode);

// Create AdGroupCriterionOperation.
AdGroupCriterionOperation productOperation = new 
AdGroupCriterionOperation();
productOperation.setOperand(productAdGroupCriterion);
productOperation.setOperator(Operator.ADD);

// Create BiddableAdGroupCriterion.
BiddableAdGroupCriterion emptyAdGroupCriterion = new 
BiddableAdGroupCriterion();
emptyAdGroupCriterion.setAdGroupId(adGroup.getId());
emptyAdGroupCriterion.setCriterion(emptyNode);

// Create AdGroupCriterionOperation.
AdGroupCriterionOperation emptyOperation = new 
AdGroupCriterionOperation();
emptyOperation.setOperand(emptyAdGroupCriterion);
emptyOperation.setOperator(Operator.ADD);

// Create BiddableAdGroupCriterion.
BiddableAdGroupCriterion biddableAdGroupCriterion = new 
BiddableAdGroupCriterion();
biddableAdGroupCriterion.setAdGroupId(adGroup.getId());
biddableAdGroupCriterion.setCriterion(rootPartition);

// Create AdGroupCriterionOperation.
AdGroupCriterionOperation rootOperation = new 
AdGroupCriterionOperation();
rootOperation.setOperand(biddableAdGroupCriterion);
rootOperation.setOperator(Operator.ADD);

// Add to list.
adGroupCriterionOperations.add(productOperation);
adGroupCriterionOperations.add(emptyOperation);
adGroupCriterionOperations.add(rootOperation);
});
return adGroupCriterionOperations;
}



Best regards


четверг, 28 июня 2018 г., 11:43:51 UTC+3 пользователь Dannison Yao (AdWords 
API Team) написал:
>
> 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 encountering is the 
> PRODUCT_PARTITION_SUBDIVISION_REQUIRES_OTHERS_CASE 
> 

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 encountering is the 
PRODUCT_PARTITION_SUBDIVISION_REQUIRES_OTHERS_CASE 

 error 
which is encountered when your subdivision does not have an "others" case. 
Upon investigation of your code, after you have created your root 
subdivision, you immediately added it on your BiddableAdGroupCriterion. 
This is the reason you are encountering the error, you should associate 
your ProductPartition *Root* to your "Other" case first before adding it in 
your BiddableAdGroupCriterion.

Let me know how this goes.

Regards,
Dannison
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/50143e40-f0e2-4bfc-974e-2c7cc72ed793%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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  INFO 23531 --- [pool-2-thread-1] 
d.p.m.a.service.service.GroupService :   Operation [0] - SUCCESS
2018-06-27 13:39:59.625  INFO 23531 --- [pool-2-thread-1] 
d.p.m.a.service.service.GroupService :   Operation [1] - FAILURE
2018-06-27 13:39:59.625 ERROR 23531 --- [pool-2-thread-1] 
d.p.m.a.service.service.GroupService :   Processing error : 
errorType=AdGroupCriterionError, 
trigger=ProductPartition{id=TempCriterionId{id=1}, bidSimulatorStatus=null, 
partitionType=SUBDIVISION, parentCriterionId=null, productGroup=null, 
productGroupObsoleteStatus=null, caseValue=null, decisionPath=[], 
salesCountry=null, merchantId=null, hasPromotedSuggestion=null}, 
errorString=AdGroupCriterionError.PRODUCT_PARTITION_SUBDIVISION_REQUIRES_OTHERS_CASE,
 
fieldPath=operations[1].operand
2018-06-27 13:39:59.625  INFO 23531 --- [pool-2-thread-1] 
d.p.m.a.service.service.GroupService : Sending group results 
GroupResult(pdid=ProductPartition{id=TempCriterionId{id=1}, 
bidSimulatorStatus=null, partitionType=SUBDIVISION, parentCriterionId=null, 
productGroup=null, productGroupObsoleteStatus=null, caseValue=null, 
decisionPath=[], salesCountry=null, merchantId=null, 
hasPromotedSuggestion=null}, status=FAIL)
2018-06-27 13:39:59.630  INFO 23531 --- [pool-2-thread-1] 
o.s.i.codec.kryo.CompositeKryoRegistrar  : registering [40, java.io.File] 
with serializer org.springframework.integration.codec.kryo.FileSerializer
2018-06-27 13:39:59.651  INFO 23531 --- [pool-2-thread-1] 
d.p.m.a.service.service.GroupService :   Operation [2] - FAILURE
2018-06-27 13:39:59.651 ERROR 23531 --- [pool-2-thread-1] 
d.p.m.a.service.service.GroupService :   Processing error : 
errorType=RequiredError, trigger=, errorString=RequiredError.REQUIRED, 
fieldPath=operations[2].operand.biddingStrategyConfiguration
2018-06-27 13:39:59.651 ERROR 23531 --- [pool-2-thread-1] 
d.p.m.a.service.service.GroupService :   Processing error : 
errorType=AdGroupCriterionError, 
trigger=ProductPartition{id=TempCriterionId{id=1}, bidSimulatorStatus=null, 
partitionType=SUBDIVISION, parentCriterionId=null, productGroup=null, 
productGroupObsoleteStatus=null, caseValue=null, decisionPath=[], 
salesCountry=null, merchantId=null, hasPromotedSuggestion=null}, 
errorString=AdGroupCriterionError.PRODUCT_PARTITION_SUBDIVISION_REQUIRES_OTHERS_CASE,
 
fieldPath=operations[2].operand
2018-06-27 13:39:59.651  INFO 23531 --- [pool-2-thread-1] 
d.p.m.a.service.service.GroupService : Sending group results 
GroupResult(pdid=ProductPartition{id=TempCriterionId{id=1}, 
bidSimulatorStatus=null, partitionType=SUBDIVISION, parentCriterionId=null, 
productGroup=null, productGroupObsoleteStatus=null, caseValue=null, 
decisionPath=[], salesCountry=null, merchantId=null, 
hasPromotedSuggestion=null}, status=FAIL)
2018-06-27 13:39:59.651  INFO 23531 --- [pool-2-thread-1] 
d.p.m.a.service.service.GroupService :   Operation [3] - FAILURE
2018-06-27 13:39:59.651 ERROR 23531 --- [pool-2-thread-1] 
d.p.m.a.service.service.GroupService :   Processing error : 
errorType=RequiredError, trigger=, errorString=RequiredError.REQUIRED, 
fieldPath=operations[3].operand.biddingStrategyConfiguration
2018-06-27 13:39:59.651 ERROR 23531 --- [pool-2-thread-1] 
d.p.m.a.service.service.GroupService :   Processing error : 
errorType=AdGroupCriterionError, 
trigger=ProductPartition{id=TempCriterionId{id=1}, bidSimulatorStatus=null, 
partitionType=SUBDIVISION, parentCriterionId=null, productGroup=null, 
productGroupObsoleteStatus=null, caseValue=null, decisionPath=[], 
salesCountry=null, merchantId=null, hasPromotedSuggestion=null}, 
errorString=AdGroupCriterionError.PRODUCT_PARTITION_SUBDIVISION_REQUIRES_OTHERS_CASE,
 
fieldPath=operations[3].operand
2018-06-27 13:39:59.651  INFO 23531 --- [pool-2-thread-1] 
d.p.m.a.service.service.GroupService : Sending group results 
GroupResult(pdid=ProductPartition{id=TempCriterionId{id=1}, 
bidSimulatorStatus=null, partitionType=SUBDIVISION, parentCriterionId=null, 
productGroup=null, productGroupObsoleteStatus=null, caseValue=null, 
decisionPath=[], salesCountry=null, merchantId=null, 
hasPromotedSuggestion=null}, status=FAIL)


It seems like this 3 Partitions not linked beetwen each others.

My code:
/**
 * Create Product Partition Operations for provided AdGroupOperations
 *
 * @param adGroupOperations
 * @return
 */
private List 
buildPartitions(List adGroupOperations) {
List adGroupCriterionOperations = new 
LinkedList<>();
adGroupOperations.forEach(adGroupOperation -> {
AdGroup adGroup = adGroupOperation.getOperand();

if (AdGroupStatus.REMOVED.equals(adGroup.getStatus())) {

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 

 object. 
After this, you need to add the BiddableAdGroupCriterion object to an 
AdGroupCriterionOperation 

 object. 
Refer to the sample Java code below for reference.

 // Create AdGroupCriterionOperation.
ProductPartition rootPartition = new ProductPartition();
rootPartition.setPartitionType(ProductPartitionType.SUBDIVISION);

// Create BiddableAdGroupCriterion.
BiddableAdGroupCriterion biddableAdGroupCriterion = new 
BiddableAdGroupCriterion();
biddableAdGroupCriterion.setAdGroupId(newAdGroupId);
biddableAdGroupCriterion.setCriterion(productPartition);

// Create AdGroupCriterionOperation.
AdGroupCriterionOperation operation = new 
AdGroupCriterionOperation();
operation.setOperand(biddableAdGroupCriterion);
operation.setOperator(Operator.ADD);

// Add to list.
adGroupCriteriaOperations.add(operation);

You can follow the guide 

 provided 
(buildAdGroupCriterionOperations() method) on how to add adgroup criterion 
to a BatchJobService.

Regards,
Dannison
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d279e2dc-6d11-4e1f-9b12-084b9a2e8d2e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 operation.
AdGroupCriterionOperation criterionOperation = new 
AdGroupCriterionOperation();
AdGroupCriterion adGroupCriterion = new AdGroupCriterion();
adGroupCriterion.setAdGroupId(adGroup.getId());

// There should be adding partitions, It hink so. But how??

criterionOperation.setOperator(Operator.ADD);
criterionOperation.setOperand(adGroupCriterion);

вторник, 26 июня 2018 г., 10:39:21 UTC+3 пользователь Dannison Yao (AdWords 
API Team) написал:
>
> 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 partition tree. You can then specify a ProductPartition 
> root and your partition nodes as stated here 
>  
> and 
> pass them to the AdGroupCriterionOperation 
> 
>  before 
> ultimately passing it to the BatchJobService itself.
>
> You may note that you can pass multiple operations and the BatchJobService 
> will handle all these operations in a single request.
>
> Regards,
> Dannison
> AdWords API Team
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4671aabb-605f-484b-8845-ad3174fd90b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 partition tree. You can then specify a ProductPartition 
root and your partition nodes as stated here 
 
and 
pass them to the AdGroupCriterionOperation 

 before 
ultimately passing it to the BatchJobService itself.

You may note that you can pass multiple operations and the BatchJobService 
will handle all these operations in a single request.

Regards,
Dannison
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c7256195-bfc7-4c9d-8650-61092dd18630%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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:
https://developers.google.com/adwords/api/docs/samples/php/shopping-campaigns

$operation = ProductPartitions::createAddOperation($criterion);


So, my questions is:
How can I create new Partitions or PartitionTree via Java SDK ( without 
sending requests to API ) and put it to Operations (which will be placed to 
batchJob).

For example:
ProductPartition rootPartition = new ProductPartition();
rootPartition.setPartitionType(ProductPartitionType.SUBDIVISION);
// There Should be some code to create operations !!!


Thanks

понедельник, 25 июня 2018 г., 10:41:23 UTC+3 пользователь Dannison Yao 
(AdWords API Team) написал:
>
> 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 
> 
>  is 
> through the usage of the BatchJobService.
>
> Now, if you are encountering any issues or your batch operations are not 
> getting pushed through, could you provide your clientCustomerId and the 
> batch job IDs so our team could further investigate on this? You may reply 
> to me via the *Reply privately to author*.
>
> Regards,
> Dannison
> AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/7916c037--48aa-a25a-d358e899ca0d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 

 is 
through the usage of the BatchJobService.

Now, if you are encountering any issues or your batch operations are not 
getting pushed through, could you provide your clientCustomerId and the 
batch job IDs so our team could further investigate on this? You may reply 
to me via the *Reply privately to author*.

Regards,
Dannison
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f93b75fb-ee38-41c1-840f-876e9d8379cc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 issue is:
When I try to create bactch job operations 
*ProductPartitionTree.createAdGroupTree* send request to API. It generate a 
lot of requests and take a lot of time.

I thinks that there is some other way to prepare operations for creating 
new Partition tree. Without sending request for each operation. 

Thanks.


пятница, 22 июня 2018 г., 11:50:27 UTC+3 пользователь Dannison Yao (AdWords 
API Team) написал:
>
> 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
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1775547f-1ba6-4648-a931-205f3ecdee6b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3084b186-e233-4713-b760-7f1ede918dc7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 
made: Service: AdGroupCriterionService Method: get clientCustomerId: 
XXX-XXX- URL: 
https://adwords.google.com/api/adwords/cm/v201806/AdGroupCriterionService 
Request ID: 00056f250bff1d980a37ad11c90e5b30 ResponseTime(ms)
: 243 OperationsCount: 1 IsFault: false FaultMessage: null 
(RemoteCallLoggerDelegate.java:146)#logRequestSummary

I t need to generate batch job with about 1 partitions creatins. So, I 
have this issue:
It takes too long time. 5000 partitions trees creates about 40min. And it 
finished with limits error. 
At prod account I have standart access, but too long time for creation is 
critical.

Maybe there is some other way?
I need to create new Ad Groups and Partitions with Product ID Dimension.

Thanks



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/005c4fc6-b0c3-4ddc-86af-c1a67e97d70d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.