Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hourly aggregation in CampaignPerformanceReportRequest will disable the time zone setting #272

Open
PANhuihuihuihui opened this issue Mar 21, 2024 · 0 comments

Comments

@PANhuihuihuihui
Copy link

PANhuihuihuihui commented Mar 21, 2024

When i want to request a CampaignPerformanceReport in Hourly aggregation, it always return in '(GMT-08:00) Pacific Time (US & Canada); Tijuana' time zone, no matter how I change the account time zone or specify other timezone by
time.ReportTimeZone='EasternTimeUSCanada'
However, ProductDimensionPerformanceReportRequest works well in in Hourly aggregation.
Timezone also work well in Daily aggregation in CampaignPerformanceReport.

<SOAP-ENV:Envelope
	xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:tns="https://bingads.microsoft.com/Reporting/v13"
	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">
	<SOAP-ENV:Header>
		<tns:CustomerAccountId>xxxxx</tns:CustomerAccountId>
		<tns:CustomerId>xxxxxxx</tns:CustomerId>
		<tns:DeveloperToken>xxxxxxxx</tns:DeveloperToken>
	</SOAP-ENV:Header>
	<ns0:Body>
		<ns1:SubmitGenerateReportRequest>
			<ns1:ReportRequest xsi:type="ns1:CampaignPerformanceReportRequest">
				<ns1:ExcludeColumnHeaders>false</ns1:ExcludeColumnHeaders>
				<ns1:ExcludeReportFooter>false</ns1:ExcludeReportFooter>
				<ns1:ExcludeReportHeader>false</ns1:ExcludeReportHeader>
				<ns1:Format>Csv</ns1:Format>
				<ns1:FormatVersion>2.0</ns1:FormatVersion>
				<ns1:ReportName>My Campaign Performance Report</ns1:ReportName>
				<ns1:ReturnOnlyCompleteData>true</ns1:ReturnOnlyCompleteData>
				<ns1:Aggregation>Hourly</ns1:Aggregation>
				<ns1:Columns>
					<ns1:CampaignPerformanceReportColumn>AccountId</ns1:CampaignPerformanceReportColumn>
					<ns1:CampaignPerformanceReportColumn>TimePeriod</ns1:CampaignPerformanceReportColumn>
					<ns1:CampaignPerformanceReportColumn>CampaignId</ns1:CampaignPerformanceReportColumn>
					<ns1:CampaignPerformanceReportColumn>Impressions</ns1:CampaignPerformanceReportColumn>
					<ns1:CampaignPerformanceReportColumn>Clicks</ns1:CampaignPerformanceReportColumn>
					<ns1:CampaignPerformanceReportColumn>Conversions</ns1:CampaignPerformanceReportColumn>
					<ns1:CampaignPerformanceReportColumn>Spend</ns1:CampaignPerformanceReportColumn>
				</ns1:Columns>
				<ns1:Filter/>
				<ns1:Scope>
					<ns1:AccountIds>
						<ns2:long>176430352</ns2:long>
					</ns1:AccountIds>
				</ns1:Scope>
				<ns1:Time>
					<ns1:CustomDateRangeEnd>
						<ns1:Day>1</ns1:Day>
						<ns1:Month>3</ns1:Month>
						<ns1:Year>2024</ns1:Year>
					</ns1:CustomDateRangeEnd>
					<ns1:CustomDateRangeStart>
						<ns1:Day>1</ns1:Day>
						<ns1:Month>2</ns1:Month>
						<ns1:Year>2024</ns1:Year>
					</ns1:CustomDateRangeStart>
					<ns1:ReportTimeZone>EasternTimeUSCanada</ns1:ReportTimeZone>
				</ns1:Time>
			</ns1:ReportRequest>
		</ns1:SubmitGenerateReportRequest>
	</ns0:Body>
</SOAP-ENV:Envelope>

It returns

"Report Name: My Campaign Performance Report"
"Report Time: 2/1/2024,3/1/2024"
"Time Zone: (GMT-08:00) Pacific Time (US & Canada); Tijuana"
"Last Completed Available Day: 3/21/2024 3:50:00 PM (GMT)"
"Last Completed Available Hour: 3/21/2024 3:50:00 PM (GMT)"
"Report Aggregation: Hourly"
"Report Filter: "
"Potential Incomplete Data: false"
"Rows: 2404"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant