View Source GoogleApi.AdSense.V2.Model.PolicyTopic (google_api_ad_sense v0.17.1)

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. Indicates if this is a policy violation or not. When the value is true, issues that are instances of this topic must be addressed to remain in compliance with the partner's agreements with Google. A false value indicates that it's not mandatory to fix the issues but advertising demand might be restricted.
  • topic (type: String.t, default: nil) - Required. The policy topic. For example, "sexual-content" or "ads-obscuring-content"."

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
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.