How to Set title to Spread Sheet?

2017-07-13 Thread Eshwar Chettri
Hi,
I want to know how can I set Title to spread sheet in adwords script.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d972e22a-a909-4963-93a5-9e722ae4ab95%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to give title to sheet using script?

2017-07-13 Thread Eshwar Chettri
Hi, I want to know how can i provide title to Sheet in both Mcc and Non mcc 
accounts.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b538226b-38dc-4371-9f12-4606f59a70a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Ad Id of removed ads

2017-03-14 Thread Eshwar Chettri
Error what I'am getting is
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
 faultSubcode: 
 faultString: [SelectorError.INVALID_PREDICATE_ENUM_VALUE @ 
serviceSelector; trigger:'REMOVED']
 faultActor: 
 faultNode: 
 faultDetail: 
{https://adwords.google.com/api/adwords/cm/v201605}ApiExceptionFault:[SelectorError.INVALID_PREDICATE_ENUM_VALUE
 
@ serviceSelector; 
trigger:'REMOVED']ApiExceptionhttp://www.w3.org/2001/XMLSchema-instance; 
xsi:type="SelectorError">serviceSelectorREMOVEDSelectorError.INVALID_PREDICATE_ENUM_VALUESelectorErrorINVALID_PREDICATE_ENUM_VALUE

[SelectorError.INVALID_PREDICATE_ENUM_VALUE @ serviceSelector; 
trigger:'REMOVED']
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at java.lang.Class.newInstance(Class.java:442)
at 
org.apache.axis.encoding.ser.BeanDeserializer.(BeanDeserializer.java:104)
at 
org.apache.axis.encoding.ser.BeanDeserializer.(BeanDeserializer.java:90)
at 
com.google.api.ads.adwords.axis.v201605.cm.ApiException.getDeserializer(ApiException.java:142)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)

On Tuesday, March 14, 2017 at 8:42:18 PM UTC+5:30, Eshwar Chettri wrote:
>
> Hi,
>can we get the ad ids of both existing and removed ads using 
> AdGroupAdService?
> I tried this but unable to get Ids of removed ads.
> Predicate idsPredicate = new Predicate();
> idsPredicate.setField("AdGroupId");
> idsPredicate.setOperator(PredicateOperator.IN);
> idsPredicate.setValues(new 
> String[]{String.valueOf(gleAdGrpId)});
> Predicate idsPredicate1 = new Predicate();
> idsPredicate1.setField("Status");
> idsPredicate1.setOperator(PredicateOperator.IN);
> idsPredicate1.setValues(new String[]{"ENABLED", "PAUSED", 
> "REMOVED"});
> selector.setFields(new String[]{"Id", "Status"});
> selector.setPredicates(new Predicate[]{idsPredicate, 
> idsPredicate1});
> selector.setFields(selectedFields);
>
>
> thanks,
> Eshwar.
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/7085f8d2-0ffc-4744-9a0a-2787e0ee7c88%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Ad Id of removed ads

2017-03-14 Thread Eshwar Chettri
Hi Vishal, 
  I want the adcopy id of both exciting and removed ads of one selected ad 
group. 

Thank you, 
Eshwar. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e739828b-65fb-48ad-9a0f-50c6b021b139%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Ad Id of removed ads

2017-03-14 Thread Eshwar Chettri
Hi Vishal,
 I want ad ids of both exciting and removed ads. 

Thank you, 
Eshwar

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/26f1d875-1516-48dc-9982-6e660583362e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Ad Id of removed ads

2017-03-14 Thread Eshwar Chettri
Hi,
   can we get the ad ids of both existing and removed ads using 
AdGroupAdService?
I tried this but unable to get Ids of removed ads.
Predicate idsPredicate = new Predicate();
idsPredicate.setField("AdGroupId");
idsPredicate.setOperator(PredicateOperator.IN);
idsPredicate.setValues(new 
String[]{String.valueOf(gleAdGrpId)});
Predicate idsPredicate1 = new Predicate();
idsPredicate1.setField("Status");
idsPredicate1.setOperator(PredicateOperator.IN);
idsPredicate1.setValues(new String[]{"ENABLED", "PAUSED", 
"REMOVED"});
selector.setFields(new String[]{"Id", "Status"});
selector.setPredicates(new Predicate[]{idsPredicate, 
idsPredicate1});
selector.setFields(selectedFields);


thanks,
Eshwar.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/954fa2a9-79d0-493b-b57e-baf527522e97%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: New campaign ids from change history

2017-03-13 Thread Eshwar Chettri
Hi Vishal,
  Thank you for response, You mean to say that we cannot get campaign ids 
of both existing and removed campaigns at a time. And we need to send 
separate request for existing and removed campaigns.
 Thanks,
Eswhar

On Wednesday, March 8, 2017 at 6:53:40 PM UTC+5:30, Eshwar Chettri wrote:
>
> Hi,
>
>   I want to know that how can i get campaign ids of newly added campaign 
> in adwords using API from change history.
>
> eshwar.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/60b6540c-8f85-4be7-b721-8a222ca0426a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: New campaign ids from change history

2017-03-13 Thread Eshwar Chettri
Hi Vishal,
 using CustomerSyncService 
<https://developers.google.com/adwords/api/docs/reference/v201702/CustomerSyncService>,
 
only the campaignIds of those campaigns which are enabled or paused are 
retriving, But i want all the campaiIds including campaignId of removed 
campaigns from adwords.   
  Thanks,
Eshwar

On Wednesday, March 8, 2017 at 6:53:40 PM UTC+5:30, Eshwar Chettri wrote:
>
> Hi,
>
>   I want to know that how can i get campaign ids of newly added campaign 
> in adwords using API from change history.
>
> eshwar.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1f265106-3058-4cf0-aef8-b1e3e89d3077%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to get information of only changed campaign from change history using CustomerSyncService?

2017-03-09 Thread Eshwar Chettri
Hi,
  I came across that using CustomerSyncService we get all the campaign Ids 
present in adwords then using CampaignChangeData it returns the changed 
field from changed history,I want to know how can we get only the campaign 
ids of changed campaign and newly added campaign from changed 
history.(instead of getting all the campaign Ids then filtering can we get 
only the Ids of those campaign which we changed or added newly and also the 
adgroups,keywords and adcopies )

Thanks & Regards,
  Eshwar.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e919ff3a-22b7-41b9-87b0-fb1370e49f1f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: New campaign ids from change history

2017-03-08 Thread Eshwar Chettri
Hi vishal,
  Can you please provide the reference code for getting the campaign Ids of 
newly added campaign in adwords and existing campaign changed .

Regards,
 Eshwar.

On Wednesday, March 8, 2017 at 6:53:40 PM UTC+5:30, Eshwar Chettri wrote:
>
> Hi,
>
>   I want to know that how can i get campaign ids of newly added campaign 
> in adwords using API from change history.
>
> eshwar.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/7293a8fb-a99e-47ec-9ca0-774691ba2c9f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


New campaign ids from change history

2017-03-08 Thread Eshwar Chettri
Hi,

  I want to know that how can i get campaign ids of newly added campaign in 
adwords using API from change history.

eshwar.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/35deb0be-9b5f-432f-8d58-d19179994e1b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to add more then one predicates in selector

2017-03-06 Thread Eshwar Chettri
Hi,
  I want to know hoe can i add Two predicate fields in selector. Below is 
the code how i tried but only one is getting set to selector.
 
Predicate idsPredicate = new Predicate("Id", 
PredicateOperator.IN, seIds);
Predicate idsPredicate1 = new Predicate("Status", 
PredicateOperator.IN,new String[]{"ENABLED","PAUSED","REMOVED"});
selector.setPredicates(new Predicate[]{idsPredicate1});
selector.setPredicates(new Predicate[]{idsPredicate});
selector.setFields(selectedFields);

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/9c4635b8-47bb-45c1-9b9d-4f236a9bc9a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Partial Synchronization Using aw-reporting

2017-02-14 Thread Eshwar Chettri
Hi,
  I have one question. Can we use campaignIds to get the details  those 
campaigns using aw-reporting? I'am trying to make partial synchronization 
where i can select the few campaigns.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c8b40113-5a8d-4f80-a9a1-ce1a30ae363f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


UnknownHostException

2016-12-07 Thread Eshwar Chettri
Hi, 

  I have migrated from v201607 to v201609, while integrating an account I'm 
getting the following exception.


GleCampaignInfo insertCampaignNetwrkTrgt  [PooledThread-1] INFO : Merging 
Google Campaign NetworkTarget started for Campaign: Cycle
AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode: 
 faultString: java.net.UnknownHostException: adwords.google.com
 faultActor: 
 faultNode: 
 faultDetail: 
{http://xml.apache.org/axis/}stackTrace:java.net.UnknownHostException: 
adwords.google.com
at 
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:656)
at sun.security.ssl.SSLSocketImpl.init(SSLSocketImpl.java:415)
at 
sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:88)
at 
org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:92)
at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)
at 
org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
at 
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at 
com.google.api.ads.adwords.axis.v201609.cm.CampaignCriterionServiceSoapBindingStub.get(CampaignCriterionServiceSoapBindingStub.java:1374)
at sun.reflect.GeneratedMethodAccessor291.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at 
com.google.api.ads.common.lib.soap.SoapClientHandler.invoke(SoapClientHandler.java:109)
at 
com.google.api.ads.common.lib.soap.axis.AxisHandler.invokeSoapCall(AxisHandler.java:248)
at 
com.google.api.ads.common.lib.soap.SoapServiceClient.callSoapClient(SoapServiceClient.java:62)
at 
com.google.api.ads.common.lib.soap.SoapServiceClient.invoke(SoapServiceClient.java:92)
at com.sun.proxy.$Proxy62.get(Unknown Source)
at 
com.netelixir.lxr.shp.adwords.GetAdwordsServices.getShpAdvSettings(GetAdwordsServices.java:200)
at 
com.netelixir.lxr.service.ProductScopeCol.getProductScope(ProductScopeCol.java:77)
at 
com.netelixir.api.google.GleCampaignCol.getMergeData(GleCampaignCol.java:672)
at 
com.netelixir.api.AccountSynchronization.getGoogleMergeDataFromXML(AccountSynchronization.java:338)
at 
com.netelixir.api.struts.AccountDumpThread.run(AccountDumpThread.java:134)
at 
com.netelixir.processhandler.ThreadPool$PooledThread.run(ThreadPool.java:201)

{http://xml.apache.org/axis/}hostname:localhost.localdomain

java.net.UnknownHostException: adwords.google.com
at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:154)
at 
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at 
com.google.api.ads.adwords.axis.v201609.cm.CampaignCriterionServiceSoapBindingStub.get(CampaignCriterionServiceSoapBindingStub.java:1374)
at sun.reflect.GeneratedMethodAccessor291.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at 
com.google.api.ads.common.lib.soap.SoapClientHandler.invoke(SoapClientHandler.java:109)
at 
com.google.api.ads.common.lib.soap.axis.AxisHandler.invokeSoapCall(AxisHandler.java:248)
at 
com.google.api.ads.common.lib.soap.SoapServiceClient.callSoapClient(SoapServiceClient.java:62)
at 
com.google.api.ads.common.lib.soap.SoapServiceClient.invoke(SoapServiceClient.java:92)
at com.sun.proxy.$Proxy62.get(Unknown Source)
at 
com.netelixir.lxr.shp.adwords.GetAdwordsServices.getShpAdvSettings(GetAdwordsServices.java:200)
at 
com.netelixir.lxr.service.ProductScopeCol.getProductScope(ProductScopeCol.java:77)
at 
com.netelixir.api.google.GleCampaignCol.getMergeData(GleCampaignCol.java:672)
at 

AdError.CANNOT_USE_AD_SUBCLASS_FOR_OPERATOR

2016-11-29 Thread Eshwar Chettri
Hi, 

According to reference not when ever we try to modify adcopy other than 
status we get AdError.CANNOT_USE_AD_SUBCLASS_FOR_OPERATOR .
but, I'am trying to change only status even then I'am getting same error. 
Can anyone tell me the reason.


thanks.
Eshwar

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/2ac4ffe5-2b03-4ebc-807a-710cf74a312d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ADGroupCriterionServices.

2016-11-18 Thread Eshwar Chettri
hi,
   I'am using AdGroupCriterionServices. So, I want to know that can I fetch 
the removed keywords from adwords using this particular service.

Below is the piece of code I'am using


selector.setFields(new String[]{"Id", 
"AdGroupId","Criteria","Status","KeywordMatchType","CpcBid","IsNegative","QualityScore",
//"CriteriaDestinationUrl",

"FirstPageCpc","SystemServingStatus","ApprovalStatus","FinalUrls","FinalMobileUrls","TrackingUrlTemplate","UrlCustomParameters"});

//adGrpCriPage = keySer.get(selector);
Object service = gleSer.getService(serviceId);
switch (serviceId) {
case GleServices.ADGROUP_CRITERION_SERVICE:
AdGroupCriterionPage adGrpCriPage = 
((AdGroupCriterionServiceInterface)service).get(selector);
return adGrpCriPage;
GleExceptionHandler handler = new 
GleExceptionHandler(gleSer, GleServices.ADGROUP_CRITERION_SERVICE);
adGrpCriPage = 
(AdGroupCriterionPage)handler.getPage(selector);
adGrpCriterions = adGrpCriPage.getEntries();
isChecked = 1;


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1203db79-5362-4b04-8671-55a97044a53c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


stringLengthError.TOO_LONG

2016-11-04 Thread Eshwar Chettri
Hi all,
 when I'am trying to add new campaign its showing an exception like 
stringLengthError.TOO_LONG


here is the code.

removeReadOnlyParameters(cmpOperation);
int operLength = cmpOperation.length;
int count = 0;
int operCount = 0;
CampaignOperation[] operation = new CampaignOperation[2000];
for (int k = 0; k < operLength; k++) {
operation[count] = cmpOperation[k];
count++;
operCount++;
if (count == 2000 || operCount == operLength) {
GleExceptionHandler handler = new 
GleExceptionHandler(gleSer, GleServices.CAMPAIGN_SERVICE);
CampaignReturnValue adGrpRetVal = (CampaignReturnValue) 
handler.mutateOperations(operation);
  public ListReturnValue mutate(Operation[]  operations) 
throws Exception{
ListReturnValue response = null;
try {
Object service = gleSer.getService(serviceId);
switch (serviceId) {
case GleServices.CAMPAIGN_SERVICE:
CampaignReturnValue cmpRes = 
((CampaignServiceInterface)service).mutate((CampaignOperation[])operations);
return cmpRes; }
   Campaign[] adCri = adGrpRetVal.getValue();
int length = adCri.length;
for (int p = 0; p < length; p++) {
al.add(adCri[p]);
}
count = 0;
operation = new CampaignOperation[2000];
}
}
return (Campaign[]) al.toArray(new Campaign[al.size()]);


 Exception is:

AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
 faultSubcode: 
 faultString: [StringLengthError.TOO_LONG @ 
operations[0].operand.urlCustomParameters.parameters[0].key, 
StringLengthError.TOO_LONG @ 
operations[0].operand.urlCustomParameters.parameters[1].key, 
StringLengthError.TOO_LONG @ 
operations[0].operand.urlCustomParameters.parameters[2].key]
 faultActor: 
 faultNode: 
 faultDetail: 
{https://adwords.google.com/api/adwords/cm/v201607}ApiExceptionFault:[StringLengthError.TOO_LONG
 
@ operations[0].operand.urlCustomParameters.parameters[0].key, 
StringLengthError.TOO_LONG @ 
operations[0].operand.urlCustomParameters.parameters[1].key, 
StringLengthError.TOO_LONG @ 
operations[0].operand.urlCustomParameters.parameters[2].key]ApiExceptionhttp://www.w3.org/2001/XMLSchema-instance; 
xsi:type="StringLengthError">operations[0].operand.urlCustomParameters.parameters[0].keyStringLengthError.TOO_LONGStringLengthErrorTOO_LONGhttp://www.w3.org/2001/XMLSchema-instance 
"
 
xsi:type="StringLengthError">operations[0].operand.urlCustomParameters.parameters[1].keyStringLengthError.TOO_LONGStringLengthErrorTOO_LONGhttp://www.w3.org/2001/XMLSchema-instance; 
xsi:type="StringLengthError">operations[0].operand.urlCustomParameters.parameters[2].keyStringLengthError.TOO_LONGStringLengthErrorTOO_LONG

[StringLengthError.TOO_LONG @ 
operations[0].operand.urlCustomParameters.parameters[0].key, 
StringLengthError.TOO_LONG @ 
operations[0].operand.urlCustomParameters.parameters[1].key, 
StringLengthError.TOO_LONG @ 
operations[0].operand.urlCustomParameters.parameters[2].key]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at java.lang.Class.newInstance(Class.java:442)
at 
org.apache.axis.encoding.ser.BeanDeserializer.(BeanDeserializer.java:104)
at 
org.apache.axis.encoding.ser.BeanDeserializer.(BeanDeserializer.java:90)
at 
com.google.api.ads.adwords.axis.v201607.cm.ApiException.getDeserializer(ApiException.java:156)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at 
org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized(BaseDeserializerFactory.java:154)
at 
org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs(BaseDeserializerFactory.java:84)
at 
org.apache.axis.encoding.DeserializationContext.getDeserializer(DeserializationContext.java:464)
at 
org.apache.axis.encoding.DeserializationContext.getDeserializerForType(DeserializationContext.java:547)
at 
org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild(SOAPFaultDetailsBuilder.java:157)
at 
org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
at 

stringLengthError.TOO_LONG

2016-11-04 Thread Eshwar Chettri
Hi all,
 when I'am trying to add new campaign its showing an exception like 
stringLengthError.TOO_LONG


here is the code.

removeReadOnlyParameters(cmpOperation);
int operLength = cmpOperation.length;
int count = 0;
int operCount = 0;
CampaignOperation[] operation = new CampaignOperation[2000];
for (int k = 0; k < operLength; k++) {
operation[count] = cmpOperation[k];
count++;
operCount++;
if (count == 2000 || operCount == operLength) {
GleExceptionHandler handler = new 
GleExceptionHandler(gleSer, GleServices.CAMPAIGN_SERVICE);
CampaignReturnValue adGrpRetVal = (CampaignReturnValue) 
handler.mutateOperations(operation);
Campaign[] adCri = adGrpRetVal.getValue();
int length = adCri.length;
for (int p = 0; p < length; p++) {
al.add(adCri[p]);
}
count = 0;
operation = new CampaignOperation[2000];
}
}
return (Campaign[]) al.toArray(new Campaign[al.size()]);


 Exception is:

AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
 faultSubcode: 
 faultString: [StringLengthError.TOO_LONG @ 
operations[0].operand.urlCustomParameters.parameters[0].key, 
StringLengthError.TOO_LONG @ 
operations[0].operand.urlCustomParameters.parameters[1].key, 
StringLengthError.TOO_LONG @ 
operations[0].operand.urlCustomParameters.parameters[2].key]
 faultActor: 
 faultNode: 
 faultDetail: 
{https://adwords.google.com/api/adwords/cm/v201607}ApiExceptionFault:[StringLengthError.TOO_LONG
 
@ operations[0].operand.urlCustomParameters.parameters[0].key, 
StringLengthError.TOO_LONG @ 
operations[0].operand.urlCustomParameters.parameters[1].key, 
StringLengthError.TOO_LONG @ 
operations[0].operand.urlCustomParameters.parameters[2].key]ApiExceptionhttp://www.w3.org/2001/XMLSchema-instance; 
xsi:type="StringLengthError">operations[0].operand.urlCustomParameters.parameters[0].keyStringLengthError.TOO_LONGStringLengthErrorTOO_LONGhttp://www.w3.org/2001/XMLSchema-instance; 
xsi:type="StringLengthError">operations[0].operand.urlCustomParameters.parameters[1].keyStringLengthError.TOO_LONGStringLengthErrorTOO_LONGhttp://www.w3.org/2001/XMLSchema-instance; 
xsi:type="StringLengthError">operations[0].operand.urlCustomParameters.parameters[2].keyStringLengthError.TOO_LONGStringLengthErrorTOO_LONG

[StringLengthError.TOO_LONG @ 
operations[0].operand.urlCustomParameters.parameters[0].key, 
StringLengthError.TOO_LONG @ 
operations[0].operand.urlCustomParameters.parameters[1].key, 
StringLengthError.TOO_LONG @ 
operations[0].operand.urlCustomParameters.parameters[2].key]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at java.lang.Class.newInstance(Class.java:442)
at 
org.apache.axis.encoding.ser.BeanDeserializer.(BeanDeserializer.java:104)
at 
org.apache.axis.encoding.ser.BeanDeserializer.(BeanDeserializer.java:90)
at 
com.google.api.ads.adwords.axis.v201607.cm.ApiException.getDeserializer(ApiException.java:156)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at 
org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized(BaseDeserializerFactory.java:154)
at 
org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs(BaseDeserializerFactory.java:84)
at 
org.apache.axis.encoding.DeserializationContext.getDeserializer(DeserializationContext.java:464)
at 
org.apache.axis.encoding.DeserializationContext.getDeserializerForType(DeserializationContext.java:547)
at 
org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild(SOAPFaultDetailsBuilder.java:157)
at 
org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
at 
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509)
at 
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:379)
at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2786)
at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)
at 
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:117)
at 

DistinctError.DUPLICATE_ELEMENT.... how to resolve this exception

2016-08-19 Thread Eshwar Chettri
com.google.api.ads.adwords.lib.client.AdWordsServiceClient.requestInfoLogger 
logRequest [http-bio-80-exec-6] INFO : Request made: Service: "
AdGroupServiceInterfacePort" Method: "mutate" URL: "https://adwords.google.
com/api/adwords/cm/v201603/AdGroupService" Request ID: "
00053a6768d924e90a624e545c0e9c85" AxisFault faultCode: {http://schemas.
xmlsoap.org/soap/envelope/}Server faultSubcode: faultString: [DistinctError.
DUPLICATE_ELEMENT @ operations[4]] faultActor: faultNode: faultDetail: {
https://adwords.google.com/api/adwords/cm/v201603}ApiExceptionFault:[DistinctError.DUPLICATE_ELEMENT @ operations[4]]<
ApplicationException.Type>ApiExceptionhttp://www.w3.org/2001/XMLSchema-instance; xsi:type="
DistinctError">operations[4]
DistinctError.DUPLICATE_ELEMENTDistinctErrorDUPLICATE_ELEMENT [DistinctError.
DUPLICATE_ELEMENT @ operations[4]]

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/990a7684-a699-4963-bec1-4aa44ae8f800%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


DistinctError.DUPLICATE_ELEMENT

2016-08-19 Thread Eshwar Chettri
hi.. 
I'am getting this exception.. How to resole it

com.google.api.ads.adwords.lib.client.AdWordsServiceClient.requestInfoLogger 
logRequest [http-bio-80-exec-6] INFO : Request made: Service: "
AdGroupServiceInterfacePort" Method: "mutate" URL: "
https://adwords.google.com/api/adwords/cm/v201603/AdGroupService; Request 
ID: "00053a6768d924e90a624e545c0e9c85" AxisFault faultCode: {
http://schemas.xmlsoap.org/soap/envelope/}Server faultSubcode: faultString: 
[DistinctError.DUPLICATE_ELEMENT @ operations[4]] faultActor: faultNode: 
faultDetail: {https://adwords.google.com/api/adwords/cm/v201603}
ApiExceptionFault:[DistinctError.DUPLICATE_ELEMENT @ operations[4
]]ApiException<
/ApplicationException.Type>http://www.w3.org/2001/XMLSchema-instance; xsi:type="DistinctError"><
fieldPath>operations[4]
DistinctError.DUPLICATE_ELEMENTDistinctError<
/ApiError.Type>DUPLICATE_ELEMENT [
DistinctError.DUPLICATE_ELEMENT @ operations[4]]

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/42deef28-6240-48be-8930-61d139a38cd7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: BulkMutateJobPolicy

2016-08-17 Thread eshwar chettri
hi vishal,
 Thank You for the response! I have a question Do we have any policy 
definition for BatchJobService 
<https://developers.google.com/adwords/api/docs/reference/v201607/BatchJobService>
???

 

On Tuesday, 16 August 2016 20:24:24 UTC+5:30, eshwar chettri wrote:
>
> hey!!
>
> After API change of v201603 BulkMutateJobPolicy is not been use.. Because 
> of this I'am getting some exceptions.. Can anyone tell me what is the 
> substitution for this policy...
>
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/6dd82c69-d160-4412-a8d6-4dbadde0aa80%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


BulkMutateJobPolicy

2016-08-16 Thread eshwar chettri
hey!!

After API change of v201603 BulkMutateJobPolicy is not been use.. Because 
of this I'am getting some exceptions.. Can anyone tell me what is the 
substitution for this policy...



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/0bd0deda-d7be-4590-88a3-fd24f9c7e7a6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


daily tracker setting problem

2016-07-06 Thread Eshwar Chettri


can anyone help me why this exception is occuring.



javax.servlet.ServletException: Servlet execution threw an exception
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393)

*root cause*

java.lang.NoSuchMethodError: 
com.google.common.collect.ImmutableSet.of([Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet;

com.google.gdata.wireformats.AltFormat$Builder.setAcceptableTypes(AltFormat.java:399)

com.google.gdata.wireformats.AltFormat$Builder.setAcceptableXmlTypes(AltFormat.java:387)
com.google.gdata.wireformats.AltFormat.(AltFormat.java:49)
com.google.gdata.client.Service.(Service.java:558)

com.netelixir.lxr.dailyTracker.services.GoogleServiceCreator.createSpreadSheetService(GoogleServiceCreator.java:22)

com.netelixir.lxr.dailyTracker.services.GoogleServiceCreator.getSpreadSheetService(GoogleServiceCreator.java:36)

com.netelixir.lxr.dailyTracker.services.SpreadSheetUtil.(SpreadSheetUtil.java:39)

com.netelixir.lxr.dailyTracker.DailyTrackerActionForm.validate(DailyTrackerActionForm.java:183)

org.apache.struts.action.RequestProcessor.processValidate(RequestProcessor.java:950)

org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:198)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393)

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/bca48a29-0ea1-48e4-a425-f2ea4aa2cc93%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


keywords

2016-07-05 Thread Eshwar Chettri
Hi,
   I'am unable to add keywords after API upgradition of v201603. How to 
resolve it

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d2586779-5fcc-4a39-8ca0-e9968f9dfade%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Unable to open ProductGroup

2016-07-05 Thread Eshwar Chettri
2016 14:39:55 
 com.google.api.ads.adwords.lib.client.AdWordsServiceClient.requestInfoLogger 
logRequest  [http-nio-8084-exec-5] INFO : Request made: Service: 
"AdGroupCriterionServiceInterfacePort" Method: "mutate" URL: 
"https://adwords.google.com/api/adwords/cm/v201603/AdGroupCriterionService;
AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
 faultSubcode: 
 faultString: [AdGroupCriterionError.PRODUCT_PARTITION_ALREADY_EXISTS @ 
operations[0].operand.criterion]
 faultActor: 
 faultNode: 
 faultDetail: 
{https://adwords.google.com/api/adwords/cm/v201603}ApiExceptionFault:[AdGroupCriterionError.PRODUCT_PARTITION_ALREADY_EXISTS
 
@ 
operations[0].operand.criterion]ApiExceptionhttp://www.w3.org/2001/XMLSchema-instance; 
xsi:type="AdGroupCriterionError">operations[0].operand.criterionAdGroupCriterionError.PRODUCT_PARTITION_ALREADY_EXISTSAdGroupCriterionErrorPRODUCT_PARTITION_ALREADY_EXISTS

[AdGroupCriterionError.PRODUCT_PARTITION_ALREADY_EXISTS @ 
operations[0].operand.criterion]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at java.lang.Class.newInstance(Class.java:442)
at 
org.apache.axis.encoding.ser.BeanDeserializer.(BeanDeserializer.java:104)
at 
org.apache.axis.encoding.ser.BeanDeserializer.(BeanDeserializer.java:90)
at 
com.google.api.ads.adwords.axis.v201603.cm.ApiException.getDeserializer(ApiException.java:142)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at 
org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized(BaseDeserializerFactory.java:154)
at 
org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs(BaseDeserializerFactory.java:84)
at 
org.apache.axis.encoding.DeserializationContext.getDeserializer(DeserializationContext.java:464)
at 
org.apache.axis.encoding.DeserializationContext.getDeserializerForType(DeserializationContext.java:547)
at 
org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild(SOAPFaultDetailsBuilder.java:157)
at 
org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
at 
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509)
at 
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:379)
at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2786)
at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)
at 
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:117)
at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)
at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
at 
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
at 
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
at 
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:649)
at 
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:333)
at 
org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at 
org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at 
com.google.api.ads.adwords.axis.v201603.cm.AdGroupCriterionServiceSoapBindingStub.mutate(AdGroupCriterionServiceSoapBindingStub.java:1758)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at