Re: Want to synchronize the stats of single keyword

2011-06-29 Thread Eric Koleda
Hi Sanju,

Unfortunately you must explicitly specify every field you wish to include in 
the response.

Best,
- Eric Koleda, AdWords API Team

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


Re: Want to synchronize the stats of single keyword

2011-06-26 Thread Sanju
Thnx Danial for ur information.But I need to get all the fields ,so I
dont want to set each field for selector.Is there any code to set all
the fields by not defining each and every field.i.e., i need to get
all the fields not only what I specified.

On Jun 24, 8:46 pm, Danial Klimkin  wrote:
> Hello Sanju,
>
> As the error states you need to specify the list of fields you would like to
> get back, for example:
>    selector.setFields(new String[] {"Id", "AdGroupId"});
>
> Check out the example for more details:
>
> http://code.google.com/p/google-api-adwords-java/source/browse/trunk/...
>
> The list of possible fields could be found here:
>
>  http://code.google.com/apis/adwords/docs/appendix/selectorfields.html...
>
> -Danial, AdWords API Team.

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


Re: Want to synchronize the stats of single keyword

2011-06-24 Thread Danial Klimkin
Hello Sanju,


As the error states you need to specify the list of fields you would like to 
get back, for example:
   selector.setFields(new String[] {"Id", "AdGroupId"});

Check out the example for more details:

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

The list of possible fields could be found here:

  
http://code.google.com/apis/adwords/docs/appendix/selectorfields.html#v201101-AdGroupCriterionService


-Danial, AdWords API Team.

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


Want to synchronize the stats of single keyword

2011-06-22 Thread Sanju
my code follws here

Selector selector = new Selector();
String a[]=new String[1];
a[0]=String.valueOf(gleAdGrpId);
String b[]=new String[seKeysIds.length];
for(int i=0;ihttp://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