CONTEXT.DEVICE Options

20 views
Skip to first unread message

an...@perfectstormmedia.com

unread,
Mar 14, 2018, 5:05:53 AM3/14/18
to AdWords API Forum
Hello,

To assign Callout Feed Items to campaign we have used MatchingFunctionString like
'AND( IN(FEED_ITEM_ID, {%s}), EQUALS(CONTEXT.DEVICE, "Mobile"))',

It seems we can pass either "Mobile" or "Desktop" in CONTEXT.DEVICE. What value need to use to set for "All Devices"?
Simply removing CONTEXT.DEVICE from above throws error so that could not be the way.

Thanks,

an...@perfectstormmedia.com

unread,
Mar 14, 2018, 5:10:03 AM3/14/18
to AdWords API Forum
Hello,

It seems we need to pass either "Desktop" or "Mobile" in CONTEXT.DEVICE

'AND( IN(FEED_ITEM_ID, {%s}), EQUALS(CONTEXT.DEVICE, "Mobile"))',

What option we can use to set if for "All Devices"?


Thanks,

Dhanya Sundararaju (AdWords API Team)

unread,
Mar 14, 2018, 1:07:03 PM3/14/18
to AdWords API Forum
Hi Anil,

The EQUALS(CONTEXT.DEVICE, "<value>") function type will limit display of specific ad extensions (placeholder types) to mobile or desktop users. If you do not want this limitation to apply, you can simply remove that function from your code and go with only the FEED_ITEM_ID function. Please refer this section of guide for better clarity.

Regards,
Dhanya, AdWords API Team
Reply all
Reply to author
Forward
0 new messages