During adding site links to campaign feed, I would like to set device 
preference for mobile to be checked. How can I do it with ad words API ?


*platformOperand.stringValue = "Mobile";//it also can be set for "Desktop"*


I tried to do it like this:

    ConstantOperand platformOperand = new ConstantOperand();    
platformOperand.stringValue = "Mobile";//it also can be set for "Desktop"    
platformOperand.type = ConstantOperandConstantType.STRING;
    Function platformFunction = new Function();    platformFunction.lhsOperand 
= new FunctionArgumentOperand[] {     platformRequestContextOperand };    
platformFunction.@operator = FunctionOperator.EQUALS;    
platformFunction.rhsOperand = new FunctionArgumentOperand[] {     
platformOperand };


and then it combined in function with links ids from google service and 
mutated for campaign feed service. No exception and link added but when I 
enter to link edit, "Mobile" option remain unmarked. 

Please advise.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
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/e0b0d048-ce0a-4911-b765-54b809a7180f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to