GoogleApi.AdSense.V2.Model.PolicyTopic (google_api_ad_sense v0.18.0)

View Source

Information about a particular policy topic. A policy topic represents a single class of policy issue that can impact ad serving for your site. For example, sexual content or having ads that obscure your content. A single policy issue can have multiple policy topics for a single entity.

Attributes

  • mustFix (type: boolean(), default: nil) - Required. Deprecated. Policy topics no longer have a "must-fix" classification.
  • topic (type: String.t, default: nil) - Required. The policy topic. For example, "sexual-content" or "ads-obscuring-content"."
  • type (type: String.t, default: nil) - Optional. The type of policy topic. For example, "POLICY" represents all the policy topics that are related to the Google Publisher Policy (GPP). See https://support.google.com/adsense/answer/15689616.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.AdSense.V2.Model.PolicyTopic{
  mustFix: boolean() | nil,
  topic: String.t() | nil,
  type: String.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.