Hi GDZ, You can make your upgraded location extensions only apply to mobile devices by modifying the CustomerFeed <https://developers.google.com/adwords/api/docs/reference/v201409/CustomerFeedService.CustomerFeed>'s matching function to:
<matchingFunction> <operator>EQUALS</operator> <lhsOperand xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201409" xsi:type="ns2:RequestContextOperand"> <contextType>DEVICE_PLATFORM</contextType> </lhsOperand> <rhsOperand xmlns:ns3="https://adwords.google.com/api/adwords/cm/v201409" xsi:type="ns3:ConstantOperand"> <type>STRING</type> <stringValue>Mobile</stringValue> </rhsOperand> </matchingFunction> In other words, replace the *Identity* function with a function where: - *lhsOperand* = a RequestContextOperand <https://developers.google.com/adwords/api/docs/reference/v201409/CustomerFeedService.RequestContextOperand> with *contextType* of *DEVICE_PLATFORM* - *operator* = *EQUALS* - *rhsOperand* = a ConstantOperand <https://developers.google.com/adwords/api/docs/reference/v201409/CustomerFeedService.ConstantOperand> with *type* of *STRING* and *stringValue* of *Mobile* I'm a Java guy, so here's how I did it in Java. Python should be very similar. RequestContextOperand platformRequestContextOperand = new RequestContextOperand(); platformRequestContextOperand.setContextType(RequestContextOperandContextType.DEVICE_PLATFORM); ConstantOperand platformOperand = new ConstantOperand(); platformOperand.setStringValue("Mobile"); platformOperand.setType(ConstantOperandConstantType.STRING); Function platformFunction = new Function(); platformFunction.setLhsOperand(new FunctionArgumentOperand[] {platformRequestContextOperand}); platformFunction.setOperator(FunctionOperator.EQUALS); platformFunction.setRhsOperand(new FunctionArgumentOperand[] {platformOperand}); customerFeed.setMatchingFunction(platformFunction); Once that CustomerFeed is added, you'll see *(Mobile devices only)* under *Account extension* on the *Ad extensions* tab in the AdWords UI. Let me know if that doesn't clear things up. Cheers, Josh, AdWords API Team On Friday, October 31, 2014 4:12:40 PM UTC-4, GDZ wrote: > > Hello! > > It's very well described how to apply DEVICE_PLATFORM at the campaign feed > level here: > https://github.com/googleads/googleads-python-legacy-lib/blob/master/examples/adspygoogle/adwords/v201409/advanced_operations/add_site_links.py > > Although same doesn't work at the Customer Feed level (i.e. if for example > I want my account-level upgraded location extension target only Mobile). > > Possible? > > Thank you, > GDZ > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords 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 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 http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/2e8fda4d-1bf0-4020-8f89-92200c17cf5b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.