Adwords API SOAP BUG

54 views
Skip to first unread message

Денис Кузнецов

unread,
Oct 16, 2017, 1:40:40 AM10/16/17
to AdWords API Forum
Hi. Sorry for bad english :) 

I found a bug in Adwords API (or in SOAP encoding, or anywhere else). 
I have my own PHP library. Trying to retreive list of mobile applications: 

$selector = new Selector();
$criteria
= $client->campaignCriterionService()->get(
    $selector
       
->setFields( [
               
CampaignCriterionService_Get_Fields::DisplayName,
           
]
       
)
       
->setPredicates( [
           
( new \AdWordsApi\API\SharedObjects\Predicate() )
               
->setField( CampaignCriterionService_Get_Fields::CriteriaType )
               
->setOperator( 'IN' )
               
->setValues( [
                   
'MOBILE_APPLICATION',
               
] ),
           
( new \AdWordsApi\API\SharedObjects\Predicate() )
               
->setField( CampaignCriterionService_Get_Fields::Id )
               
->setOperator( 'IN' )
               
->setValues( [
                   
'172002209042',
               
] )
       
] )
       
->setOrdering([
           
(new \AdWordsApi\API\SharedObjects\OrderBy())
               
->setField('Id')
               
->setSortOrder('ASCENDING')
       
])
);



But i'm getting this error: 

looks like we got no XML document

For me, it's only with cient id 732-179-9520 AND campaign criterion id - 172002209042 . I found non-UTF8 symbol in response XML (you can found in attachements)


Can you accept this bug?


2nd question:

Why in CampaignCriterionServive fieldname "DisplayName" = "ChannelName"? I can specify ChannelName instead of DisplayName and get display name of Mobile application
test.xml

Peter Oliquino

unread,
Oct 16, 2017, 3:46:13 AM10/16/17
to AdWords API Forum
Hi,

To better investigate your first issue, could you provide the SOAP request and response generated when the error occurred? My apologies as well if I did not understand right away what you meant in your second concern. Could you provide more details as to what it is you wish to achieve via the DisplayName field of the MobileApplication criterion?

You may reply privately via the Reply privately to author option.

Thanks and regards,
Peter
AdWords API Team

Peter Oliquino

unread,
Oct 27, 2017, 3:25:38 AM10/27/17
to AdWords API Forum
Hi,

I wanted to ask if you still require assistance on your issue? If yes, you may send to me the information I requested and any additional details regarding the MobileApplication criterion.

Best regards,
Peter
AdWords API Team
Reply all
Reply to author
Forward
0 new messages