doc/classes/AdWords/V200909/AdGroupCriterionService/AdGroupCriterionServiceWrapper.html in adwords4r-19.0.0 vs doc/classes/AdWords/V200909/AdGroupCriterionService/AdGroupCriterionServiceWrapper.html in adwords4r-19.1.0

- old
+ new

@@ -56,29 +56,29 @@ <dt>G</dt> <dd> <ul> - <li><a href="#M000122">get</a></li> + <li><a href="#method-i-get">get</a></li> </ul> </dd> <dt>M</dt> <dd> <ul> - <li><a href="#M000124">mutate</a></li> + <li><a href="#method-i-mutate">mutate</a></li> </ul> </dd> <dt>N</dt> <dd> <ul> - <li><a href="#M000121">new</a></li> + <li><a href="#method-c-new">new</a></li> </ul> </dd> </dl> @@ -136,13 +136,13 @@ <div class="sectiontitle">Class Public methods</div> <div class="method"> - <div class="title" id="M000121"> + <div class="title" id="method-c-new"> - <a name="M000121"></a><b>new</b>(driver, api) + <a name="method-c-new"></a><b>new</b>(driver, api) </div> <div class="description"> <p> @@ -151,48 +151,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('M000121_source')" id="l_M000121_source">show</a> + Source: <a href="javascript:toggleSource('method-c-new_source')" id="l_method-c-new_source">show</a> </p> - <div id="M000121_source" class="dyn-source"> - <pre><span class="ruby-comment cmt"># File lib/adwords4r/v200909/AdGroupCriterionServiceWrapper.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">V200909</span><span class="ruby-operator">::</span><span class="ruby-constant">AdGroupCriterionService</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/v200909/AdGroupCriterionServiceWrapper.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">V200909</span><span class="ruby-operator">::</span><span class="ruby-constant">AdGroupCriterionService</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="M000122"> + <div class="title" id="method-i-get"> - <a name="M000122"></a><b>get</b>(selector) + <a name="method-i-get"></a><b>get</b>(selector) </div> <div class="description"> <p> @@ -205,22 +207,24 @@ </p> <p> Args: </p> <ul> -<li>selector: <a +<li><p> +selector: <a href="AdGroupCriterionSelector.html">AdWords::V200909::AdGroupCriterionService::AdGroupCriterionSelector</a> - +</p> </li> </ul> <p> Returns: </p> <ul> -<li>rval: <a +<li><p> +rval: <a href="AdGroupCriterionPage.html">AdWords::V200909::AdGroupCriterionService::AdGroupCriterionPage</a> - +</p> </li> </ul> <p> Raises: <a href="../../Error/ApiError.html">Error::ApiError</a> (or a subclass thereof) if a SOAP fault occurs. @@ -231,36 +235,36 @@ <div class="sourcecode"> <p class="source-link"> - Source: <a href="javascript:toggleSource('M000122_source')" id="l_M000122_source">show</a> + Source: <a href="javascript:toggleSource('method-i-get_source')" id="l_method-i-get_source">show</a> </p> - <div id="M000122_source" class="dyn-source"> - <pre><span class="ruby-comment cmt"># File lib/adwords4r/v200909/AdGroupCriterionServiceWrapper.rb, line 52</span> - <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get</span>(<span class="ruby-identifier">selector</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">'selector'</span>, - <span class="ruby-identifier">selector</span>, <span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">V200909</span><span class="ruby-operator">::</span><span class="ruby-constant">AdGroupCriterionService</span><span class="ruby-operator">::</span><span class="ruby-constant">AdGroupCriterionSelector</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">V200909</span><span class="ruby-operator">::</span><span class="ruby-constant">AdGroupCriterionService</span><span class="ruby-operator">::</span><span class="ruby-constant">Get</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">selector</span>) - <span class="ruby-keyword kw">return</span> <span class="ruby-ivar">@driver</span>.<span class="ruby-identifier">get</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">&gt;</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">&quot;get Call Failed: &quot;</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-get_source" class="dyn-source"> + <pre> <span class="ruby-comment cmt"># File lib/adwords4r/v200909/AdGroupCriterionServiceWrapper.rb, line 52</span> +52: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get</span>(<span class="ruby-identifier">selector</span>) +53: <span class="ruby-keyword kw">begin</span> +54: <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">'selector'</span>, +55: <span class="ruby-identifier">selector</span>, <span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">V200909</span><span class="ruby-operator">::</span><span class="ruby-constant">AdGroupCriterionService</span><span class="ruby-operator">::</span><span class="ruby-constant">AdGroupCriterionSelector</span>) +56: <span class="ruby-comment cmt"># Construct request object and make API call</span> +57: <span class="ruby-identifier">obj</span> = <span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">V200909</span><span class="ruby-operator">::</span><span class="ruby-constant">AdGroupCriterionService</span><span class="ruby-operator">::</span><span class="ruby-constant">Get</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">selector</span>) +58: <span class="ruby-keyword kw">return</span> <span class="ruby-ivar">@driver</span>.<span class="ruby-identifier">get</span>(<span class="ruby-identifier">obj</span>) +59: <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">&gt;</span> <span class="ruby-identifier">fault</span> +60: <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>), +61: <span class="ruby-value str">&quot;get Call Failed: &quot;</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>) +62: <span class="ruby-keyword kw">end</span> +63: <span class="ruby-keyword kw">end</span></pre> </div> </div> </div> <div class="method"> - <div class="title" id="M000124"> + <div class="title" id="method-i-mutate"> - <a name="M000124"></a><b>mutate</b>(operations) + <a name="method-i-mutate"></a><b>mutate</b>(operations) </div> <div class="description"> <p> @@ -273,22 +277,24 @@ </p> <p> Args: </p> <ul> -<li>operations: SOAP::SOAPArray of <a +<li><p> +operations: SOAP::SOAPArray of <a href="AdGroupCriterionOperation.html">AdWords::V200909::AdGroupCriterionService::AdGroupCriterionOperation</a> - +</p> </li> </ul> <p> Returns: </p> <ul> -<li>rval: <a +<li><p> +rval: <a href="AdGroupCriterionReturnValue.html">AdWords::V200909::AdGroupCriterionService::AdGroupCriterionReturnValue</a> - +</p> </li> </ul> <p> Raises: <a href="../../Error/ApiError.html">Error::ApiError</a> (or a subclass thereof) if a SOAP fault occurs. @@ -299,26 +305,26 @@ <div class="sourcecode"> <p class="source-link"> - Source: <a href="javascript:toggleSource('M000124_source')" id="l_M000124_source">show</a> + Source: <a href="javascript:toggleSource('method-i-mutate_source')" id="l_method-i-mutate_source">show</a> </p> - <div id="M000124_source" class="dyn-source"> - <pre><span class="ruby-comment cmt"># File lib/adwords4r/v200909/AdGroupCriterionServiceWrapper.rb, line 77</span> - <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">mutate</span>(<span class="ruby-identifier">operations</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">'operations'</span>, - <span class="ruby-identifier">operations</span>, <span class="ruby-constant">SOAP</span><span class="ruby-operator">::</span><span class="ruby-constant">SOAPArray</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">V200909</span><span class="ruby-operator">::</span><span class="ruby-constant">AdGroupCriterionService</span><span class="ruby-operator">::</span><span class="ruby-constant">Mutate</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">operations</span>) - <span class="ruby-keyword kw">return</span> <span class="ruby-ivar">@driver</span>.<span class="ruby-identifier">mutate</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">&gt;</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">&quot;mutate Call Failed: &quot;</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-mutate_source" class="dyn-source"> + <pre> <span class="ruby-comment cmt"># File lib/adwords4r/v200909/AdGroupCriterionServiceWrapper.rb, line 77</span> +77: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">mutate</span>(<span class="ruby-identifier">operations</span>) +78: <span class="ruby-keyword kw">begin</span> +79: <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">'operations'</span>, +80: <span class="ruby-identifier">operations</span>, <span class="ruby-constant">SOAP</span><span class="ruby-operator">::</span><span class="ruby-constant">SOAPArray</span>) +81: <span class="ruby-comment cmt"># Construct request object and make API call</span> +82: <span class="ruby-identifier">obj</span> = <span class="ruby-constant">AdWords</span><span class="ruby-operator">::</span><span class="ruby-constant">V200909</span><span class="ruby-operator">::</span><span class="ruby-constant">AdGroupCriterionService</span><span class="ruby-operator">::</span><span class="ruby-constant">Mutate</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">operations</span>) +83: <span class="ruby-keyword kw">return</span> <span class="ruby-ivar">@driver</span>.<span class="ruby-identifier">mutate</span>(<span class="ruby-identifier">obj</span>) +84: <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">&gt;</span> <span class="ruby-identifier">fault</span> +85: <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>), +86: <span class="ruby-value str">&quot;mutate Call Failed: &quot;</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>) +87: <span class="ruby-keyword kw">end</span> +88: <span class="ruby-keyword kw">end</span></pre> </div> </div> </div> \ No newline at end of file