AdWords API Re: api class-fieldsspecification

2009-08-05 Thread Harutyun Terteryan
Hi, I have my own value objects for all adword .net api classes. in that case is it correct to set specified = true in corresponding field. For example in AdGroup public AdGroupStatus Status { get { return _status; } set { _status = val

AdWords API Re: api class-fieldsspecification

2009-08-04 Thread Harutyun Terteryan
Ok Thank's for quick answer :). Best Harut. On Tue, Aug 4, 2009 at 12:22 PM, AdWords API Advisor < adwordsapiadvi...@google.com> wrote: > > Hi Harut, > > statusSpecified and status are independent properties of AdGroup > objects, setting value for one property does not affect the value of > the

AdWords API Re: api class-fieldsspecification

2009-08-04 Thread AdWords API Advisor
Hi Harut, statusSpecified and status are independent properties of AdGroup objects, setting value for one property does not affect the value of the other property. However, they work together when you make an AdWords API call. For instance, assume that you are trying to Enable a Paused AdGroup.

AdWords API Re: api class-fieldsspecification

2009-08-03 Thread Harutyun Terteryan
Hi Anash Did you mean that if I set the value like this adGroup.statusSpecified = default value(false); then even when I set the value of adGroup.status = AdGroupStatus.Enabled; adGroup.status will be equals its dafault value? Best Harut. On Mon, Aug 3, 2009 at 10:20 PM, AdWords API Advisor <

AdWords API Re: api class-fieldsspecification

2009-08-03 Thread AdWords API Advisor
Hi Harut, I assume you are writing .NET code. .NET's WSDL to code converter generates an additional field named like propertyNameSpecified if it encounters a nilable value type in WSDL. While setting values to such a field, you also have to mention serviceName.propertyNameSpecified = true. If not