Skip to content

Instantly share code, notes, and snippets.

@RoyBellingan
Last active November 27, 2019 05:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RoyBellingan/d69ff1b5fe9679fb4b01d4f65b3d17a2 to your computer and use it in GitHub Desktop.
Save RoyBellingan/d69ff1b5fe9679fb4b01d4f65b3d17a2 to your computer and use it in GitHub Desktop.
bingNO2.xml
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://bingads.microsoft.com/Reporting/v13" xmlns:ns2="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:tns="https://bingads.microsoft.com/Reporting/v13" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Header>
<tns:AuthenticationToken>OMISSIS</tns:AuthenticationToken>
<tns:CustomerAccountId>XYZ</tns:CustomerAccountId>
<tns:CustomerId>XYZ</tns:CustomerId>
<tns:DeveloperToken>XYZ</tns:DeveloperToken>
</SOAP-ENV:Header>
<ns0:Body>
<ns1:SubmitGenerateReportRequest>
<ns1:ReportRequest xsi:type="ns1:PublisherUsagePerformanceReportRequest">
<ns1:ExcludeReportFooter>true</ns1:ExcludeReportFooter>
<ns1:ExcludeReportHeader>true</ns1:ExcludeReportHeader>
<ns1:Format>Csv</ns1:Format>
<ns1:ReportName>My Ads Performance Report</ns1:ReportName>
<ns1:ReturnOnlyCompleteData>false</ns1:ReturnOnlyCompleteData>
<ns1:Aggregation>Daily</ns1:Aggregation>
<ns1:Columns>
<ns1:PublisherUsagePerformanceReportColumn>TimePeriod</ns1:PublisherUsagePerformanceReportColumn>
<ns1:PublisherUsagePerformanceReportColumn>Impressions</ns1:PublisherUsagePerformanceReportColumn>
<ns1:PublisherUsagePerformanceReportColumn>Clicks</ns1:PublisherUsagePerformanceReportColumn>
</ns1:Columns>
<ns1:Scope>
<ns1:AccountIds>
<ns2:long>154004153</ns2:long>
</ns1:AccountIds>
</ns1:Scope>
<ns1:Time>
<ns1:CustomDateRangeEnd>
<ns1:Day>26</ns1:Day>
<ns1:Month>11</ns1:Month>
<ns1:Year>2019</ns1:Year>
</ns1:CustomDateRangeEnd>
<ns1:CustomDateRangeStart>
<ns1:Day>26</ns1:Day>
<ns1:Month>11</ns1:Month>
<ns1:Year>2019</ns1:Year>
</ns1:CustomDateRangeStart>
<ns1:ReportTimeZone>PacificTimeUSCanadaTijuana</ns1:ReportTimeZone>
</ns1:Time>
</ns1:ReportRequest>
</ns1:SubmitGenerateReportRequest>
</ns0:Body>
</SOAP-ENV:Envelope>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment