AdPerformanceReportRequest Data Object
Defines an ad performance report request. Use this report to help you determine which ads lead to clicks and conversions, and which are not performing. Having underperforming ads in your account can pull down the quality of your campaigns.
You can request impressions, clicks, spend, and average cost per click for each ad. Once downloaded, this data can be sorted by ad ID, ad status, ad title, display URL, and destination URL.
To request a report of this type, pass this object to the SubmitGenerateReport operation.
<xs:complexType name="AdPerformanceReportRequest"> <xs:complexContent mixed="false"> <xs:extension base="tns:ReportRequest"> <xs:sequence> <xs:element name="Aggregation" type="tns:NonHourlyReportAggregation" /> <xs:element name="Columns" nillable="true" type="tns:ArrayOfAdPerformanceReportColumn" /> <xs:element minOccurs="0" name="Filter" nillable="true" type="tns:AdPerformanceReportFilter" /> <xs:element name="Scope" nillable="true" type="tns:AccountThroughAdGroupReportScope" /> <xs:element name="Time" nillable="true" type="tns:ReportTime" /> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType>
|The type of aggregation to use to aggregate the report data. For example, you can aggregate the report data by day or week, or request a summary report.|
The default is Summary.
|The list of attributes and performance statistics to include in the report. The report will include the columns in the order that you specify them.||AdPerformanceReportColumn array||Required|
|The filter information to use to filter the report data.||AdPerformanceReportFilter||Optional|
|The scope of the report. Use this element to limit the report to include data for a combination of accounts, ad groups, and campaigns.||AccountThroughAdGroupReportScope||Required|
|The time period to use for the report. You can specify a custom date range or select a predefined date range, for example, Today or ThisWeek.|
For a list of the time periods that you can specify for each aggregation type, see Aggregation and Time.
This object inherits the following elements from the ReportRequest object.
|The format of the report data. For example, you can request the data in comma-separated values (Csv) format or tab-separated values (Tsv) format.|
The default value is Csv.
Note: All downloaded files are ZIP compressed.
|The language to use to generate the report headers and columns.|
The default is English.
|The name of the report. The name is included in the report header. If you do not specify a report name, the system generates a name in the form, ReportType-ReportDateTime.|
The maximum length of the report name is 200.
|Determines whether you want the service to generate the report only if all the data has been processed and is available.|
If true, the request fails if the system has not finished processing all the data based on the aggregation, scope, and time period values that you specify. However, if false, the request succeeds but the report will contain only the data that the system has finished processing at the time of the request (there is no indication as to whether the data is complete). The default is false.
Note: When a user clicks an ad, it can take from three to four hours for the system to process the click and make it available for reporting. For more information, see Determining When the Books Close.
Because you cannot retrieve complete data for today, you must set this element to false if the end date of the custom date range specified in the Time element of the derived report object is set to today, or if you specify one of the following predefined time values: