Captures the WHERE
, ORDER BY
and LIMIT
- /// clauses of a PQL query. Statements are typically used to retrieve objects of a
- /// predefined domain type, which makes SELECT clause unnecessary. An example
- /// query text might be "WHERE status = 'ACTIVE' ORDER BY id LIMIT
- /// 30"
.
Statements support bind variables. These are substitutes for
- /// literals and can be thought of as input parameters to a PQL query.
An
- /// example of such a query might be "WHERE id = :idValue"
.
- /// Statements also support use of the LIKE keyword. This provides wildcard
- /// string matching.
An example of such a query might be "WHERE name
- /// LIKE '%searchString%'"
.
The value for the variable idValue must then
- /// be set with an object of type Value, e.g., NumberValue, TextValue or BooleanValue.
+ /// Represents positions within and around a video where ads can be targeted to.
+ /// Example positions could be pre-roll
(before the video plays),
+ /// post-roll
(after a video has completed playback) and
+ /// mid-roll
(during video playback).
Empty video position
+ /// targeting means that all video positions are allowed. If a bumper line item has
+ /// empty video position targeting it will be updated to target all bumper
+ /// positions.
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://www.google.com/apis/ads/publisher/v202311")]
- public partial class Statement {
- private string queryField;
-
- private String_ValueMapEntry[] valuesField;
-
- /// Holds the query in PQL syntax. The syntax is:
[WHERE
- /// <condition> {[AND | OR] <condition> ...}]
[ORDER
- /// BY <property> [ASC | DESC]]
[LIMIT {[<offset>,]
- /// <count>} | {<count> OFFSET <offset>}]
- /// <condition>
#x160;#x160;#x160;#x160; :=
- /// <property> {< | <= | > | >= | = | != } <value>
<condition>
#x160;#x160;#x160;#x160; :=
- /// <property> {< | <= | > | >= | = | != } <bind
- /// variable>
<condition> := <property> IN
- /// <list>
<condition> := <property> IS
- /// NULL
<condition> := <property> LIKE
- /// <wildcard%match>
<bind variable> :=
- /// :<name>
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public string query {
- get {
- return this.queryField;
- }
- set {
- this.queryField = value;
- }
- }
+ [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://www.google.com/apis/ads/publisher/v202411")]
+ public partial class VideoPositionTargeting {
+ private VideoPositionTarget[] targetedPositionsField;
- /// Holds keys and values for bind variables and their values. The key is the name
- /// of the bind variable. The value is the literal value of the variable. In the
- /// example "WHERE status = :bindStatus ORDER BY id LIMIT 30"
, the bind
- /// variable, represented by :bindStatus
is named
- /// bindStatus
, which would also be the parameter map key. The bind
- /// variable's value would be represented by a parameter map value of type TextValue. The final result, for example, would be an entry
- /// of "bindStatus" => StringParam("ACTIVE")
.
+ /// The VideoTargetingPosition objects being
+ /// targeted by the video LineItem.
///
- [System.Xml.Serialization.XmlElementAttribute("values", Order = 1)]
- public String_ValueMapEntry[] values {
+ [System.Xml.Serialization.XmlElementAttribute("targetedPositions", Order = 0)]
+ public VideoPositionTarget[] targetedPositions {
get {
- return this.valuesField;
+ return this.targetedPositionsField;
}
set {
- this.valuesField = value;
+ this.targetedPositionsField = value;
}
}
}
- /// This represents an entry in a map with a key of type String and value of type
- /// Value.
+ /// Used to target LineItems to specific videos on a
+ /// publisher's site.
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://www.google.com/apis/ads/publisher/v202311")]
- public partial class String_ValueMapEntry {
- private string keyField;
+ [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://www.google.com/apis/ads/publisher/v202411")]
+ public partial class ContentTargeting {
+ private long[] targetedContentIdsField;
- private Value valueField;
+ private long[] excludedContentIdsField;
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public string key {
+ private long[] targetedVideoContentBundleIdsField;
+
+ private long[] excludedVideoContentBundleIdsField;
+
+ /// The IDs of content being targeted by the LineItem
.
+ ///
+ [System.Xml.Serialization.XmlElementAttribute("targetedContentIds", Order = 0)]
+ public long[] targetedContentIds {
get {
- return this.keyField;
+ return this.targetedContentIdsField;
}
set {
- this.keyField = value;
+ this.targetedContentIdsField = value;
}
}
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public Value value {
- get {
- return this.valueField;
- }
+ /// The IDs of content being excluded by the LineItem
.
+ ///
+ [System.Xml.Serialization.XmlElementAttribute("excludedContentIds", Order = 1)]
+ public long[] excludedContentIds {
+ get {
+ return this.excludedContentIdsField;
+ }
set {
- this.valueField = value;
+ this.excludedContentIdsField = value;
}
}
- }
-
-
- /// Value
represents a value.
- ///
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(TextValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(SetValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(NumberValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(DateValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(DateTimeValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(BooleanValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(ObjectValue))]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.8.3928.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://www.google.com/apis/ads/publisher/v202311")]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(TargetingValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(ChangeHistoryValue))]
- public abstract partial class Value {
- }
-
- /// Contains a string value.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.8.3928.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://www.google.com/apis/ads/publisher/v202311")]
- public partial class TextValue : Value {
- private string valueField;
+ /// A list of video content bundles, represented by ContentBundle IDs, that are being targeted by the
+ /// LineItem
.
+ ///
+ [System.Xml.Serialization.XmlElementAttribute("targetedVideoContentBundleIds", Order = 2)]
+ public long[] targetedVideoContentBundleIds {
+ get {
+ return this.targetedVideoContentBundleIdsField;
+ }
+ set {
+ this.targetedVideoContentBundleIdsField = value;
+ }
+ }
- /// The string value.
+ /// A list of video content bundles, represented by ContentBundle IDs, that are being excluded by the
+ /// LineItem
.
///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public string value {
+ [System.Xml.Serialization.XmlElementAttribute("excludedVideoContentBundleIds", Order = 3)]
+ public long[] excludedVideoContentBundleIds {
get {
- return this.valueField;
+ return this.excludedVideoContentBundleIdsField;
}
set {
- this.valueField = value;
+ this.excludedVideoContentBundleIdsField = value;
}
}
}
- /// Contains a set of Values. May not contain duplicates.
+ /// Provides line items the ability to target or exclude users visiting their
+ /// websites from a list of domains or subdomains.
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://www.google.com/apis/ads/publisher/v202311")]
- public partial class SetValue : Value {
- private Value[] valuesField;
+ [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://www.google.com/apis/ads/publisher/v202411")]
+ public partial class UserDomainTargeting {
+ private string[] domainsField;
- /// The values. They must all be the same type of Value
and not contain
- /// duplicates.
+ private bool targetedField;
+
+ private bool targetedFieldSpecified;
+
+ /// The domains or subdomains that are being targeted or excluded by the LineItem. This attribute is required and the maximum length
+ /// of each domain is 67 characters.
///
- [System.Xml.Serialization.XmlElementAttribute("values", Order = 0)]
- public Value[] values {
+ [System.Xml.Serialization.XmlElementAttribute("domains", Order = 0)]
+ public string[] domains {
get {
- return this.valuesField;
+ return this.domainsField;
}
set {
- this.valuesField = value;
+ this.domainsField = value;
}
}
- }
-
-
- /// Contains a numeric value.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.8.3928.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://www.google.com/apis/ads/publisher/v202311")]
- public partial class NumberValue : Value {
- private string valueField;
- /// The numeric value represented as a string.
+ /// Indicates whether domains should be targeted or excluded. This attribute is
+ /// optional and defaults to true
.
///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public string value {
+ [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
+ public bool targeted {
get {
- return this.valueField;
+ return this.targetedField;
}
set {
- this.valueField = value;
+ this.targetedField = value;
+ this.targetedSpecified = true;
+ }
+ }
+
+ /// true
, if a value is specified for , false
otherwise.
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public bool targetedSpecified {
+ get {
+ return this.targetedFieldSpecified;
+ }
+ set {
+ this.targetedFieldSpecified = value;
}
}
}
- /// Contains a date value.
+ /// A CustomCriteriaNode is a node in the custom
+ /// targeting tree. A custom criteria node can either be a CustomCriteriaSet (a non-leaf node) or a CustomCriteria (a leaf node). The custom criteria
+ /// targeting tree is subject to the rules defined on Targeting#customTargeting.
///
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(CustomCriteriaLeaf))]
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(AudienceSegmentCriteria))]
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(CmsMetadataCriteria))]
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(CustomCriteria))]
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(CustomCriteriaSet))]
[System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://www.google.com/apis/ads/publisher/v202311")]
- public partial class DateValue : Value {
- private Date valueField;
-
- /// The Date
value.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public Date value {
- get {
- return this.valueField;
- }
- set {
- this.valueField = value;
- }
- }
+ [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://www.google.com/apis/ads/publisher/v202411")]
+ public abstract partial class CustomCriteriaNode {
}
- /// Represents a date.
+ /// A CustomCriteriaLeaf object represents a
+ /// generic leaf of CustomCriteria tree structure.
///
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(AudienceSegmentCriteria))]
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(CmsMetadataCriteria))]
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(CustomCriteria))]
[System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://www.google.com/apis/ads/publisher/v202311")]
- public partial class Date {
- private int yearField;
-
- private bool yearFieldSpecified;
+ [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://www.google.com/apis/ads/publisher/v202411")]
+ public abstract partial class CustomCriteriaLeaf : CustomCriteriaNode {
+ }
- private int monthField;
- private bool monthFieldSpecified;
+ /// An AudienceSegmentCriteria object is used
+ /// to target AudienceSegment objects.
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.8.3928.0")]
+ [System.SerializableAttribute()]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://www.google.com/apis/ads/publisher/v202411")]
+ public partial class AudienceSegmentCriteria : CustomCriteriaLeaf {
+ private AudienceSegmentCriteriaComparisonOperator operatorField;
- private int dayField;
+ private bool operatorFieldSpecified;
- private bool dayFieldSpecified;
+ private long[] audienceSegmentIdsField;
- /// Year (e.g., 2009)
+ /// The comparison operator. This attribute is required.
///
[System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public int year {
+ public AudienceSegmentCriteriaComparisonOperator @operator {
get {
- return this.yearField;
+ return this.operatorField;
}
set {
- this.yearField = value;
- this.yearSpecified = true;
+ this.operatorField = value;
+ this.operatorSpecified = true;
}
}
- /// true
, if a value is specified for ,
- /// false
otherwise.
+ /// true
, if a value is specified for , false
otherwise.
[System.Xml.Serialization.XmlIgnoreAttribute()]
[EditorBrowsable(EditorBrowsableState.Never)]
- public bool yearSpecified {
+ public bool operatorSpecified {
get {
- return this.yearFieldSpecified;
+ return this.operatorFieldSpecified;
}
set {
- this.yearFieldSpecified = value;
+ this.operatorFieldSpecified = value;
}
}
- /// Month (1..12)
+ /// The ids of AudienceSegment objects used to target
+ /// audience segments. This attribute is required.
///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public int month {
+ [System.Xml.Serialization.XmlElementAttribute("audienceSegmentIds", Order = 1)]
+ public long[] audienceSegmentIds {
get {
- return this.monthField;
+ return this.audienceSegmentIdsField;
}
set {
- this.monthField = value;
- this.monthSpecified = true;
+ this.audienceSegmentIdsField = value;
}
}
+ }
- /// true
, if a value is specified for ,
- /// false
otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool monthSpecified {
+
+ /// Specifies the available comparison operators.
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.8.3928.0")]
+ [System.SerializableAttribute()]
+ [System.Xml.Serialization.XmlTypeAttribute(TypeName = "AudienceSegmentCriteria.ComparisonOperator", Namespace = "https://www.google.com/apis/ads/publisher/v202411")]
+ public enum AudienceSegmentCriteriaComparisonOperator {
+ IS = 0,
+ IS_NOT = 1,
+ }
+
+
+ /// A CmsMetadataCriteria
object is used to target
+ /// objects.
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.8.3928.0")]
+ [System.SerializableAttribute()]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://www.google.com/apis/ads/publisher/v202411")]
+ public partial class CmsMetadataCriteria : CustomCriteriaLeaf {
+ private CmsMetadataCriteriaComparisonOperator operatorField;
+
+ private bool operatorFieldSpecified;
+
+ private long[] cmsMetadataValueIdsField;
+
+ /// The comparison operator. This attribute is required.
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
+ public CmsMetadataCriteriaComparisonOperator @operator {
get {
- return this.monthFieldSpecified;
+ return this.operatorField;
}
set {
- this.monthFieldSpecified = value;
+ this.operatorField = value;
+ this.operatorSpecified = true;
}
}
- /// Day (1..31)
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public int day {
+ /// true
, if a value is specified for , false
otherwise.
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public bool operatorSpecified {
get {
- return this.dayField;
+ return this.operatorFieldSpecified;
}
set {
- this.dayField = value;
- this.daySpecified = true;
+ this.operatorFieldSpecified = value;
}
}
- /// true
, if a value is specified for ,
- /// false
otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool daySpecified {
+ /// The ids of CmsMetadataValue objects used to
+ /// target CMS metadata. This attribute is required.
+ ///
+ [System.Xml.Serialization.XmlElementAttribute("cmsMetadataValueIds", Order = 1)]
+ public long[] cmsMetadataValueIds {
get {
- return this.dayFieldSpecified;
+ return this.cmsMetadataValueIdsField;
}
set {
- this.dayFieldSpecified = value;
+ this.cmsMetadataValueIdsField = value;
}
}
}
- /// Contains a date-time value.
+ /// Specifies the available comparison operators.
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.8.3928.0")]
[System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://www.google.com/apis/ads/publisher/v202311")]
- public partial class DateTimeValue : Value {
- private DateTime valueField;
-
- /// The DateTime
value.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public DateTime value {
- get {
- return this.valueField;
- }
- set {
- this.valueField = value;
- }
- }
+ [System.Xml.Serialization.XmlTypeAttribute(TypeName = "CmsMetadataCriteria.ComparisonOperator", Namespace = "https://www.google.com/apis/ads/publisher/v202411")]
+ public enum CmsMetadataCriteriaComparisonOperator {
+ EQUALS = 0,
+ NOT_EQUALS = 1,
}
- /// Represents a date combined with the time of day.
+ /// A CustomCriteria object is used to perform custom
+ /// criteria targeting on custom targeting keys of type CustomTargetingKey.Type#PREDEFINED
+ /// or CustomTargetingKey.Type#FREEFORM.
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://www.google.com/apis/ads/publisher/v202311")]
- public partial class DateTime {
- private Date dateField;
-
- private int hourField;
-
- private bool hourFieldSpecified;
-
- private int minuteField;
+ [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://www.google.com/apis/ads/publisher/v202411")]
+ public partial class CustomCriteria : CustomCriteriaLeaf {
+ private long keyIdField;
- private bool minuteFieldSpecified;
+ private bool keyIdFieldSpecified;
- private int secondField;
+ private long[] valueIdsField;
- private bool secondFieldSpecified;
+ private CustomCriteriaComparisonOperator operatorField;
- private string timeZoneIdField;
+ private bool operatorFieldSpecified;
+ /// The CustomTargetingKey#id of the CustomTargetingKey object that was created using
+ /// CustomTargetingService. This attribute is
+ /// required.
+ ///
[System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public Date date {
- get {
- return this.dateField;
- }
- set {
- this.dateField = value;
- }
- }
-
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public int hour {
+ public long keyId {
get {
- return this.hourField;
+ return this.keyIdField;
}
set {
- this.hourField = value;
- this.hourSpecified = true;
+ this.keyIdField = value;
+ this.keyIdSpecified = true;
}
}
- /// true
, if a value is specified for ,
+ /// true
, if a value is specified for ,
/// false
otherwise.
[System.Xml.Serialization.XmlIgnoreAttribute()]
[EditorBrowsable(EditorBrowsableState.Never)]
- public bool hourSpecified {
- get {
- return this.hourFieldSpecified;
- }
- set {
- this.hourFieldSpecified = value;
- }
- }
-
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public int minute {
+ public bool keyIdSpecified {
get {
- return this.minuteField;
+ return this.keyIdFieldSpecified;
}
set {
- this.minuteField = value;
- this.minuteSpecified = true;
+ this.keyIdFieldSpecified = value;
}
}
- /// true
, if a value is specified for ,
- /// false
otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool minuteSpecified {
+ /// The ids of CustomTargetingValue objects to
+ /// target the custom targeting key with id CustomCriteria#keyId. This attribute is
+ /// required.
+ ///
+ [System.Xml.Serialization.XmlElementAttribute("valueIds", Order = 1)]
+ public long[] valueIds {
get {
- return this.minuteFieldSpecified;
+ return this.valueIdsField;
}
set {
- this.minuteFieldSpecified = value;
+ this.valueIdsField = value;
}
}
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public int second {
+ /// The comparison operator. This attribute is required.
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
+ public CustomCriteriaComparisonOperator @operator {
get {
- return this.secondField;
+ return this.operatorField;
}
set {
- this.secondField = value;
- this.secondSpecified = true;
+ this.operatorField = value;
+ this.operatorSpecified = true;
}
}
- /// true
, if a value is specified for ,
- /// false
otherwise.
+ /// true
, if a value is specified for , false
otherwise.
[System.Xml.Serialization.XmlIgnoreAttribute()]
[EditorBrowsable(EditorBrowsableState.Never)]
- public bool secondSpecified {
+ public bool operatorSpecified {
get {
- return this.secondFieldSpecified;
+ return this.operatorFieldSpecified;
}
set {
- this.secondFieldSpecified = value;
+ this.operatorFieldSpecified = value;
}
}
+ }
- [System.Xml.Serialization.XmlElementAttribute(Order = 4)]
- public string timeZoneId {
- get {
- return this.timeZoneIdField;
- }
- set {
- this.timeZoneIdField = value;
- }
- }
+
+ /// Specifies the available comparison operators.
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.8.3928.0")]
+ [System.SerializableAttribute()]
+ [System.Xml.Serialization.XmlTypeAttribute(TypeName = "CustomCriteria.ComparisonOperator", Namespace = "https://www.google.com/apis/ads/publisher/v202411")]
+ public enum CustomCriteriaComparisonOperator {
+ IS = 0,
+ IS_NOT = 1,
}
- /// Contains a boolean value.
+ /// A CustomCriteriaSet comprises of a set of CustomCriteriaNode objects combined by the CustomCriteriaSet.LogicalOperator#logicalOperator.
+ /// The custom criteria targeting tree is subject to the rules defined on Targeting#customTargeting.
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://www.google.com/apis/ads/publisher/v202311")]
- public partial class BooleanValue : Value {
- private bool valueField;
+ [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://www.google.com/apis/ads/publisher/v202411")]
+ public partial class CustomCriteriaSet : CustomCriteriaNode {
+ private CustomCriteriaSetLogicalOperator logicalOperatorField;
- private bool valueFieldSpecified;
+ private bool logicalOperatorFieldSpecified;
- /// The boolean value.
+ private CustomCriteriaNode[] childrenField;
+
+ /// The logical operator to be applied to CustomCriteriaSet#children. This attribute
+ /// is required. This attribute is
+ /// required.
///
[System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public bool value {
+ public CustomCriteriaSetLogicalOperator logicalOperator {
get {
- return this.valueField;
+ return this.logicalOperatorField;
}
set {
- this.valueField = value;
- this.valueSpecified = true;
+ this.logicalOperatorField = value;
+ this.logicalOperatorSpecified = true;
}
}
- /// true
, if a value is specified for ,
- /// false
otherwise.
+ /// true
, if a value is specified for , false
otherwise.
[System.Xml.Serialization.XmlIgnoreAttribute()]
[EditorBrowsable(EditorBrowsableState.Never)]
- public bool valueSpecified {
+ public bool logicalOperatorSpecified {
get {
- return this.valueFieldSpecified;
+ return this.logicalOperatorFieldSpecified;
}
set {
- this.valueFieldSpecified = value;
+ this.logicalOperatorFieldSpecified = value;
+ }
+ }
+
+ /// The custom criteria. This attribute is required.
+ ///
+ [System.Xml.Serialization.XmlElementAttribute("children", Order = 1)]
+ public CustomCriteriaNode[] children {
+ get {
+ return this.childrenField;
+ }
+ set {
+ this.childrenField = value;
}
}
}
- /// Contains an object value. This object is experimental!
- /// ObjectValue
is an experimental, innovative, and rapidly changing
- /// new feature for Ad Manager. Unfortunately, being on the bleeding edge means that
- /// we may make backwards-incompatible changes to ObjectValue
. We will
- /// inform the community when this feature is no longer experimental.
+ /// Specifies the available logical operators.
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.8.3928.0")]
[System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://www.google.com/apis/ads/publisher/v202311")]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(TargetingValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(ChangeHistoryValue))]
- public abstract partial class ObjectValue : Value {
+ [System.Xml.Serialization.XmlTypeAttribute(TypeName = "CustomCriteriaSet.LogicalOperator", Namespace = "https://www.google.com/apis/ads/publisher/v202411")]
+ public enum CustomCriteriaSetLogicalOperator {
+ AND = 0,
+ OR = 1,
}
- /// Captures a page of ActivityGroup objects.
+ /// Represents operating system versions that are being targeted or excluded by the
+ /// LineItem.
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://www.google.com/apis/ads/publisher/v202311")]
- public partial class ActivityGroupPage {
- private int totalResultSetSizeField;
-
- private bool totalResultSetSizeFieldSpecified;
-
- private int startIndexField;
-
- private bool startIndexFieldSpecified;
+ [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://www.google.com/apis/ads/publisher/v202411")]
+ public partial class OperatingSystemVersionTargeting {
+ private Technology[] targetedOperatingSystemVersionsField;
- private ActivityGroup[] resultsField;
+ private Technology[] excludedOperatingSystemVersionsField;
- /// The size of the total result set to which this page belongs.
+ /// Operating system versions that are being targeted by the LineItem.
///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public int totalResultSetSize {
+ [System.Xml.Serialization.XmlElementAttribute("targetedOperatingSystemVersions", Order = 0)]
+ public Technology[] targetedOperatingSystemVersions {
get {
- return this.totalResultSetSizeField;
+ return this.targetedOperatingSystemVersionsField;
}
set {
- this.totalResultSetSizeField = value;
- this.totalResultSetSizeSpecified = true;
+ this.targetedOperatingSystemVersionsField = value;
}
}
- /// true
, if a value is specified for , false
otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool totalResultSetSizeSpecified {
- get {
- return this.totalResultSetSizeFieldSpecified;
+ /// Operating system versions that are being excluded by the LineItem.
+ ///
+ [System.Xml.Serialization.XmlElementAttribute("excludedOperatingSystemVersions", Order = 1)]
+ public Technology[] excludedOperatingSystemVersions {
+ get {
+ return this.excludedOperatingSystemVersionsField;
}
set {
- this.totalResultSetSizeFieldSpecified = value;
+ this.excludedOperatingSystemVersionsField = value;
}
}
+ }
- /// The absolute index in the total result set on which this page begins.
+
+ /// Represents a technology entity that can be targeted.
+ ///
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(OperatingSystemVersion))]
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(OperatingSystem))]
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(MobileDeviceSubmodel))]
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(MobileDevice))]
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(MobileCarrier))]
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(DeviceManufacturer))]
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(DeviceCategory))]
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(DeviceCapability))]
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(BrowserLanguage))]
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(Browser))]
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(BandwidthGroup))]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.8.3928.0")]
+ [System.SerializableAttribute()]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://www.google.com/apis/ads/publisher/v202411")]
+ public partial class Technology {
+ private long idField;
+
+ private bool idFieldSpecified;
+
+ private string nameField;
+
+ /// The unique ID of the Technology
. This value is required for all
+ /// forms of TechnologyTargeting
.
///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public int startIndex {
+ [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
+ public long id {
get {
- return this.startIndexField;
+ return this.idField;
}
set {
- this.startIndexField = value;
- this.startIndexSpecified = true;
+ this.idField = value;
+ this.idSpecified = true;
}
}
- /// true
, if a value is specified for , false
otherwise.
+ /// true
, if a value is specified for ,
+ /// false
otherwise.
[System.Xml.Serialization.XmlIgnoreAttribute()]
[EditorBrowsable(EditorBrowsableState.Never)]
- public bool startIndexSpecified {
+ public bool idSpecified {
get {
- return this.startIndexFieldSpecified;
+ return this.idFieldSpecified;
}
set {
- this.startIndexFieldSpecified = value;
+ this.idFieldSpecified = value;
}
}
- /// The collection of activity groups contained within this page.
+ /// The name of the technology being targeting. This value is read-only and is
+ /// assigned by Google.
///
- [System.Xml.Serialization.XmlElementAttribute("results", Order = 2)]
- public ActivityGroup[] results {
+ [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
+ public string name {
get {
- return this.resultsField;
+ return this.nameField;
}
set {
- this.resultsField = value;
+ this.nameField = value;
}
}
}
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public interface ActivityGroupServiceInterfaceChannel : Google.Api.Ads.AdManager.v202311.ActivityGroupServiceInterface, System.ServiceModel.IClientChannel
- {
- }
- namespace Wrappers.ActivityGroupService
- {
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "createActivityGroups", WrapperNamespace = "https://www.google.com/apis/ads/publisher/v202311", IsWrapped = true)]
- public partial class createActivityGroupsRequest {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://www.google.com/apis/ads/publisher/v202311", Order = 0)]
- [System.Xml.Serialization.XmlElementAttribute("activityGroups")]
- public Google.Api.Ads.AdManager.v202311.ActivityGroup[] activityGroups;
-
- /// Creates a new instance of the class.
- public createActivityGroupsRequest() {
- }
-
- /// Creates a new instance of the class.
- public createActivityGroupsRequest(Google.Api.Ads.AdManager.v202311.ActivityGroup[] activityGroups) {
- this.activityGroups = activityGroups;
- }
- }
-
+ /// Represents a specific version of an operating system.
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.8.3928.0")]
+ [System.SerializableAttribute()]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://www.google.com/apis/ads/publisher/v202411")]
+ public partial class OperatingSystemVersion : Technology {
+ private int majorVersionField;
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "createActivityGroupsResponse", WrapperNamespace = "https://www.google.com/apis/ads/publisher/v202311", IsWrapped = true)]
- public partial class createActivityGroupsResponse {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://www.google.com/apis/ads/publisher/v202311", Order = 0)]
- [System.Xml.Serialization.XmlElementAttribute("rval")]
- public Google.Api.Ads.AdManager.v202311.ActivityGroup[] rval;
+ private bool majorVersionFieldSpecified;
- /// Creates a new instance of the class.
- public createActivityGroupsResponse() {
- }
+ private int minorVersionField;
- /// Creates a new instance of the class.
- public createActivityGroupsResponse(Google.Api.Ads.AdManager.v202311.ActivityGroup[] rval) {
- this.rval = rval;
- }
- }
+ private bool minorVersionFieldSpecified;
+ private int microVersionField;
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "updateActivityGroups", WrapperNamespace = "https://www.google.com/apis/ads/publisher/v202311", IsWrapped = true)]
- public partial class updateActivityGroupsRequest {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://www.google.com/apis/ads/publisher/v202311", Order = 0)]
- [System.Xml.Serialization.XmlElementAttribute("activityGroups")]
- public Google.Api.Ads.AdManager.v202311.ActivityGroup[] activityGroups;
+ private bool microVersionFieldSpecified;
- /// Creates a new instance of the class.
- public updateActivityGroupsRequest() {
+ /// The operating system major version.
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
+ public int majorVersion {
+ get {
+ return this.majorVersionField;
}
-
- /// Creates a new instance of the class.
- public updateActivityGroupsRequest(Google.Api.Ads.AdManager.v202311.ActivityGroup[] activityGroups) {
- this.activityGroups = activityGroups;
+ set {
+ this.majorVersionField = value;
+ this.majorVersionSpecified = true;
}
}
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "updateActivityGroupsResponse", WrapperNamespace = "https://www.google.com/apis/ads/publisher/v202311", IsWrapped = true)]
- public partial class updateActivityGroupsResponse {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://www.google.com/apis/ads/publisher/v202311", Order = 0)]
- [System.Xml.Serialization.XmlElementAttribute("rval")]
- public Google.Api.Ads.AdManager.v202311.ActivityGroup[] rval;
-
- /// Creates a new instance of the class.
- public updateActivityGroupsResponse() {
+ /// true
, if a value is specified for , false
otherwise.
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public bool majorVersionSpecified {
+ get {
+ return this.majorVersionFieldSpecified;
}
-
- /// Creates a new instance of the class.
- public updateActivityGroupsResponse(Google.Api.Ads.AdManager.v202311.ActivityGroup[] rval) {
- this.rval = rval;
+ set {
+ this.majorVersionFieldSpecified = value;
}
}
- }
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ServiceModel.ServiceContractAttribute(Namespace = "https://www.google.com/apis/ads/publisher/v202311", ConfigurationName = "Google.Api.Ads.AdManager.v202311.ActivityGroupServiceInterface")]
- public interface ActivityGroupServiceInterface
- {
- // CODEGEN: Parameter 'rval' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'System.Xml.Serialization.XmlElementAttribute'.
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [System.ServiceModel.FaultContractAttribute(typeof(Google.Api.Ads.AdManager.v202311.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Wrappers.ActivityGroupService.createActivityGroupsResponse createActivityGroups(Wrappers.ActivityGroupService.createActivityGroupsRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- System.Threading.Tasks.Task createActivityGroupsAsync(Wrappers.ActivityGroupService.createActivityGroupsRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [System.ServiceModel.FaultContractAttribute(typeof(Google.Api.Ads.AdManager.v202311.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Google.Api.Ads.AdManager.v202311.ActivityGroupPage getActivityGroupsByStatement(Google.Api.Ads.AdManager.v202311.Statement filterStatement);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- System.Threading.Tasks.Task getActivityGroupsByStatementAsync(Google.Api.Ads.AdManager.v202311.Statement filterStatement);
-
- // CODEGEN: Parameter 'rval' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'System.Xml.Serialization.XmlElementAttribute'.
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [System.ServiceModel.FaultContractAttribute(typeof(Google.Api.Ads.AdManager.v202311.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Wrappers.ActivityGroupService.updateActivityGroupsResponse updateActivityGroups(Wrappers.ActivityGroupService.updateActivityGroupsRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- System.Threading.Tasks.Task updateActivityGroupsAsync(Wrappers.ActivityGroupService.updateActivityGroupsRequest request);
- }
-
-
- /// Provides methods for creating, updating and retrieving ActivityGroup objects. An activity group contains Activity objects. Activities have a many-to-one relationship
- /// with activity groups, meaning each activity can belong to only one activity
- /// group, but activity groups can have multiple activities. An activity group can
- /// be used to manage the activities it contains.
- ///
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class ActivityGroupService : AdManagerSoapClient, IActivityGroupService {
- /// Creates a new instance of the
- /// class.
- public ActivityGroupService() {
- }
-
- /// Creates a new instance of the
- /// class.
- public ActivityGroupService(string endpointConfigurationName)
- : base(endpointConfigurationName) {
- }
-
- /// Creates a new instance of the
- /// class.
- public ActivityGroupService(string endpointConfigurationName, string remoteAddress)
- : base(endpointConfigurationName, remoteAddress) {
- }
-
- /// Creates a new instance of the
- /// class.
- public ActivityGroupService(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress)
- : base(endpointConfigurationName, remoteAddress) {
- }
-
- /// Creates a new instance of the
- /// class.
- public ActivityGroupService(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)
- : base(binding, remoteAddress) {
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- Wrappers.ActivityGroupService.createActivityGroupsResponse Google.Api.Ads.AdManager.v202311.ActivityGroupServiceInterface.createActivityGroups(Wrappers.ActivityGroupService.createActivityGroupsRequest request) {
- return base.Channel.createActivityGroups(request);
- }
-
- /// Creates a new ActivityGroup objects.
- ///
- public virtual Google.Api.Ads.AdManager.v202311.ActivityGroup[] createActivityGroups(Google.Api.Ads.AdManager.v202311.ActivityGroup[] activityGroups) {
- Wrappers.ActivityGroupService.createActivityGroupsRequest inValue = new Wrappers.ActivityGroupService.createActivityGroupsRequest();
- inValue.activityGroups = activityGroups;
- Wrappers.ActivityGroupService.createActivityGroupsResponse retVal = ((Google.Api.Ads.AdManager.v202311.ActivityGroupServiceInterface)(this)).createActivityGroups(inValue);
- return retVal.rval;
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- System.Threading.Tasks.Task Google.Api.Ads.AdManager.v202311.ActivityGroupServiceInterface.createActivityGroupsAsync(Wrappers.ActivityGroupService.createActivityGroupsRequest request) {
- return base.Channel.createActivityGroupsAsync(request);
- }
-
- public virtual System.Threading.Tasks.Task createActivityGroupsAsync(Google.Api.Ads.AdManager.v202311.ActivityGroup[] activityGroups) {
- Wrappers.ActivityGroupService.createActivityGroupsRequest inValue = new Wrappers.ActivityGroupService.createActivityGroupsRequest();
- inValue.activityGroups = activityGroups;
- return System.Threading.Tasks.Task.Factory.StartNew(() => (((Google.Api.Ads.AdManager.v202311.ActivityGroupServiceInterface)(this)).createActivityGroupsAsync(inValue)).Result.rval);
- }
-
- /// Gets an ActivityGroupPage of ActivityGroup objects that satisfy the given Statement#query. The following fields are supported
- /// for filtering:
- ///
- public virtual Google.Api.Ads.AdManager.v202311.ActivityGroupPage getActivityGroupsByStatement(Google.Api.Ads.AdManager.v202311.Statement filterStatement) {
- return base.Channel.getActivityGroupsByStatement(filterStatement);
- }
-
- public virtual System.Threading.Tasks.Task getActivityGroupsByStatementAsync(Google.Api.Ads.AdManager.v202311.Statement filterStatement) {
- return base.Channel.getActivityGroupsByStatementAsync(filterStatement);
- }
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- Wrappers.ActivityGroupService.updateActivityGroupsResponse Google.Api.Ads.AdManager.v202311.ActivityGroupServiceInterface.updateActivityGroups(Wrappers.ActivityGroupService.updateActivityGroupsRequest request) {
- return base.Channel.updateActivityGroups(request);
- }
-
- /// Updates the specified ActivityGroup objects.
+ /// The operating system minor version.
///
- public virtual Google.Api.Ads.AdManager.v202311.ActivityGroup[] updateActivityGroups(Google.Api.Ads.AdManager.v202311.ActivityGroup[] activityGroups) {
- Wrappers.ActivityGroupService.updateActivityGroupsRequest inValue = new Wrappers.ActivityGroupService.updateActivityGroupsRequest();
- inValue.activityGroups = activityGroups;
- Wrappers.ActivityGroupService.updateActivityGroupsResponse retVal = ((Google.Api.Ads.AdManager.v202311.ActivityGroupServiceInterface)(this)).updateActivityGroups(inValue);
- return retVal.rval;
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- System.Threading.Tasks.Task Google.Api.Ads.AdManager.v202311.ActivityGroupServiceInterface.updateActivityGroupsAsync(Wrappers.ActivityGroupService.updateActivityGroupsRequest request) {
- return base.Channel.updateActivityGroupsAsync(request);
- }
-
- public virtual System.Threading.Tasks.Task updateActivityGroupsAsync(Google.Api.Ads.AdManager.v202311.ActivityGroup[] activityGroups) {
- Wrappers.ActivityGroupService.updateActivityGroupsRequest inValue = new Wrappers.ActivityGroupService.updateActivityGroupsRequest();
- inValue.activityGroups = activityGroups;
- return System.Threading.Tasks.Task.Factory.StartNew(() => (((Google.Api.Ads.AdManager.v202311.ActivityGroupServiceInterface)(this)).updateActivityGroupsAsync(inValue)).Result.rval);
- }
- }
- namespace Wrappers.CreativeService
- {
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "createCreatives", WrapperNamespace = "https://www.google.com/apis/ads/publisher/v202311", IsWrapped = true)]
- public partial class createCreativesRequest {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://www.google.com/apis/ads/publisher/v202311", Order = 0)]
- [System.Xml.Serialization.XmlElementAttribute("creatives")]
- public Google.Api.Ads.AdManager.v202311.Creative[] creatives;
-
- /// Creates a new instance of the
- /// class.
- public createCreativesRequest() {
+ [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
+ public int minorVersion {
+ get {
+ return this.minorVersionField;
}
-
- /// Creates a new instance of the
- /// class.
- public createCreativesRequest(Google.Api.Ads.AdManager.v202311.Creative[] creatives) {
- this.creatives = creatives;
+ set {
+ this.minorVersionField = value;
+ this.minorVersionSpecified = true;
}
}
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "createCreativesResponse", WrapperNamespace = "https://www.google.com/apis/ads/publisher/v202311", IsWrapped = true)]
- public partial class createCreativesResponse {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://www.google.com/apis/ads/publisher/v202311", Order = 0)]
- [System.Xml.Serialization.XmlElementAttribute("rval")]
- public Google.Api.Ads.AdManager.v202311.Creative[] rval;
-
- /// Creates a new instance of the
- /// class.
- public createCreativesResponse() {
+ /// true
, if a value is specified for , false
otherwise.
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public bool minorVersionSpecified {
+ get {
+ return this.minorVersionFieldSpecified;
}
-
- /// Creates a new instance of the
- /// class.
- public createCreativesResponse(Google.Api.Ads.AdManager.v202311.Creative[] rval) {
- this.rval = rval;
+ set {
+ this.minorVersionFieldSpecified = value;
}
}
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "updateCreatives", WrapperNamespace = "https://www.google.com/apis/ads/publisher/v202311", IsWrapped = true)]
- public partial class updateCreativesRequest {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://www.google.com/apis/ads/publisher/v202311", Order = 0)]
- [System.Xml.Serialization.XmlElementAttribute("creatives")]
- public Google.Api.Ads.AdManager.v202311.Creative[] creatives;
-
- /// Creates a new instance of the
- /// class.
- public updateCreativesRequest() {
+ /// The operating system micro version.
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
+ public int microVersion {
+ get {
+ return this.microVersionField;
}
-
- /// Creates a new instance of the
- /// class.
- public updateCreativesRequest(Google.Api.Ads.AdManager.v202311.Creative[] creatives) {
- this.creatives = creatives;
+ set {
+ this.microVersionField = value;
+ this.microVersionSpecified = true;
}
}
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "updateCreativesResponse", WrapperNamespace = "https://www.google.com/apis/ads/publisher/v202311", IsWrapped = true)]
- public partial class updateCreativesResponse {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://www.google.com/apis/ads/publisher/v202311", Order = 0)]
- [System.Xml.Serialization.XmlElementAttribute("rval")]
- public Google.Api.Ads.AdManager.v202311.Creative[] rval;
-
- /// Creates a new instance of the
- /// class.
- public updateCreativesResponse() {
+ /// true
, if a value is specified for , false
otherwise.
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public bool microVersionSpecified {
+ get {
+ return this.microVersionFieldSpecified;
}
-
- /// Creates a new instance of the
- /// class.
- public updateCreativesResponse(Google.Api.Ads.AdManager.v202311.Creative[] rval) {
- this.rval = rval;
+ set {
+ this.microVersionFieldSpecified = value;
}
}
}
- /// A base class for storing values of the CreativeTemplateVariable.
+
+
+ /// Represents an Operating System, such as Linux, Mac OS or Windows.
///
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(UrlCreativeTemplateVariableValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(StringCreativeTemplateVariableValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(LongCreativeTemplateVariableValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AssetCreativeTemplateVariableValue))]
[System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://www.google.com/apis/ads/publisher/v202311")]
- public abstract partial class BaseCreativeTemplateVariableValue {
- private string uniqueNameField;
-
- /// A uniqueName of the CreativeTemplateVariable.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public string uniqueName {
- get {
- return this.uniqueNameField;
- }
- set {
- this.uniqueNameField = value;
- }
- }
+ [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://www.google.com/apis/ads/publisher/v202411")]
+ public partial class OperatingSystem : Technology {
}
- /// Stores values of CreativeTemplateVariable
- /// of VariableType#URL.
+ /// Represents a mobile device submodel.
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://www.google.com/apis/ads/publisher/v202311")]
- public partial class UrlCreativeTemplateVariableValue : BaseCreativeTemplateVariableValue {
- private string valueField;
+ [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://www.google.com/apis/ads/publisher/v202411")]
+ public partial class MobileDeviceSubmodel : Technology {
+ private long mobileDeviceCriterionIdField;
- /// The url value of CreativeTemplateVariable
+ private bool mobileDeviceCriterionIdFieldSpecified;
+
+ private long deviceManufacturerCriterionIdField;
+
+ private bool deviceManufacturerCriterionIdFieldSpecified;
+
+ /// The mobile device id.
///
[System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public string value {
+ public long mobileDeviceCriterionId {
get {
- return this.valueField;
+ return this.mobileDeviceCriterionIdField;
}
set {
- this.valueField = value;
+ this.mobileDeviceCriterionIdField = value;
+ this.mobileDeviceCriterionIdSpecified = true;
}
}
- }
+ /// true
, if a value is specified for , false
otherwise.
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public bool mobileDeviceCriterionIdSpecified {
+ get {
+ return this.mobileDeviceCriterionIdFieldSpecified;
+ }
+ set {
+ this.mobileDeviceCriterionIdFieldSpecified = value;
+ }
+ }
- /// Stores values of CreativeTemplateVariable
- /// of VariableType#STRING and VariableType#LIST.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.8.3928.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://www.google.com/apis/ads/publisher/v202311")]
- public partial class StringCreativeTemplateVariableValue : BaseCreativeTemplateVariableValue {
- private string valueField;
+ /// The device manufacturer id.
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
+ public long deviceManufacturerCriterionId {
+ get {
+ return this.deviceManufacturerCriterionIdField;
+ }
+ set {
+ this.deviceManufacturerCriterionIdField = value;
+ this.deviceManufacturerCriterionIdSpecified = true;
+ }
+ }
- /// The string value of CreativeTemplateVariable
+ /// true
, if a value is specified for , false
otherwise.
///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public string value {
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public bool deviceManufacturerCriterionIdSpecified {
get {
- return this.valueField;
+ return this.deviceManufacturerCriterionIdFieldSpecified;
}
set {
- this.valueField = value;
+ this.deviceManufacturerCriterionIdFieldSpecified = value;
}
}
}
- /// Stores values of CreativeTemplateVariable
- /// of VariableType#LONG.
+ /// Represents a Mobile Device.
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://www.google.com/apis/ads/publisher/v202311")]
- public partial class LongCreativeTemplateVariableValue : BaseCreativeTemplateVariableValue {
- private long valueField;
+ [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://www.google.com/apis/ads/publisher/v202411")]
+ public partial class MobileDevice : Technology {
+ private long manufacturerCriterionIdField;
- private bool valueFieldSpecified;
+ private bool manufacturerCriterionIdFieldSpecified;
- /// The long value of CreativeTemplateVariable
+ /// Manufacturer Id.
///
[System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long value {
+ public long manufacturerCriterionId {
get {
- return this.valueField;
+ return this.manufacturerCriterionIdField;
}
set {
- this.valueField = value;
- this.valueSpecified = true;
+ this.manufacturerCriterionIdField = value;
+ this.manufacturerCriterionIdSpecified = true;
}
}
- /// true
, if a value is specified for ,
- /// false
otherwise.
+ /// true
, if a value is specified for , false
otherwise.
[System.Xml.Serialization.XmlIgnoreAttribute()]
[EditorBrowsable(EditorBrowsableState.Never)]
- public bool valueSpecified {
+ public bool manufacturerCriterionIdSpecified {
get {
- return this.valueFieldSpecified;
+ return this.manufacturerCriterionIdFieldSpecified;
}
set {
- this.valueFieldSpecified = value;
+ this.manufacturerCriterionIdFieldSpecified = value;
}
}
}
- /// Stores values of CreativeTemplateVariable
- /// of VariableType#ASSET.
+ /// Represents a mobile carrier. Carrier targeting is only available to Ad Manager
+ /// mobile publishers. For a list of current mobile carriers, you can use PublisherQueryLanguageService#mobile_carrier.
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://www.google.com/apis/ads/publisher/v202311")]
- public partial class AssetCreativeTemplateVariableValue : BaseCreativeTemplateVariableValue {
- private CreativeAsset assetField;
-
- /// The associated asset. This attribute is required when creating a new
- /// TemplateCreative
. To view the asset, use CreativeAsset#assetUrl.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public CreativeAsset asset {
- get {
- return this.assetField;
- }
- set {
- this.assetField = value;
- }
- }
+ [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://www.google.com/apis/ads/publisher/v202411")]
+ public partial class MobileCarrier : Technology {
}
- /// A CreativeAsset
is an asset that can be used in creatives.
+ /// Represents a mobile device's manufacturer.
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://www.google.com/apis/ads/publisher/v202311")]
- public partial class CreativeAsset {
- private long assetIdField;
-
- private bool assetIdFieldSpecified;
+ [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://www.google.com/apis/ads/publisher/v202411")]
+ public partial class DeviceManufacturer : Technology {
+ }
- private byte[] assetByteArrayField;
- private string fileNameField;
+ /// Represents the category of a device.
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.8.3928.0")]
+ [System.SerializableAttribute()]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://www.google.com/apis/ads/publisher/v202411")]
+ public partial class DeviceCategory : Technology {
+ }
- private long fileSizeField;
- private bool fileSizeFieldSpecified;
+ /// Represents a capability of a physical device.
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.8.3928.0")]
+ [System.SerializableAttribute()]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://www.google.com/apis/ads/publisher/v202411")]
+ public partial class DeviceCapability : Technology {
+ }
- private string assetUrlField;
- private Size sizeField;
+ /// Represents a Browser's language.
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.8.3928.0")]
+ [System.SerializableAttribute()]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://www.google.com/apis/ads/publisher/v202411")]
+ public partial class BrowserLanguage : Technology {
+ }
- private ClickTag[] clickTagsField;
- private ImageDensity imageDensityField;
+ /// Represents an internet browser.
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.8.3928.0")]
+ [System.SerializableAttribute()]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://www.google.com/apis/ads/publisher/v202411")]
+ public partial class Browser : Technology {
+ private string majorVersionField;
- private bool imageDensityFieldSpecified;
+ private string minorVersionField;
- /// The ID of the asset. This attribute is generated by Google upon creation.
+ ///