RE: Add an OfferID to an existing partition

2019-05-13 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hello, I am Ejay's colleague responding on this thread as he is not available. Below is the response from Ejay. *"With regard to your question on how to product partition, you may refer to the AddProductPartitionTree

Re: Add an OfferID to an existing partition

2019-05-11 Thread TommyTek
Hi, not sure it's the same question. What is the private thread? thank you -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are

RE: Add an OfferID to an existing partition

2019-05-10 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hi Tommy, Thank you for your reply. It seems that your latest question is the same with the one you've sent in your private reply. Please check my answer to this question on the private thread. Regards, Ejay Google Ads API Team =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on

Re: Add an OfferID to an existing partition

2019-05-09 Thread TommyTek
Hi, is there a way to filter criterions in order to pickup only the one with ParentCriterionId = NULL? // Create predicates. $selector->setPredicates([ new Predicate('AdGroupId', 'EQUALS', array($adGroupId)),// <== ok new Predicate('CriterionUse', 'EQUALS',

RE: Add an OfferID to an existing partition

2019-05-09 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hi, I'm afraid that there is no readily available code for this field. You may try to implement the field that I previously provided and you may return back if you encountered any issues/errors. Regards, Ejay Google Ads API Team =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on

Re: Add an OfferID to an existing partition

2019-05-09 Thread TommyTek
Hi Ejay, thank you for your help. Something is still cloudy in my mind with product partitions :/ Would it be possible for you to provide the PHP code to get such info starting from the adgroup ID? Later I'll have to discover how to delete a ProductOfferId too from the partition, I hope to

RE: Add an OfferID to an existing partition

2019-05-09 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hi Tommy, Thanks for reaching out. With regard to your question, you may use the get() method of AdGroupCriterionService