Debian Codegraph @

docs/dyn/dfareporting_v4.advertiserInvoices.html

raw
1 <html><body>
2 <style>
3
4 body, 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
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, 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="dfareporting_v4.html">Campaign Manager 360 API</a> . <a href="dfareporting_v4.advertiserInvoices.html">advertiserInvoices</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#list">list(profileId, advertiserId, issueMonth=None, maxResults=None, pageToken=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Retrieves a list of invoices for a particular issue month. The api only works if the billing profile invoice level is set to either advertiser or campaign non-consolidated invoice level.</p>
83 <p class="toc_element">
84 <code><a href="#list_next">list_next()</a></code></p>
85 <p class="firstline">Retrieves the next page of results.</p>
86 <h3>Method Details</h3>
87 <div class="method">
88 <code class="details" id="close">close()</code>
89 <pre>Close httplib2 connections.</pre>
90 </div>
91
92 <div class="method">
93 <code class="details" id="list">list(profileId, advertiserId, issueMonth=None, maxResults=None, pageToken=None, x__xgafv=None)</code>
94 <pre>Retrieves a list of invoices for a particular issue month. The api only works if the billing profile invoice level is set to either advertiser or campaign non-consolidated invoice level.
95
96 Args:
97 profileId: string, User profile ID associated with this request. (required)
98 advertiserId: string, Advertiser ID of this invoice. (required)
99 issueMonth: string, Month for which invoices are needed in the format YYYYMM. Required field
100 maxResults: integer, Maximum number of results to return.
101 pageToken: string, Value of the nextPageToken from the previous result page.
102 x__xgafv: string, V1 error format.
103 Allowed values
104 1 - v1 error format
105 2 - v2 error format
106
107 Returns:
108 An object of the form:
109
110 { # Invoice List Response
111 &quot;invoices&quot;: [ # Invoice collection
112 { # Contains information about a single invoice
113 &quot;campaign_summaries&quot;: [ # The list of summarized campaign information associated with this invoice.
114 { # Represents a summarized campaign information associated with this invoice.
115 &quot;billingInvoiceCode&quot;: &quot;A String&quot;, # Campaign billing invoice code.
116 &quot;campaignId&quot;: &quot;A String&quot;, # Campaign ID.
117 &quot;preTaxAmountMicros&quot;: &quot;A String&quot;, # The pre-tax amount for this campaign, in micros of the invoice&#x27;s currency.
118 &quot;taxAmountMicros&quot;: &quot;A String&quot;, # The tax amount for this campaign, in micros of the invoice&#x27;s currency.
119 &quot;totalAmountMicros&quot;: &quot;A String&quot;, # The total amount of charges for this campaign, in micros of the invoice&#x27;s currency.
120 },
121 ],
122 &quot;correctedInvoiceId&quot;: &quot;A String&quot;, # The originally issued invoice that is being adjusted by this invoice, if applicable. May appear on invoice PDF as *Reference invoice number*.
123 &quot;currencyCode&quot;: &quot;A String&quot;, # Invoice currency code in ISO 4217 format.
124 &quot;dueDate&quot;: &quot;A String&quot;, # The invoice due date.
125 &quot;id&quot;: &quot;A String&quot;, # ID of this invoice.
126 &quot;invoiceType&quot;: &quot;A String&quot;, # The type of invoice document.
127 &quot;issueDate&quot;: &quot;A String&quot;, # The date when the invoice was issued.
128 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#invoice&quot;.
129 &quot;paymentsAccountId&quot;: &quot;A String&quot;, # The ID of the payments account the invoice belongs to. Appears on the invoice PDF as *Billing Account Number*.
130 &quot;paymentsProfileId&quot;: &quot;A String&quot;, # The ID of the payments profile the invoice belongs to. Appears on the invoice PDF as *Billing ID*.
131 &quot;pdfUrl&quot;: &quot;A String&quot;, # The URL to download a PDF copy of the invoice. Note that this URL is user specific and requires a valid OAuth 2.0 access token to access. The access token must be provided in an *Authorization: Bearer* HTTP header. The URL will only be usable for 7 days from when the api is called.
132 &quot;purchaseOrderNumber&quot;: &quot;A String&quot;, # Purchase order number associated with the invoice.
133 &quot;replacedInvoiceIds&quot;: [ # The originally issued invoice(s) that is being cancelled by this invoice, if applicable. May appear on invoice PDF as *Replaced invoice numbers*. Note: There may be multiple replaced invoices due to consolidation of multiple invoices into a single invoice.
134 &quot;A String&quot;,
135 ],
136 &quot;serviceEndDate&quot;: &quot;A String&quot;, # The invoice service end date.
137 &quot;serviceStartDate&quot;: &quot;A String&quot;, # The invoice service start date.
138 &quot;subtotalAmountMicros&quot;: &quot;A String&quot;, # The pre-tax subtotal amount, in micros of the invoice&#x27;s currency.
139 &quot;totalAmountMicros&quot;: &quot;A String&quot;, # The invoice total amount, in micros of the invoice&#x27;s currency.
140 &quot;totalTaxAmountMicros&quot;: &quot;A String&quot;, # The sum of all taxes in invoice, in micros of the invoice&#x27;s currency.
141 },
142 ],
143 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#advertiserInvoicesListResponse&quot;.
144 &quot;nextPageToken&quot;: &quot;A String&quot;, # Pagination token to be used for the next list operation.
145 }</pre>
146 </div>
147
148 <div class="method">
149 <code class="details" id="list_next">list_next()</code>
150 <pre>Retrieves the next page of results.
151
152 Args:
153 previous_request: The request for the previous page. (required)
154 previous_response: The response from the request for the previous page. (required)
155
156 Returns:
157 A request object that you can call &#x27;execute()&#x27; on to request the next
158 page. Returns None if there are no more items in the collection.
159 </pre>
160 </div>
161
162 </body></html>