Resource: Event
A platform sub-account event to record spam signals.
JSON representation |
---|
{ "eventType": enum ( |
Fields | |
---|---|
eventType |
Required. Event type. |
eventInfo |
Required. Information associated with the event. |
eventTime |
Required. Event timestamp. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
EventType
Platform recorder event type.
Enums | |
---|---|
EVENT_TYPE_UNSPECIFIED |
Do not use. You must set an event type explicitly. |
LOG_IN_VIA_PLATFORM |
Log in via platform. |
SIGN_UP_VIA_PLATFORM |
Sign up via platform. |
EventInfo
Private information for partner recorded events (PII).
JSON representation |
---|
{
"email": string,
"billingAddress": {
object ( |
Fields | |
---|---|
email |
Required. The email address that is associated with the publisher when performing the event. |
billingAddress |
The billing address of the publisher associated with this event, if available. |
Address
Address data.
JSON representation |
---|
{ "address1": string, "address2": string, "city": string, "state": string, "zip": string, "company": string, "contact": string, "phone": string, "fax": string, "regionCode": string } |
Fields | |
---|---|
address1 |
First line of address. Max length 64 bytes or 30 characters. |
address2 |
Second line of address. Max length 64 bytes or 30 characters. |
city |
City. Max length 60 bytes or 30 characters. |
state |
State. Max length 60 bytes or 30 characters. |
zip |
Zip/post code. Max length 10 bytes or 10 characters. |
company |
Name of the company. Max length 255 bytes or 34 characters. |
contact |
Contact name of the company. Max length 128 bytes or 34 characters. |
phone |
Phone number with international code (i.e. +441234567890). |
fax |
Fax number with international code (i.e. +441234567890). |
regionCode |
Country/Region code. The region is specified as a CLDR region code (e.g. "US", "FR"). |
Methods |
|
---|---|
|
Creates an account event. |