The AdGroupAdService<https://developers.google.com/adwords/api/docs/reference/v201306/AdGroupAdService>"get" operation will return "ad content" such as Headline, Description1, Description2, and so forth. The "id" field of Ad (and the various subclasses such as Text Ad, Mobile Ad, etc.) is a "selectable" field so pass in a Selector<https://developers.google.com/adwords/api/docs/reference/v201306/AdGroupAdService.Selector>with a Predicate of "id EQUALS <id of ad you want to return>".
Now, the above is just my best guess but since the id field of "Ad" says it's selectable, and there's a different field called AdGroupId that is also selectable, I think that the above will work to return an ad based on it's id (as opposed to returning it based on AdGroupId). Hope this helps. On Sunday, September 1, 2013 1:55:42 AM UTC-5, Joan Elaydi wrote: > > What is the function and class used in Adwords API that retrieves the ad > Content by ID not by adGroup? > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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.
