1<html><body> 2<style> 3 4body, h1, h2, h3, div, span, p, pre, a { 5 margin: 0; 6 padding: 0; 7 border: 0; 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 13} 14 15body { 16 font-size: 13px; 17 padding: 1em; 18} 19 20h1 { 21 font-size: 26px; 22 margin-bottom: 1em; 23} 24 25h2 { 26 font-size: 24px; 27 margin-bottom: 1em; 28} 29 30h3 { 31 font-size: 20px; 32 margin-bottom: 1em; 33 margin-top: 1em; 34} 35 36pre, code { 37 line-height: 1.5; 38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; 39} 40 41pre { 42 margin-top: 0.5em; 43} 44 45h1, h2, h3, p { 46 font-family: Arial, sans serif; 47} 48 49h1, h2, h3 { 50 border-bottom: solid #CCC 1px; 51} 52 53.toc_element { 54 margin-top: 0.5em; 55} 56 57.firstline { 58 margin-left: 2 em; 59} 60 61.method { 62 margin-top: 1em; 63 border: solid 1px #CCC; 64 padding: 1em; 65 background: #EEE; 66} 67 68.details { 69 font-weight: bold; 70 font-size: 14px; 71} 72 73</style> 74 75<h1><a href="realtimebidding_v1.html">Real-time Bidding API</a> . <a href="realtimebidding_v1.buyers.html">buyers</a></h1> 76<h2>Instance Methods</h2> 77<p class="toc_element"> 78 <code><a href="realtimebidding_v1.buyers.creatives.html">creatives()</a></code> 79</p> 80<p class="firstline">Returns the creatives Resource.</p> 81 82<p class="toc_element"> 83 <code><a href="realtimebidding_v1.buyers.userLists.html">userLists()</a></code> 84</p> 85<p class="firstline">Returns the userLists Resource.</p> 86 87<p class="toc_element"> 88 <code><a href="#close">close()</a></code></p> 89<p class="firstline">Close httplib2 connections.</p> 90<p class="toc_element"> 91 <code><a href="#get">get(name, x__xgafv=None)</a></code></p> 92<p class="firstline">Gets a buyer account by its name.</p> 93<p class="toc_element"> 94 <code><a href="#getRemarketingTag">getRemarketingTag(name, x__xgafv=None)</a></code></p> 95<p class="firstline">Gets remarketing tag for a buyer. A remarketing tag is a piece of JavaScript code that can be placed on a web page. When a user visits a page containing a remarketing tag, Google adds the user to a user list.</p> 96<p class="toc_element"> 97 <code><a href="#list">list(pageSize=None, pageToken=None, x__xgafv=None)</a></code></p> 98<p class="firstline">Lists all buyer account information the calling buyer user or service account is permissioned to manage.</p> 99<p class="toc_element"> 100 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> 101<p class="firstline">Retrieves the next page of results.</p> 102<h3>Method Details</h3> 103<div class="method"> 104 <code class="details" id="close">close()</code> 105 <pre>Close httplib2 connections.</pre> 106</div> 107 108<div class="method"> 109 <code class="details" id="get">get(name, x__xgafv=None)</code> 110 <pre>Gets a buyer account by its name. 111 112Args: 113 name: string, Required. Name of the buyer to get. Format: `buyers/{buyerId}` (required) 114 x__xgafv: string, V1 error format. 115 Allowed values 116 1 - v1 error format 117 2 - v2 error format 118 119Returns: 120 An object of the form: 121 122 { # RTB Buyer account information. 123 "activeCreativeCount": "A String", # Output only. The number of creatives that this buyer submitted via the API or bid with in the last 30 days. This is counted against the maximum number of active creatives. 124 "bidder": "A String", # Output only. The name of the bidder resource that is responsible for receiving bidding traffic for this account. The bidder name must follow the pattern `bidders/{bidderAccountId}`, where `{bidderAccountId}` is the account ID of the bidder receiving traffic for this buyer. 125 "billingIds": [ # Output only. A list of billing IDs associated with this account. These IDs appear on: 1. A bid request, to signal which buyers are eligible to bid on a given opportunity, and which pretargeting configurations were matched for each eligible buyer. 2. The bid response, to attribute a winning impression to a specific account for billing, reporting, policy and publisher block enforcement. 126 "A String", 127 ], 128 "displayName": "A String", # Output only. The diplay name associated with this buyer account, as visible to sellers. 129 "maximumActiveCreativeCount": "A String", # Output only. The maximum number of active creatives that this buyer can have. 130 "name": "A String", # Output only. Name of the buyer resource that must follow the pattern `buyers/{buyerAccountId}`, where `{buyerAccountId}` is the account ID of the buyer account whose information is to be received. One can get their account ID on the Authorized Buyers or Open Bidding UI, or by contacting their Google account manager. 131}</pre> 132</div> 133 134<div class="method"> 135 <code class="details" id="getRemarketingTag">getRemarketingTag(name, x__xgafv=None)</code> 136 <pre>Gets remarketing tag for a buyer. A remarketing tag is a piece of JavaScript code that can be placed on a web page. When a user visits a page containing a remarketing tag, Google adds the user to a user list. 137 138Args: 139 name: string, Required. To fetch remarketing tag for an account, name must follow the pattern `buyers/{accountId}` where `{accountId}` represents ID of a buyer that owns the remarketing tag. For a bidder accessing remarketing tag on behalf of a child seat buyer, `{accountId}` should represent the ID of the child seat buyer. To fetch remarketing tag for a specific user list, name must follow the pattern `buyers/{accountId}/userLists/{userListId}`. See UserList.name. (required) 140 x__xgafv: string, V1 error format. 141 Allowed values 142 1 - v1 error format 143 2 - v2 error format 144 145Returns: 146 An object of the form: 147 148 { # Response for a request to get remarketing tag. 149 "snippet": "A String", # A HTML tag that can be placed on the advertiser's page to add users to a user list. For more information and code samples on using snippet on your website refer to [Tag your site for remarketing]( https://support.google.com/google-ads/answer/2476688). 150}</pre> 151</div> 152 153<div class="method"> 154 <code class="details" id="list">list(pageSize=None, pageToken=None, x__xgafv=None)</code> 155 <pre>Lists all buyer account information the calling buyer user or service account is permissioned to manage. 156 157Args: 158 pageSize: integer, The maximum number of buyers to return. If unspecified, at most 100 buyers will be returned. The maximum value is 500; values above 500 will be coerced to 500. 159 pageToken: string, A token identifying a page of results the server should return. This value is received from a previous `ListBuyers` call in ListBuyersResponse.nextPageToken. 160 x__xgafv: string, V1 error format. 161 Allowed values 162 1 - v1 error format 163 2 - v2 error format 164 165Returns: 166 An object of the form: 167 168 { # A response containing buyer account information. 169 "buyers": [ # List of buyers. 170 { # RTB Buyer account information. 171 "activeCreativeCount": "A String", # Output only. The number of creatives that this buyer submitted via the API or bid with in the last 30 days. This is counted against the maximum number of active creatives. 172 "bidder": "A String", # Output only. The name of the bidder resource that is responsible for receiving bidding traffic for this account. The bidder name must follow the pattern `bidders/{bidderAccountId}`, where `{bidderAccountId}` is the account ID of the bidder receiving traffic for this buyer. 173 "billingIds": [ # Output only. A list of billing IDs associated with this account. These IDs appear on: 1. A bid request, to signal which buyers are eligible to bid on a given opportunity, and which pretargeting configurations were matched for each eligible buyer. 2. The bid response, to attribute a winning impression to a specific account for billing, reporting, policy and publisher block enforcement. 174 "A String", 175 ], 176 "displayName": "A String", # Output only. The diplay name associated with this buyer account, as visible to sellers. 177 "maximumActiveCreativeCount": "A String", # Output only. The maximum number of active creatives that this buyer can have. 178 "name": "A String", # Output only. Name of the buyer resource that must follow the pattern `buyers/{buyerAccountId}`, where `{buyerAccountId}` is the account ID of the buyer account whose information is to be received. One can get their account ID on the Authorized Buyers or Open Bidding UI, or by contacting their Google account manager. 179 }, 180 ], 181 "nextPageToken": "A String", # A token which can be passed to a subsequent call to the `ListBuyers` method to retrieve the next page of results in ListBuyersRequest.pageToken. 182}</pre> 183</div> 184 185<div class="method"> 186 <code class="details" id="list_next">list_next(previous_request, previous_response)</code> 187 <pre>Retrieves the next page of results. 188 189Args: 190 previous_request: The request for the previous page. (required) 191 previous_response: The response from the request for the previous page. (required) 192 193Returns: 194 A request object that you can call 'execute()' on to request the next 195 page. Returns None if there are no more items in the collection. 196 </pre> 197</div> 198 199</body></html>