Hi Zweitze,

For retrieving Only 'SiteLinks'  we need set predicate in which field as
'AdExtensionType' and value as 'SITELINKS_EXTENSION' for operator 'EQUALS'
and set this predicate to selector and by passing this selector object to
get method on 'CampaignAdExtension Service' you will able to get only
SiteLinks.


oral algorithm:
Predicate extnpredicate = new Predicate();
extnpredicate.field = "AdExtensionType",
extnpredicate.operator = PredicateOperator.EQUALS,
extnpredicate.values = {"SITELINKS_EXTENSION"}
Selector sel = new Selector();
sel.predicate =  extnpredicate;



On Tue, Oct 30, 2012 at 1:26 AM, Zweitze <zwei...@gmail.com> wrote:

> Hello,
>
> I want to retrieve all site links in a certain account, but nothing else.
> How do I set up the selector? I cannot filter on AdExtension.Type, nor on
> any of the sitelink fields.
>
> Note: when I don't try to distinguish for sitelinks, I get well over 5000
> results for an account, with only a few dozen sitelinks. That's not very
> efficient, and slow too. Plus, I probably need to implement paging in case
> some bigger account has too many ad extensions.
>
> So, I prefer to restrict the results to site links only. How do I do this?
> --
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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

Reply via email to