All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.services.realtimebidding.v1.model.PolicyTopicEntry Maven / Gradle / Ivy

/*
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License
 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing permissions and limitations under
 * the License.
 */
/*
 * This code was generated by https://github.com/googleapis/google-api-java-client-services/
 * Modify at your own risk.
 */

package com.google.api.services.realtimebidding.v1.model;

/**
 * Each policy topic entry will represent a violation of a policy topic for a creative, with the
 * policy topic information and optional evidence for the policy violation.
 *
 * 

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Real-time Bidding API. For a detailed explanation * see: * https://developers.google.com/api-client-library/java/google-http-java-client/json *

* * @author Google, Inc. */ @SuppressWarnings("javadoc") public final class PolicyTopicEntry extends com.google.api.client.json.GenericJson { /** * Pieces of evidence associated with this policy topic entry. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List evidences; /** * URL of the help center article describing this policy topic. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String helpCenterUrl; /** * Whether or not the policy topic is missing a certificate. Some policy topics require a * certificate to unblock serving in some regions. For more information about creative * certification, refer to: https://support.google.com/authorizedbuyers/answer/7450776 * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean missingCertificate; /** * Policy topic this entry refers to. For example, "ALCOHOL", "TRADEMARKS_IN_AD_TEXT", or * "DESTINATION_NOT_WORKING". The set of possible policy topics is not fixed for a particular API * version and may change at any time. Can be used to filter the response of the creatives.list * method * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String policyTopic; /** * Pieces of evidence associated with this policy topic entry. * @return value or {@code null} for none */ public java.util.List getEvidences() { return evidences; } /** * Pieces of evidence associated with this policy topic entry. * @param evidences evidences or {@code null} for none */ public PolicyTopicEntry setEvidences(java.util.List evidences) { this.evidences = evidences; return this; } /** * URL of the help center article describing this policy topic. * @return value or {@code null} for none */ public java.lang.String getHelpCenterUrl() { return helpCenterUrl; } /** * URL of the help center article describing this policy topic. * @param helpCenterUrl helpCenterUrl or {@code null} for none */ public PolicyTopicEntry setHelpCenterUrl(java.lang.String helpCenterUrl) { this.helpCenterUrl = helpCenterUrl; return this; } /** * Whether or not the policy topic is missing a certificate. Some policy topics require a * certificate to unblock serving in some regions. For more information about creative * certification, refer to: https://support.google.com/authorizedbuyers/answer/7450776 * @return value or {@code null} for none */ public java.lang.Boolean getMissingCertificate() { return missingCertificate; } /** * Whether or not the policy topic is missing a certificate. Some policy topics require a * certificate to unblock serving in some regions. For more information about creative * certification, refer to: https://support.google.com/authorizedbuyers/answer/7450776 * @param missingCertificate missingCertificate or {@code null} for none */ public PolicyTopicEntry setMissingCertificate(java.lang.Boolean missingCertificate) { this.missingCertificate = missingCertificate; return this; } /** * Policy topic this entry refers to. For example, "ALCOHOL", "TRADEMARKS_IN_AD_TEXT", or * "DESTINATION_NOT_WORKING". The set of possible policy topics is not fixed for a particular API * version and may change at any time. Can be used to filter the response of the creatives.list * method * @return value or {@code null} for none */ public java.lang.String getPolicyTopic() { return policyTopic; } /** * Policy topic this entry refers to. For example, "ALCOHOL", "TRADEMARKS_IN_AD_TEXT", or * "DESTINATION_NOT_WORKING". The set of possible policy topics is not fixed for a particular API * version and may change at any time. Can be used to filter the response of the creatives.list * method * @param policyTopic policyTopic or {@code null} for none */ public PolicyTopicEntry setPolicyTopic(java.lang.String policyTopic) { this.policyTopic = policyTopic; return this; } @Override public PolicyTopicEntry set(String fieldName, Object value) { return (PolicyTopicEntry) super.set(fieldName, value); } @Override public PolicyTopicEntry clone() { return (PolicyTopicEntry) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy