Re: Determining specific AdGroupAd type and AdGroupCriterion type

2012-11-08 Thread Kevin Winter
Hi Bhavin, In theory, yes, the type should always be returned. If you can give us an example of a request/response (with sensitive information removed), it would help us troubleshoot. The xsi:type is specified to disambiguate - for example, for keywords: criterion xsi:type=Keyword - Kevin

Re: Determining specific AdGroupAd type and AdGroupCriterion type

2012-11-06 Thread Zweitze
In my understanding the type field should never be NULL, it must have a value. When you encounter this situation again look at the SOAP response (XML) and see whether the problem is in your code processing the SOAP response or indeed in the SOAP response itself. If the problem is indeed the

Re: Determining specific AdGroupAd type and AdGroupCriterion type

2012-11-06 Thread Bhavin Shah
Thanks for response. Unfortunately, switching to report-download is not a option for us now. We must use Services.get calls. As per the documentation in get calls Although this field is returned in the response, it is ignored on input and cannot be selected. So if selecting Type is not possible,

Determining specific AdGroupAd type and AdGroupCriterion type

2012-11-05 Thread bhavin
Hi, AdGroupAdService type and AdGroupCriterionService get calls return Ad and AdGroupCriterion objects respectively. Those objects have Type field which could be used for determining their specific type as in text-ads, image-ad etc. But, we've noticed sometimes these calls return null values.

Re: Determining specific AdGroupAd type and AdGroupCriterion type

2012-11-05 Thread bhavin
From thishttps://developers.google.com/adwords/api/docs/appendix/selectorfields#v201209link, I guess CriterionType can be selected and determined but not sure how to do it with Ad and AdExtension. - bhavin On Tuesday, November 6, 2012 12:31:02 PM UTC+5:30, bhavin wrote: Hi,