Hi, We use two APIs to get the data from Google Ads which are 'campaign location target' API and 'campaign performance' API, but the click results from two APIs are different. The results from 'campaign performance' API is right. So how can we get the correct click results from 'campaign location target' API?
Here are two results in attachments and the txt file is the source code with ’campaign location target‘. Looking forward to your reply. Thank you. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/6c8ff567-3ba9-46c7-a56c-04ed9c1391ce%40googlegroups.com.
url: https://adwords.google.com/api/adwords/reportdownload/v201809 POST headers:{ Authorization: 'Bearer XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX', developerToken: 'XXXXXXXXXX-yyyyyyyyyy', clientCustomerId: 'xxx-xxx-xxxx', skipReportHeader: true, skipColumnHeader: true, skipReportSummary: true, includeZeroImpressions: false } forms: { __rdxml: '<?xml version="1.0"?><reportDefinition><selector><fields>CampaignId</fields><fields>Id</fields><fields>CampaignStatus</fields><fields>CampaignName</fields><fields>Impressions</fields><fields>Clicks</fields><fields>Cost</fields><predicates><field>CampaignStatus</field><operator>IN</operator><values>ENABLED</values><values>PAUSED</values><values>REMOVED</values></predicates><dateRange><min>20190427</min><max>20190427</max></dateRange></selector><reportName>Custom Campaign Location Performance Report</reportName><reportType>CAMPAIGN_LOCATION_TARGET_REPORT</reportType><dateRangeType>CUSTOM_DATE</dateRangeType><downloadFormat>CSV</downloadFormat></reportDefinition>' } formatted xml part: <?xml version="1.0" encoding="utf-8"?> <reportDefinition> <selector> <fields>CampaignId</fields> <fields>Id</fields> <fields>CampaignStatus</fields> <fields>CampaignName</fields> <fields>Impressions</fields> <fields>Clicks</fields> <fields>Cost</fields> <predicates> <field>CampaignStatus</field> <operator>IN</operator> <values>ENABLED</values> <values>PAUSED</values> <values>REMOVED</values> </predicates> <dateRange> <min>20190427</min> <max>20190427</max> </dateRange> </selector> <reportName>Custom Campaign Location Performance Report</reportName> <reportType>CAMPAIGN_LOCATION_TARGET_REPORT</reportType> <dateRangeType>CUSTOM_DATE</dateRangeType> <downloadFormat>CSV</downloadFormat> </reportDefinition>
