Hello,

I'm on adwords API document, it's a nightmare you can't find anywhere witch 
predicate can be used with MediaService (or other service).

My problem is simple : i have an ImageAd, i want to retrieve the MediaId. I 
use MediaService. 
Assume _AdID is the id of ImageAd.
Wiitch Predicate.field i must use ? i try ID, Id , id, ImageAd ...


Selector _Selector = new Selector ();

Predicate _Predicate = new Predicate ();
_Predicate.field = "id"; ????????????????????????
_Predicate.@operator = PredicateOperator.EQUALS;
_Predicate.operatorSpecified = true;
_Predicate.values = new string[] { _AdID.ToString () };
_Selector.predicates = new Predicate[] { _Predicate };

_Selector.fields = new string[] { "MediaId" };

MediaPage _MediaPage = _MediaService.get (_Selector);


Thk

Arnaud

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to