doc/classes/AdWords/V13/ReportService/ReportServiceWrapper.html in adwords4r-19.0.0 vs doc/classes/AdWords/V13/ReportService/ReportServiceWrapper.html in adwords4r-19.1.0
- old
+ new
@@ -55,57 +55,57 @@
<dt>D</dt>
<dd>
<ul>
- <li><a href="#M000074">deleteReport</a>,</li>
+ <li><a href="#method-i-deleteReport">deleteReport</a>,</li>
- <li><a href="#M000088">downloadCsvReport</a>,</li>
+ <li><a href="#method-i-downloadCsvReport">downloadCsvReport</a>,</li>
- <li><a href="#M000087">downloadXmlReport</a></li>
+ <li><a href="#method-i-downloadXmlReport">downloadXmlReport</a></li>
</ul>
</dd>
<dt>G</dt>
<dd>
<ul>
- <li><a href="#M000075">getAllJobs</a>,</li>
+ <li><a href="#method-i-getAllJobs">getAllJobs</a>,</li>
- <li><a href="#M000076">getGzipReportDownloadUrl</a>,</li>
+ <li><a href="#method-i-getGzipReportDownloadUrl">getGzipReportDownloadUrl</a>,</li>
- <li><a href="#M000077">getReportDownloadUrl</a>,</li>
+ <li><a href="#method-i-getReportDownloadUrl">getReportDownloadUrl</a>,</li>
- <li><a href="#M000080">getReportJobStatus</a></li>
+ <li><a href="#method-i-getReportJobStatus">getReportJobStatus</a></li>
</ul>
</dd>
<dt>N</dt>
<dd>
<ul>
- <li><a href="#M000073">new</a></li>
+ <li><a href="#method-c-new">new</a></li>
</ul>
</dd>
<dt>S</dt>
<dd>
<ul>
- <li><a href="#M000082">scheduleReportJob</a></li>
+ <li><a href="#method-i-scheduleReportJob">scheduleReportJob</a></li>
</ul>
</dd>
<dt>V</dt>
<dd>
<ul>
- <li><a href="#M000084">validateReportJob</a></li>
+ <li><a href="#method-i-validateReportJob">validateReportJob</a></li>
</ul>
</dd>
</dl>
@@ -163,13 +163,13 @@
<div class="sectiontitle">Class Public methods</div>
<div class="method">
- <div class="title" id="M000073">
+ <div class="title" id="method-c-new">
- <a name="M000073"></a><b>new</b>(driver, api)
+ <a name="method-c-new"></a><b>new</b>(driver, api)
</div>
<div class="description">
<p>
@@ -178,48 +178,50 @@
</p>
<p>
Args:
</p>
<ul>
-<li>driver: SOAP::RPC::Driver object with the remote SOAP methods for this
+<li><p>
+driver: SOAP::RPC::Driver object with the remote SOAP methods for this
service
-
+</p>
</li>
-<li>api: the <a href="../../API.html">AdWords::API</a> object to which the
+<li><p>
+api: the <a href="../../API.html">AdWords::API</a> object to which the
wrapper belongs
-
+</p>
</li>
</ul>
</div>
<div class="sourcecode">
<p class="source-link">
- Source: <a href="javascript:toggleSource('M000073_source')" id="l_M000073_source">show</a>
+ Source: <a href="javascript:toggleSource('method-c-new_source')" id="l_method-c-new_source">show</a>
</p>
- <div id="M000073_source" class="dyn-source">
- <pre><span class="ruby-comment cmt"># File lib/adwords4r/v13/ReportServiceWrapper.rb, line 34</span>
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">driver</span>, <span class="ruby-identifier">api</span>)
- <span class="ruby-ivar">@driver</span> = <span class="ruby-identifier">driver</span>
- <span class="ruby-ivar">@api</span> = <span class="ruby-identifier">api</span>
- <span class="ruby-ivar">@module</span> = <span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">V13</span><span class="ruby-operator">::</span><span class="ruby-constant">ReportService</span>
- <span class="ruby-keyword kw">end</span></pre>
+ <div id="method-c-new_source" class="dyn-source">
+ <pre> <span class="ruby-comment cmt"># File lib/adwords4r/v13/ReportServiceWrapper.rb, line 34</span>
+34: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">driver</span>, <span class="ruby-identifier">api</span>)
+35: <span class="ruby-ivar">@driver</span> = <span class="ruby-identifier">driver</span>
+36: <span class="ruby-ivar">@api</span> = <span class="ruby-identifier">api</span>
+37: <span class="ruby-ivar">@module</span> = <span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">V13</span><span class="ruby-operator">::</span><span class="ruby-constant">ReportService</span>
+38: <span class="ruby-keyword kw">end</span></pre>
</div>
</div>
</div>
<div class="sectiontitle">Instance Public methods</div>
<div class="method">
- <div class="title" id="M000074">
+ <div class="title" id="method-i-deleteReport">
- <a name="M000074"></a><b>deleteReport</b>(reportJobId)
+ <a name="method-i-deleteReport"></a><b>deleteReport</b>(reportJobId)
</div>
<div class="description">
<p>
@@ -231,12 +233,13 @@
</p>
<p>
Args:
</p>
<ul>
-<li>reportJobId: SOAP::SOAPLong
-
+<li><p>
+reportJobId: SOAP::SOAPLong
+</p>
</li>
</ul>
<p>
Raises: <a href="../../Error/ApiError.html">Error::ApiError</a> (or a
subclass thereof) if a SOAP fault occurs.
@@ -247,104 +250,104 @@
<div class="sourcecode">
<p class="source-link">
- Source: <a href="javascript:toggleSource('M000074_source')" id="l_M000074_source">show</a>
+ Source: <a href="javascript:toggleSource('method-i-deleteReport_source')" id="l_method-i-deleteReport_source">show</a>
</p>
- <div id="M000074_source" class="dyn-source">
- <pre><span class="ruby-comment cmt"># File lib/adwords4r/v13/ReportServiceWrapper.rb, line 49</span>
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">deleteReport</span>(<span class="ruby-identifier">reportJobId</span>)
- <span class="ruby-keyword kw">begin</span>
- <span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">Service</span>.<span class="ruby-identifier">validate_param</span>(<span class="ruby-value str">'reportJobId'</span>,
- <span class="ruby-identifier">reportJobId</span>, <span class="ruby-constant">SOAP</span><span class="ruby-operator">::</span><span class="ruby-constant">SOAPLong</span>)
- <span class="ruby-comment cmt"># Construct request object and make API call</span>
- <span class="ruby-identifier">obj</span> = <span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">V13</span><span class="ruby-operator">::</span><span class="ruby-constant">ReportService</span><span class="ruby-operator">::</span><span class="ruby-constant">DeleteReport</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">reportJobId</span>)
- <span class="ruby-keyword kw">return</span> <span class="ruby-ivar">@driver</span>.<span class="ruby-identifier">deleteReport</span>(<span class="ruby-identifier">obj</span>)
- <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">SOAP</span><span class="ruby-operator">::</span><span class="ruby-constant">FaultError</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">fault</span>
- <span class="ruby-identifier">raise</span>(<span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">Error</span><span class="ruby-operator">::</span><span class="ruby-identifier">create_specific_api_error</span>(<span class="ruby-identifier">fault</span>),
- <span class="ruby-value str">"deleteReport Call Failed: "</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">fault</span>.<span class="ruby-identifier">faultstring</span>.<span class="ruby-identifier">to_s</span>, <span class="ruby-identifier">caller</span>)
- <span class="ruby-keyword kw">end</span>
- <span class="ruby-keyword kw">end</span></pre>
+ <div id="method-i-deleteReport_source" class="dyn-source">
+ <pre> <span class="ruby-comment cmt"># File lib/adwords4r/v13/ReportServiceWrapper.rb, line 49</span>
+49: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">deleteReport</span>(<span class="ruby-identifier">reportJobId</span>)
+50: <span class="ruby-keyword kw">begin</span>
+51: <span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">Service</span>.<span class="ruby-identifier">validate_param</span>(<span class="ruby-value str">'reportJobId'</span>,
+52: <span class="ruby-identifier">reportJobId</span>, <span class="ruby-constant">SOAP</span><span class="ruby-operator">::</span><span class="ruby-constant">SOAPLong</span>)
+53: <span class="ruby-comment cmt"># Construct request object and make API call</span>
+54: <span class="ruby-identifier">obj</span> = <span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">V13</span><span class="ruby-operator">::</span><span class="ruby-constant">ReportService</span><span class="ruby-operator">::</span><span class="ruby-constant">DeleteReport</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">reportJobId</span>)
+55: <span class="ruby-keyword kw">return</span> <span class="ruby-ivar">@driver</span>.<span class="ruby-identifier">deleteReport</span>(<span class="ruby-identifier">obj</span>)
+56: <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">SOAP</span><span class="ruby-operator">::</span><span class="ruby-constant">FaultError</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">fault</span>
+57: <span class="ruby-identifier">raise</span>(<span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">Error</span><span class="ruby-operator">::</span><span class="ruby-identifier">create_specific_api_error</span>(<span class="ruby-identifier">fault</span>),
+58: <span class="ruby-value str">"deleteReport Call Failed: "</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">fault</span>.<span class="ruby-identifier">faultstring</span>.<span class="ruby-identifier">to_s</span>, <span class="ruby-identifier">caller</span>)
+59: <span class="ruby-keyword kw">end</span>
+60: <span class="ruby-keyword kw">end</span></pre>
</div>
</div>
</div>
<div class="method">
- <div class="title" id="M000088">
+ <div class="title" id="method-i-downloadCsvReport">
- <a name="M000088"></a><b>downloadCsvReport</b>(job_id)
+ <a name="method-i-downloadCsvReport"></a><b>downloadCsvReport</b>(job_id)
</div>
<div class="description">
<p>
-<em>Extension method</em> — Calls the <a
-href="../../Extensions.html#M000072">AdWords::Extensions.downloadCsvReport</a>
-method with <tt>self</tt> as the first parameter.
+<em>Extension method</em> — Calls the
+AdWords::Extensions.downloadCsvReport method with <tt>self</tt> as the
+first parameter.
</p>
</div>
<div class="sourcecode">
<p class="source-link">
- Source: <a href="javascript:toggleSource('M000088_source')" id="l_M000088_source">show</a>
+ Source: <a href="javascript:toggleSource('method-i-downloadCsvReport_source')" id="l_method-i-downloadCsvReport_source">show</a>
</p>
- <div id="M000088_source" class="dyn-source">
- <pre><span class="ruby-comment cmt"># File lib/adwords4r/v13/ReportServiceWrapper.rb, line 212</span>
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">downloadCsvReport</span>(<span class="ruby-identifier">job_id</span>)
- <span class="ruby-keyword kw">return</span> <span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">Extensions</span>.<span class="ruby-identifier">downloadCsvReport</span>(<span class="ruby-keyword kw">self</span>, <span class="ruby-identifier">job_id</span>)
- <span class="ruby-keyword kw">end</span></pre>
+ <div id="method-i-downloadCsvReport_source" class="dyn-source">
+ <pre> <span class="ruby-comment cmt"># File lib/adwords4r/v13/ReportServiceWrapper.rb, line 212</span>
+212: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">downloadCsvReport</span>(<span class="ruby-identifier">job_id</span>)
+213: <span class="ruby-keyword kw">return</span> <span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">Extensions</span>.<span class="ruby-identifier">downloadCsvReport</span>(<span class="ruby-keyword kw">self</span>, <span class="ruby-identifier">job_id</span>)
+214: <span class="ruby-keyword kw">end</span></pre>
</div>
</div>
</div>
<div class="method">
- <div class="title" id="M000087">
+ <div class="title" id="method-i-downloadXmlReport">
- <a name="M000087"></a><b>downloadXmlReport</b>(job_id)
+ <a name="method-i-downloadXmlReport"></a><b>downloadXmlReport</b>(job_id)
</div>
<div class="description">
<p>
-<em>Extension method</em> — Calls the <a
-href="../../Extensions.html#M000071">AdWords::Extensions.downloadXmlReport</a>
-method with <tt>self</tt> as the first parameter.
+<em>Extension method</em> — Calls the
+AdWords::Extensions.downloadXmlReport method with <tt>self</tt> as the
+first parameter.
</p>
</div>
<div class="sourcecode">
<p class="source-link">
- Source: <a href="javascript:toggleSource('M000087_source')" id="l_M000087_source">show</a>
+ Source: <a href="javascript:toggleSource('method-i-downloadXmlReport_source')" id="l_method-i-downloadXmlReport_source">show</a>
</p>
- <div id="M000087_source" class="dyn-source">
- <pre><span class="ruby-comment cmt"># File lib/adwords4r/v13/ReportServiceWrapper.rb, line 206</span>
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">downloadXmlReport</span>(<span class="ruby-identifier">job_id</span>)
- <span class="ruby-keyword kw">return</span> <span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">Extensions</span>.<span class="ruby-identifier">downloadXmlReport</span>(<span class="ruby-keyword kw">self</span>, <span class="ruby-identifier">job_id</span>)
- <span class="ruby-keyword kw">end</span></pre>
+ <div id="method-i-downloadXmlReport_source" class="dyn-source">
+ <pre> <span class="ruby-comment cmt"># File lib/adwords4r/v13/ReportServiceWrapper.rb, line 206</span>
+206: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">downloadXmlReport</span>(<span class="ruby-identifier">job_id</span>)
+207: <span class="ruby-keyword kw">return</span> <span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">Extensions</span>.<span class="ruby-identifier">downloadXmlReport</span>(<span class="ruby-keyword kw">self</span>, <span class="ruby-identifier">job_id</span>)
+208: <span class="ruby-keyword kw">end</span></pre>
</div>
</div>
</div>
<div class="method">
- <div class="title" id="M000075">
+ <div class="title" id="method-i-getAllJobs">
- <a name="M000075"></a><b>getAllJobs</b>()
+ <a name="method-i-getAllJobs"></a><b>getAllJobs</b>()
</div>
<div class="description">
<p>
@@ -356,13 +359,14 @@
</p>
<p>
Returns:
</p>
<ul>
-<li>getAllJobsReturn: SOAP::SOAPArray of <a
+<li><p>
+getAllJobsReturn: SOAP::SOAPArray of <a
href="ReportJob.html">AdWords::V13::ReportService::ReportJob</a>
-
+</p>
</li>
</ul>
<p>
Raises: <a href="../../Error/ApiError.html">Error::ApiError</a> (or a
subclass thereof) if a SOAP fault occurs.
@@ -373,34 +377,34 @@
<div class="sourcecode">
<p class="source-link">
- Source: <a href="javascript:toggleSource('M000075_source')" id="l_M000075_source">show</a>
+ Source: <a href="javascript:toggleSource('method-i-getAllJobs_source')" id="l_method-i-getAllJobs_source">show</a>
</p>
- <div id="M000075_source" class="dyn-source">
- <pre><span class="ruby-comment cmt"># File lib/adwords4r/v13/ReportServiceWrapper.rb, line 71</span>
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">getAllJobs</span>()
- <span class="ruby-keyword kw">begin</span>
- <span class="ruby-comment cmt"># Construct request object and make API call</span>
- <span class="ruby-identifier">obj</span> = <span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">V13</span><span class="ruby-operator">::</span><span class="ruby-constant">ReportService</span><span class="ruby-operator">::</span><span class="ruby-constant">GetAllJobs</span>.<span class="ruby-identifier">new</span>()
- <span class="ruby-keyword kw">return</span> <span class="ruby-ivar">@driver</span>.<span class="ruby-identifier">getAllJobs</span>(<span class="ruby-identifier">obj</span>)
- <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">SOAP</span><span class="ruby-operator">::</span><span class="ruby-constant">FaultError</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">fault</span>
- <span class="ruby-identifier">raise</span>(<span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">Error</span><span class="ruby-operator">::</span><span class="ruby-identifier">create_specific_api_error</span>(<span class="ruby-identifier">fault</span>),
- <span class="ruby-value str">"getAllJobs Call Failed: "</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">fault</span>.<span class="ruby-identifier">faultstring</span>.<span class="ruby-identifier">to_s</span>, <span class="ruby-identifier">caller</span>)
- <span class="ruby-keyword kw">end</span>
- <span class="ruby-keyword kw">end</span></pre>
+ <div id="method-i-getAllJobs_source" class="dyn-source">
+ <pre> <span class="ruby-comment cmt"># File lib/adwords4r/v13/ReportServiceWrapper.rb, line 71</span>
+71: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">getAllJobs</span>()
+72: <span class="ruby-keyword kw">begin</span>
+73: <span class="ruby-comment cmt"># Construct request object and make API call</span>
+74: <span class="ruby-identifier">obj</span> = <span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">V13</span><span class="ruby-operator">::</span><span class="ruby-constant">ReportService</span><span class="ruby-operator">::</span><span class="ruby-constant">GetAllJobs</span>.<span class="ruby-identifier">new</span>()
+75: <span class="ruby-keyword kw">return</span> <span class="ruby-ivar">@driver</span>.<span class="ruby-identifier">getAllJobs</span>(<span class="ruby-identifier">obj</span>)
+76: <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">SOAP</span><span class="ruby-operator">::</span><span class="ruby-constant">FaultError</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">fault</span>
+77: <span class="ruby-identifier">raise</span>(<span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">Error</span><span class="ruby-operator">::</span><span class="ruby-identifier">create_specific_api_error</span>(<span class="ruby-identifier">fault</span>),
+78: <span class="ruby-value str">"getAllJobs Call Failed: "</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">fault</span>.<span class="ruby-identifier">faultstring</span>.<span class="ruby-identifier">to_s</span>, <span class="ruby-identifier">caller</span>)
+79: <span class="ruby-keyword kw">end</span>
+80: <span class="ruby-keyword kw">end</span></pre>
</div>
</div>
</div>
<div class="method">
- <div class="title" id="M000076">
+ <div class="title" id="method-i-getGzipReportDownloadUrl">
- <a name="M000076"></a><b>getGzipReportDownloadUrl</b>(reportJobId)
+ <a name="method-i-getGzipReportDownloadUrl"></a><b>getGzipReportDownloadUrl</b>(reportJobId)
</div>
<div class="description">
<p>
@@ -412,20 +416,22 @@
</p>
<p>
Args:
</p>
<ul>
-<li>reportJobId: SOAP::SOAPLong
-
+<li><p>
+reportJobId: SOAP::SOAPLong
+</p>
</li>
</ul>
<p>
Returns:
</p>
<ul>
-<li>getGzipReportDownloadUrlReturn: SOAP::SOAPString
-
+<li><p>
+getGzipReportDownloadUrlReturn: SOAP::SOAPString
+</p>
</li>
</ul>
<p>
Raises: <a href="../../Error/ApiError.html">Error::ApiError</a> (or a
subclass thereof) if a SOAP fault occurs.
@@ -436,36 +442,36 @@
<div class="sourcecode">
<p class="source-link">
- Source: <a href="javascript:toggleSource('M000076_source')" id="l_M000076_source">show</a>
+ Source: <a href="javascript:toggleSource('method-i-getGzipReportDownloadUrl_source')" id="l_method-i-getGzipReportDownloadUrl_source">show</a>
</p>
- <div id="M000076_source" class="dyn-source">
- <pre><span class="ruby-comment cmt"># File lib/adwords4r/v13/ReportServiceWrapper.rb, line 94</span>
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">getGzipReportDownloadUrl</span>(<span class="ruby-identifier">reportJobId</span>)
- <span class="ruby-keyword kw">begin</span>
- <span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">Service</span>.<span class="ruby-identifier">validate_param</span>(<span class="ruby-value str">'reportJobId'</span>,
- <span class="ruby-identifier">reportJobId</span>, <span class="ruby-constant">SOAP</span><span class="ruby-operator">::</span><span class="ruby-constant">SOAPLong</span>)
- <span class="ruby-comment cmt"># Construct request object and make API call</span>
- <span class="ruby-identifier">obj</span> = <span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">V13</span><span class="ruby-operator">::</span><span class="ruby-constant">ReportService</span><span class="ruby-operator">::</span><span class="ruby-constant">GetGzipReportDownloadUrl</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">reportJobId</span>)
- <span class="ruby-keyword kw">return</span> <span class="ruby-ivar">@driver</span>.<span class="ruby-identifier">getGzipReportDownloadUrl</span>(<span class="ruby-identifier">obj</span>)
- <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">SOAP</span><span class="ruby-operator">::</span><span class="ruby-constant">FaultError</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">fault</span>
- <span class="ruby-identifier">raise</span>(<span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">Error</span><span class="ruby-operator">::</span><span class="ruby-identifier">create_specific_api_error</span>(<span class="ruby-identifier">fault</span>),
- <span class="ruby-value str">"getGzipReportDownloadUrl Call Failed: "</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">fault</span>.<span class="ruby-identifier">faultstring</span>.<span class="ruby-identifier">to_s</span>, <span class="ruby-identifier">caller</span>)
- <span class="ruby-keyword kw">end</span>
- <span class="ruby-keyword kw">end</span></pre>
+ <div id="method-i-getGzipReportDownloadUrl_source" class="dyn-source">
+ <pre> <span class="ruby-comment cmt"># File lib/adwords4r/v13/ReportServiceWrapper.rb, line 94</span>
+ 94: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">getGzipReportDownloadUrl</span>(<span class="ruby-identifier">reportJobId</span>)
+ 95: <span class="ruby-keyword kw">begin</span>
+ 96: <span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">Service</span>.<span class="ruby-identifier">validate_param</span>(<span class="ruby-value str">'reportJobId'</span>,
+ 97: <span class="ruby-identifier">reportJobId</span>, <span class="ruby-constant">SOAP</span><span class="ruby-operator">::</span><span class="ruby-constant">SOAPLong</span>)
+ 98: <span class="ruby-comment cmt"># Construct request object and make API call</span>
+ 99: <span class="ruby-identifier">obj</span> = <span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">V13</span><span class="ruby-operator">::</span><span class="ruby-constant">ReportService</span><span class="ruby-operator">::</span><span class="ruby-constant">GetGzipReportDownloadUrl</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">reportJobId</span>)
+100: <span class="ruby-keyword kw">return</span> <span class="ruby-ivar">@driver</span>.<span class="ruby-identifier">getGzipReportDownloadUrl</span>(<span class="ruby-identifier">obj</span>)
+101: <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">SOAP</span><span class="ruby-operator">::</span><span class="ruby-constant">FaultError</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">fault</span>
+102: <span class="ruby-identifier">raise</span>(<span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">Error</span><span class="ruby-operator">::</span><span class="ruby-identifier">create_specific_api_error</span>(<span class="ruby-identifier">fault</span>),
+103: <span class="ruby-value str">"getGzipReportDownloadUrl Call Failed: "</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">fault</span>.<span class="ruby-identifier">faultstring</span>.<span class="ruby-identifier">to_s</span>, <span class="ruby-identifier">caller</span>)
+104: <span class="ruby-keyword kw">end</span>
+105: <span class="ruby-keyword kw">end</span></pre>
</div>
</div>
</div>
<div class="method">
- <div class="title" id="M000077">
+ <div class="title" id="method-i-getReportDownloadUrl">
- <a name="M000077"></a><b>getReportDownloadUrl</b>(reportJobId)
+ <a name="method-i-getReportDownloadUrl"></a><b>getReportDownloadUrl</b>(reportJobId)
</div>
<div class="description">
<p>
@@ -477,20 +483,22 @@
</p>
<p>
Args:
</p>
<ul>
-<li>reportJobId: SOAP::SOAPLong
-
+<li><p>
+reportJobId: SOAP::SOAPLong
+</p>
</li>
</ul>
<p>
Returns:
</p>
<ul>
-<li>getReportDownloadUrlReturn: SOAP::SOAPString
-
+<li><p>
+getReportDownloadUrlReturn: SOAP::SOAPString
+</p>
</li>
</ul>
<p>
Raises: <a href="../../Error/ApiError.html">Error::ApiError</a> (or a
subclass thereof) if a SOAP fault occurs.
@@ -501,36 +509,36 @@
<div class="sourcecode">
<p class="source-link">
- Source: <a href="javascript:toggleSource('M000077_source')" id="l_M000077_source">show</a>
+ Source: <a href="javascript:toggleSource('method-i-getReportDownloadUrl_source')" id="l_method-i-getReportDownloadUrl_source">show</a>
</p>
- <div id="M000077_source" class="dyn-source">
- <pre><span class="ruby-comment cmt"># File lib/adwords4r/v13/ReportServiceWrapper.rb, line 119</span>
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">getReportDownloadUrl</span>(<span class="ruby-identifier">reportJobId</span>)
- <span class="ruby-keyword kw">begin</span>
- <span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">Service</span>.<span class="ruby-identifier">validate_param</span>(<span class="ruby-value str">'reportJobId'</span>,
- <span class="ruby-identifier">reportJobId</span>, <span class="ruby-constant">SOAP</span><span class="ruby-operator">::</span><span class="ruby-constant">SOAPLong</span>)
- <span class="ruby-comment cmt"># Construct request object and make API call</span>
- <span class="ruby-identifier">obj</span> = <span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">V13</span><span class="ruby-operator">::</span><span class="ruby-constant">ReportService</span><span class="ruby-operator">::</span><span class="ruby-constant">GetReportDownloadUrl</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">reportJobId</span>)
- <span class="ruby-keyword kw">return</span> <span class="ruby-ivar">@driver</span>.<span class="ruby-identifier">getReportDownloadUrl</span>(<span class="ruby-identifier">obj</span>)
- <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">SOAP</span><span class="ruby-operator">::</span><span class="ruby-constant">FaultError</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">fault</span>
- <span class="ruby-identifier">raise</span>(<span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">Error</span><span class="ruby-operator">::</span><span class="ruby-identifier">create_specific_api_error</span>(<span class="ruby-identifier">fault</span>),
- <span class="ruby-value str">"getReportDownloadUrl Call Failed: "</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">fault</span>.<span class="ruby-identifier">faultstring</span>.<span class="ruby-identifier">to_s</span>, <span class="ruby-identifier">caller</span>)
- <span class="ruby-keyword kw">end</span>
- <span class="ruby-keyword kw">end</span></pre>
+ <div id="method-i-getReportDownloadUrl_source" class="dyn-source">
+ <pre> <span class="ruby-comment cmt"># File lib/adwords4r/v13/ReportServiceWrapper.rb, line 119</span>
+119: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">getReportDownloadUrl</span>(<span class="ruby-identifier">reportJobId</span>)
+120: <span class="ruby-keyword kw">begin</span>
+121: <span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">Service</span>.<span class="ruby-identifier">validate_param</span>(<span class="ruby-value str">'reportJobId'</span>,
+122: <span class="ruby-identifier">reportJobId</span>, <span class="ruby-constant">SOAP</span><span class="ruby-operator">::</span><span class="ruby-constant">SOAPLong</span>)
+123: <span class="ruby-comment cmt"># Construct request object and make API call</span>
+124: <span class="ruby-identifier">obj</span> = <span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">V13</span><span class="ruby-operator">::</span><span class="ruby-constant">ReportService</span><span class="ruby-operator">::</span><span class="ruby-constant">GetReportDownloadUrl</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">reportJobId</span>)
+125: <span class="ruby-keyword kw">return</span> <span class="ruby-ivar">@driver</span>.<span class="ruby-identifier">getReportDownloadUrl</span>(<span class="ruby-identifier">obj</span>)
+126: <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">SOAP</span><span class="ruby-operator">::</span><span class="ruby-constant">FaultError</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">fault</span>
+127: <span class="ruby-identifier">raise</span>(<span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">Error</span><span class="ruby-operator">::</span><span class="ruby-identifier">create_specific_api_error</span>(<span class="ruby-identifier">fault</span>),
+128: <span class="ruby-value str">"getReportDownloadUrl Call Failed: "</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">fault</span>.<span class="ruby-identifier">faultstring</span>.<span class="ruby-identifier">to_s</span>, <span class="ruby-identifier">caller</span>)
+129: <span class="ruby-keyword kw">end</span>
+130: <span class="ruby-keyword kw">end</span></pre>
</div>
</div>
</div>
<div class="method">
- <div class="title" id="M000080">
+ <div class="title" id="method-i-getReportJobStatus">
- <a name="M000080"></a><b>getReportJobStatus</b>(reportJobId)
+ <a name="method-i-getReportJobStatus"></a><b>getReportJobStatus</b>(reportJobId)
</div>
<div class="description">
<p>
@@ -542,21 +550,23 @@
</p>
<p>
Args:
</p>
<ul>
-<li>reportJobId: SOAP::SOAPLong
-
+<li><p>
+reportJobId: SOAP::SOAPLong
+</p>
</li>
</ul>
<p>
Returns:
</p>
<ul>
-<li>getReportJobStatusReturn: <a
+<li><p>
+getReportJobStatusReturn: <a
href="ReportJobStatus.html">AdWords::V13::ReportService::ReportJobStatus</a>
-
+</p>
</li>
</ul>
<p>
Raises: <a href="../../Error/ApiError.html">Error::ApiError</a> (or a
subclass thereof) if a SOAP fault occurs.
@@ -567,36 +577,36 @@
<div class="sourcecode">
<p class="source-link">
- Source: <a href="javascript:toggleSource('M000080_source')" id="l_M000080_source">show</a>
+ Source: <a href="javascript:toggleSource('method-i-getReportJobStatus_source')" id="l_method-i-getReportJobStatus_source">show</a>
</p>
- <div id="M000080_source" class="dyn-source">
- <pre><span class="ruby-comment cmt"># File lib/adwords4r/v13/ReportServiceWrapper.rb, line 144</span>
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">getReportJobStatus</span>(<span class="ruby-identifier">reportJobId</span>)
- <span class="ruby-keyword kw">begin</span>
- <span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">Service</span>.<span class="ruby-identifier">validate_param</span>(<span class="ruby-value str">'reportJobId'</span>,
- <span class="ruby-identifier">reportJobId</span>, <span class="ruby-constant">SOAP</span><span class="ruby-operator">::</span><span class="ruby-constant">SOAPLong</span>)
- <span class="ruby-comment cmt"># Construct request object and make API call</span>
- <span class="ruby-identifier">obj</span> = <span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">V13</span><span class="ruby-operator">::</span><span class="ruby-constant">ReportService</span><span class="ruby-operator">::</span><span class="ruby-constant">GetReportJobStatus</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">reportJobId</span>)
- <span class="ruby-keyword kw">return</span> <span class="ruby-ivar">@driver</span>.<span class="ruby-identifier">getReportJobStatus</span>(<span class="ruby-identifier">obj</span>)
- <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">SOAP</span><span class="ruby-operator">::</span><span class="ruby-constant">FaultError</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">fault</span>
- <span class="ruby-identifier">raise</span>(<span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">Error</span><span class="ruby-operator">::</span><span class="ruby-identifier">create_specific_api_error</span>(<span class="ruby-identifier">fault</span>),
- <span class="ruby-value str">"getReportJobStatus Call Failed: "</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">fault</span>.<span class="ruby-identifier">faultstring</span>.<span class="ruby-identifier">to_s</span>, <span class="ruby-identifier">caller</span>)
- <span class="ruby-keyword kw">end</span>
- <span class="ruby-keyword kw">end</span></pre>
+ <div id="method-i-getReportJobStatus_source" class="dyn-source">
+ <pre> <span class="ruby-comment cmt"># File lib/adwords4r/v13/ReportServiceWrapper.rb, line 144</span>
+144: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">getReportJobStatus</span>(<span class="ruby-identifier">reportJobId</span>)
+145: <span class="ruby-keyword kw">begin</span>
+146: <span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">Service</span>.<span class="ruby-identifier">validate_param</span>(<span class="ruby-value str">'reportJobId'</span>,
+147: <span class="ruby-identifier">reportJobId</span>, <span class="ruby-constant">SOAP</span><span class="ruby-operator">::</span><span class="ruby-constant">SOAPLong</span>)
+148: <span class="ruby-comment cmt"># Construct request object and make API call</span>
+149: <span class="ruby-identifier">obj</span> = <span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">V13</span><span class="ruby-operator">::</span><span class="ruby-constant">ReportService</span><span class="ruby-operator">::</span><span class="ruby-constant">GetReportJobStatus</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">reportJobId</span>)
+150: <span class="ruby-keyword kw">return</span> <span class="ruby-ivar">@driver</span>.<span class="ruby-identifier">getReportJobStatus</span>(<span class="ruby-identifier">obj</span>)
+151: <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">SOAP</span><span class="ruby-operator">::</span><span class="ruby-constant">FaultError</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">fault</span>
+152: <span class="ruby-identifier">raise</span>(<span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">Error</span><span class="ruby-operator">::</span><span class="ruby-identifier">create_specific_api_error</span>(<span class="ruby-identifier">fault</span>),
+153: <span class="ruby-value str">"getReportJobStatus Call Failed: "</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">fault</span>.<span class="ruby-identifier">faultstring</span>.<span class="ruby-identifier">to_s</span>, <span class="ruby-identifier">caller</span>)
+154: <span class="ruby-keyword kw">end</span>
+155: <span class="ruby-keyword kw">end</span></pre>
</div>
</div>
</div>
<div class="method">
- <div class="title" id="M000082">
+ <div class="title" id="method-i-scheduleReportJob">
- <a name="M000082"></a><b>scheduleReportJob</b>(job)
+ <a name="method-i-scheduleReportJob"></a><b>scheduleReportJob</b>(job)
</div>
<div class="description">
<p>
@@ -608,20 +618,22 @@
</p>
<p>
Args:
</p>
<ul>
-<li>job: <a href="ReportJob.html">AdWords::V13::ReportService::ReportJob</a>
-
+<li><p>
+job: <a href="ReportJob.html">AdWords::V13::ReportService::ReportJob</a>
+</p>
</li>
</ul>
<p>
Returns:
</p>
<ul>
-<li>scheduleReportJobReturn: SOAP::SOAPLong
-
+<li><p>
+scheduleReportJobReturn: SOAP::SOAPLong
+</p>
</li>
</ul>
<p>
Raises: <a href="../../Error/ApiError.html">Error::ApiError</a> (or a
subclass thereof) if a SOAP fault occurs.
@@ -632,36 +644,36 @@
<div class="sourcecode">
<p class="source-link">
- Source: <a href="javascript:toggleSource('M000082_source')" id="l_M000082_source">show</a>
+ Source: <a href="javascript:toggleSource('method-i-scheduleReportJob_source')" id="l_method-i-scheduleReportJob_source">show</a>
</p>
- <div id="M000082_source" class="dyn-source">
- <pre><span class="ruby-comment cmt"># File lib/adwords4r/v13/ReportServiceWrapper.rb, line 169</span>
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">scheduleReportJob</span>(<span class="ruby-identifier">job</span>)
- <span class="ruby-keyword kw">begin</span>
- <span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">Service</span>.<span class="ruby-identifier">validate_param</span>(<span class="ruby-value str">'job'</span>,
- <span class="ruby-identifier">job</span>, <span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">V13</span><span class="ruby-operator">::</span><span class="ruby-constant">ReportService</span><span class="ruby-operator">::</span><span class="ruby-constant">ReportJob</span>)
- <span class="ruby-comment cmt"># Construct request object and make API call</span>
- <span class="ruby-identifier">obj</span> = <span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">V13</span><span class="ruby-operator">::</span><span class="ruby-constant">ReportService</span><span class="ruby-operator">::</span><span class="ruby-constant">ScheduleReportJob</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">job</span>)
- <span class="ruby-keyword kw">return</span> <span class="ruby-ivar">@driver</span>.<span class="ruby-identifier">scheduleReportJob</span>(<span class="ruby-identifier">obj</span>)
- <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">SOAP</span><span class="ruby-operator">::</span><span class="ruby-constant">FaultError</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">fault</span>
- <span class="ruby-identifier">raise</span>(<span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">Error</span><span class="ruby-operator">::</span><span class="ruby-identifier">create_specific_api_error</span>(<span class="ruby-identifier">fault</span>),
- <span class="ruby-value str">"scheduleReportJob Call Failed: "</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">fault</span>.<span class="ruby-identifier">faultstring</span>.<span class="ruby-identifier">to_s</span>, <span class="ruby-identifier">caller</span>)
- <span class="ruby-keyword kw">end</span>
- <span class="ruby-keyword kw">end</span></pre>
+ <div id="method-i-scheduleReportJob_source" class="dyn-source">
+ <pre> <span class="ruby-comment cmt"># File lib/adwords4r/v13/ReportServiceWrapper.rb, line 169</span>
+169: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">scheduleReportJob</span>(<span class="ruby-identifier">job</span>)
+170: <span class="ruby-keyword kw">begin</span>
+171: <span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">Service</span>.<span class="ruby-identifier">validate_param</span>(<span class="ruby-value str">'job'</span>,
+172: <span class="ruby-identifier">job</span>, <span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">V13</span><span class="ruby-operator">::</span><span class="ruby-constant">ReportService</span><span class="ruby-operator">::</span><span class="ruby-constant">ReportJob</span>)
+173: <span class="ruby-comment cmt"># Construct request object and make API call</span>
+174: <span class="ruby-identifier">obj</span> = <span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">V13</span><span class="ruby-operator">::</span><span class="ruby-constant">ReportService</span><span class="ruby-operator">::</span><span class="ruby-constant">ScheduleReportJob</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">job</span>)
+175: <span class="ruby-keyword kw">return</span> <span class="ruby-ivar">@driver</span>.<span class="ruby-identifier">scheduleReportJob</span>(<span class="ruby-identifier">obj</span>)
+176: <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">SOAP</span><span class="ruby-operator">::</span><span class="ruby-constant">FaultError</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">fault</span>
+177: <span class="ruby-identifier">raise</span>(<span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">Error</span><span class="ruby-operator">::</span><span class="ruby-identifier">create_specific_api_error</span>(<span class="ruby-identifier">fault</span>),
+178: <span class="ruby-value str">"scheduleReportJob Call Failed: "</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">fault</span>.<span class="ruby-identifier">faultstring</span>.<span class="ruby-identifier">to_s</span>, <span class="ruby-identifier">caller</span>)
+179: <span class="ruby-keyword kw">end</span>
+180: <span class="ruby-keyword kw">end</span></pre>
</div>
</div>
</div>
<div class="method">
- <div class="title" id="M000084">
+ <div class="title" id="method-i-validateReportJob">
- <a name="M000084"></a><b>validateReportJob</b>(job)
+ <a name="method-i-validateReportJob"></a><b>validateReportJob</b>(job)
</div>
<div class="description">
<p>
@@ -673,12 +685,13 @@
</p>
<p>
Args:
</p>
<ul>
-<li>job: <a href="ReportJob.html">AdWords::V13::ReportService::ReportJob</a>
-
+<li><p>
+job: <a href="ReportJob.html">AdWords::V13::ReportService::ReportJob</a>
+</p>
</li>
</ul>
<p>
Raises: <a href="../../Error/ApiError.html">Error::ApiError</a> (or a
subclass thereof) if a SOAP fault occurs.
@@ -689,26 +702,26 @@
<div class="sourcecode">
<p class="source-link">
- Source: <a href="javascript:toggleSource('M000084_source')" id="l_M000084_source">show</a>
+ Source: <a href="javascript:toggleSource('method-i-validateReportJob_source')" id="l_method-i-validateReportJob_source">show</a>
</p>
- <div id="M000084_source" class="dyn-source">
- <pre><span class="ruby-comment cmt"># File lib/adwords4r/v13/ReportServiceWrapper.rb, line 191</span>
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">validateReportJob</span>(<span class="ruby-identifier">job</span>)
- <span class="ruby-keyword kw">begin</span>
- <span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">Service</span>.<span class="ruby-identifier">validate_param</span>(<span class="ruby-value str">'job'</span>,
- <span class="ruby-identifier">job</span>, <span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">V13</span><span class="ruby-operator">::</span><span class="ruby-constant">ReportService</span><span class="ruby-operator">::</span><span class="ruby-constant">ReportJob</span>)
- <span class="ruby-comment cmt"># Construct request object and make API call</span>
- <span class="ruby-identifier">obj</span> = <span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">V13</span><span class="ruby-operator">::</span><span class="ruby-constant">ReportService</span><span class="ruby-operator">::</span><span class="ruby-constant">ValidateReportJob</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">job</span>)
- <span class="ruby-keyword kw">return</span> <span class="ruby-ivar">@driver</span>.<span class="ruby-identifier">validateReportJob</span>(<span class="ruby-identifier">obj</span>)
- <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">SOAP</span><span class="ruby-operator">::</span><span class="ruby-constant">FaultError</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">fault</span>
- <span class="ruby-identifier">raise</span>(<span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">Error</span><span class="ruby-operator">::</span><span class="ruby-identifier">create_specific_api_error</span>(<span class="ruby-identifier">fault</span>),
- <span class="ruby-value str">"validateReportJob Call Failed: "</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">fault</span>.<span class="ruby-identifier">faultstring</span>.<span class="ruby-identifier">to_s</span>, <span class="ruby-identifier">caller</span>)
- <span class="ruby-keyword kw">end</span>
- <span class="ruby-keyword kw">end</span></pre>
+ <div id="method-i-validateReportJob_source" class="dyn-source">
+ <pre> <span class="ruby-comment cmt"># File lib/adwords4r/v13/ReportServiceWrapper.rb, line 191</span>
+191: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">validateReportJob</span>(<span class="ruby-identifier">job</span>)
+192: <span class="ruby-keyword kw">begin</span>
+193: <span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">Service</span>.<span class="ruby-identifier">validate_param</span>(<span class="ruby-value str">'job'</span>,
+194: <span class="ruby-identifier">job</span>, <span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">V13</span><span class="ruby-operator">::</span><span class="ruby-constant">ReportService</span><span class="ruby-operator">::</span><span class="ruby-constant">ReportJob</span>)
+195: <span class="ruby-comment cmt"># Construct request object and make API call</span>
+196: <span class="ruby-identifier">obj</span> = <span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">V13</span><span class="ruby-operator">::</span><span class="ruby-constant">ReportService</span><span class="ruby-operator">::</span><span class="ruby-constant">ValidateReportJob</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">job</span>)
+197: <span class="ruby-keyword kw">return</span> <span class="ruby-ivar">@driver</span>.<span class="ruby-identifier">validateReportJob</span>(<span class="ruby-identifier">obj</span>)
+198: <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">SOAP</span><span class="ruby-operator">::</span><span class="ruby-constant">FaultError</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">fault</span>
+199: <span class="ruby-identifier">raise</span>(<span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">Error</span><span class="ruby-operator">::</span><span class="ruby-identifier">create_specific_api_error</span>(<span class="ruby-identifier">fault</span>),
+200: <span class="ruby-value str">"validateReportJob Call Failed: "</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">fault</span>.<span class="ruby-identifier">faultstring</span>.<span class="ruby-identifier">to_s</span>, <span class="ruby-identifier">caller</span>)
+201: <span class="ruby-keyword kw">end</span>
+202: <span class="ruby-keyword kw">end</span></pre>
</div>
</div>
</div>
\ No newline at end of file