Yes, issue is constant. 

Two examples. 
First an Ad with parent campaign status=paused
Second an Ad with self status=Deleted

Both returns nothing, while both can be found with reporting service.


First
REQUEST:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/";>
<s:Header>
<h:RequestHeader 
xmlns:h="https://adwords.google.com/api/adwords/cm/v201302"; 
xmlns="https://adwords.google.com/api/adwords/cm/v201302"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
<authToken>...</authToken>
<clientCustomerId>...</clientCustomerId>
<developerToken>...</developerToken>
<userAgent>N</userAgent>
</h:RequestHeader>
</s:Header>
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
<get xmlns="https://adwords.google.com/api/adwords/cm/v201302";>
<serviceSelector>
<fields>AdGroupId</fields>
<fields>Status</fields>
<fields>Id</fields>
<fields>Url</fields>
<fields>DisplayUrl</fields>
<fields>DisapprovalReasons</fields>
<fields>Headline</fields>
<fields>Description1</fields>
<fields>Description2</fields>
<fields>ImageCreativeName</fields>
<fields>MediaId</fields>
<fields>Type</fields>
<fields>ReferenceId</fields>
<fields>SourceUrl</fields>
<fields>TemplateId</fields>
<fields>TemplateAdName</fields>
<fields>TemplateAdDuration</fields>
<fields>TemplateElementFieldName</fields>
<fields>TemplateElementFieldType</fields>
<fields>ExpandingDirections</fields>
<fields>RichMediaAdType</fields>
<predicates>
<field>Id</field>
<operator>EQUALS</operator>
<values>24367855504</values>
</predicates>
</serviceSelector>
</get>
</s:Body>
</s:Envelope>

RESPONSE:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
<soap:Header>
<ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/v201302";>
<requestId>0004e023c19076700ae5260900001996</requestId>
<serviceName>AdGroupAdService</serviceName>
<methodName>get</methodName>
<operations>0</operations>
<responseTime>120</responseTime>
<units>0</units>
</ResponseHeader>
</soap:Header>
<soap:Body>
<getResponse xmlns="https://adwords.google.com/api/adwords/cm/v201302";>
<rval>
<totalNumEntries>0</totalNumEntries>
<Page.Type>AdGroupAdPage</Page.Type>
</rval>
</getResponse>
</soap:Body>
</soap:Envelope>



Second:
REQUEST:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/";>
<s:Header>
<h:RequestHeader 
xmlns:h="https://adwords.google.com/api/adwords/cm/v201302"; 
xmlns="https://adwords.google.com/api/adwords/cm/v201302"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
<authToken></authToken>
<clientCustomerId></clientCustomerId>
<developerToken></developerToken>
<userAgent>N</userAgent>
</h:RequestHeader>
</s:Header>
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
<get xmlns="https://adwords.google.com/api/adwords/cm/v201302";>
<serviceSelector>
<fields>AdGroupId</fields>
<fields>Status</fields>
<fields>Id</fields>
<fields>Url</fields>
<fields>DisplayUrl</fields>
<fields>DisapprovalReasons</fields>
<fields>Headline</fields>
<fields>Description1</fields>
<fields>Description2</fields>
<fields>ImageCreativeName</fields>
<fields>MediaId</fields>
<fields>Type</fields>
<fields>ReferenceId</fields>
<fields>SourceUrl</fields>
<fields>TemplateId</fields>
<fields>TemplateAdName</fields>
<fields>TemplateAdDuration</fields>
<fields>TemplateElementFieldName</fields>
<fields>TemplateElementFieldType</fields>
<fields>ExpandingDirections</fields>
<fields>RichMediaAdType</fields>
<predicates>
<field>Id</field>
<operator>EQUALS</operator>
<values>20637383464</values>
</predicates>
</serviceSelector>
</get>
</s:Body>
</s:Envelope>


RESPONSE:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
<soap:Header>
<ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/v201302";>
<requestId>0004e0234a8c56980ae55a0500005af1</requestId>
<serviceName>AdGroupAdService</serviceName>
<methodName>get</methodName>
<operations>0</operations>
<responseTime>815</responseTime>
<units>0</units>
</ResponseHeader>
</soap:Header>
<soap:Body>
<getResponse xmlns="https://adwords.google.com/api/adwords/cm/v201302";>
<rval>
<totalNumEntries>0</totalNumEntries>
<Page.Type>AdGroupAdPage</Page.Type>
</rval>
</getResponse>
</soap:Body>
</soap:Envelope>



Thanks
Jesper

On Thursday, June 27, 2013 10:37:09 AM UTC+2, Takeshi Hagikura (AdWords API 
Team) wrote:
>
> Hi Jesper,
>
> I don't think it's relevant. 
> > Does it have any influence that a parent is paused or somehow disabled?
>
> If that issue still happens, please post the request/response logs.
> I can look into that. 
>
> Best,
> - Takeshi, AdWords API Team
>
> On Tuesday, June 25, 2013 8:52:34 PM UTC+9, Jesper Ellegaard wrote:
>>
>> With V201302 and C# (no client library) I'm getting single Ads 
>> using AdGroupAdService.get(Selector) setting a predicate "Id equals 
>> <specific id>". This normally works well, but in some cases nothing is 
>> returned. What are typical reasons for this? Does it have any influence 
>> that a parent is paused or somehow disabled?
>>
>> Thanks
>> Jesper
>>
>

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

--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to