AdWords API Re: how can a get a TargetList using a Campaign? (v2009)

2010-03-23 Thread Pete Lavetsky (AdWords API Guru)
CampaignTargetSelector selector = new CampaignTargetSelector();
selector.setCampaignIds( new long[] { campaignId } );

Pete

On Mar 22, 12:33 pm, BeeGeez brianpgra...@gmail.com wrote:
 I don't want to have to loop through every single TargetList to check
 if the campaign id matches (GetAllCampaignTarget.cs shows an example
 of this).  Are there any helper function in either v2009 or the client
 libraries that will return the TargetList associated with a given
 campaign?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


AdWords API Re: how can a get a TargetList using a Campaign? (v2009)

2010-03-23 Thread BeeGeez
Thanks!  :)

On Mar 23, 5:25 am, Pete Lavetsky (AdWords API Guru)
pete.lavet...@gmail.com wrote:
 CampaignTargetSelector selector = new CampaignTargetSelector();
 selector.setCampaignIds( new long[] { campaignId } );

 Pete

 On Mar 22, 12:33 pm, BeeGeez brianpgra...@gmail.com wrote:



  I don't want to have to loop through every single TargetList to check
  if the campaign id matches (GetAllCampaignTarget.cs shows an example
  of this).  Are there any helper function in either v2009 or the client
  libraries that will return the TargetList associated with a given
  campaign?- Hide quoted text -

 - Show quoted text -

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


AdWords API Re: how can a get a TargetList using a Campaign? (v2009)

2010-03-23 Thread BeeGeez
Unfortunately, I get this error:
'setCampaignIds' is not a member of
'com.google.api.adwords.v200909.CampaignTargetSelector'

On Mar 23, 8:46 am, BeeGeez brianpgra...@gmail.com wrote:
 Thanks!  :)

 On Mar 23, 5:25 am, Pete Lavetsky (AdWords API Guru)



 pete.lavet...@gmail.com wrote:
  CampaignTargetSelector selector = new CampaignTargetSelector();
  selector.setCampaignIds( new long[] { campaignId } );

  Pete

  On Mar 22, 12:33 pm, BeeGeez brianpgra...@gmail.com wrote:

   I don't want to have to loop through every single TargetList to check
   if the campaign id matches (GetAllCampaignTarget.cs shows an example
   of this).  Are there any helper function in either v2009 or the client
   libraries that will return the TargetList associated with a given
   campaign?- Hide quoted text -

  - Show quoted text -- Hide quoted text -

 - Show quoted text -

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


AdWords API Re: how can a get a TargetList using a Campaign? (v2009)

2010-03-23 Thread AdWords API Advisor
Hi,

That method exists on the CampaignTargetSelector:

  
http://code.google.com/p/google-api-adwords-java/source/browse/trunk/src/com/google/api/adwords/v200909/cm/CampaignTargetSelector.java#54

Best,
- Eric Koleda, AdWords API Team

On Mar 23, 11:53 am, BeeGeez brianpgra...@gmail.com wrote:
 Unfortunately, I get this error:
 'setCampaignIds' is not a member of
 'com.google.api.adwords.v200909.CampaignTargetSelector'

 On Mar 23, 8:46 am, BeeGeez brianpgra...@gmail.com wrote:



  Thanks!  :)

  On Mar 23, 5:25 am, Pete Lavetsky (AdWords API Guru)

  pete.lavet...@gmail.com wrote:
   CampaignTargetSelector selector = new CampaignTargetSelector();
   selector.setCampaignIds( new long[] { campaignId } );

   Pete

   On Mar 22, 12:33 pm, BeeGeez brianpgra...@gmail.com wrote:

I don't want to have to loop through every single TargetList to check
if the campaign id matches (GetAllCampaignTarget.cs shows an example
of this).  Are there any helper function in either v2009 or the client
libraries that will return the TargetList associated with a given
campaign?- Hide quoted text -

   - Show quoted text -- Hide quoted text -

  - Show quoted text -

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


AdWords API Re: how can a get a TargetList using a Campaign? (v2009)

2010-03-23 Thread BeeGeez
Sounds like an issue with the client library then.  The
CampaignTargetSelector class in the library doesn't have that
function.

On Mar 23, 9:09 am, AdWords API Advisor adwordsapiadvi...@google.com
wrote:
 Hi,

 That method exists on the CampaignTargetSelector:

  http://code.google.com/p/google-api-adwords-java/source/browse/trunk/...

 Best,
 - Eric Koleda, AdWords API Team

 On Mar 23, 11:53 am, BeeGeez brianpgra...@gmail.com wrote:



  Unfortunately, I get this error:
  'setCampaignIds' is not a member of
  'com.google.api.adwords.v200909.CampaignTargetSelector'

  On Mar 23, 8:46 am, BeeGeez brianpgra...@gmail.com wrote:

   Thanks!  :)

   On Mar 23, 5:25 am, Pete Lavetsky (AdWords API Guru)

   pete.lavet...@gmail.com wrote:
CampaignTargetSelector selector = new CampaignTargetSelector();
selector.setCampaignIds( new long[] { campaignId } );

Pete

On Mar 22, 12:33 pm, BeeGeez brianpgra...@gmail.com wrote:

 I don't want to have to loop through every single TargetList to check
 if the campaign id matches (GetAllCampaignTarget.cs shows an example
 of this).  Are there any helper function in either v2009 or the client
 libraries that will return the TargetList associated with a given
 campaign?- Hide quoted text -

- Show quoted text -- Hide quoted text -

   - Show quoted text -- Hide quoted text -

 - Show quoted text -

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


AdWords API Re: how can a get a TargetList using a Campaign? (v2009)

2010-03-23 Thread AdWords API Advisor
Hi,

The link I provided above was to the client library.  Have you tried
upgrading to the latest version?

Best,
- Eric

On Mar 23, 12:13 pm, BeeGeez brianpgra...@gmail.com wrote:
 Sounds like an issue with the client library then.  The
 CampaignTargetSelector class in the library doesn't have that
 function.

 On Mar 23, 9:09 am, AdWords API Advisor adwordsapiadvi...@google.com
 wrote:



  Hi,

  That method exists on the CampaignTargetSelector:

   http://code.google.com/p/google-api-adwords-java/source/browse/trunk/...

  Best,
  - Eric Koleda, AdWords API Team

  On Mar 23, 11:53 am, BeeGeez brianpgra...@gmail.com wrote:

   Unfortunately, I get this error:
   'setCampaignIds' is not a member of
   'com.google.api.adwords.v200909.CampaignTargetSelector'

   On Mar 23, 8:46 am, BeeGeez brianpgra...@gmail.com wrote:

Thanks!  :)

On Mar 23, 5:25 am, Pete Lavetsky (AdWords API Guru)

pete.lavet...@gmail.com wrote:
 CampaignTargetSelector selector = new CampaignTargetSelector();
 selector.setCampaignIds( new long[] { campaignId } );

 Pete

 On Mar 22, 12:33 pm, BeeGeez brianpgra...@gmail.com wrote:

  I don't want to have to loop through every single TargetList to 
  check
  if the campaign id matches (GetAllCampaignTarget.cs shows an example
  of this).  Are there any helper function in either v2009 or the 
  client
  libraries that will return the TargetList associated with a given
  campaign?- Hide quoted text -

 - Show quoted text -- Hide quoted text -

- Show quoted text -- Hide quoted text -

  - Show quoted text -

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


AdWords API Re: how can a get a TargetList using a Campaign? (v2009)

2010-03-23 Thread BeeGeez
Yes, I got the latest .NET one.  It's not there.

On Mar 23, 10:35 am, AdWords API Advisor
adwordsapiadvi...@google.com wrote:
 Hi,

 The link I provided above was to the client library.  Have you tried
 upgrading to the latest version?

 Best,
 - Eric

 On Mar 23, 12:13 pm, BeeGeez brianpgra...@gmail.com wrote:



  Sounds like an issue with the client library then.  The
  CampaignTargetSelector class in the library doesn't have that
  function.

  On Mar 23, 9:09 am, AdWords API Advisor adwordsapiadvi...@google.com
  wrote:

   Hi,

   That method exists on the CampaignTargetSelector:

    http://code.google.com/p/google-api-adwords-java/source/browse/trunk/...

   Best,
   - Eric Koleda, AdWords API Team

   On Mar 23, 11:53 am, BeeGeez brianpgra...@gmail.com wrote:

Unfortunately, I get this error:
'setCampaignIds' is not a member of
'com.google.api.adwords.v200909.CampaignTargetSelector'

On Mar 23, 8:46 am, BeeGeez brianpgra...@gmail.com wrote:

 Thanks!  :)

 On Mar 23, 5:25 am, Pete Lavetsky (AdWords API Guru)

 pete.lavet...@gmail.com wrote:
  CampaignTargetSelector selector = new CampaignTargetSelector();
  selector.setCampaignIds( new long[] { campaignId } );

  Pete

  On Mar 22, 12:33 pm, BeeGeez brianpgra...@gmail.com wrote:

   I don't want to have to loop through every single TargetList to 
   check
   if the campaign id matches (GetAllCampaignTarget.cs shows an 
   example
   of this).  Are there any helper function in either v2009 or the 
   client
   libraries that will return the TargetList associated with a given
   campaign?- Hide quoted text -

  - Show quoted text -- Hide quoted text -

 - Show quoted text -- Hide quoted text -

   - Show quoted text -- Hide quoted text -

 - Show quoted text -

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


AdWords API Re: how can a get a TargetList using a Campaign? (v2009)

2010-03-23 Thread Peer Jakobsen (AdWords API Guru)
I think setCampaignIds is some java way of setting properties. In .NET
just do like this:

CampaignTargetSelector campaignTargetSelector = new
CampaignTargetSelector();
campaignTargetSelector.campaignIds =
idList.ToArray();

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


AdWords API Re: how can a get a TargetList using a Campaign? (v2009)

2010-03-23 Thread BeeGeez
Thanks.  Yeah...I saw that property when I couldn't find
setcampaignIds().

On Mar 23, 11:15 am, Peer Jakobsen (AdWords API Guru)
peer.jakob...@gmail.com wrote:
 I think setCampaignIds is some java way of setting properties. In .NET
 just do like this:

                 CampaignTargetSelector campaignTargetSelector = new
 CampaignTargetSelector();
                 campaignTargetSelector.campaignIds =
 idList.ToArray();

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.