soap request for google adwords "Search Query Performance Report"

256 views
Skip to first unread message

martin....@gmail.com

unread,
Nov 22, 2017, 2:07:25 AM11/22/17
to AdWords API Forum

Hello guys,
i am trying to search the "Search Query Performance Report" api in WSDL form but unable to find it,  Can you please help me with that.

Thanks

Vincent Racaza (AdWords API Team)

unread,
Nov 22, 2017, 4:44:15 AM11/22/17
to AdWords API Forum
Hi Martin,

Could you confirm if you are asking the WSDL of this specific report type as you are not using one of our client libraries? If so, then there is no specific WSDL for Seach Query Performance Report. We also use HTTP POST mechanism in downloading reports, instead of SOAP. With this, you need to send your HTTP POST request to this URL (for v201710) : https://adwords.google.com/api/adwords/reportdownload/v201710.

Below is the sample HTTP POST request for Search Query Performance Report. The first half is what you are putting for the HTTP header (e.g. developer token, clientCustomerId, etc), and the second half is the details of your HTTP body.

POST /api/adwords/reportdownload/v201710 HTTP/1.1
Host: adwords.google.com
User-Agent: curl, gzip
Accept: /
Accept-Encoding: gzip
Authorization: Bearer [Enter OAuth 2.0 access token here]
developerToken: [Enter developerToken here]
clientCustomerId: [Enter clientCustomerID here]
Content-Length: 784
Expect: 100-continue
Content-Type: multipart/form-data; boundary=------------------------12d01fae60c7b559
 
Parameters:
__rdxml: <?xml version="1.0" encoding="UTF-8"?>
<reportDefinition xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201710">
<ns2:selector>
   <ns2:fields>CampaignId</ns2:fields>
   <ns2:fields>CampaignName</ns2:fields>
   <ns2:fields>Query</ns2:fields>
   <ns2:fields>Clicks</ns2:fields>
</ns2:selector>
<ns2:reportName>Sampe report #XXXXXXX</ns2:reportName>
<ns2:reportType>SEARCH_QUERY_PERFORMANCE_REPORT</ns2:reportType>
<ns2:dateRangeType>YESTERDAY</ns2:dateRangeType>
<ns2:downloadFormat>CSV</ns2:downloadFormat>
</reportDefinition>

Let me know if you have further clarifications.

Thanks,
Vincent
AdWords API Team

Ajay Maheshwari

unread,
Nov 29, 2017, 5:41:20 PM11/29/17
to AdWords API Forum

Hi,
i am trying to search the "shopping performance report wsdl" and "search query performance report wsdl", or i just wanted to confirm ,for this reports we need to use Soap or Rest"?

Thanks in advance 

Peter Oliquino

unread,
Nov 30, 2017, 2:05:40 AM11/30/17
to AdWords API Forum
Hi Ajay,

The AdWords API currently utilizes SOAP for its requests, however, there is no specific WSDL for each of the reports as mentioned by my colleague in his recent response in this thread. If you opt to not use the client library, you may also download the report via HTTP post as discussed by my colleague as well or you may refer to this section of our reporting guide for more information.

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