Hi Maciej, DynamicSearchAd is a beta feature, so your code will work only if you are whitelisted for the same. See https://developers.google.com/adwords/api/docs/reference/latest/AdGroupAdService.DynamicSearchAd for details.
Cheers, Anash P. Oommen, AdWords API Advisor On Tuesday, February 5, 2013 4:51:29 PM UTC+5:30, Maciej Krajowski wrote: > > Hello, > > In the example here > https://code.google.com/p/google-api-adwords-php/source/browse/examples/v201209/BasicOperations/GetTextAds.phpit > is shown how to get TextAds via API [ php ]. > I thought that adding DynamicSearchAds will be as trivial as modifying > 54th line: > > $selector->predicates[] = new Predicate('AdType', 'IN', array('TEXT_AD', > 'DYNAMIC_SEARCH_AD')); > > however this does not work. I have a campaign that have only negative > keywords and DSA. Negative keywords are being downloaded without any issue, > however I get 0 ads. Any idea why? > > Cheers > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 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. For more options, visit https://groups.google.com/groups/opt_out.