How do I add inventory filter to a shopping campaign using Google Adwords API

287 views
Skip to first unread message

Peter Robles

unread,
Sep 13, 2016, 3:33:52 PM9/13/16
to AdWords API Forum
Hi

I'd like to add an inventory filter at campaign level to restrict products available for the campaign.
The idea is just to make available products with a certain value on custom_label_1

I can't find the way to do it via AdWords API.. is it related to ProductPartion? If so, are there any examples about how to use it?

Many thanks

PS: Using Java library v201607

Thanet Knack Praneenararat (AdWords API Team)

unread,
Sep 14, 2016, 4:59:48 AM9/14/16
to AdWords API Forum
Hello Peter,

Is the AddProductScope example what you're looking for?
It looks very like what you've stated.
Please let me know if it's different thing.

Cheers,
Thanet, AdWords API Team

Peter Robles

unread,
Sep 14, 2016, 6:13:15 AM9/14/16
to AdWords API Forum
Hi Thanet,

Yes that's exactly what I was looking for.
Thanks a lot.

I struggled a bit with naming eg ProductScope aka Inventory filter (likely not a perfect equivalence).
Also Google Shopping feeds can have custom attributes and the enum for custom labels is called CUSTOM_ATTRIBUTE_[0-4] !

Anyway I should read better the examples

Cheers

Thanet Knack Praneenararat (AdWords API Team)

unread,
Sep 14, 2016, 10:12:19 AM9/14/16
to AdWords API Forum
Hi Peter,

Glad that it helps. :-)
Feel free to ask questions next time.

Cheers,
Thanet, AdWords API Team
Reply all
Reply to author
Forward
0 new messages