<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>API Archives - Perform Media</title>
	<atom:link href="https://performmedia.com/category/api/feed/" rel="self" type="application/rss+xml" />
	<link>https://performmedia.com/category/api/</link>
	<description></description>
	<lastBuildDate>Fri, 30 Dec 2022 15:35:37 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.10</generator>

<image>
	<url>https://performmedia.com/wp-content/uploads/2020/03/cropped-favicon-32x32.png</url>
	<title>API Archives - Perform Media</title>
	<link>https://performmedia.com/category/api/</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">211685865</site>	<item>
		<title>Reports API: Generate Custom Report Requests</title>
		<link>https://performmedia.com/reports-api-generate-custom-report-requests/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 29 Dec 2022 15:42:52 +0000</pubDate>
				<category><![CDATA[API]]></category>
		<guid isPermaLink="false">https://performmedia.com/?p=2813</guid>

					<description><![CDATA[<p>The post <a href="https://performmedia.com/reports-api-generate-custom-report-requests/">Reports API: Generate Custom Report Requests</a> appeared first on <a href="https://performmedia.com">Perform Media</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="et_pb_section et_pb_section_0 et_section_regular" >
				
				
				
				
					<div class="et_pb_row et_pb_row_0">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_0  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				<div class="et_pb_module et_pb_text et_pb_text_0  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p>In this guide, we will provide you step by step instructions to integrate the APIs and make your first call. In addition, this guide includes information about the various APIs and their request and response parameters. Appropriate examples or sample codes are provided in this document for a better understanding of the API.</p>
<p>The Reports API allows you to create and submit a report request to the server. Based on the request parameters, you can customize the report as required.</p>
<p>A request is a combination of header and body parameters. This article provides more information about the header and the body parameters.</p>
<p><div class='et-box et-shadow'>
					<div class='et-box-content'><strong>Reports API</strong></p>
<ul>
<li><a href="#header">Identifying the Request Header Parameters</a></li>
<li><a href="#body">Identifying the Request Body Parameters</a></li>
<li><a href="#response">Identifying the Response Parameters</a></li>
<li><a href="#error">Identifying the Error Messages</a></li>
</ul>
<p><strong><a href="#appendixa">Appendix A: List of Dimensions</a></strong>
</br><strong><a href="#appendixb">Appendix B: List of Measures</a></strong></div></div></p>
<h2></h2></div>
			</div><div class="et_pb_module et_pb_text et_pb_text_1  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><a id="header"></a></p>
<h2><span style="font-weight: 400;">Identifying the Request Header Parameters</span></h2>
<p><b>Endpoint</b><span style="font-weight: 400;">:</span><span style="font-weight: 400;"> https://campaigns.performmedia.com/reportservice/api/v1/reports</span></p>
<p><span style="font-weight: 400;">While creating a request, you need to specify the following mandatory parameters in the header of the request.</span></p>
<p><b>Example with Request Header</b></p>
<table>
<tbody>
<tr>
<td>
<p><span style="font-weight: 400;">POST</span><span style="font-weight: 400;"> campaigns.performmedia.com/reportservice/api/v1/reports </span><span style="font-weight: 400;">HTTP</span><span style="font-weight: 400;">/</span><span style="font-weight: 400;">2</span></p>
<p><span style="font-weight: 400;">Host</span><span style="font-weight: 400;">: </span><span style="font-weight: 400;">campaigns.performmedia.com</span></p>
<p><span style="font-weight: 400;">Content-Type</span><span style="font-weight: 400;">: </span><span style="font-weight: 400;">application/json</span></p>
<p><span style="font-weight: 400;">Authorization</span><span style="font-weight: 400;">: </span><span style="font-weight: 400;">Bearer &lt;ACCESS_TOKEN&gt;</span></p>
</td>
</tr>
</tbody>
</table>
<p><span style="font-weight: 400;"> The following table provides information about the header parameters and their descriptions.</span></p>
<table>
<tbody>
<tr>
<td><b>Header Parameters</b></td>
<td><b> Description</b></td>
</tr>
<tr>
<td><span style="font-weight: 400;">POST</span></td>
<td><span style="font-weight: 400;">The method of the request. Ensure that it is POST and the path is specified.</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">Host</span></td>
<td><span style="font-weight: 400;">Indicates the endpoint host name.</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">Content-Type</span></td>
<td><span style="font-weight: 400;">Specify the content type. For example, application/JSON</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">Authorization</span></td>
<td><span style="font-weight: 400;">Specify Bearer and the ACCESS_TOKEN</span></td>
</tr>
</tbody>
</table></div>
			</div><div class="et_pb_module et_pb_text et_pb_text_2  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p><a id="body"></a><strong>Note:</strong> Please check with your Account Manager to provide the required Bearer Token to make a successful API Request.</p>
<h2><span style="font-weight: 400;"></span></h2>
<h2><span style="font-weight: 400;"></span></h2>
<h2><span style="font-weight: 400;">Identifying the Request Body Parameters</span></h2>
<p><span style="font-weight: 400;">You can create a report definition in a JSON format, where you specify the elements to be included in the report. The report definition is part of the body of the request.</span></p>
<p><span style="font-weight: 400;">Following is a sample request for generating a report based on campaign information for a particular date range.</span></p></div>
			</div><div class="et_pb_module et_pb_image et_pb_image_0">
				
				
				<span class="et_pb_image_wrap "><img fetchpriority="high" decoding="async" width="643" height="660" src="https://performmedia.com/wp-content/uploads/2022/09/performsnipped.jpg" alt="" title="performsnipped" srcset="https://performmedia.com/wp-content/uploads/2022/09/performsnipped.jpg 643w, https://performmedia.com/wp-content/uploads/2022/09/performsnipped-480x493.jpg 480w" sizes="(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 643px, 100vw" class="wp-image-2843" /></span>
			</div><div class="et_pb_module et_pb_text et_pb_text_3  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><p><span style="font-weight: 400;">The following table provides information about the body parameters in the request.</span></p>
<p>NEED ASSISTANCE BUILDING THIS TABLE SO THAT IT WORKS-MAYBE USE NEW TABLE BUILDER MODULE</p>
<p><b>Note:</b><span style="font-weight: 400;"> Parameters marked with </span><b>* </b><span style="font-weight: 400;">are mandatory in the API request.</span></p></div>
			</div><div class="et_pb_module et_pb_text et_pb_text_4  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><h3> </h3>
<h3> </h3>
<p><a id="response"></a></p>
<h2><span style="font-weight: 400;">Identifying the Response Parameters</span></h2>
<p><span style="font-weight: 400;">If all the parameters are correctly defined in the request, you should receive an output with the requested data. However, if there are any issues with the request, then an error will be returned. For more information about the error message, refer to the </span><a href="#apivalidationtable"><span style="font-weight: 400;">API Validation Table</span></a><span style="font-weight: 400;">.</span></p>
<p><span style="font-weight: 400;">Following is an example of a response.</span></p></div>
			</div><div class="et_pb_module et_pb_image et_pb_image_1">
				
				
				<span class="et_pb_image_wrap "><img loading="lazy" decoding="async" width="838" height="646" src="https://performmedia.com/wp-content/uploads/2022/09/performsnipped2.jpg" alt="" title="performsnipped2" srcset="https://performmedia.com/wp-content/uploads/2022/09/performsnipped2.jpg 838w, https://performmedia.com/wp-content/uploads/2022/09/performsnipped2-480x370.jpg 480w" sizes="(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 838px, 100vw" class="wp-image-2848" /></span>
			</div><div class="et_pb_module et_pb_text et_pb_text_5  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				<div class="et_pb_text_inner"><span style="font-weight: 400;">The dimensions and measures are displayed using their outputName to reduce the size of the response. For more information about the supported dimensions and measures, refer to the</span><a href="#listofdimensions"><span style="font-weight: 400;"> List of Dimensions</span></a><span style="font-weight: 400;"> and </span><a href="#listofmeasures"><span style="font-weight: 400;">List of Measures</span></a><span style="font-weight: 400;"> section.</span></p>
<p><span style="font-weight: 400;">The response consists of the following fields:</span></p>
<p><b>Metadata Field</b></p>
<p><span style="font-weight: 400;">This field provides the metadata information about the response. This field includes the following information.</span></p>
<table>
<tbody>
<tr>
<td><b>rowCount</b></td>
<td><span style="font-weight: 400;">The total number of matching rows present for this query. </span></p>
<p><b>Note:</b><span style="font-weight: 400;"> rowCount will be independent of the total number of rows returned in the response</span></td>
</tr>
<tr>
<td><b>pageAggregations</b></td>
<td><span style="font-weight: 400;">Returns the average or count of all the measures mapped with the provided outputName for a particular report in JSON format.</span></td>
</tr>
</tbody>
</table>
<p><b>Data Field</b></p>
<p><span style="font-weight: 400;">The Data section includes the actual data that you have requested in the request. </span></p>
<h2></h2>
<h2></h2>
<p><a id="error"></a></p>
<h2><span style="font-weight: 400;">Identifying the Error Messages</span></h2>
<p><span style="font-weight: 400;">There may be cases where you receive an error as a response. There are two primary types of error responses. </span></p>
<p><b>Error Type #1: Bad Request (sample error format below)</b></p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-2862 size-full" src="https://performmedia.com/wp-content/uploads/2022/09/performsnipped3.jpg" alt="" width="880" height="436" srcset="https://performmedia.com/wp-content/uploads/2022/09/performsnipped3.jpg 880w, https://performmedia.com/wp-content/uploads/2022/09/performsnipped3-480x238.jpg 480w" sizes="(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 880px, 100vw" /></p>
<p><span style="font-weight: 400;">In the above example, the error message is returned because the dimensions provided in the request are invalid. This can occur either if the dimension is unavailable or there is a spelling error. To know more about error codes, refer to the </span><a href="#apivalidationtable"><span style="font-weight: 400;">API Validation Table</span></a><span style="font-weight: 400;">.</span></p>
<p><b>Error Type #2: Internal Server Error (sample error format below)</b></p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-2871 size-full" src="https://performmedia.com/wp-content/uploads/2022/09/performsnipped4.jpg" alt="" width="853" height="151" srcset="https://performmedia.com/wp-content/uploads/2022/09/performsnipped4.jpg 853w, https://performmedia.com/wp-content/uploads/2022/09/performsnipped4-480x85.jpg 480w" sizes="(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 853px, 100vw" /></p>
<p><b>API Validation Table</b><br />
<span style="font-weight: 400;">The following table lists API validation fields and error codes associated with those fields.</span></p>
<p><a id="apivalidationtable"></a></p>
<table style="border-collapse: collapse; undefined;table-layout: fixed; width: 750px;">
<colgroup>
<col style="width: 150px;" />
<col style="width: 425px;" />
<col style="width: 125px;" /> </colgroup>
<thead>
<tr>
<th>Error Code</th>
<th>Description</th>
<th>API Validation Field</th>
</tr>
</thead>
<tbody>
<tr>
<td><span style="font-weight: 400;">DATE_FILTER_REQUIRED</span></td>
<td><span style="font-weight: 400;">Returned if you do not specifythe date range in the request.</span></td>
<td><span style="font-weight: 400;">dateFilter</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">DATE_LOOKUP_INVALID</span></td>
<td><span style="font-weight: 400;">Returned if the specified dateexceeds the maximum look-back days. You can search for a maximum of 365 days.</span></td>
<td><span style="font-weight: 400;">dateFilter</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">DATE_RANGE_INVALID</span></td>
<td><span style="font-weight: 400;">Thiserror message will be returned if the date range mentioned in the request isinvalid. This can happen if:The end date in therequest is before the start date.The start date and/or theend date in the request are later than the present date.</span></td>
<td><span style="font-weight: 400;">dateFilter</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">DATE_RANGE_EXCEEDED</span></td>
<td><span style="font-weight: 400;">This error message is returnedif the specified date range in the request exceeds the maximum number of daysallowed. The date range should not be greater than a quarter.</span></td>
<td><span style="font-weight: 400;">dateFilter</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">DIMENSION_OUTPUT_NAME_INVALID</span></td>
<td><span style="font-weight: 400;">Returnedif the outputName is invalid. The following characters are accepted in theoutputName field:[A to Z] and [a to z][0 to 9] and [ _ ]</span></td>
<td><span style="font-weight: 400;">dimensions[x].outputName</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">DIMENSION_OUTPUT_NAME_DUPLICATE</span></td>
<td><span style="font-weight: 400;">Returned if the outputName isduplicated across measure and dimension. </span></td>
<td><span style="font-weight: 400;">dimensions[x].outputName</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">DIMENSION_FIELD_REQUIRED</span></td>
<td><span style="font-weight: 400;">Returned if dimension fieldparameter is not specified in the request.</span></td>
<td><span style="font-weight: 400;">dimensions[x].field</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">DIMENSION_INVALID</span></td>
<td><span style="font-weight: 400;">Returned if the dimensionspecified in the request is invalid. This error will be returned if there isa spelling error in the dimension name or the dimension specified is notsupported by the system. </span></td>
<td><span style="font-weight: 400;">dimensions[x].field</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">DIMENSIONS_REQUIRED</span></td>
<td><span style="font-weight: 400;">Returned when you do notspecify the dimension parameter in the request.</span></td>
<td><span style="font-weight: 400;">dimensions</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">DIMENSIONS_TOO_FEW</span></td>
<td><span style="font-weight: 400;">Returned when you specify thedimension parameter but do not specify the value. Ensure that you specify aminimum of 1 value in the dimension parameter.</span></td>
<td><span style="font-weight: 400;">dimensions</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">DIMENSIONS_TOO_MANY</span></td>
<td><span style="font-weight: 400;">Returned if more than 8dimensions are specified in a request.</span></td>
<td><span style="font-weight: 400;">dimensions</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">END_DATE_INVALID</span></td>
<td><span style="font-weight: 400;">Returned if the end date is notin the valid format, YYYY-MM-DD.</span></td>
<td><span style="font-weight: 400;">dateFilter.end</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">END_DATE_REQUIRED</span></td>
<td><span style="font-weight: 400;">Returned if the end date is notspecified in the request.</span></td>
<td><span style="font-weight: 400;">dateFilter.end</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">FILTER_FIELD_INVALID</span></td>
<td><span style="font-weight: 400;">Returned if the filterspecified in the request is invalid. This error will be returned if there isa spelling error in the filter name or the filter specified is not supportedby the system. </span></td>
<td><span style="font-weight: 400;">filters[x].field</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">FILTER_FIELD_REQUIRED</span></td>
<td><span style="font-weight: 400;">Returned when you do notspecify the filter parameter in the request.</span></td>
<td><span style="font-weight: 400;">filters[x].field</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">FILTER_OPERATOR_REQUIRED</span></td>
<td><span style="font-weight: 400;">Returned if you do not specifythe filter operator in the request.</span></td>
<td><span style="font-weight: 400;">filters[x].operator</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">FILTER_OPERATOR_INVALID</span></td>
<td><span style="font-weight: 400;">Returned if the filter operatormentioned in the request is invalid.</span></td>
<td><span style="font-weight: 400;">filters[x].operator</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">FILTER_VALUE_INVALID</span></td>
<td><span style="font-weight: 400;">Thiserror is returned when:The data type in thefilter value request is invalid. When you specify a filterthat is not available in the system or there is a spelling error in thefield</span></td>
<td><span style="font-weight: 400;">filters[x].values[x]</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">FILTER_VALUES_TOO_FEW</span></td>
<td><span style="font-weight: 400;">Returned when you specify thefilter parameter but do not specify the value. Ensure that you specify aminimum of 1 value in the filter parameter.</span></td>
<td><span style="font-weight: 400;">filters[x].values</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">MEASURE_OUTPUT_NAME_INVALID</span></td>
<td><span style="font-weight: 400;">Returnedif the field outputName is invalid. The following characters are accepted inthe outputName field:[A to Z] and [a to z][0 to 9] and [ _ ]</span></td>
<td><span style="font-weight: 400;">measures[x].outputName</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">MEASURE_OUTPUT_NAME_DUPLICATE</span></td>
<td><span style="font-weight: 400;">Returned if the outputName isduplicated across measure and dimension. </span></td>
<td><span style="font-weight: 400;">measures[x].outputName</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">MEASURE_INVALID</span></td>
<td><span style="font-weight: 400;">Returned when the measurespecified in the request is invalid. A spelling error or a measure notsupported by the system will return this error. </span></td>
<td><span style="font-weight: 400;">measures[x].field</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">MEASURE_FIELD_REQUIRED</span></td>
<td><span style="font-weight: 400;">Returned if the measure fieldparameter is not specified in the request.</span></td>
<td><span style="font-weight: 400;">measures[x].field</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">MEASURES_REQUIRED</span></td>
<td><span style="font-weight: 400;">Returned when you do notspecify the measure parameter in the request.</span></td>
<td><span style="font-weight: 400;">measures</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">MEASURES_TOO_FEW</span></td>
<td><span style="font-weight: 400;">Returned when you specify themeasure parameter but do not specify the value. Ensure that you specify aminimum of 1 value in the measure parameter.</span></td>
<td><span style="font-weight: 400;">measures</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">PAGE_NUMBER_TOO_LOW</span></td>
<td><span style="font-weight: 400;">Returned when the number ofpages mentioned in your request is less than 1.</span></td>
<td><span style="font-weight: 400;">paging.pageNumber</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">PAGE_SIZE_TOO_LOW</span></td>
<td><span style="font-weight: 400;">Returned when the number ofrecords to be displayed on the page is less than 50.</span></td>
<td><span style="font-weight: 400;">paging.pageSize</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">PAGE_SIZE_TOO_HIGH</span></td>
<td><span style="font-weight: 400;">Returned when the number ofrecords to be displayed on the page is more than 5000.</span></td>
<td><span style="font-weight: 400;">paging.pageSize</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">START_DATE_INVALID</span></td>
<td><span style="font-weight: 400;">Returned if the start date isnot in the valid format, YYYY-MM-DD.</span></td>
<td><span style="font-weight: 400;">dateFilter.start</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">START_DATE_REQUIRED</span></td>
<td><span style="font-weight: 400;">Returned if the start date isnot specified in the request.</span></td>
<td><span style="font-weight: 400;">dateFilter.start</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">SORTING_FIELD_INVALID</span></td>
<td><span style="font-weight: 400;">Returned if the sorting fieldmentioned in the request is invalid. </span></td>
<td><span style="font-weight: 400;">sorting.field</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">SORTING_ORDER_INVALID</span></td>
<td><span style="font-weight: 400;">Returnedif the sorting order is invalid.Note: Sorting field value must beadded either as dimension or measure</span></td>
<td><span style="font-weight: 400;">sorting.order</span></td>
</tr>
</tbody>
</table>
<p><a id="appendixa"></a><a id="listofdimensions"></a></p>
<h2><b>Appendix A: List of Dimensions</b></h2>
<p><span style="font-weight: 400;">The following table provides a list of supported dimensions:</span></p>
<table>
<tbody>
<tr>
<td><b>Field Name</b></td>
<td><b>Data Type</b></td>
<td><b>Filter Operators Supported</b></td>
<td><b>Notes</b></td>
</tr>
<tr>
<td><span style="font-weight: 400;">date</span></td>
<td><span style="font-weight: 400;">dateTime</span></td>
<td><span style="font-weight: 400;">&#8211;</span></td>
<td><span style="font-weight: 400;">Indicates the date. Should be in the following format:</span></p>
<p><span style="font-weight: 400;">YYYY-MM-DD</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">hour</span></td>
<td><span style="font-weight: 400;">int</span></td>
<td><span style="font-weight: 400;">Equals, NotEquals</span></td>
<td><span style="font-weight: 400;">Indicates the hour of the day. The acceptable values are:</span></p>
<p><span style="font-weight: 400;">[0, 1, 2, 3,&#8230;,23]</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">month</span></td>
<td><span style="font-weight: 400;">string</span></td>
<td><span style="font-weight: 400;">Equals, NotEquals</span></td>
<td><span style="font-weight: 400;">Indicates the month. The available values are:</span></p>
<p><span style="font-weight: 400;">[January, February,…, December]</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">campaign</span></td>
<td><span style="font-weight: 400;">string</span></td>
<td><span style="font-weight: 400;">Equals, NotEquals, Like</span></td>
<td><span style="font-weight: 400;">Indicates the Campaign name.</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">campaignId</span></td>
<td><span style="font-weight: 400;">int</span></td>
<td><span style="font-weight: 400;">Equals, NotEquals</span></td>
<td><span style="font-weight: 400;">Indicates the Campaign ID.</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">campaignTag</span></td>
<td><span style="font-weight: 400;">string</span></td>
<td><span style="font-weight: 400;">Equals, NotEquals, Like</span></td>
<td><span style="font-weight: 400;">Indicates the campaign tag for that campaign. For example,</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">campaignType</span></td>
<td><span style="font-weight: 400;">string</span></td>
<td><span style="font-weight: 400;">Equals, NotEquals</span></td>
<td><span style="font-weight: 400;">Indicates the type of campaign. The values are following:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Search</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Keyword Sponsorship</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Native</span></li>
</ul>
</td>
</tr>
<tr>
<td><span style="font-weight: 400;">adGroup</span></td>
<td><span style="font-weight: 400;">string</span></td>
<td><span style="font-weight: 400;">Equals, NotEquals, Like</span></td>
<td><span style="font-weight: 400;">Indicates the name of the Ad group.</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">adGroupId</span></td>
<td><span style="font-weight: 400;">int</span></td>
<td><span style="font-weight: 400;">Equals, NotEquals</span></td>
<td><span style="font-weight: 400;">Indicates the Ad group ID.</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">adId</span></td>
<td><span style="font-weight: 400;">int</span></td>
<td><span style="font-weight: 400;">&#8211;</span></td>
<td><span style="font-weight: 400;">Indicates the Ad ID.</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">keywordMatchType</span></td>
<td><span style="font-weight: 400;">string</span></td>
<td><span style="font-weight: 400;">Equals, NotEquals</span></td>
<td><span style="font-weight: 400;">Indicates the keyword match type. Available options are:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Broad</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Phrase</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Exact</span></li>
</ul>
</td>
</tr>
<tr>
<td><span style="font-weight: 400;">matchedTerm</span></td>
<td><span style="font-weight: 400;">string</span></td>
<td><span style="font-weight: 400;">Equals, NotEquals, Like</span></td>
<td><span style="font-weight: 400;">Indicates the Match Term that will be used to match your Ads with searches.</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">category</span></td>
<td><span style="font-weight: 400;">string</span></td>
<td><span style="font-weight: 400;">&#8211;</span></td>
<td><span style="font-weight: 400;">Indicates the category name. For example, health -&gt; vision care</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">device</span></td>
<td><span style="font-weight: 400;">string</span></td>
<td><span style="font-weight: 400;">Equals, NotEquals</span></td>
<td><span style="font-weight: 400;">Indicates the device. The available options are:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Desktop</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Tablet</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Smart Phone</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Others</span></li>
</ul>
</td>
</tr>
<tr>
<td><span style="font-weight: 400;">browser</span></td>
<td><span style="font-weight: 400;">string</span></td>
<td><span style="font-weight: 400;">Equals, NotEquals</span></td>
<td><span style="font-weight: 400;">Identifies the browser.  Available options are:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Google Chrome</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Internet Edge</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Internet Explorer</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Mozilla Firefox</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Safari</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Others</span></li>
</ul>
</td>
</tr>
<tr>
<td><span style="font-weight: 400;">countryCode</span></td>
<td><span style="font-weight: 400;">string</span></td>
<td><span style="font-weight: 400;">Equals, NotEquals</span></td>
<td><span style="font-weight: 400;">Indicates the country code. Supports ISO ALPHA-2 Codes. For example, US.</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">publisherId</span></td>
<td><span style="font-weight: 400;">string</span></td>
<td><span style="font-weight: 400;">Equals, NotEquals, Like</span></td>
<td><span style="font-weight: 400;">Indicate the Publisher Identifiers.</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">conversionEvent</span></td>
<td><span style="font-weight: 400;">string</span></td>
<td><span style="font-weight: 400;">Equals, NotEquals, Like</span></td>
<td><span style="font-weight: 400;">Indicates the conversion event.</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">biddingType</span></td>
<td><span style="font-weight: 400;">string</span></td>
<td><span style="font-weight: 400;">Equals, NotEquals</span></td>
<td><span style="font-weight: 400;">Indicates the bidding type used. Available values are:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">CPM</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">CPC</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">CPA</span></li>
</ul>
</td>
</tr>
<tr>
<td><span style="font-weight: 400;">biddingStrategy</span></td>
<td><span style="font-weight: 400;">string</span></td>
<td><span style="font-weight: 400;">Equals, NotEquals</span></td>
<td><span style="font-weight: 400;">Indicates the bidding strategy. Available values are:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Auto</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Manual</span></li>
</ul>
</td>
</tr>
</tbody>
</table>
<p><a id="listofmeasures"></a><a id="appendixb"></a></p>
<h2><b>Appendix B: List of Measures</b></h2>
<p><span style="font-weight: 400;">The following table provides a list of supported dimensions:</span></p>
<table>
<tbody>
<tr>
<td><b>Field Name</b></td>
<td><b>Data Type</b></td>
<td><b>Description</b></td>
</tr>
<tr>
<td><span style="font-weight: 400;">impressions</span></td>
<td><span style="font-weight: 400;">int</span></td>
<td><span style="font-weight: 400;">Indicates the total number of served Ad impressions.</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">clicks</span></td>
<td><span style="font-weight: 400;">int</span></td>
<td><span style="font-weight: 400;">Indicates the total number of Ad clicks.</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">ctr</span></td>
<td><span style="font-weight: 400;">decimal</span></td>
<td><span style="font-weight: 400;">Indicates the click-through rate for an Ad. It defines how often people who see your Ad end up clicking it.</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">cost</span></td>
<td><span style="font-weight: 400;">decimal</span></td>
<td><span style="font-weight: 400;">Indicates the total billing amount.</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">conversions</span></td>
<td><span style="font-weight: 400;">decimal</span></td>
<td><span style="font-weight: 400;">Sum of weighted events which are counted as conversions.</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">conversionRate</span></td>
<td><span style="font-weight: 400;">decimal</span></td>
<td><span style="font-weight: 400;">The average number of conversions per Ad interaction, shown as a percentage.</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">conversionValue</span></td>
<td><span style="font-weight: 400;">decimal</span></td>
<td><span style="font-weight: 400;">Indicates the aggregated Value of weighted conversions as specified by the advertiser.</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">cpc</span></td>
<td><span style="font-weight: 400;">decimal</span></td>
<td><span style="font-weight: 400;">Indicates the average cost per click.</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">cpm</span></td>
<td><span style="font-weight: 400;">decimal</span></td>
<td><span style="font-weight: 400;">Indicates the average cost per 1000 impressions.</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">cpa</span></td>
<td><span style="font-weight: 400;">decimal</span></td>
<td><span style="font-weight: 400;">Indicates the average cost per action.</span></td>
</tr>
<tr>
<td><span style="font-weight: 400;">valuePerConversion</span></td>
<td><span style="font-weight: 400;">decimal</span></td>
<td><span style="font-weight: 400;">Indicates approximately how much, on average, each of your conversions is worth.</span></td>
</tr>
</tbody>
</table>
<p>&nbsp;</div>
			</div>
			</div>
				
				
			</div>
				
				
			</div>
<p>The post <a href="https://performmedia.com/reports-api-generate-custom-report-requests/">Reports API: Generate Custom Report Requests</a> appeared first on <a href="https://performmedia.com">Perform Media</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2813</post-id>	</item>
	</channel>
</rss>
