How to Select Multiple Product Item by ProductOfferId Class
31 views
Skip to first unread message
faizan....@arpatech.com
unread,
Nov 19, 2018, 8:14:33 AM11/19/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AdWords API and Google Ads API Forum
Hello
I need to make a product of selected product. I have searched and found out that we can achieve it via ProductOfferId Partition Type Class but my question is how can we assign multiple items ?
Waiting for your answer
Thank you
Teja Makani
unread,
Nov 19, 2018, 3:08:18 PM11/19/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AdWords API and Google Ads API Forum
Hello Faizan,
You could create product partitions via AdWords API using AdGroupCriterionService by creating a ProductPartitionTree as shown in this AddProductPartitionTree.java example, code samples in other languages can be found here. To create a product partition based on the offer id, you will need to use the ProductOfferId as product dimension. If your question is different please elaborate.
Regards, Sai Teja, AdWords API Team.
faizan....@arpatech.com
unread,
Nov 19, 2018, 11:50:09 PM11/19/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AdWords API and Google Ads API Forum
Hello Teja
I Understand the use of ProductPartitionTree and AdGroupCriterionService, I have also successfully created a product based on product dimension but
My Question is I need to select multiple Item ids from ProductOfferId as product dimension
how can i do that ?
Thank you
Teja Makani
unread,
Nov 20, 2018, 2:51:36 PM11/20/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AdWords API and Google Ads API Forum
Hello Faizan,
You can create product dimensions only based on the types mentioned here. Please note the ProductOfferId is same as the Item id of the product. So to have a subdivision of item ids under the product dimension you could create product dimension based on the types other than the ProductOfferId for example ProductBrand, ProductType or ProductBiddingCategory etc. You could also post your question on the Advertisers community forum the product specialists there might have more information on this.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AdWords API and Google Ads API Forum
Hi Teja
Sorry i am very confused here.
can you please explain how can i select multiple product by ID and make a separate UNIT.
can ProductOfferId product dimension is the one which can help.
Thanks alot
Peter Oliquino (AdWords API Team)
unread,
Nov 22, 2018, 5:33:34 AM11/22/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AdWords API and Google Ads API Forum
Hello Faizan,
Allow me to provide support as Sai is currently OOO. You can use the Value field of the ProductOfferId. Let me know if this is what you're looking for.
You may also note that multiple Product IDs will only be possible if you create multiple objects of ProductOfferid using the AdGroupCriterionService.mutate() method.