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, is it
correct to assume it would be returned always?

-
bhavin


On Tue, Nov 6, 2012 at 3:56 PM, Zweitze  wrote:

> 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 response, then post that response and the
> requestID here, so Google can take a look.
>
> Coming back to your question if there's an alternative method, you can
> look at reports - at least the criteria report and ad extensions have a
> column for the type. They also contain IDs so matching is possible.
> Unfortunately the docs for the ad performance report are missing nowadays,
> so you'll need a few guesses to get the field name right.
>
>
>
> On Tuesday, November 6, 2012 8:01:02 AM UTC+1, bhavin wrote:
>>
>> 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. Is their
>> any other deterministic way to find out specific type of Ad, Criterion and
>> AdExtension?
>>
>> -
>> bhavin
>>
>  --
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: when does oAuth access token expire?

2011-10-23 Thread Bhavin Shah
Thanks for the response Oldskool and Anash. Until now we were using
auth-tokens in requests to various APIs. We are starting to migrate to
v201109 and hope to use oAuth. Can you please point to couple of examples
that use oAuth. I am unable to find, how do you supply oAuth-token in
requests to APIs.

Regards,
Bhavin


On Mon, Oct 24, 2011 at 8:05 AM, Anash P. Oommen <
anash.p.oommen+fo...@google.com> wrote:

> Hi Bhavin,
>
> If an OAuth token is invalid / expired / revoked, you will get an
> authentication error with appropriate error code in the API call response.
> You can use that to take remedial actions. See
> http://code.google.com/apis/adwords/docs/reference/v201101/CampaignService.AuthenticationError.html
>  for
> details.
>
> Cheers,
> Anash P. Oommen,
> AdWords API Advisor.
>
>  --
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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
>

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