Hi Ursula,
I apologize for not making this clear earlier, but the string value is
the name of the subclass.
<targets>
<Target.Type>AdScheduleTarget</Target.Type>
<dayOfWeek>MONDAY</dayOfWeek>
<startHour>0</startHour>
<startMinute>ZERO</startMinute>
<endHour>0</endHour>
<endMinute>THIRTY</endMinute>
<bidMultiplier>1.0</bidMultiplier>
</targets>
Best,
- Eric
On Nov 4, 9:26 am, Ursula <[email protected]> wrote:
> Hi,
>
> I wanted to know what the possible string values are for the property
> TargetList.Type. I don't want to loop through the results and have
> to do an "instance of" on each item. I would prefer to check that
> string. Can you provide me with the string values?
>
> Thanks,
> Ursula Kellmann
>
> On Nov 3, 2:24 pm, AdWords API Advisor <[email protected]>
> wrote:
>
>
>
> > Hi Ursula,
>
> > Unfortunately it isn't possible to limit the results to select types
> > of targets, all targets types are returned. The value of
> > targetListType is one of the subtypes, such as "AdScheduleTargetList",
> > etc. The full list is shown in the
> > Inheritance" box on this
> > page:http://code.google.com/apis/adwords/v2009/docs/reference/CampaignTarg....
>
> > Best,
> > - Eric Koleda, AdWords API Team
>
> > On Nov 3, 11:34 am, Ursula <[email protected]> wrote:
>
> > > I have a question about how the CampaignTargetService works. I’m
> > > looking for a way to filter for only a certain type of Campaign
> > > target. I only see a way to get all targets for a particular
> > > campaignID using the CampaignTargetSelector. Is there a way to just
> > > get one targetType? Also, can you provide me with the possible
> > > values for the String property targetListType of the Target List
> > > object please? I can’t seem to find them in the docs.
>
> > > Thanks,
> > > Ursula Kellmann
--
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.