Hi, I am using following code, which looks like the standard code that has been discussed in this forum and documentation. But I am having trouble in retrieving google AdWords data using KEYWORD_PERFORMANCE_REPORT. Can you please provide me the url to which this xml request should be submit. Please see the following code and xml body and let me know if you find something not right. I have data on google AdWords account for the period which I am querying. Do you have any sample code that I can use to understand how to retrieve data from "KEYWORD_PERFORMANCE_REPORT".
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd=" http://www.w3.org/2001/XMLSchema"> <soap:Header> <RequestHeader xmlns=" https://adwords.google.com/api/adwords/cm/{{User::ApiVersion}}"> <developerToken>{{User::varDevToken}}</developerToken> <clientCustomerId>{{User::varClientId}}</clientCustomerId> <userAgent>ZappySys SSIS PowerPack v1</userAgent> </RequestHeader> </soap:Header> <soap:Body> <reportDefinition xmlns="https://adwords.google.com/api/adwords/cm/v201802"> <selector> <fields>CampaignId</fields> <fields>AdGroupId</fields> <fields>CampaignName</fields> <fields>AdGroupName</fields> <fields>Criteria</fields> <fields>Status</fields> <fields>SystemServingStatus</fields> <fields>Impressions</fields> <fields>Clicks</fields> <fields>Cost</fields> <fields>AverageCpc</fields> <fields>Ctr</fields> <fields>TrackingUrlTemplate</fields> <fields>FinalUrls</fields> <fields>AveragePosition</fields> <fields>SearchImpressionShare</fields> <fields>QualityScore</fields> <fields>AccountCurrencyCode</fields> <fields>AccountDescriptiveName</fields> <predicates> <field>Clicks</field> <operator>GREATER_THAN</operator> <values>0</values> </predicates> <dateRange> <min>20180101</min> <max>20180401</max> </dateRange> </selector> <reportName>Report</reportName> <reportType>KEYWORDS_PERFORMANCE_REPORT</reportType> <dateRangeType>CUSTOM_DATE</dateRangeType> <downloadFormat>CSV</downloadFormat> </reportDefinition> </soap:Body> </soap:Envelope> Thanks Sam -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] 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 and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/cc4d3255-49d8-4c66-80da-06b828c1edda%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
