googleapis.partners.v2 library

Classes

CertificationExamStatus
Status for a Google Partners certification exam.
CertificationStatus
Google Partners certification status.
ClientMessagesResourceApi
CompaniesLeadsResourceApi
CompaniesResourceApi
Company
A company resource in the Google Partners API. Once certified, it qualifies for being searched by advertisers.
CreateLeadRequest
Request message for CreateLead.
CreateLeadResponse
Response message for CreateLead. Debug information about this request.
DebugInfo
Debug information about this request.
EventData
Key value data pair for an event.
GetCompanyResponse
Response message for GetCompany.
LatLng
An object representing a latitude/longitude pair. This is expressed as a pair of doubles representing degrees latitude and degrees longitude. Unless specified otherwise, this must conform to the WGS84 standard. Values must be within normalized ranges. Example of normalization code in Python: def NormalizeLongitude(longitude): """Wrapsdecimal degrees longitude to -180.0, 180.0.""" q, r = divmod(longitude, 360.0) if r > 180.0 or (r == 180.0 and q <= -1.0): return r - 360.0 return r def NormalizeLatLng(latitude, longitude): """Wraps decimal degrees latitude and longitude to -180.0, 180.0 and -90.0, 90.0, respectively.""" r = latitude % 360.0 if r = 270.0: return r - 360, NormalizeLongitude(longitude) else: return 180 - r, NormalizeLongitude(longitude + 180.0) assert 180.0 == NormalizeLongitude(180.0) assert -180.0 == NormalizeLongitude(-180.0) assert -179.0 == NormalizeLongitude(181.0) assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0) assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0) assert (85.0, 180.0) == NormalizeLatLng(95.0, 0.0) assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0) assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0) assert (-90.0, -10.0) == NormalizeLatLng(-90.0, -10.0) assert (0.0, -170.0) == NormalizeLatLng(-180.0, 10.0) assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0) assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0) assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0)
Lead
A lead resource that represents an advertiser contact for a Company. These are usually generated via Google Partner Search (the advertiser portal).
ListCompaniesResponse
Response message for ListCompanies.
ListUserStatesResponse
Response message for ListUserStates.
LocalizedCompanyInfo
The localized company information.
Location
A location with address and geographic coordinates.
LogMessageRequest
Request message for LogClientMessage.
LogMessageResponse
Response message for LogClientMessage.
LogUserEventRequest
Request message for LogUserEvent.
LogUserEventResponse
Response message for LogUserEvent.
Money
Represents an amount of money with its currency type.
PartnersApi
Lets advertisers search certified companies and create contact leads with them, and also audits the usage of clients.
PublicProfile
Basic information from a public profile.
Rank
Information related to ranking of results.
RecaptchaChallenge
reCaptcha challenge info.
RequestMetadata
Common data that is in each API request.
ResponseMetadata
Common data that is in each API response.
TrafficSource
Source of traffic for the current request.
UserEventsResourceApi
UserOverrides
Values to use instead of the user's respective defaults. These are only honored by whitelisted products.
UserStatesResourceApi

Constants

USER_AGENT → const String
'dart-api-client partners/v2'

Exceptions / Errors

ApiRequestError
Represents a general error reported by the API endpoint.
DetailedApiRequestError
Represents a specific error reported by the API endpoint.