google_api_partners v0.1.0 GoogleApi.Partners.V2.Model.HistoricalOffer View Source

Historical information about a Google Partners Offer.

Attributes

  • adwordsUrl (String.t): Client's AdWords page URL. Defaults to: null.
  • clientEmail (String.t): Email address for client. Defaults to: null.
  • clientId (String.t): ID of client. Defaults to: null.
  • clientName (String.t): Name of the client. Defaults to: null.
  • creationTime (DateTime.t): Time offer was first created. Defaults to: null.
  • expirationTime (DateTime.t): Time this offer expires. Defaults to: null.
  • lastModifiedTime (DateTime.t): Time last action was taken. Defaults to: null.
  • offerCode (String.t): Offer code. Defaults to: null.
  • offerCountryCode (String.t): Country Code for the offer country. Defaults to: null.
  • offerType (String.t): Type of offer. Defaults to: null.

    • Enum - one of [OFFER_TYPE_UNSPECIFIED, OFFER_TYPE_SPEND_X_GET_Y, OFFER_TYPE_VIDEO, OFFER_TYPE_SPEND_MATCH]
  • senderName (String.t): Name (First + Last) of the partners user to whom the incentive is allocated. Defaults to: null.
  • status (String.t): Status of the offer. Defaults to: null.

    • Enum - one of [OFFER_STATUS_UNSPECIFIED, OFFER_STATUS_DISTRIBUTED, OFFER_STATUS_REDEEMED, OFFER_STATUS_AWARDED, OFFER_STATUS_EXPIRED]

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields

Link to this section Types

Link to this type t() View Source
t() :: %GoogleApi.Partners.V2.Model.HistoricalOffer{
  adwordsUrl: any(),
  clientEmail: any(),
  clientId: any(),
  clientName: any(),
  creationTime: DateTime.t(),
  expirationTime: DateTime.t(),
  lastModifiedTime: DateTime.t(),
  offerCode: any(),
  offerCountryCode: any(),
  offerType: any(),
  senderName: any(),
  status: any()
}

Link to this section Functions

Link to this function decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.