To increase the likelihood that your ad shows, be sure to
- /// provide at least 5 distinct headlines and 2 distinct descriptions that don't
- /// repeat the same or similar phrases. Providing redundant content will restrict
- /// the system's ability to assemble combinations. See example ads
This is enabled for
- /// AdX.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class ResponsiveSearchAd : Ad
- {
- private AssetLink[] headlinesField;
-
- private AssetLink[] descriptionsField;
-
- private string path1Field;
-
- private string path2Field;
-
- /// Headlines. When the Ad serves, the headlines will be selected from this list.
- /// This field can be selected using the value
- /// "ResponsiveSearchAdHeadlines".This
- /// field is required and should not be null when it is contained
- /// within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute("headlines", Order = 0)]
- public AssetLink[] headlines
- {
- get
- {
- return this.headlinesField;
- }
- set
- {
- this.headlinesField = value;
- }
- }
-
- /// Descriptions. When the Ad serves, the descriptions will be selected from this
- /// list. This field can be selected using the
- /// value "ResponsiveSearchAdDescriptions".This field is required and should not be null when it is
- /// contained within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute("descriptions", Order = 1)]
- public AssetLink[] descriptions
- {
- get
- {
- return this.descriptionsField;
- }
- set
- {
- this.descriptionsField = value;
- }
- }
-
- /// Text that appears in the ad with the displayed URL. This field can be selected using the value
- /// "ResponsiveSearchAdPath1".This field
- /// can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public string path1
- {
- get
- {
- return this.path1Field;
- }
- set
- {
- this.path1Field = value;
- }
- }
-
- /// In addition to #path1, more text that appears with the
- /// displayed URL. This field can be selected
- /// using the value "ResponsiveSearchAdPath2".This field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public string path2
- {
- get
- {
- return this.path2Field;
- }
- set
- {
- this.path2Field = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Ad.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field ResponsiveSearchAdHeadlines = new Field("ResponsiveSearchAdHeadlines", false, true);
-
- public static readonly Field ResponsiveSearchAdDescriptions = new Field("ResponsiveSearchAdDescriptions", false, true);
-
- public static readonly Field ResponsiveSearchAdPath1 = new Field("ResponsiveSearchAdPath1", true, true);
-
- public static readonly Field ResponsiveSearchAdPath2 = new Field("ResponsiveSearchAdPath2", true, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Ad.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field ResponsiveSearchAdHeadlines = Fields.ResponsiveSearchAdHeadlines;
-
- public static readonly Field ResponsiveSearchAdDescriptions = Fields.ResponsiveSearchAdDescriptions;
-
- public static readonly Field ResponsiveSearchAdPath1 = Fields.ResponsiveSearchAdPath1;
-
- public static readonly Field ResponsiveSearchAdPath2 = Fields.ResponsiveSearchAdPath2;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Ad.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field ResponsiveSearchAdPath1 = Fields.ResponsiveSearchAdPath1;
-
- public static readonly Field ResponsiveSearchAdPath2 = Fields.ResponsiveSearchAdPath2;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Represents a Smart Shopping ad that optimizes towards your goals. A Smart
- /// Shopping ad targets multiple advertising channels across Search, Google Display
- /// Network, and YouTube with a focus on retail. This supports ads that display
- /// product data (managed using the Google Merchant Center) as specified in the
- /// parent campaign's Shopping setting as well as ads
- /// using advertiser provided asset data.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class GoalOptimizedShoppingAd : Ad
- {
- }
-
-
- /// Represents a TextAd. This is disabled for
- /// AdX when it is contained within Operators: ADD, SET.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class TextAd : Ad
- {
- private string headlineField;
-
- private string description1Field;
-
- private string description2Field;
-
- /// The headline of the ad. This field can be
- /// selected using the value "Headline".This field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public string headline
- {
- get
- {
- return this.headlineField;
- }
- set
- {
- this.headlineField = value;
- }
- }
-
- /// The first description line. This field can
- /// be selected using the value "Description1".This field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public string description1
- {
- get
- {
- return this.description1Field;
- }
- set
- {
- this.description1Field = value;
- }
- }
-
- /// The second description line. This field can
- /// be selected using the value "Description2".This field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public string description2
- {
- get
- {
- return this.description2Field;
- }
- set
- {
- this.description2Field = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Ad.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field Headline = new Field("Headline", true, true);
-
- public static readonly Field Description1 = new Field("Description1", true, true);
-
- public static readonly Field Description2 = new Field("Description2", true, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Ad.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field Headline = Fields.Headline;
-
- public static readonly Field Description1 = Fields.Description1;
-
- public static readonly Field Description2 = Fields.Description2;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Ad.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field Headline = Fields.Headline;
-
- public static readonly Field Description1 = Fields.Description1;
-
- public static readonly Field Description2 = Fields.Description2;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Represents a
- /// Display Ad Builder template ad. A template ad is composed of a template
- /// (specified by its ID) and the data that populates the template's fields. For a
- /// list of available templates and their required fields, see Template Ads. This is disabled for AdX when it is contained
- /// within Operators: ADD, SET.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class TemplateAd : Ad
- {
- private long templateIdField;
-
- private bool templateIdFieldSpecified;
-
- private AdUnionId adUnionIdField;
-
- private TemplateElement[] templateElementsField;
-
- private Image adAsImageField;
-
- private Dimensions dimensionsField;
-
- private string nameField;
-
- private int durationField;
-
- private bool durationFieldSpecified;
-
- private long originAdIdField;
-
- private bool originAdIdFieldSpecified;
-
- /// ID of the template to use. This field can be
- /// selected using the value "TemplateId".This field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long templateId
- {
- get
- {
- return this.templateIdField;
- }
- set
- {
- this.templateIdField = value;
- this.templateIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool templateIdSpecified
- {
- get
- {
- return this.templateIdFieldSpecified;
- }
- set
- {
- this.templateIdFieldSpecified = value;
- }
- }
-
- /// Group ID of all template ads, which should be created together. Template ads in
- /// the same union reference the same data but have different dimensions. Single ads
- /// do not have a union ID. If a template ad specifies an ad union with only one ad,
- /// no union will be created. This field can be
- /// selected using the value "TemplateAdUnionId".
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public AdUnionId adUnionId
- {
- get
- {
- return this.adUnionIdField;
- }
- set
- {
- this.adUnionIdField = value;
- }
- }
-
- /// List of elements (each containing a set of fields) for the template referenced
- /// by templateId. See Template Ads for the elements
- /// and fields required for each template.
- ///
- [System.Xml.Serialization.XmlElementAttribute("templateElements", Order = 2)]
- public TemplateElement[] templateElements
- {
- get
- {
- return this.templateElementsField;
- }
- set
- {
- this.templateElementsField = value;
- }
- }
-
- /// The template ad rendered as an image.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public Image adAsImage
- {
- get
- {
- return this.adAsImageField;
- }
- set
- {
- this.adAsImageField = value;
- }
- }
-
- /// The dimensions for this ad.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 4)]
- public Dimensions dimensions
- {
- get
- {
- return this.dimensionsField;
- }
- set
- {
- this.dimensionsField = value;
- }
- }
-
- /// Name of this ad. This field is required and
- /// should not be null.This
- /// field can be selected using the value "TemplateAdName".
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 5)]
- public string name
- {
- get
- {
- return this.nameField;
- }
- set
- {
- this.nameField = value;
- }
- }
-
- /// Duration of this ad (if it contains playable media). This field can be selected using the value
- /// "TemplateAdDuration".This field is
- /// read only and will be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 6)]
- public int duration
- {
- get
- {
- return this.durationField;
- }
- set
- {
- this.durationField = value;
- this.durationSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool durationSpecified
- {
- get
- {
- return this.durationFieldSpecified;
- }
- set
- {
- this.durationFieldSpecified = value;
- }
- }
-
- /// For copies, the ad id of the ad this was or should be copied from. This field can be selected using the value
- /// "TemplateOriginAdId".
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 7)]
- public long originAdId
- {
- get
- {
- return this.originAdIdField;
- }
- set
- {
- this.originAdIdField = value;
- this.originAdIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool originAdIdSpecified
- {
- get
- {
- return this.originAdIdFieldSpecified;
- }
- set
- {
- this.originAdIdFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Ad.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field TemplateId = new Field("TemplateId", true, true);
-
- public static readonly Field TemplateAdUnionId = new Field("TemplateAdUnionId", false, true);
-
- public static readonly Field TemplateAdName = new Field("TemplateAdName", false, true);
-
- public static readonly Field TemplateAdDuration = new Field("TemplateAdDuration", false, true);
-
- public static readonly Field TemplateOriginAdId = new Field("TemplateOriginAdId", false, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Ad.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field TemplateId = Fields.TemplateId;
-
- public static readonly Field TemplateAdUnionId = Fields.TemplateAdUnionId;
-
- public static readonly Field TemplateAdName = Fields.TemplateAdName;
-
- public static readonly Field TemplateAdDuration = Fields.TemplateAdDuration;
-
- public static readonly Field TemplateOriginAdId = Fields.TemplateOriginAdId;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Ad.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field TemplateId = Fields.TemplateId;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Represents a Showcase shopping ad. This is
- /// enabled for AdX.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class ShowcaseAd : Ad
- {
- private string nameField;
-
- private string headlineField;
-
- private string descriptionField;
-
- private Image collapsedImageField;
-
- private Image expandedImageField;
-
- /// The name label for this ad. This field is
- /// required and should not be null when it is contained within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public string name
- {
- get
- {
- return this.nameField;
- }
- set
- {
- this.nameField = value;
- }
- }
-
- /// Headline displayed in the Showcase shopping ad.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public string headline
- {
- get
- {
- return this.headlineField;
- }
- set
- {
- this.headlineField = value;
- }
- }
-
- /// Description displayed in the expanded view of the Showcase shopping ad.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public string description
- {
- get
- {
- return this.descriptionField;
- }
- set
- {
- this.descriptionField = value;
- }
- }
-
- /// Image displayed in the collapsed view of the Showcase shopping ad.
The format
- /// of the image must be either JPEG or PNG and the size of the image must be
- /// 270x270 px.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public Image collapsedImage
- {
- get
- {
- return this.collapsedImageField;
- }
- set
- {
- this.collapsedImageField = value;
- }
- }
-
- /// Image displayed in the expanded view of the Showcase shopping ad.
The format
- /// of the image must be either JPEG or PNG and the size of the image must be
- /// 1080x566 px. This field is required and should
- /// not be null when it is contained within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 4)]
- public Image expandedImage
- {
- get
- {
- return this.expandedImageField;
- }
- set
- {
- this.expandedImageField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Ad.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Ad.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Ad.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Data associated with a rich media ad. This
- /// is disabled for AdX when it is contained within Operators: ADD, SET.
- ///
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(ThirdPartyRedirectAd))]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public abstract partial class RichMediaAd : Ad
- {
- private string nameField;
-
- private Dimensions dimensionsField;
-
- private string snippetField;
-
- private string impressionBeaconUrlField;
-
- private int adDurationField;
-
- private bool adDurationFieldSpecified;
-
- private long certifiedVendorFormatIdField;
-
- private bool certifiedVendorFormatIdFieldSpecified;
-
- private string sourceUrlField;
-
- private RichMediaAdRichMediaAdType richMediaAdTypeField;
-
- private bool richMediaAdTypeFieldSpecified;
-
- private RichMediaAdAdAttribute[] adAttributesField;
-
- /// Name of the rich media ad. This field is
- /// required and should not be null.This field can be selected using the value "RichMediaAdName".
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public string name
- {
- get
- {
- return this.nameField;
- }
- set
- {
- this.nameField = value;
- }
- }
-
- /// Dimensions (height and width) of the ad. This field is optional for
- /// ThirdPartyRedirectAd. Ad Exchange traditional yield management creatives do not
- /// specify the dimension on the ThirdPartyRedirectAd; instead, the size is
- /// specified in the publisher front end when creating a mediation chain.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public Dimensions dimensions
- {
- get
- {
- return this.dimensionsField;
- }
- set
- {
- this.dimensionsField = value;
- }
- }
-
- /// Snippet for this ad. Required for standard third-party ads.
The length of the
- /// string should be between 1 and 3072, inclusive. This field can be selected using the value
- /// "RichMediaAdSnippet".
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public string snippet
- {
- get
- {
- return this.snippetField;
- }
- set
- {
- this.snippetField = value;
- }
- }
-
- /// Impression beacon URL for the ad. This field
- /// can be selected using the value "RichMediaAdImpressionBeaconUrl".
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public string impressionBeaconUrl
- {
- get
- {
- return this.impressionBeaconUrlField;
- }
- set
- {
- this.impressionBeaconUrlField = value;
- }
- }
-
- /// Duration for the ad (in milliseconds). Default is 0. This field can be selected using the value
- /// "RichMediaAdDuration".This field must
- /// be greater than or equal to 0.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 4)]
- public int adDuration
- {
- get
- {
- return this.adDurationField;
- }
- set
- {
- this.adDurationField = value;
- this.adDurationSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool adDurationSpecified
- {
- get
- {
- return this.adDurationFieldSpecified;
- }
- set
- {
- this.adDurationFieldSpecified = value;
- }
- }
-
- /// Certified Vendor Format
- /// ID. This field can be selected using the
- /// value "RichMediaAdCertifiedVendorFormatId".This field is required and should not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 5)]
- public long certifiedVendorFormatId
- {
- get
- {
- return this.certifiedVendorFormatIdField;
- }
- set
- {
- this.certifiedVendorFormatIdField = value;
- this.certifiedVendorFormatIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool certifiedVendorFormatIdSpecified
- {
- get
- {
- return this.certifiedVendorFormatIdFieldSpecified;
- }
- set
- {
- this.certifiedVendorFormatIdFieldSpecified = value;
- }
- }
-
- /// SourceUrl pointing to the third party snippet. For third party in-stream video
- /// ads, this stores the VAST URL. For DFA ads, it stores the InRed URL. This field can be selected using the value
- /// "RichMediaAdSourceUrl".
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 6)]
- public string sourceUrl
- {
- get
- {
- return this.sourceUrlField;
- }
- set
- {
- this.sourceUrlField = value;
- }
- }
-
- /// Type of this rich media ad, the default is Standard. This field can be selected using the value "RichMediaAdType".
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 7)]
- public RichMediaAdRichMediaAdType richMediaAdType
- {
- get
- {
- return this.richMediaAdTypeField;
- }
- set
- {
- this.richMediaAdTypeField = value;
- this.richMediaAdTypeSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool richMediaAdTypeSpecified
- {
- get
- {
- return this.richMediaAdTypeFieldSpecified;
- }
- set
- {
- this.richMediaAdTypeFieldSpecified = value;
- }
- }
-
- /// A list of attributes that describe the rich media ad capabilities.
- ///
- [System.Xml.Serialization.XmlElementAttribute("adAttributes", Order = 8)]
- public RichMediaAdAdAttribute[] adAttributes
- {
- get
- {
- return this.adAttributesField;
- }
- set
- {
- this.adAttributesField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Ad.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field RichMediaAdName = new Field("RichMediaAdName", false, true);
-
- public static readonly Field RichMediaAdSnippet = new Field("RichMediaAdSnippet", false, true);
-
- public static readonly Field RichMediaAdImpressionBeaconUrl = new Field("RichMediaAdImpressionBeaconUrl", false, true);
-
- public static readonly Field RichMediaAdDuration = new Field("RichMediaAdDuration", false, true);
-
- public static readonly Field RichMediaAdCertifiedVendorFormatId = new Field("RichMediaAdCertifiedVendorFormatId", false, true);
-
- public static readonly Field RichMediaAdSourceUrl = new Field("RichMediaAdSourceUrl", false, true);
-
- public static readonly Field RichMediaAdType = new Field("RichMediaAdType", false, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Ad.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field RichMediaAdName = Fields.RichMediaAdName;
-
- public static readonly Field RichMediaAdSnippet = Fields.RichMediaAdSnippet;
-
- public static readonly Field RichMediaAdImpressionBeaconUrl = Fields.RichMediaAdImpressionBeaconUrl;
-
- public static readonly Field RichMediaAdDuration = Fields.RichMediaAdDuration;
-
- public static readonly Field RichMediaAdCertifiedVendorFormatId = Fields.RichMediaAdCertifiedVendorFormatId;
-
- public static readonly Field RichMediaAdSourceUrl = Fields.RichMediaAdSourceUrl;
-
- public static readonly Field RichMediaAdType = Fields.RichMediaAdType;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Ad.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Different types of rich media ad that are available to customers.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "RichMediaAd.RichMediaAdType", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum RichMediaAdRichMediaAdType
- {
- /// Standard.
- ///
- STANDARD = 0,
- /// In stream video ad.
- ///
- IN_STREAM_VIDEO = 1,
- }
-
-
- /// A set of attributes that describe the rich media ad capabilities.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "RichMediaAd.AdAttribute", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum RichMediaAdAdAttribute
- {
- /// Used for return value only. An enumeration
- /// could not be processed, typically due to incompatibility with your WSDL
- /// version.
- ///
- UNKNOWN = 0,
- /// Indicates that the ad supports mouse roll over to expand.
- ///
- ROLL_OVER_TO_EXPAND = 1,
- /// Indicates that the ad supports SSL.
- ///
- SSL = 2,
- }
-
-
- /// Data associated with rich media extension attributes. This is enabled for AdX.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class ThirdPartyRedirectAd : RichMediaAd
- {
- private bool isCookieTargetedField;
-
- private bool isCookieTargetedFieldSpecified;
-
- private bool isUserInterestTargetedField;
-
- private bool isUserInterestTargetedFieldSpecified;
-
- private bool isTaggedField;
-
- private bool isTaggedFieldSpecified;
-
- private VideoType[] videoTypesField;
-
- private ThirdPartyRedirectAdExpandingDirection[] expandingDirectionsField;
-
- /// Defines whether or not the ad is cookie targeted. (i.e. user list targeting, or
- /// the network's equivalent). This field can be
- /// selected using the value "IsCookieTargeted".This field is required and should not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public bool isCookieTargeted
- {
- get
- {
- return this.isCookieTargetedField;
- }
- set
- {
- this.isCookieTargetedField = value;
- this.isCookieTargetedSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool isCookieTargetedSpecified
- {
- get
- {
- return this.isCookieTargetedFieldSpecified;
- }
- set
- {
- this.isCookieTargetedFieldSpecified = value;
- }
- }
-
- /// Defines whether or not the ad is targeting user interest. This field can be selected using the value
- /// "IsUserInterestTargeted".This field is
- /// required and should not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public bool isUserInterestTargeted
- {
- get
- {
- return this.isUserInterestTargetedField;
- }
- set
- {
- this.isUserInterestTargetedField = value;
- this.isUserInterestTargetedSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool isUserInterestTargetedSpecified
- {
- get
- {
- return this.isUserInterestTargetedFieldSpecified;
- }
- set
- {
- this.isUserInterestTargetedFieldSpecified = value;
- }
- }
-
- /// Defines whether or not the ad contains a tracking pixel of any kind. This field can be selected using the value
- /// "IsTagged".This field is required and
- /// should not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public bool isTagged
- {
- get
- {
- return this.isTaggedField;
- }
- set
- {
- this.isTaggedField = value;
- this.isTaggedSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool isTaggedSpecified
- {
- get
- {
- return this.isTaggedFieldSpecified;
- }
- set
- {
- this.isTaggedFieldSpecified = value;
- }
- }
-
- /// Video Types of the ad. (RealMedia, Quick Time etc.) This field can be selected using the value "VideoTypes".
- ///
- [System.Xml.Serialization.XmlElementAttribute("videoTypes", Order = 3)]
- public VideoType[] videoTypes
- {
- get
- {
- return this.videoTypesField;
- }
- set
- {
- this.videoTypesField = value;
- }
- }
-
- /// Allowed expanding directions. These directions are used to match publishers' ad
- /// slots. For example, if a slot allows expansion toward the right, only ads with
- /// EXPANDING_RIGHT specified will show up there. This field can be selected using the value
- /// "ExpandingDirections".
- ///
- [System.Xml.Serialization.XmlElementAttribute("expandingDirections", Order = 4)]
- public ThirdPartyRedirectAdExpandingDirection[] expandingDirections
- {
- get
- {
- return this.expandingDirectionsField;
- }
- set
- {
- this.expandingDirectionsField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : RichMediaAd.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field IsCookieTargeted = new Field("IsCookieTargeted", false, true);
-
- public static readonly Field IsUserInterestTargeted = new Field("IsUserInterestTargeted", false, true);
-
- public static readonly Field IsTagged = new Field("IsTagged", false, true);
-
- public static readonly Field VideoTypes = new Field("VideoTypes", false, true);
-
- public static readonly Field ExpandingDirections = new Field("ExpandingDirections", false, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : RichMediaAd.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field IsCookieTargeted = Fields.IsCookieTargeted;
-
- public static readonly Field IsUserInterestTargeted = Fields.IsUserInterestTargeted;
-
- public static readonly Field IsTagged = Fields.IsTagged;
-
- public static readonly Field VideoTypes = Fields.VideoTypes;
-
- public static readonly Field ExpandingDirections = Fields.ExpandingDirections;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : RichMediaAd.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// VideoType enum values that are permitted for video filterable creative attribute
- /// IDs.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum VideoType
- {
- /// The Adobe Flash video format (.swf).
- ///
- ADOBE = 0,
- /// The RealVideo format (.rm or .ram).
- ///
- REALPLAYER = 1,
- /// The QuickTime format (.mov).
- ///
- QUICKTIME = 2,
- /// The Windows Media format (.wmv).
- ///
- WINDOWSMEDIA = 3,
- }
-
-
- /// Allowed expanding directions for ads that are expandable.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "ThirdPartyRedirectAd.ExpandingDirection", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum ThirdPartyRedirectAdExpandingDirection
- {
- /// Whether the ad can be expanded is unknown. Used for return value only. An enumeration could not be processed,
- /// typically due to incompatibility with your WSDL version.
- ///
- UNKNOWN = 0,
- /// The ad is allowed to expand upward.
- ///
- EXPANDING_UP = 1,
- /// The ad is allowed to expand downward.
- ///
- EXPANDING_DOWN = 2,
- /// The ad is allowed to expand leftward.
- ///
- EXPANDING_LEFT = 3,
- /// The ad is allowed to expand rightward.
- ///
- EXPANDING_RIGHT = 4,
- /// The ad is allowed to expand toward the up-left corner.
- ///
- EXPANDING_UPLEFT = 5,
- /// The ad is allowed to expand toward the up-right corner.
- ///
- EXPANDING_UPRIGHT = 6,
- /// The ad is allowed to expand toward the down-left corner.
- ///
- EXPANDING_DOWNLEFT = 7,
- /// The ad is allowed to expand toward the down-right corner.
- ///
- EXPANDING_DOWNRIGHT = 8,
- }
-
-
- /// Enhanced display ad format.
Caution: Responsive
- /// display ads do not use url, displayUrl, finalAppUrls, or
- /// devicePreference; setting these fields on a
- /// responsive display ad will cause an error. This is enabled for AdX.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class ResponsiveDisplayAd : Ad
- {
- private Image marketingImageField;
-
- private Image logoImageField;
-
- private Image squareMarketingImageField;
-
- private string shortHeadlineField;
-
- private string longHeadlineField;
-
- private string descriptionField;
-
- private string businessNameField;
-
- private string mainColorField;
-
- private string accentColorField;
-
- private bool allowFlexibleColorField;
-
- private bool allowFlexibleColorFieldSpecified;
-
- private string callToActionTextField;
-
- private DynamicSettings dynamicDisplayAdSettingsField;
-
- private DisplayAdFormatSetting formatSettingField;
-
- private bool formatSettingFieldSpecified;
-
- /// Marketing image to be used in the ad. This ad format does not allow the creation
- /// of an image using the Image.data field. An image must first be created using the
- /// MediaService, and Image.mediaId must be populated when creating a "ResponsiveDisplayAd". Valid image types are
- /// GIF, JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must be
- /// 600:314 (+-1%). This field can be selected
- /// using the value "MarketingImage".This
- /// field is required and should not be null when it is contained
- /// within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public Image marketingImage
- {
- get
- {
- return this.marketingImageField;
- }
- set
- {
- this.marketingImageField = value;
- }
- }
-
- /// Logo image to be used in the ad. This ad format does not allow the creation of
- /// an image using the Image.data field. An image must first be created using the
- /// MediaService, and Image.mediaId must be populated when creating a "ResponsiveDisplayAd". Valid image types are
- /// GIF, JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must be 1:1
- /// (+-1%). This field can be selected using the
- /// value "LogoImage".
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public Image logoImage
- {
- get
- {
- return this.logoImageField;
- }
- set
- {
- this.logoImageField = value;
- }
- }
-
- /// Square marketing image to be used in the ad. This image may be used when a
- /// square aspect ratio is more appropriate than the aspect ratio of the #marketingImage image. This ad format does not allow
- /// the creation of an image using the Image.data field. An image must first be
- /// created using the MediaService, and Image.mediaId must be populated when
- /// creating a "ResponsiveDisplayAd". Valid image types are GIF,
- /// JPEG, and PNG. The minimum size is 300x300 the aspect ratio must be 1:1 (+-1%).
- /// This field can be selected using the value
- /// "SquareMarketingImage".
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public Image squareMarketingImage
- {
- get
- {
- return this.squareMarketingImageField;
- }
- set
- {
- this.squareMarketingImageField = value;
- }
- }
-
- /// Short format of the headline of the ad. Maximum display width is 25. This field can be selected using the value
- /// "ShortHeadline".This field can be
- /// filtered on.This field is required and
- /// should not be null when it is contained within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public string shortHeadline
- {
- get
- {
- return this.shortHeadlineField;
- }
- set
- {
- this.shortHeadlineField = value;
- }
- }
-
- /// Long format of the headline of the ad. Maximum display width is 90. This field can be selected using the value
- /// "LongHeadline".This field can be
- /// filtered on.This field is required and
- /// should not be null when it is contained within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 4)]
- public string longHeadline
- {
- get
- {
- return this.longHeadlineField;
- }
- set
- {
- this.longHeadlineField = value;
- }
- }
-
- /// The descriptive text of the ad. Maximum display width is 90. This field can be selected using the value
- /// "Description".This field can be
- /// filtered on.This field is required and
- /// should not be null when it is contained within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 5)]
- public string description
- {
- get
- {
- return this.descriptionField;
- }
- set
- {
- this.descriptionField = value;
- }
- }
-
- /// The business name. Maximum display width is 25. This field is required and should not be null when it is
- /// contained within Operators : ADD.This field can be selected using the value
- /// "BusinessName".This field can be
- /// filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 6)]
- public string businessName
- {
- get
- {
- return this.businessNameField;
- }
- set
- {
- this.businessNameField = value;
- }
- }
-
- /// Main color. In hexadecimal, e.g. #ffffff for white. If one of mainColor and
- /// accentColor is set, the other is required as well. This field can be selected using the value "MainColor".This field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 7)]
- public string mainColor
- {
- get
- {
- return this.mainColorField;
- }
- set
- {
- this.mainColorField = value;
- }
- }
-
- /// Accent color. In hexadecimal, e.g. #ffffff for white. If one of mainColor and
- /// accentColor is set, the other is required as well. This field can be selected using the value
- /// "AccentColor".This field can be
- /// filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 8)]
- public string accentColor
- {
- get
- {
- return this.accentColorField;
- }
- set
- {
- this.accentColorField = value;
- }
- }
-
- /// Advertiser?s consent to allow flexible color. When true, we may serve the ad
- /// with different color when necessary. When false, we will serve the ad with
- /// advertiser color or neutral color. Must be true if mainColor and accentColor are
- /// not set. The default value is true. This
- /// field can be selected using the value "AllowFlexibleColor".This field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 9)]
- public bool allowFlexibleColor
- {
- get
- {
- return this.allowFlexibleColorField;
- }
- set
- {
- this.allowFlexibleColorField = value;
- this.allowFlexibleColorSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool allowFlexibleColorSpecified
- {
- get
- {
- return this.allowFlexibleColorFieldSpecified;
- }
- set
- {
- this.allowFlexibleColorFieldSpecified = value;
- }
- }
-
- /// Call to action text. Valid texts:
- /// https://support.google.com/adwords/answer/7005917 This field can be selected using the value
- /// "CallToActionText".This field can be
- /// filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 10)]
- public string callToActionText
- {
- get
- {
- return this.callToActionTextField;
- }
- set
- {
- this.callToActionTextField = value;
- }
- }
-
- /// Settings for serving dynamic ResponsiveDisplayAd.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 11)]
- public DynamicSettings dynamicDisplayAdSettings
- {
- get
- {
- return this.dynamicDisplayAdSettingsField;
- }
- set
- {
- this.dynamicDisplayAdSettingsField = value;
- }
- }
-
- /// Specifies which format the ad will be served in. The default value is
- /// ALL_FORMATS. This field can be selected
- /// using the value "FormatSetting".This
- /// field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 12)]
- public DisplayAdFormatSetting formatSetting
- {
- get
- {
- return this.formatSettingField;
- }
- set
- {
- this.formatSettingField = value;
- this.formatSettingSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool formatSettingSpecified
- {
- get
- {
- return this.formatSettingFieldSpecified;
- }
- set
- {
- this.formatSettingFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Ad.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field MarketingImage = new Field("MarketingImage", false, true);
-
- public static readonly Field LogoImage = new Field("LogoImage", false, true);
-
- public static readonly Field SquareMarketingImage = new Field("SquareMarketingImage", false, true);
-
- public static readonly Field ShortHeadline = new Field("ShortHeadline", true, true);
-
- public static readonly Field LongHeadline = new Field("LongHeadline", true, true);
-
- public static readonly Field Description = new Field("Description", true, true);
-
- public static readonly Field BusinessName = new Field("BusinessName", true, true);
-
- public static readonly Field MainColor = new Field("MainColor", true, true);
-
- public static readonly Field AccentColor = new Field("AccentColor", true, true);
-
- public static readonly Field AllowFlexibleColor = new Field("AllowFlexibleColor", true, true);
-
- public static readonly Field CallToActionText = new Field("CallToActionText", true, true);
-
- public static readonly Field FormatSetting = new Field("FormatSetting", true, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Ad.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field MarketingImage = Fields.MarketingImage;
-
- public static readonly Field LogoImage = Fields.LogoImage;
-
- public static readonly Field SquareMarketingImage = Fields.SquareMarketingImage;
-
- public static readonly Field ShortHeadline = Fields.ShortHeadline;
-
- public static readonly Field LongHeadline = Fields.LongHeadline;
-
- public static readonly Field Description = Fields.Description;
-
- public static readonly Field BusinessName = Fields.BusinessName;
-
- public static readonly Field MainColor = Fields.MainColor;
-
- public static readonly Field AccentColor = Fields.AccentColor;
-
- public static readonly Field AllowFlexibleColor = Fields.AllowFlexibleColor;
-
- public static readonly Field CallToActionText = Fields.CallToActionText;
-
- public static readonly Field FormatSetting = Fields.FormatSetting;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Ad.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field ShortHeadline = Fields.ShortHeadline;
-
- public static readonly Field LongHeadline = Fields.LongHeadline;
-
- public static readonly Field Description = Fields.Description;
-
- public static readonly Field BusinessName = Fields.BusinessName;
-
- public static readonly Field MainColor = Fields.MainColor;
-
- public static readonly Field AccentColor = Fields.AccentColor;
-
- public static readonly Field AllowFlexibleColor = Fields.AllowFlexibleColor;
-
- public static readonly Field CallToActionText = Fields.CallToActionText;
-
- public static readonly Field FormatSetting = Fields.FormatSetting;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Serving format setting of this ad.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum DisplayAdFormatSetting
- {
- /// Used for return value only. An enumeration
- /// could not be processed, typically due to incompatibility with your WSDL
- /// version.
- ///
- UNKNOWN = 0,
- /// Text, image and native formats
- ///
- ALL_FORMATS = 1,
- /// Text and image formats
- ///
- NON_NATIVE = 2,
- /// Native format
- ///
- NATIVE = 3,
- }
-
-
- /// Represents a product ad (known as a product listing ad in the
- /// AdWords user interface). A product ad displays product data (managed using the
- /// Google Merchant Center) that is pulled from the Google base product feed
- /// specified in the parent campaign's shopping
- /// setting.
This is disabled
- /// for AdX when it is contained within Operators: ADD, SET.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class ProductAd : Ad
- {
- }
-
-
- /// Representation of multi-asset responsive display ad format.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class MultiAssetResponsiveDisplayAd : Ad
- {
- private AssetLink[] marketingImagesField;
-
- private AssetLink[] squareMarketingImagesField;
-
- private AssetLink[] logoImagesField;
-
- private AssetLink[] landscapeLogoImagesField;
-
- private AssetLink[] headlinesField;
-
- private AssetLink longHeadlineField;
-
- private AssetLink[] descriptionsField;
-
- private string businessNameField;
-
- private string mainColorField;
-
- private string accentColorField;
-
- private bool allowFlexibleColorField;
-
- private bool allowFlexibleColorFieldSpecified;
-
- private string callToActionTextField;
-
- private string dynamicSettingsPricePrefixField;
-
- private string dynamicSettingsPromoTextField;
-
- private DisplayAdFormatSetting formatSettingField;
-
- private bool formatSettingFieldSpecified;
-
- /// Marketing image to be used in the ad. This ad format does not allow the creation
- /// of an imageAsset using the ImageAsset.imageData field. An imageAsset must first
- /// be created using the AssetService, and ImageAsset.assetId must be populated in
- /// this field. Valid image types are GIF, JPEG, and PNG. The minimum size is
- /// 600x314 and the aspect ratio must be 1.91:1 (+-1%). One marketingImage is
- /// required. Support up to 15 with squareMarketingImages. This field can be selected using the value
- /// "MultiAssetResponsiveDisplayAdMarketingImages".This field is required and should not be null when it is
- /// contained within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute("marketingImages", Order = 0)]
- public AssetLink[] marketingImages
- {
- get
- {
- return this.marketingImagesField;
- }
- set
- {
- this.marketingImagesField = value;
- }
- }
-
- /// Square marketing image to be used in the ad. This image may be used when a
- /// square aspect ratio is more appropriate than the aspect ratio of the #marketingImage image. This ad format does not allow
- /// the creation of an imageAsset using the ImageAsset.imageData field. An
- /// imageAsset must first be created using the AssetService, and ImageAsset.assetId
- /// must be populated in this field. Valid image types are GIF, JPEG, and PNG. The
- /// minimum size is 300x300 the aspect ratio must be 1:1 (+-1%). One
- /// squareMarketingImage is required. Support up to 15 with marketingImages. This field can be selected using the value
- /// "MultiAssetResponsiveDisplayAdSquareMarketingImages".This field is required and should not be
- /// null when it is contained within Operators :
- /// ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute("squareMarketingImages", Order = 1)]
- public AssetLink[] squareMarketingImages
- {
- get
- {
- return this.squareMarketingImagesField;
- }
- set
- {
- this.squareMarketingImagesField = value;
- }
- }
-
- /// Logo image to be used in the ad. This ad format does not allow the creation of
- /// an image using the ImageAsset.imageData field. An imageAsset must first be
- /// created using the AssetService, and ImageAsset.assetId must be populated in this
- /// field. Valid image types are GIF, JPEG, and PNG. The minimum size is 128x128 and
- /// the aspect ratio must be 1:1 (+-1%). Optional. Support up to 5 with
- /// landscapeLogoImages. This field can be
- /// selected using the value "MultiAssetResponsiveDisplayAdLogoImages".
- ///
- [System.Xml.Serialization.XmlElementAttribute("logoImages", Order = 2)]
- public AssetLink[] logoImages
- {
- get
- {
- return this.logoImagesField;
- }
- set
- {
- this.logoImagesField = value;
- }
- }
-
- /// Landscape logo image which is used for serving dynamic
- /// MultiAssetResponsiveDisplayAd. This ad format does not allow the creation of an
- /// image using the ImageAsset.imageData field. An imageAsset must first be created
- /// using the AssetService, and ImageAsset.assetId must be populated in this field.
- /// Valid image types are GIF, JPEG, and PNG. The minimum size is 512x128 and the
- /// aspect ratio must be 4:1 (+-1%). Optional. Support up to 5 with logoImages.
- /// This field can be selected using the value
- /// "MultiAssetResponsiveDisplayAdLandscapeLogoImages".
- ///
- [System.Xml.Serialization.XmlElementAttribute("landscapeLogoImages", Order = 3)]
- public AssetLink[] landscapeLogoImages
- {
- get
- {
- return this.landscapeLogoImagesField;
- }
- set
- {
- this.landscapeLogoImagesField = value;
- }
- }
-
- /// Short format of the headline of the ad. Maximum display width is 30. One short
- /// headline is required. Support up to 5 short headlines. This field can be selected using the value
- /// "MultiAssetResponsiveDisplayAdHeadlines".This field is required and should not be null when it is
- /// contained within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute("headlines", Order = 4)]
- public AssetLink[] headlines
- {
- get
- {
- return this.headlinesField;
- }
- set
- {
- this.headlinesField = value;
- }
- }
-
- /// Long format of the headline of the ad. Maximum display width is 90. This field can be selected using the value
- /// "MultiAssetResponsiveDisplayAdLongHeadline".This field is required and should not be null when it is
- /// contained within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 5)]
- public AssetLink longHeadline
- {
- get
- {
- return this.longHeadlineField;
- }
- set
- {
- this.longHeadlineField = value;
- }
- }
-
- /// The descriptive text of the ad. Maximum display width is 90. One description is
- /// required. Support up to 5 descriptions. This
- /// field can be selected using the value
- /// "MultiAssetResponsiveDisplayAdDescriptions".This field is required and should not be null when it is
- /// contained within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute("descriptions", Order = 6)]
- public AssetLink[] descriptions
- {
- get
- {
- return this.descriptionsField;
- }
- set
- {
- this.descriptionsField = value;
- }
- }
-
- /// The Advertiser/brand name. Maximum display width is 25. This field can be selected using the value
- /// "MultiAssetResponsiveDisplayAdBusinessName".This field can be filtered on.This field is required and should not be null when it is
- /// contained within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 7)]
- public string businessName
- {
- get
- {
- return this.businessNameField;
- }
- set
- {
- this.businessNameField = value;
- }
- }
-
- /// Main color, represented as a hexadecimal string (e.g. #ffffff for white). If one
- /// of mainColor and accentColor is set, the other is required as well. This field can be selected using the value
- /// "MultiAssetResponsiveDisplayAdMainColor".This field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 8)]
- public string mainColor
- {
- get
- {
- return this.mainColorField;
- }
- set
- {
- this.mainColorField = value;
- }
- }
-
- /// Accent color, represented as a hexadecimal string (e.g. #ffffff for white). If
- /// one of mainColor and accentColor is set, the other is required as well. This field can be selected using the value
- /// "MultiAssetResponsiveDisplayAdAccentColor".This field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 9)]
- public string accentColor
- {
- get
- {
- return this.accentColorField;
- }
- set
- {
- this.accentColorField = value;
- }
- }
-
- /// Allow flexible color. If set to true, the ad will show on text and native ad
- /// placements even when publisher settings may override your custom color
- /// selections. This field must be set to true if both mainColor and accentColor are
- /// not set. The default value is true. This
- /// field can be selected using the value
- /// "MultiAssetResponsiveDisplayAdAllowFlexibleColor".This field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 10)]
- public bool allowFlexibleColor
- {
- get
- {
- return this.allowFlexibleColorField;
- }
- set
- {
- this.allowFlexibleColorField = value;
- this.allowFlexibleColorSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool allowFlexibleColorSpecified
- {
- get
- {
- return this.allowFlexibleColorFieldSpecified;
- }
- set
- {
- this.allowFlexibleColorFieldSpecified = value;
- }
- }
-
- /// Call to action text. This field can be
- /// selected using the value
- /// "MultiAssetResponsiveDisplayAdCallToActionText".This field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 11)]
- public string callToActionText
- {
- get
- {
- return this.callToActionTextField;
- }
- set
- {
- this.callToActionTextField = value;
- }
- }
-
- /// Prefix before price. Maximum display width is 10. For example, "as low as". For
- /// more details, check the help page
- /// https://developers.google.com/adwords/api/docs/guides/dynamic-remarketing This field can be selected using the value
- /// "MultiAssetResponsiveDisplayAdDynamicSettingsPricePrefix".This field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 12)]
- public string dynamicSettingsPricePrefix
- {
- get
- {
- return this.dynamicSettingsPricePrefixField;
- }
- set
- {
- this.dynamicSettingsPricePrefixField = value;
- }
- }
-
- /// Promotion text used for dynamic formats of multi-asset responsive display ads.
- /// Maximum display width is 25. For example, "Free two-day shipping". For more
- /// details, check the help page
- /// https://developers.google.com/adwords/api/docs/guides/dynamic-remarketing This field can be selected using the value
- /// "MultiAssetResponsiveDisplayAdDynamicSettingsPromoText".This field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 13)]
- public string dynamicSettingsPromoText
- {
- get
- {
- return this.dynamicSettingsPromoTextField;
- }
- set
- {
- this.dynamicSettingsPromoTextField = value;
- }
- }
-
- /// Specifies which format the ad will be served in. The default value is
- /// ALL_FORMATS. This field can be selected
- /// using the value "MultiAssetResponsiveDisplayAdFormatSetting".This field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 14)]
- public DisplayAdFormatSetting formatSetting
- {
- get
- {
- return this.formatSettingField;
- }
- set
- {
- this.formatSettingField = value;
- this.formatSettingSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool formatSettingSpecified
- {
- get
- {
- return this.formatSettingFieldSpecified;
- }
- set
- {
- this.formatSettingFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Ad.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field MultiAssetResponsiveDisplayAdMarketingImages = new Field("MultiAssetResponsiveDisplayAdMarketingImages", false, true);
-
- public static readonly Field MultiAssetResponsiveDisplayAdSquareMarketingImages = new Field("MultiAssetResponsiveDisplayAdSquareMarketingImages", false, true);
-
- public static readonly Field MultiAssetResponsiveDisplayAdLogoImages = new Field("MultiAssetResponsiveDisplayAdLogoImages", false, true);
-
- public static readonly Field MultiAssetResponsiveDisplayAdLandscapeLogoImages = new Field("MultiAssetResponsiveDisplayAdLandscapeLogoImages", false, true);
-
- public static readonly Field MultiAssetResponsiveDisplayAdHeadlines = new Field("MultiAssetResponsiveDisplayAdHeadlines", false, true);
-
- public static readonly Field MultiAssetResponsiveDisplayAdLongHeadline = new Field("MultiAssetResponsiveDisplayAdLongHeadline", false, true);
-
- public static readonly Field MultiAssetResponsiveDisplayAdDescriptions = new Field("MultiAssetResponsiveDisplayAdDescriptions", false, true);
-
- public static readonly Field MultiAssetResponsiveDisplayAdBusinessName = new Field("MultiAssetResponsiveDisplayAdBusinessName", true, true);
-
- public static readonly Field MultiAssetResponsiveDisplayAdMainColor = new Field("MultiAssetResponsiveDisplayAdMainColor", true, true);
-
- public static readonly Field MultiAssetResponsiveDisplayAdAccentColor = new Field("MultiAssetResponsiveDisplayAdAccentColor", true, true);
-
- public static readonly Field MultiAssetResponsiveDisplayAdAllowFlexibleColor = new Field("MultiAssetResponsiveDisplayAdAllowFlexibleColor", true, true);
-
- public static readonly Field MultiAssetResponsiveDisplayAdCallToActionText = new Field("MultiAssetResponsiveDisplayAdCallToActionText", true, true);
-
- public static readonly Field MultiAssetResponsiveDisplayAdDynamicSettingsPricePrefix = new Field("MultiAssetResponsiveDisplayAdDynamicSettingsPricePrefix", true, true);
-
- public static readonly Field MultiAssetResponsiveDisplayAdDynamicSettingsPromoText = new Field("MultiAssetResponsiveDisplayAdDynamicSettingsPromoText", true, true);
-
- public static readonly Field MultiAssetResponsiveDisplayAdFormatSetting = new Field("MultiAssetResponsiveDisplayAdFormatSetting", true, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Ad.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field MultiAssetResponsiveDisplayAdMarketingImages = Fields.MultiAssetResponsiveDisplayAdMarketingImages;
-
- public static readonly Field MultiAssetResponsiveDisplayAdSquareMarketingImages = Fields.MultiAssetResponsiveDisplayAdSquareMarketingImages;
-
- public static readonly Field MultiAssetResponsiveDisplayAdLogoImages = Fields.MultiAssetResponsiveDisplayAdLogoImages;
-
- public static readonly Field MultiAssetResponsiveDisplayAdLandscapeLogoImages = Fields.MultiAssetResponsiveDisplayAdLandscapeLogoImages;
-
- public static readonly Field MultiAssetResponsiveDisplayAdHeadlines = Fields.MultiAssetResponsiveDisplayAdHeadlines;
-
- public static readonly Field MultiAssetResponsiveDisplayAdLongHeadline = Fields.MultiAssetResponsiveDisplayAdLongHeadline;
-
- public static readonly Field MultiAssetResponsiveDisplayAdDescriptions = Fields.MultiAssetResponsiveDisplayAdDescriptions;
-
- public static readonly Field MultiAssetResponsiveDisplayAdBusinessName = Fields.MultiAssetResponsiveDisplayAdBusinessName;
-
- public static readonly Field MultiAssetResponsiveDisplayAdMainColor = Fields.MultiAssetResponsiveDisplayAdMainColor;
-
- public static readonly Field MultiAssetResponsiveDisplayAdAccentColor = Fields.MultiAssetResponsiveDisplayAdAccentColor;
-
- public static readonly Field MultiAssetResponsiveDisplayAdAllowFlexibleColor = Fields.MultiAssetResponsiveDisplayAdAllowFlexibleColor;
-
- public static readonly Field MultiAssetResponsiveDisplayAdCallToActionText = Fields.MultiAssetResponsiveDisplayAdCallToActionText;
-
- public static readonly Field MultiAssetResponsiveDisplayAdDynamicSettingsPricePrefix = Fields.MultiAssetResponsiveDisplayAdDynamicSettingsPricePrefix;
-
- public static readonly Field MultiAssetResponsiveDisplayAdDynamicSettingsPromoText = Fields.MultiAssetResponsiveDisplayAdDynamicSettingsPromoText;
-
- public static readonly Field MultiAssetResponsiveDisplayAdFormatSetting = Fields.MultiAssetResponsiveDisplayAdFormatSetting;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Ad.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field MultiAssetResponsiveDisplayAdBusinessName = Fields.MultiAssetResponsiveDisplayAdBusinessName;
-
- public static readonly Field MultiAssetResponsiveDisplayAdMainColor = Fields.MultiAssetResponsiveDisplayAdMainColor;
-
- public static readonly Field MultiAssetResponsiveDisplayAdAccentColor = Fields.MultiAssetResponsiveDisplayAdAccentColor;
-
- public static readonly Field MultiAssetResponsiveDisplayAdAllowFlexibleColor = Fields.MultiAssetResponsiveDisplayAdAllowFlexibleColor;
-
- public static readonly Field MultiAssetResponsiveDisplayAdCallToActionText = Fields.MultiAssetResponsiveDisplayAdCallToActionText;
-
- public static readonly Field MultiAssetResponsiveDisplayAdDynamicSettingsPricePrefix = Fields.MultiAssetResponsiveDisplayAdDynamicSettingsPricePrefix;
-
- public static readonly Field MultiAssetResponsiveDisplayAdDynamicSettingsPromoText = Fields.MultiAssetResponsiveDisplayAdDynamicSettingsPromoText;
-
- public static readonly Field MultiAssetResponsiveDisplayAdFormatSetting = Fields.MultiAssetResponsiveDisplayAdFormatSetting;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Represents an ImageAd. This is enabled for
- /// AdX.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class ImageAd : Ad
- {
- private Image imageField;
-
- private string nameField;
-
- private long adToCopyImageFromField;
-
- private bool adToCopyImageFromFieldSpecified;
-
- /// The image data for the ad.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public Image image
- {
- get
- {
- return this.imageField;
- }
- set
- {
- this.imageField = value;
- }
- }
-
- /// The name label for this ad. This field is
- /// required and should not be null.This field can be selected using the value
- /// "ImageCreativeName".This field can be
- /// filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public string name
- {
- get
- {
- return this.nameField;
- }
- set
- {
- this.nameField = value;
- }
- }
-
- /// For ADD operations only: use this field to specify an existing image ad to copy
- /// the image from, in which case the "image" field can be left empty. This is the
- /// preferred way of copying images over re-uploading the same image. This field is read only and will be ignored when
- /// sent to the API for the following Operators: REMOVE and
- /// SET.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public long adToCopyImageFrom
- {
- get
- {
- return this.adToCopyImageFromField;
- }
- set
- {
- this.adToCopyImageFromField = value;
- this.adToCopyImageFromSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool adToCopyImageFromSpecified
- {
- get
- {
- return this.adToCopyImageFromFieldSpecified;
- }
- set
- {
- this.adToCopyImageFromFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Ad.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field ImageCreativeName = new Field("ImageCreativeName", true, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Ad.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field ImageCreativeName = Fields.ImageCreativeName;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Ad.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field ImageCreativeName = Fields.ImageCreativeName;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Represents Gmail ad.
Caution: Gmail ads do not use url, displayUrl, finalAppUrls, or devicePreference; Setting these fields on a Gmail
- /// ad will cause an error. This is enabled for
- /// AdX.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class GmailAd : Ad
- {
- private GmailTeaser teaserField;
-
- private Image headerImageField;
-
- private Image marketingImageField;
-
- private string marketingImageHeadlineField;
-
- private string marketingImageDescriptionField;
-
- private DisplayCallToAction marketingImageDisplayCallToActionField;
-
- private ProductImage[] productImagesField;
-
- private Video[] productVideoListField;
-
- /// Gmail teaser info. This field is required and
- /// should not be null when it is contained within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public GmailTeaser teaser
- {
- get
- {
- return this.teaserField;
- }
- set
- {
- this.teaserField = value;
- }
- }
-
- /// Header image. An image must first be created using the MediaService, and
- /// Image.mediaId must be populated when creating a "GmailAd". Valid image types are GIF, JPEG, and PNG. The
- /// minimum size is 300x100 and the aspect ratio must be in 3:1 to 5:1 (+-1%). This field can be selected using the value
- /// "GmailHeaderImage".
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public Image headerImage
- {
- get
- {
- return this.headerImageField;
- }
- set
- {
- this.headerImageField = value;
- }
- }
-
- /// Marketing image. An image must first be created using the MediaService, and
- /// Image.mediaId must be populated when creating a "GmailAd".Valid image types are GIF, JPEG, and PNG. The
- /// minimum size is 600x314 and the aspect ratio must be 600:314 (+-1%). For square
- /// marketing image, the minimum size is 300x300 and the aspect ratio must be 1:1
- /// (+-1%). Either productVideos or marketingImage must be specified. This field can be selected using the value
- /// "GmailMarketingImage".
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public Image marketingImage
- {
- get
- {
- return this.marketingImageField;
- }
- set
- {
- this.marketingImageField = value;
- }
- }
-
- /// Headline of the marketing image. Maximum display width is 25 characters. This field can be selected using the value
- /// "MarketingImageHeadline".This field
- /// can be filtered on.This field is
- /// required and should not be null when it is contained within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public string marketingImageHeadline
- {
- get
- {
- return this.marketingImageHeadlineField;
- }
- set
- {
- this.marketingImageHeadlineField = value;
- }
- }
-
- /// Description of the marketing image. Maximum display width is 90 characters.
- /// This field can be selected using the value
- /// "MarketingImageDescription".This
- /// field can be filtered on.This field is
- /// required and should not be null when it is contained within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 4)]
- public string marketingImageDescription
- {
- get
- {
- return this.marketingImageDescriptionField;
- }
- set
- {
- this.marketingImageDescriptionField = value;
- }
- }
-
- /// Display-call-to-action of the marketing image. The DisplayCallToAction.urlId
- /// field cannot be set when setting this field.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 5)]
- public DisplayCallToAction marketingImageDisplayCallToAction
- {
- get
- {
- return this.marketingImageDisplayCallToActionField;
- }
- set
- {
- this.marketingImageDisplayCallToActionField = value;
- }
- }
-
- /// Product images. Support up to 15 product images. This field can be selected using the value "ProductImages".
- ///
- [System.Xml.Serialization.XmlElementAttribute("productImages", Order = 6)]
- public ProductImage[] productImages
- {
- get
- {
- return this.productImagesField;
- }
- set
- {
- this.productImagesField = value;
- }
- }
-
- /// Product Videos. Either productVideoList or marketingImage must be specified.
- /// Supports up to 7 product videos. It must be a YouTube hosted video and mediaId
- /// must be populated. The YouTube hosted video can be added to AdWords through
- /// either the AdWords UI or through AdWords Scripts
- /// (https://developers.google.com/adwords/scripts/docs/reference/adwordsapp/adwordsapp_videobuilder).
- /// This field can be selected using the value
- /// "ProductVideoList".
- ///
- [System.Xml.Serialization.XmlElementAttribute("productVideoList", Order = 7)]
- public Video[] productVideoList
- {
- get
- {
- return this.productVideoListField;
- }
- set
- {
- this.productVideoListField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Ad.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field GmailHeaderImage = new Field("GmailHeaderImage", false, true);
-
- public static readonly Field GmailMarketingImage = new Field("GmailMarketingImage", false, true);
-
- public static readonly Field MarketingImageHeadline = new Field("MarketingImageHeadline", true, true);
-
- public static readonly Field MarketingImageDescription = new Field("MarketingImageDescription", true, true);
-
- public static readonly Field ProductImages = new Field("ProductImages", false, true);
-
- public static readonly Field ProductVideoList = new Field("ProductVideoList", false, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Ad.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field GmailHeaderImage = Fields.GmailHeaderImage;
-
- public static readonly Field GmailMarketingImage = Fields.GmailMarketingImage;
-
- public static readonly Field MarketingImageHeadline = Fields.MarketingImageHeadline;
-
- public static readonly Field MarketingImageDescription = Fields.MarketingImageDescription;
-
- public static readonly Field ProductImages = Fields.ProductImages;
-
- public static readonly Field ProductVideoList = Fields.ProductVideoList;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Ad.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field MarketingImageHeadline = Fields.MarketingImageHeadline;
-
- public static readonly Field MarketingImageDescription = Fields.MarketingImageDescription;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Enhanced text ad format.
Caution: Expanded text ads do
- /// not use url, displayUrl, finalAppUrls, or devicePreference; setting these fields on an
- /// expanded text ad will cause an error. This
- /// is enabled for AdX.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class ExpandedTextAd : Ad
- {
- private string headlinePart1Field;
-
- private string headlinePart2Field;
-
- private string descriptionField;
-
- private string path1Field;
-
- private string path2Field;
-
- /// First part of the headline. This field can
- /// be selected using the value "HeadlinePart1".This field can be filtered on.This field is required and should not be null when it is
- /// contained within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public string headlinePart1
- {
- get
- {
- return this.headlinePart1Field;
- }
- set
- {
- this.headlinePart1Field = value;
- }
- }
-
- /// Second part of the headline. This field can
- /// be selected using the value "HeadlinePart2".This field can be filtered on.This field is required and should not be null when it is
- /// contained within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public string headlinePart2
- {
- get
- {
- return this.headlinePart2Field;
- }
- set
- {
- this.headlinePart2Field = value;
- }
- }
-
- /// The descriptive text of the ad. This field
- /// can be selected using the value "Description".This field can be filtered on.This field is required and should not be null when it is
- /// contained within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public string description
- {
- get
- {
- return this.descriptionField;
- }
- set
- {
- this.descriptionField = value;
- }
- }
-
- /// Text that appears in the ad with the displayed URL. This field can be selected using the value "Path1".This field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public string path1
- {
- get
- {
- return this.path1Field;
- }
- set
- {
- this.path1Field = value;
- }
- }
-
- /// In addition to #path1, more text that appears with the
- /// displayed URL. This field can be selected
- /// using the value "Path2".This field
- /// can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 4)]
- public string path2
- {
- get
- {
- return this.path2Field;
- }
- set
- {
- this.path2Field = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Ad.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field HeadlinePart1 = new Field("HeadlinePart1", true, true);
-
- public static readonly Field HeadlinePart2 = new Field("HeadlinePart2", true, true);
-
- public static readonly Field Description = new Field("Description", true, true);
-
- public static readonly Field Path1 = new Field("Path1", true, true);
-
- public static readonly Field Path2 = new Field("Path2", true, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Ad.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field HeadlinePart1 = Fields.HeadlinePart1;
-
- public static readonly Field HeadlinePart2 = Fields.HeadlinePart2;
-
- public static readonly Field Description = Fields.Description;
-
- public static readonly Field Path1 = Fields.Path1;
-
- public static readonly Field Path2 = Fields.Path2;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Ad.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field HeadlinePart1 = Fields.HeadlinePart1;
-
- public static readonly Field HeadlinePart2 = Fields.HeadlinePart2;
-
- public static readonly Field Description = Fields.Description;
-
- public static readonly Field Path1 = Fields.Path1;
-
- public static readonly Field Path2 = Fields.Path2;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Represents an ExpandedDynamicSearchAd. This ad will have its headline, final
- /// URLs and display URL auto-generated at serving time according to domain name
- /// specific information provided by DynamicSearchAdsSetting linked at the campaign
- /// level.
Auto-generated fields: headline, final URLs and display URL.
- ///
Required fields:description.
The tracking URL
- /// field must contain at least one of the following placeholder tags (URL
- /// parameters):
{unescapedlpurl}
{escapedlpurl}
- ///
{lpurl}
{lpurl+2}
{lpurl+3}
- ///
{unescapedlpurl} will be replaced with the full landing page URL of the
- /// displayed ad. Extra query parameters can be added to the end, e.g.:
- /// "{unescapedlpurl}?lang=en".
{escapedlpurl} will be replaced with the
- /// URL-encoded version of the full landing page URL. This makes it suitable for use
- /// as a query parameter value (e.g.:
- /// "http://www.3rdpartytracker.com/?lp={escapedlpurl}") but not at the beginning of
- /// the URL field.
{lpurl} encodes the "?" and "=" of the landing page URL
- /// making it suitable for use as a query parameter. If found at the beginning of
- /// the URL field, it is replaced by the {unescapedlpurl} value. E.g.:
- /// "http://tracking.com/redir.php?tracking=xyz&url={lpurl}".
{lpurl+2}
- /// and {lpurl+3} will be replaced with the landing page URL escaped two or three
- /// times, respectively. This makes it suitable if there is a chain of redirects in
- /// the tracking URL.
This is enabled
- /// for AdX.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class ExpandedDynamicSearchAd : Ad
- {
- private string descriptionField;
-
- /// The descriptive text of the ad. This field
- /// can be selected using the value "Description".This field can be filtered on.This field is required and should not be null when it is
- /// contained within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public string description
- {
- get
- {
- return this.descriptionField;
- }
- set
- {
- this.descriptionField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Ad.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field Description = new Field("Description", true, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Ad.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field Description = Fields.Description;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Ad.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field Description = Fields.Description;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Represents a deprecated ad. Deprecated ads can be deleted, but cannot be
- /// created. This is disabled for AdX when it is
- /// contained within Operators: ADD, SET.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class DeprecatedAd : Ad
- {
- private string nameField;
-
- private DeprecatedAdType deprecatedAdTypeField;
-
- private bool deprecatedAdTypeFieldSpecified;
-
- /// Name of the ad. This field can be selected
- /// using the value "Name".This field is
- /// read only and will be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public string name
- {
- get
- {
- return this.nameField;
- }
- set
- {
- this.nameField = value;
- }
- }
-
- /// Type of the creative. This field can be
- /// selected using the value "Type".This
- /// field is read only and will be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public DeprecatedAdType deprecatedAdType
- {
- get
- {
- return this.deprecatedAdTypeField;
- }
- set
- {
- this.deprecatedAdTypeField = value;
- this.deprecatedAdTypeSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool deprecatedAdTypeSpecified
- {
- get
- {
- return this.deprecatedAdTypeFieldSpecified;
- }
- set
- {
- this.deprecatedAdTypeFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Ad.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field Name = new Field("Name", false, true);
-
- public static readonly Field Type = new Field("Type", false, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Ad.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field Name = Fields.Name;
-
- public static readonly Field Type = Fields.Type;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Ad.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "DeprecatedAd.Type", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum DeprecatedAdType
- {
- /// Video ad.
- ///
- VIDEO = 0,
- /// Click to call ad.
- ///
- CLICK_TO_CALL = 1,
- /// Instream video ad.
- ///
- IN_STREAM_VIDEO = 2,
- /// Froogle ad.
- ///
- FROOGLE = 3,
- /// Text link ad.
- ///
- TEXT_LINK = 4,
- /// Gadget ad.
- ///
- GADGET = 5,
- /// Print ad.
- ///
- PRINT = 6,
- /// Wide text ad.
- ///
- TEXT_WIDE = 7,
- /// Gadget template ad.
- ///
- GADGET_TEMPLATE = 8,
- /// Text ad with video.
- ///
- TEXT_WITH_VIDEO = 9,
- /// Audio ad.
- ///
- AUDIO = 10,
- /// Local business ads.
- ///
- LOCAL_BUSINESS_AD = 11,
- /// Audio based template ads.
- ///
- AUDIO_TEMPLATE = 12,
- /// Mobile ads
- ///
- MOBILE_AD = 13,
- /// Mobile image ads
- ///
- MOBILE_IMAGE_AD = 14,
- UNKNOWN = 15,
- }
-
-
- /// Represents a CallOnlyAd.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CallOnlyAd : Ad
- {
- private string countryCodeField;
-
- private string phoneNumberField;
-
- private string businessNameField;
-
- private string description1Field;
-
- private string description2Field;
-
- private bool callTrackedField;
-
- private bool callTrackedFieldSpecified;
-
- private bool disableCallConversionField;
-
- private bool disableCallConversionFieldSpecified;
-
- private long conversionTypeIdField;
-
- private bool conversionTypeIdFieldSpecified;
-
- private string phoneNumberVerificationUrlField;
-
- /// Two letter country code for the ad. Examples: 'US', 'GB'. This field can be selected using the value
- /// "CallOnlyAdCountryCode".This field
- /// can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public string countryCode
- {
- get
- {
- return this.countryCodeField;
- }
- set
- {
- this.countryCodeField = value;
- }
- }
-
- /// Phone number string for the ad. Examples: '(800) 356-9377', "16502531234",
- /// "+442001234567" This field can be selected
- /// using the value "CallOnlyAdPhoneNumber".This field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public string phoneNumber
- {
- get
- {
- return this.phoneNumberField;
- }
- set
- {
- this.phoneNumberField = value;
- }
- }
-
- /// Business name of the ad. This field can be
- /// selected using the value "CallOnlyAdBusinessName".This field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public string businessName
- {
- get
- {
- return this.businessNameField;
- }
- set
- {
- this.businessNameField = value;
- }
- }
-
- /// First line of ad text. This field can be
- /// selected using the value "CallOnlyAdDescription1".This field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public string description1
- {
- get
- {
- return this.description1Field;
- }
- set
- {
- this.description1Field = value;
- }
- }
-
- /// Second line of ad text. This field can be
- /// selected using the value "CallOnlyAdDescription2".This field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 4)]
- public string description2
- {
- get
- {
- return this.description2Field;
- }
- set
- {
- this.description2Field = value;
- }
- }
-
- /// If set to true, enable call tracking for the creative. Enabling call tracking
- /// also enables call conversions. This field
- /// can be selected using the value "CallOnlyAdCallTracked".
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 5)]
- public bool callTracked
- {
- get
- {
- return this.callTrackedField;
- }
- set
- {
- this.callTrackedField = value;
- this.callTrackedSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool callTrackedSpecified
- {
- get
- {
- return this.callTrackedFieldSpecified;
- }
- set
- {
- this.callTrackedFieldSpecified = value;
- }
- }
-
- /// By default, call conversions are enabled when callTracked is on. To disable call
- /// conversions, set this field to true. Only in effect if callTracked is also set
- /// to true. If callTracked is set to false, this field is ignored. This field can be selected using the value
- /// "CallOnlyAdDisableCallConversion".
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 6)]
- public bool disableCallConversion
- {
- get
- {
- return this.disableCallConversionField;
- }
- set
- {
- this.disableCallConversionField = value;
- this.disableCallConversionSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool disableCallConversionSpecified
- {
- get
- {
- return this.disableCallConversionFieldSpecified;
- }
- set
- {
- this.disableCallConversionFieldSpecified = value;
- }
- }
-
- /// Conversion type to attribute a call conversion to. If not set, then a default
- /// conversion type id is used. Only in effect if callTracked is also set to true
- /// otherwise this field is ignored. This field
- /// can be selected using the value "CallOnlyAdConversionTypeId".
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 7)]
- public long conversionTypeId
- {
- get
- {
- return this.conversionTypeIdField;
- }
- set
- {
- this.conversionTypeIdField = value;
- this.conversionTypeIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool conversionTypeIdSpecified
- {
- get
- {
- return this.conversionTypeIdFieldSpecified;
- }
- set
- {
- this.conversionTypeIdFieldSpecified = value;
- }
- }
-
- /// Url to be used for phone number verification. This field can be selected using the value
- /// "CallOnlyAdPhoneNumberVerificationUrl".This field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 8)]
- public string phoneNumberVerificationUrl
- {
- get
- {
- return this.phoneNumberVerificationUrlField;
- }
- set
- {
- this.phoneNumberVerificationUrlField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Ad.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field CallOnlyAdCountryCode = new Field("CallOnlyAdCountryCode", true, true);
-
- public static readonly Field CallOnlyAdPhoneNumber = new Field("CallOnlyAdPhoneNumber", true, true);
-
- public static readonly Field CallOnlyAdBusinessName = new Field("CallOnlyAdBusinessName", true, true);
-
- public static readonly Field CallOnlyAdDescription1 = new Field("CallOnlyAdDescription1", true, true);
-
- public static readonly Field CallOnlyAdDescription2 = new Field("CallOnlyAdDescription2", true, true);
-
- public static readonly Field CallOnlyAdCallTracked = new Field("CallOnlyAdCallTracked", false, true);
-
- public static readonly Field CallOnlyAdDisableCallConversion = new Field("CallOnlyAdDisableCallConversion", false, true);
-
- public static readonly Field CallOnlyAdConversionTypeId = new Field("CallOnlyAdConversionTypeId", false, true);
-
- public static readonly Field CallOnlyAdPhoneNumberVerificationUrl = new Field("CallOnlyAdPhoneNumberVerificationUrl", true, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Ad.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field CallOnlyAdCountryCode = Fields.CallOnlyAdCountryCode;
-
- public static readonly Field CallOnlyAdPhoneNumber = Fields.CallOnlyAdPhoneNumber;
-
- public static readonly Field CallOnlyAdBusinessName = Fields.CallOnlyAdBusinessName;
-
- public static readonly Field CallOnlyAdDescription1 = Fields.CallOnlyAdDescription1;
-
- public static readonly Field CallOnlyAdDescription2 = Fields.CallOnlyAdDescription2;
-
- public static readonly Field CallOnlyAdCallTracked = Fields.CallOnlyAdCallTracked;
-
- public static readonly Field CallOnlyAdDisableCallConversion = Fields.CallOnlyAdDisableCallConversion;
-
- public static readonly Field CallOnlyAdConversionTypeId = Fields.CallOnlyAdConversionTypeId;
-
- public static readonly Field CallOnlyAdPhoneNumberVerificationUrl = Fields.CallOnlyAdPhoneNumberVerificationUrl;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Ad.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field CallOnlyAdCountryCode = Fields.CallOnlyAdCountryCode;
-
- public static readonly Field CallOnlyAdPhoneNumber = Fields.CallOnlyAdPhoneNumber;
-
- public static readonly Field CallOnlyAdBusinessName = Fields.CallOnlyAdBusinessName;
-
- public static readonly Field CallOnlyAdDescription1 = Fields.CallOnlyAdDescription1;
-
- public static readonly Field CallOnlyAdDescription2 = Fields.CallOnlyAdDescription2;
-
- public static readonly Field CallOnlyAdPhoneNumberVerificationUrl = Fields.CallOnlyAdPhoneNumberVerificationUrl;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Represents an ad in an ad group.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class AdGroupAd
- {
- private long adGroupIdField;
-
- private bool adGroupIdFieldSpecified;
-
- private Ad adField;
-
- private AdGroupAdStatus statusField;
-
- private bool statusFieldSpecified;
-
- private AdGroupAdPolicySummary policySummaryField;
-
- private Label[] labelsField;
-
- private long baseCampaignIdField;
-
- private bool baseCampaignIdFieldSpecified;
-
- private long baseAdGroupIdField;
-
- private bool baseAdGroupIdFieldSpecified;
-
- private String_StringMapEntry[] forwardCompatibilityMapField;
-
- /// The id of the adgroup containing this ad. This field can be selected using the value "AdGroupId".This field can be filtered on.This field is required and should not be
- /// null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long adGroupId
- {
- get
- {
- return this.adGroupIdField;
- }
- set
- {
- this.adGroupIdField = value;
- this.adGroupIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool adGroupIdSpecified
- {
- get
- {
- return this.adGroupIdFieldSpecified;
- }
- set
- {
- this.adGroupIdFieldSpecified = value;
- }
- }
-
- /// The contents of the ad itself. This field is
- /// required and should not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public Ad ad
- {
- get
- {
- return this.adField;
- }
- set
- {
- this.adField = value;
- }
- }
-
- /// The status of the ad. This field is required and should not be null
- /// when it is contained within Operators : SET. This field can be selected using the value
- /// "Status".This field can be filtered
- /// on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public AdGroupAdStatus status
- {
- get
- {
- return this.statusField;
- }
- set
- {
- this.statusField = value;
- this.statusSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool statusSpecified
- {
- get
- {
- return this.statusFieldSpecified;
- }
- set
- {
- this.statusFieldSpecified = value;
- }
- }
-
- /// Summary of policy findings for this ad. This
- /// field can be selected using the value "PolicySummary".This field is read only and will be ignored when
- /// sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public AdGroupAdPolicySummary policySummary
- {
- get
- {
- return this.policySummaryField;
- }
- set
- {
- this.policySummaryField = value;
- }
- }
-
- /// Labels that are attached to the AdGroupAd. To associate an existing Label to an existing AdGroupAd, use AdGroupAdService#mutateLabel with ADD
- /// operator. To remove an associated Label from the AdGroupAd, use AdGroupAdService#mutateLabel with REMOVE
- /// operator. To filter on Labels, use one of Predicate.Operator#CONTAINS_ALL, Predicate.Operator#CONTAINS_ANY, Predicate.Operator#CONTAINS_NONE
- /// operators with a list of Label ids. This field can be selected using the value "Labels".This field can be filtered on.This field may not be set for campaign channel
- /// subtype UNIVERSAL_APP_CAMPAIGN.This
- /// field is read only and will be ignored when sent to the API for the following Operators: REMOVE and SET.
- ///
- [System.Xml.Serialization.XmlElementAttribute("labels", Order = 4)]
- public Label[] labels
- {
- get
- {
- return this.labelsField;
- }
- set
- {
- this.labelsField = value;
- }
- }
-
- /// ID of the base campaign from which this draft/trial ad was created. This field
- /// is only returned on get requests. This field
- /// can be selected using the value "BaseCampaignId".This field can be filtered on.This field is read only and will be ignored when sent to the
- /// API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 5)]
- public long baseCampaignId
- {
- get
- {
- return this.baseCampaignIdField;
- }
- set
- {
- this.baseCampaignIdField = value;
- this.baseCampaignIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool baseCampaignIdSpecified
- {
- get
- {
- return this.baseCampaignIdFieldSpecified;
- }
- set
- {
- this.baseCampaignIdFieldSpecified = value;
- }
- }
-
- /// ID of the base ad group from which this draft/trial ad was created. For base ad
- /// groups this is equal to the ad group ID. If the ad group was created in the
- /// draft or trial and has no corresponding base ad group, this field is null. This
- /// field is only returned on get requests. This
- /// field can be selected using the value "BaseAdGroupId".This field can be filtered on.This field is read only and will be ignored when
- /// sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 6)]
- public long baseAdGroupId
- {
- get
- {
- return this.baseAdGroupIdField;
- }
- set
- {
- this.baseAdGroupIdField = value;
- this.baseAdGroupIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool baseAdGroupIdSpecified
- {
- get
- {
- return this.baseAdGroupIdFieldSpecified;
- }
- set
- {
- this.baseAdGroupIdFieldSpecified = value;
- }
- }
-
- /// This Map provides a place to put new features and settings in older versions of
- /// the AdWords API in the rare instance we need to introduce a new feature in an
- /// older version. It is presently unused. Do not set a value.
- ///
- [System.Xml.Serialization.XmlElementAttribute("forwardCompatibilityMap", Order = 7)]
- public String_StringMapEntry[] forwardCompatibilityMap
- {
- get
- {
- return this.forwardCompatibilityMapField;
- }
- set
- {
- this.forwardCompatibilityMapField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field AdGroupId = new Field("AdGroupId", true, true);
-
- public static readonly Field Status = new Field("Status", true, true);
-
- public static readonly Field PolicySummary = new Field("PolicySummary", false, true);
-
- public static readonly Field Labels = new Field("Labels", true, true);
-
- public static readonly Field BaseCampaignId = new Field("BaseCampaignId", true, true);
-
- public static readonly Field BaseAdGroupId = new Field("BaseAdGroupId", true, true);
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field AdGroupId = Fields.AdGroupId;
-
- public static readonly Field Status = Fields.Status;
-
- public static readonly Field PolicySummary = Fields.PolicySummary;
-
- public static readonly Field Labels = Fields.Labels;
-
- public static readonly Field BaseCampaignId = Fields.BaseCampaignId;
-
- public static readonly Field BaseAdGroupId = Fields.BaseAdGroupId;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field AdGroupId = Fields.AdGroupId;
-
- public static readonly Field Status = Fields.Status;
-
- public static readonly Field Labels = Fields.Labels;
-
- public static readonly Field BaseCampaignId = Fields.BaseCampaignId;
-
- public static readonly Field BaseAdGroupId = Fields.BaseAdGroupId;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The current status of an Ad.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "AdGroupAd.Status", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum AdGroupAdStatus
- {
- /// Enabled.
- ///
- ENABLED = 0,
- /// Paused.
- ///
- PAUSED = 1,
- /// Disabled.
- ///
- DISABLED = 2,
- }
-
-
- /// Contains the results from a get call.
- ///
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AdGroupAdPage))]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CampaignCriterionPage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CampaignPage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CampaignBidModifierPage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(NullStatsPage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CampaignFeedPage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CampaignGroupPage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CampaignGroupPerformanceTargetPage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(NoStatsPage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(ConversionTrackerPage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CustomerNegativeCriterionPage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AdGroupFeedPage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CustomerFeedPage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CriterionBidLandscapePage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AdGroupBidLandscapePage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(DomainCategoryPage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(FeedPage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(FeedItemPage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(FeedItemTargetPage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(FeedMappingPage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(ManagedCustomerPage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AdGroupCriterionPage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(OfflineDataUploadPage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(UserListPage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CampaignSharedSetPage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(SharedCriterionPage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(SharedSetPage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AdGroupPage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(LabelPage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AdCustomizerFeedPage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AdGroupExtensionSettingPage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CampaignExtensionSettingPage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CustomerExtensionSettingPage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(DraftPage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(DraftAsyncErrorPage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(TrialPage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(TrialAsyncErrorPage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AdGroupBidModifierPage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AssetPage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AdPage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(BatchJobPage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(BiddingStrategyPage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(BudgetOrderPage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(BudgetPage))]
- public abstract partial class Page
- {
- private int totalNumEntriesField;
-
- private bool totalNumEntriesFieldSpecified;
-
- private string pageTypeField;
-
- /// Total number of entries in the result that this page is a part of.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public int totalNumEntries
- {
- get
- {
- return this.totalNumEntriesField;
- }
- set
- {
- this.totalNumEntriesField = value;
- this.totalNumEntriesSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool totalNumEntriesSpecified
- {
- get
- {
- return this.totalNumEntriesFieldSpecified;
- }
- set
- {
- this.totalNumEntriesFieldSpecified = value;
- }
- }
-
- /// Indicates that this instance is a subtype of Page. Although this field is
- /// returned in the response, it is ignored on input and cannot be selected. Specify
- /// xsi:type instead.
- ///
- [System.Xml.Serialization.XmlElementAttribute("Page.Type", Order = 1)]
- public string PageType
- {
- get
- {
- return this.pageTypeField;
- }
- set
- {
- this.pageTypeField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Represents a page of AdGroupAds resulting from the query
- /// done by AdGroupAdService.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class AdGroupAdPage : Page
- {
- private AdGroupAd[] entriesField;
-
- /// The result entries in this page.
- ///
- [System.Xml.Serialization.XmlElementAttribute("entries", Order = 0)]
- public AdGroupAd[] entries
- {
- get
- {
- return this.entriesField;
- }
- set
- {
- this.entriesField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Page.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Page.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Page.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Specifies the page of results to return in the response. A page is specified by
- /// the result position to start at and the maximum number of results to return.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class Paging
- {
- private int startIndexField;
-
- private bool startIndexFieldSpecified;
-
- private int numberResultsField;
-
- private bool numberResultsFieldSpecified;
-
- /// Index of the first result to return in this page. This field must be greater than or equal to 0.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public int startIndex
- {
- get
- {
- return this.startIndexField;
- }
- set
- {
- this.startIndexField = value;
- this.startIndexSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool startIndexSpecified
- {
- get
- {
- return this.startIndexFieldSpecified;
- }
- set
- {
- this.startIndexFieldSpecified = value;
- }
- }
-
- /// Maximum number of results to return in this page. Set this to a reasonable value
- /// to limit the number of results returned per page. This field must be greater than or equal to 0.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public int numberResults
- {
- get
- {
- return this.numberResultsField;
- }
- set
- {
- this.numberResultsField = value;
- this.numberResultsSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool numberResultsSpecified
- {
- get
- {
- return this.numberResultsFieldSpecified;
- }
- set
- {
- this.numberResultsFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Specifies how the resulting information should be sorted.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class OrderBy
- {
- private string fieldField;
-
- private SortOrder sortOrderField;
-
- private bool sortOrderFieldSpecified;
-
- /// The field to sort the results on. This field
- /// is required and should not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public string field
- {
- get
- {
- return this.fieldField;
- }
- set
- {
- this.fieldField = value;
- }
- }
-
- /// The order to sort the results on. The default sort order is SortOrder#ASCENDING.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public SortOrder sortOrder
- {
- get
- {
- return this.sortOrderField;
- }
- set
- {
- this.sortOrderField = value;
- this.sortOrderSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool sortOrderSpecified
- {
- get
- {
- return this.sortOrderFieldSpecified;
- }
- set
- {
- this.sortOrderFieldSpecified = value;
- }
- }
- }
-
-
- /// Possible orders of sorting.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum SortOrder
- {
- ASCENDING = 0,
- DESCENDING = 1,
- }
-
-
- /// Represents a range of dates that has either an upper or a lower bound. The
- /// format for the date is YYYYMMDD.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class DateRange
- {
- private string minField;
-
- private string maxField;
-
- /// the lower bound of this date range, inclusive.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public string min
- {
- get
- {
- return this.minField;
- }
- set
- {
- this.minField = value;
- }
- }
-
- /// the upper bound of this date range, inclusive.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public string max
- {
- get
- {
- return this.maxField;
- }
- set
- {
- this.maxField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Specifies how an entity (eg. adgroup, campaign, criterion, ad) should be
- /// filtered.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class Predicate
- {
- private string fieldField;
-
- private PredicateOperator operatorField;
-
- private bool operatorFieldSpecified;
-
- private string[] valuesField;
-
- /// The field by which to filter the returned data. Possible values are marked
- /// Filterable on the entity's reference page. For example, for predicates for the
- /// CampaignService selector, refer to the filterable fields
- /// from the Campaign reference page. This field is required and should not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public string field
- {
- get
- {
- return this.fieldField;
- }
- set
- {
- this.fieldField = value;
- }
- }
-
- /// The operator to use for filtering the data returned. This field is required and should not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public PredicateOperator @operator
- {
- get
- {
- return this.operatorField;
- }
- set
- {
- this.operatorField = value;
- this.operatorSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool operatorSpecified
- {
- get
- {
- return this.operatorFieldSpecified;
- }
- set
- {
- this.operatorFieldSpecified = value;
- }
- }
-
- /// The values by which to filter the field. The Operator#CONTAINS_ALL, Operator#CONTAINS_ANY, Operator#CONTAINS_NONE, Operator#IN and Operator#NOT_IN take multiple values. All others take
- /// a single value. This field must not
- /// contain elements.This
- /// field is required and should not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute("values", Order = 2)]
- public string[] values
- {
- get
- {
- return this.valuesField;
- }
- set
- {
- this.valuesField = value;
- }
- }
- }
-
-
- /// Defines the valid set of operators.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "Predicate.Operator", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum PredicateOperator
- {
- /// Checks if the field is equal to the given value.
This operator is used with
- /// integers, dates, booleans, strings, enums, and sets.
- ///
- EQUALS = 0,
- /// Checks if the field does not equal the given value.
This operator is used
- /// with integers, booleans, strings, enums, and sets.
- ///
- NOT_EQUALS = 1,
- /// Checks if the field is equal to one of the given values.
This operator
- /// accepts multiple operands and is used with integers, booleans, strings, and
- /// enums.
- ///
- IN = 2,
- /// Checks if the field does not equal any of the given values.
This operator
- /// accepts multiple operands and is used with integers, booleans, strings, and
- /// enums.
- ///
- NOT_IN = 3,
- /// Checks if the field is greater than the given value.
This operator is used
- /// with numbers and dates.
- ///
- GREATER_THAN = 4,
- /// Checks if the field is greater or equal to the given value.
This operator is
- /// used with numbers and dates.
- ///
- GREATER_THAN_EQUALS = 5,
- /// Checks if the field is less than the given value.
This operator is used with
- /// numbers and dates.
- ///
- LESS_THAN = 6,
- /// Checks if the field is less or equal to than the given value.
This operator
- /// is used with numbers and dates.
- ///
- LESS_THAN_EQUALS = 7,
- /// Checks if the field starts with the given value.
This operator is used with
- /// strings.
- ///
- STARTS_WITH = 8,
- /// Checks if the field starts with the given value, ignoring case.
This operator
- /// is used with strings.
- ///
- STARTS_WITH_IGNORE_CASE = 9,
- /// Checks if the field contains the given value as a substring.
This operator is
- /// used with strings.
- ///
- CONTAINS = 10,
- /// Checks if the field contains the given value as a substring, ignoring case.
- ///
This operator is used with strings.
- ///
- CONTAINS_IGNORE_CASE = 11,
- /// Checks if the field does not contain the given value as a substring.
This
- /// operator is used with strings.
- ///
- DOES_NOT_CONTAIN = 12,
- /// Checks if the field does not contain the given value as a substring, ignoring
- /// case.
This operator is used with strings.
- ///
- DOES_NOT_CONTAIN_IGNORE_CASE = 13,
- /// Checks if the field contains any of the given values.
This operator
- /// accepts multiple values and is used on sets of numbers or strings.
- ///
- CONTAINS_ANY = 14,
- /// Checks if the field contains all of the given values.
This operator
- /// accepts multiple values and is used on sets of numbers or strings.
- ///
- CONTAINS_ALL = 15,
- /// Checks if the field contains none of the given values.
This operator
- /// accepts multiple values and is used on sets of numbers or strings.
- ///
- CONTAINS_NONE = 16,
- /// Used for return value only. An enumeration
- /// could not be processed, typically due to incompatibility with your WSDL
- /// version.
- ///
- UNKNOWN = 17,
- }
-
-
- /// A generic selector to specify the type of information to return.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class Selector
- {
- private string[] fieldsField;
-
- private Predicate[] predicatesField;
-
- private DateRange dateRangeField;
-
- private OrderBy[] orderingField;
-
- private Paging pagingField;
-
- /// List of fields to select. Possible values are marked
- /// Selectable on the entity's reference page. For example, for the
- /// CampaignService selector, refer to the selectable fields from the
- /// Campaign reference page. This field must contain distinct elements.This field must not contain
- /// elements.This field is required and
- /// should not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute("fields", Order = 0)]
- public string[] fields
- {
- get
- {
- return this.fieldsField;
- }
- set
- {
- this.fieldsField = value;
- }
- }
-
- /// Specifies how an entity (eg. adgroup, campaign, criterion, ad) should be
- /// filtered. This field must not contain
- /// null elements.
- ///
- [System.Xml.Serialization.XmlElementAttribute("predicates", Order = 1)]
- public Predicate[] predicates
- {
- get
- {
- return this.predicatesField;
- }
- set
- {
- this.predicatesField = value;
- }
- }
-
- /// Range of dates for which you want to include data. If this value is omitted,
- /// results for all dates are returned.
Note: This field is
- /// only used by the report download service. For all other services, it is
- /// ignored.
This range must be
- /// contained within the range [19700101, 20380101].
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public DateRange dateRange
- {
- get
- {
- return this.dateRangeField;
- }
- set
- {
- this.dateRangeField = value;
- }
- }
-
- /// The fields on which you want to sort, and the sort order. The order in the list
- /// is significant: The first element in the list indicates the primary sort order,
- /// the next specifies the secondary sort order and so on.
- ///
- [System.Xml.Serialization.XmlElementAttribute("ordering", Order = 3)]
- public OrderBy[] ordering
- {
- get
- {
- return this.orderingField;
- }
- set
- {
- this.orderingField = value;
- }
- }
-
- /// Pagination information.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 4)]
- public Paging paging
- {
- get
- {
- return this.pagingField;
- }
- set
- {
- this.pagingField = value;
- }
- }
- }
-
-
- /// Url Validation errors.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class UrlError : ApiError
- {
- private UrlErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// The error reason represented by an enum.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public UrlErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The reasons for the url error.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "UrlError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum UrlErrorReason
- {
- /// The tracking url template is invalid.
- ///
- INVALID_TRACKING_URL_TEMPLATE = 0,
- /// The tracking url template contains invalid tag.
- ///
- INVALID_TAG_IN_TRACKING_URL_TEMPLATE = 1,
- /// The tracking url template must contain at least one tag (e.g. {lpurl}), This
- /// applies only to tracking url template associated with website ads or product
- /// ads.
- ///
- MISSING_TRACKING_URL_TEMPLATE_TAG = 2,
- /// The tracking url template must start with a valid protocol (or lpurl tag).
- ///
- MISSING_PROTOCOL_IN_TRACKING_URL_TEMPLATE = 3,
- /// The tracking url template starts with an invalid protocol.
- ///
- INVALID_PROTOCOL_IN_TRACKING_URL_TEMPLATE = 4,
- /// The tracking url template contains illegal characters.
- ///
- MALFORMED_TRACKING_URL_TEMPLATE = 5,
- /// The tracking url template must contain a host name (or lpurl tag).
- ///
- MISSING_HOST_IN_TRACKING_URL_TEMPLATE = 6,
- /// The tracking url template has an invalid or missing top level domain extension.
- ///
- INVALID_TLD_IN_TRACKING_URL_TEMPLATE = 7,
- /// The tracking url template contains nested occurrences of the same conditional
- /// tag (i.e. {ifmobile:{ifmobile:x}}).
- ///
- REDUNDANT_NESTED_TRACKING_URL_TEMPLATE_TAG = 8,
- /// The final url is invalid.
- ///
- INVALID_FINAL_URL = 9,
- /// The final url contains invalid tag.
- ///
- INVALID_TAG_IN_FINAL_URL = 10,
- /// The final url contains nested occurrences of the same conditional tag (i.e.
- /// {ifmobile:{ifmobile:x}}).
- ///
- REDUNDANT_NESTED_FINAL_URL_TAG = 11,
- /// The final url must start with a valid protocol.
- ///
- MISSING_PROTOCOL_IN_FINAL_URL = 12,
- /// The final url starts with an invalid protocol.
- ///
- INVALID_PROTOCOL_IN_FINAL_URL = 13,
- /// The final url contains illegal characters.
- ///
- MALFORMED_FINAL_URL = 14,
- /// The final url must contain a host name.
- ///
- MISSING_HOST_IN_FINAL_URL = 15,
- /// The tracking url template has an invalid or missing top level domain extension.
- ///
- INVALID_TLD_IN_FINAL_URL = 16,
- /// The final mobile url is invalid.
- ///
- INVALID_FINAL_MOBILE_URL = 17,
- /// The final mobile url contains invalid tag.
- ///
- INVALID_TAG_IN_FINAL_MOBILE_URL = 18,
- /// The final mobile url contains nested occurrences of the same conditional tag
- /// (i.e. {ifmobile:{ifmobile:x}}).
- ///
- REDUNDANT_NESTED_FINAL_MOBILE_URL_TAG = 19,
- /// The final mobile url must start with a valid protocol.
- ///
- MISSING_PROTOCOL_IN_FINAL_MOBILE_URL = 20,
- /// The final mobile url starts with an invalid protocol.
- ///
- INVALID_PROTOCOL_IN_FINAL_MOBILE_URL = 21,
- /// The final mobile url contains illegal characters.
- ///
- MALFORMED_FINAL_MOBILE_URL = 22,
- /// The final mobile url must contain a host name.
- ///
- MISSING_HOST_IN_FINAL_MOBILE_URL = 23,
- /// The tracking url template has an invalid or missing top level domain extension.
- ///
- INVALID_TLD_IN_FINAL_MOBILE_URL = 24,
- /// The final app url is invalid.
- ///
- INVALID_FINAL_APP_URL = 25,
- /// The final app url contains invalid tag.
- ///
- INVALID_TAG_IN_FINAL_APP_URL = 26,
- /// The final app url contains nested occurrences of the same conditional tag (i.e.
- /// {ifmobile:{ifmobile:x}}).
- ///
- REDUNDANT_NESTED_FINAL_APP_URL_TAG = 27,
- /// More than one app url found for the same OS type.
- ///
- MULTIPLE_APP_URLS_FOR_OSTYPE = 28,
- /// The OS type given for an app url is not valid.
- ///
- INVALID_OSTYPE = 29,
- /// The protocol given for an app url is not valid. (E.g. "android-app://")
- ///
- INVALID_PROTOCOL_FOR_APP_URL = 30,
- /// The package id (app id) given for an app url is not valid.
- ///
- INVALID_PACKAGE_ID_FOR_APP_URL = 31,
- /// The number of url custom parameters for an entity exceeds the maximum limit
- /// allowed.
- ///
- URL_CUSTOM_PARAMETERS_COUNT_EXCEEDS_LIMIT = 32,
- /// The parameter has isRemove set to true but a value that is non-null.
- ///
- URL_CUSTOM_PARAMETER_REMOVAL_WITH_NON_NULL_VALUE = 33,
- /// For add operations, there will not be any existing parameters to delete.
- ///
- CANNOT_REMOVE_URL_CUSTOM_PARAMETER_IN_ADD_OPERATION = 34,
- /// When the doReplace flag is set to true, individual parameters cannot be deleted.
- ///
- CANNOT_REMOVE_URL_CUSTOM_PARAMETER_DURING_FULL_REPLACEMENT = 35,
- /// The final url suffix cannot begin with ? or & characters and must be a valid
- /// query string.
- ///
- FINAL_URL_SUFFIX_MALFORMED = 49,
- /// The final url suffix cannot contain {lpurl} related or {ignore} tags.
- ///
- INVALID_TAG_IN_FINAL_URL_SUFFIX = 50,
- /// For ADD operations and when the doReplace flag is set to true, custom parameter
- /// values cannot be null.
- ///
- NULL_CUSTOM_PARAMETER_VALUE_DURING_ADD_OR_FULL_REPLACEMENT = 36,
- /// An invalid character appears in the parameter key.
- ///
- INVALID_CHARACTERS_IN_URL_CUSTOM_PARAMETER_KEY = 37,
- /// An invalid character appears in the parameter value.
- ///
- INVALID_CHARACTERS_IN_URL_CUSTOM_PARAMETER_VALUE = 38,
- /// The url custom parameter value fails url tag validation.
- ///
- INVALID_TAG_IN_URL_CUSTOM_PARAMETER_VALUE = 39,
- /// The custom parameter contains nested occurrences of the same conditional tag
- /// (i.e. {ifmobile:{ifmobile:x}}).
- ///
- REDUNDANT_NESTED_URL_CUSTOM_PARAMETER_TAG = 40,
- /// The protocol (http:// or https://) is missing.
- ///
- MISSING_PROTOCOL = 41,
- /// The url is invalid.
- ///
- INVALID_URL = 42,
- /// Destination Url is deprecated.
- ///
- DESTINATION_URL_DEPRECATED = 43,
- /// The url contains invalid tag.
- ///
- INVALID_TAG_IN_URL = 44,
- /// The url must contain at least one tag (e.g. {lpurl}), This applies only to urls
- /// associated with website ads or product ads.
- ///
- MISSING_URL_TAG = 45,
- DUPLICATE_URL_ID = 47,
- INVALID_URL_ID = 48,
- URL_ERROR = 46,
- }
-
-
- /// Errors associated with the length of the given string being out of bounds.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class StringLengthError : ApiError
- {
- private StringLengthErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// The error reason represented by an enum.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public StringLengthErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The reasons for the target error.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "StringLengthError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum StringLengthErrorReason
- {
- TOO_SHORT = 0,
- TOO_LONG = 1,
- }
-
-
- /// A list of error code for reporting invalid content of input strings.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class StringFormatError : ApiError
- {
- private StringFormatErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public StringFormatErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
- }
-
-
- /// The reasons for the target error.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "StringFormatError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum StringFormatErrorReason
- {
- UNKNOWN = 0,
- /// The input string value contains disallowed characters.
- ///
- ILLEGAL_CHARS = 1,
- /// The input string value is invalid for the associated field.
- ///
- INVALID_FORMAT = 2,
- }
-
-
- /// Represents possible error codes when querying for stats.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class StatsQueryError : ApiError
- {
- private StatsQueryErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// The error reason represented by an enum.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public StatsQueryErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The reasons for errors when querying for stats.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "StatsQueryError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum StatsQueryErrorReason
- {
- /// Date is outside of allowed range.
- ///
- DATE_NOT_IN_VALID_RANGE = 0,
- }
-
-
- /// Indicates that the number of entries in the request or response exceeds the
- /// system limit.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class SizeLimitError : ApiError
- {
- private SizeLimitErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// The error reason represented by an enum.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public SizeLimitErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The reasons for Ad Scheduling errors.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "SizeLimitError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum SizeLimitErrorReason
- {
- /// The number of entries in the request exceeds the system limit.
- ///
- REQUEST_SIZE_LIMIT_EXCEEDED = 0,
- /// The number of entries in the response exceeds the system limit.
- ///
- RESPONSE_SIZE_LIMIT_EXCEEDED = 1,
- /// The account is too large to load.
- ///
- INTERNAL_STORAGE_ERROR = 2,
- /// Used for return value only. An enumeration
- /// could not be processed, typically due to incompatibility with your WSDL
- /// version.
- ///
- UNKNOWN = 3,
- }
-
-
- /// Represents possible error codes for Selector.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class SelectorError : ApiError
- {
- private SelectorErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// The error reason represented by enum.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public SelectorErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The reasons for the target error.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "SelectorError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum SelectorErrorReason
- {
- /// The field name is not valid.
- ///
- INVALID_FIELD_NAME = 0,
- /// The list of fields is null or empty.
- ///
- MISSING_FIELDS = 1,
- /// The list of predicates is null or empty.
- ///
- MISSING_PREDICATES = 2,
- /// Predicate operator does not support multiple values. Multiple values are
- /// supported only for Predicate.Operator#IN and
- /// Predicate.Operator#NOT_IN.
- ///
- OPERATOR_DOES_NOT_SUPPORT_MULTIPLE_VALUES = 3,
- /// The predicate enum value is not valid.
- ///
- INVALID_PREDICATE_ENUM_VALUE = 4,
- /// The predicate operator is empty.
- ///
- MISSING_PREDICATE_OPERATOR = 5,
- /// The predicate values are empty.
- ///
- MISSING_PREDICATE_VALUES = 6,
- /// The predicate field name is not valid.
- ///
- INVALID_PREDICATE_FIELD_NAME = 7,
- /// The predicate operator is not valid.
- ///
- INVALID_PREDICATE_OPERATOR = 8,
- /// Invalid selection of fields.
- ///
- INVALID_FIELD_SELECTION = 9,
- /// The predicate value is not valid.
- ///
- INVALID_PREDICATE_VALUE = 10,
- /// The sort field name is not valid or the field is not sortable.
- ///
- INVALID_SORT_FIELD_NAME = 11,
- /// Standard error.
- ///
- SELECTOR_ERROR = 12,
- /// Filtering by date range is not supported.
- ///
- FILTER_BY_DATE_RANGE_NOT_SUPPORTED = 13,
- /// Selector paging start index is too high.
- ///
- START_INDEX_IS_TOO_HIGH = 14,
- /// The values list in a predicate was too long.
- ///
- TOO_MANY_PREDICATE_VALUES = 15,
- /// Used for return value only. An enumeration
- /// could not be processed, typically due to incompatibility with your WSDL
- /// version.
- ///
- UNKNOWN_ERROR = 16,
- }
-
-
- /// Errors due to missing required field.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class RequiredError : ApiError
- {
- private RequiredErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// The error reason represented by an enum.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public RequiredErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The reasons for the target error.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "RequiredError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum RequiredErrorReason
- {
- /// Missing required field.
- ///
- REQUIRED = 0,
- }
-
-
- /// Encapsulates the generic errors thrown when there's an error with user request.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class RequestError : ApiError
- {
- private RequestErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public RequestErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "RequestError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum RequestErrorReason
- {
- /// Error reason is unknown.
- ///
- UNKNOWN = 0,
- /// Invalid input.
- ///
- INVALID_INPUT = 1,
- /// The api version in the request has been discontinued. Please update to the new
- /// AdWords API version.
- ///
- UNSUPPORTED_VERSION = 2,
- }
-
-
- /// Indicates that a field was rejected due to compatibility issues.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class RejectedError : ApiError
- {
- private RejectedErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// The error reason represented by an enum.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public RejectedErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The reasons for the target error.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "RejectedError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum RejectedErrorReason
- {
- /// Unknown value encountered
- ///
- UNKNOWN_VALUE = 0,
- }
-
-
- /// Errors from attempting to write to read-only fields.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class ReadOnlyError : ApiError
- {
- private ReadOnlyErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// The error reason represented by an enum.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public ReadOnlyErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The reasons for the target error.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "ReadOnlyError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum ReadOnlyErrorReason
- {
- READ_ONLY = 0,
- }
-
-
- /// Signals that a call failed because a measured rate exceeded.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class RateExceededError : ApiError
- {
- private RateExceededErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- private string rateNameField;
-
- private string rateScopeField;
-
- private int retryAfterSecondsField;
-
- private bool retryAfterSecondsFieldSpecified;
-
- /// The error reason represented by an enum.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public RateExceededErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// Cause of the rate exceeded error.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public string rateName
- {
- get
- {
- return this.rateNameField;
- }
- set
- {
- this.rateNameField = value;
- }
- }
-
- /// The scope of the rate (ACCOUNT/DEVELOPER).
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public string rateScope
- {
- get
- {
- return this.rateScopeField;
- }
- set
- {
- this.rateScopeField = value;
- }
- }
-
- /// The amount of time (in seconds) the client should wait before retrying the
- /// request.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public int retryAfterSeconds
- {
- get
- {
- return this.retryAfterSecondsField;
- }
- set
- {
- this.retryAfterSecondsField = value;
- this.retryAfterSecondsSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool retryAfterSecondsSpecified
- {
- get
- {
- return this.retryAfterSecondsFieldSpecified;
- }
- set
- {
- this.retryAfterSecondsFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The reason for the rate exceeded error.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "RateExceededError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum RateExceededErrorReason
- {
- /// Rate exceeded.
- ///
- RATE_EXCEEDED = 0,
- }
-
-
- /// A list of all errors associated with the Range constraint.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class RangeError : ApiError
- {
- private RangeErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// The error reason represented by an enum.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public RangeErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The reasons for the target error.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "RangeError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum RangeErrorReason
- {
- TOO_LOW = 0,
- TOO_HIGH = 1,
- }
-
-
- /// Encapsulates the errors thrown during developer quota checks.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class QuotaCheckError : ApiError
- {
- private QuotaCheckErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public QuotaCheckErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
- }
-
-
- /// Enums for all the reasons an error can be thrown to the user during billing
- /// quota checks.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "QuotaCheckError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum QuotaCheckErrorReason
- {
- /// Customer passed in an invalid token in the header.
- ///
- INVALID_TOKEN_HEADER = 0,
- /// Customer is marked delinquent.
- ///
- ACCOUNT_DELINQUENT = 1,
- /// Customer is a fraudulent.
- ///
- ACCOUNT_INACCESSIBLE = 2,
- /// Inactive Account.
- ///
- ACCOUNT_INACTIVE = 3,
- /// Signup not complete
- ///
- INCOMPLETE_SIGNUP = 4,
- /// Developer token is not approved for production access, and the customer is
- /// attempting to access a production account.
- ///
- DEVELOPER_TOKEN_NOT_APPROVED = 5,
- /// Terms and conditions are not signed.
- ///
- TERMS_AND_CONDITIONS_NOT_SIGNED = 6,
- /// Monthly budget quota reached.
- ///
- MONTHLY_BUDGET_REACHED = 7,
- /// Monthly budget quota exceeded.
- ///
- QUOTA_EXCEEDED = 8,
- }
-
-
- /// A QueryError represents possible errors for query parsing and execution.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class QueryError : ApiError
- {
- private QueryErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- private string messageField;
-
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public QueryErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public string message
- {
- get
- {
- return this.messageField;
- }
- set
- {
- this.messageField = value;
- }
- }
- }
-
-
- /// The reason for the query error.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "QueryError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum QueryErrorReason
- {
- /// Exception that happens when trying to parse a query that doesn't match the AWQL
- /// grammar.
- ///
- PARSING_FAILED = 0,
- /// The provided query is an empty string.
- ///
- MISSING_QUERY = 1,
- /// The query does not contain the required SELECT clause or it is not in the
- /// correct location.
- ///
- MISSING_SELECT_CLAUSE = 2,
- /// The query does not contain the required FROM clause or it is not in the correct
- /// location.
- ///
- MISSING_FROM_CLAUSE = 3,
- /// The SELECT clause could not be parsed.
- ///
- INVALID_SELECT_CLAUSE = 4,
- /// The FROM clause could not be parsed.
- ///
- INVALID_FROM_CLAUSE = 5,
- /// The WHERE clause could not be parsed.
- ///
- INVALID_WHERE_CLAUSE = 6,
- /// The ORDER BY clause could not be parsed.
- ///
- INVALID_ORDER_BY_CLAUSE = 7,
- /// The LIMIT clause could not be parsed.
- ///
- INVALID_LIMIT_CLAUSE = 8,
- /// The startIndex in the LIMIT clause does not contain a valid integer.
- ///
- INVALID_START_INDEX_IN_LIMIT_CLAUSE = 9,
- /// The pageSize in the LIMIT clause does not contain a valid integer.
- ///
- INVALID_PAGE_SIZE_IN_LIMIT_CLAUSE = 10,
- /// The DURING clause could not be parsed.
- ///
- INVALID_DURING_CLAUSE = 11,
- /// The minimum date in the DURING clause is not a valid date in YYYYMMDD format.
- ///
- INVALID_MIN_DATE_IN_DURING_CLAUSE = 12,
- /// The maximum date in the DURING clause is not a valid date in YYYYMMDD format.
- ///
- INVALID_MAX_DATE_IN_DURING_CLAUSE = 13,
- /// The minimum date in the DURING is after the maximum date.
- ///
- MAX_LESS_THAN_MIN_IN_DURING_CLAUSE = 14,
- /// The query matched the grammar, but is invalid in some way such as using a
- /// service that isn't supported.
- ///
- VALIDATION_FAILED = 15,
- }
-
-
- /// Represents violations of a single policy by some text in a field. Violations of
- /// a single policy by the same string in multiple places within a field is reported
- /// in one instance of this class and only one exemption needs to be filed.
- /// Violations of a single policy by two different strings is reported as two
- /// separate instances of this class. e.g. If 'ACME' violates 'capitalization' and
- /// occurs twice in a text ad it would be represented by one instance. If the ad
- /// also contains 'INC' which also violates 'capitalization' it would be represented
- /// in a separate instance.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CriterionPolicyError))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AdParamPolicyError))]
- public partial class PolicyViolationError : ApiError
- {
- private PolicyViolationKey keyField;
-
- private string externalPolicyNameField;
-
- private string externalPolicyUrlField;
-
- private string externalPolicyDescriptionField;
-
- private bool isExemptableField;
-
- private bool isExemptableFieldSpecified;
-
- private PolicyViolationErrorPart[] violatingPartsField;
-
- /// Unique identifier for the violation.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public PolicyViolationKey key
- {
- get
- {
- return this.keyField;
- }
- set
- {
- this.keyField = value;
- }
- }
-
- /// Name of policy suitable for display to users. In the user's preferred language.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public string externalPolicyName
- {
- get
- {
- return this.externalPolicyNameField;
- }
- set
- {
- this.externalPolicyNameField = value;
- }
- }
-
- /// Url with writeup about the policy.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public string externalPolicyUrl
- {
- get
- {
- return this.externalPolicyUrlField;
- }
- set
- {
- this.externalPolicyUrlField = value;
- }
- }
-
- /// Localized description of the violation.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public string externalPolicyDescription
- {
- get
- {
- return this.externalPolicyDescriptionField;
- }
- set
- {
- this.externalPolicyDescriptionField = value;
- }
- }
-
- /// Whether user can file an exemption request for this violation.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 4)]
- public bool isExemptable
- {
- get
- {
- return this.isExemptableField;
- }
- set
- {
- this.isExemptableField = value;
- this.isExemptableSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool isExemptableSpecified
- {
- get
- {
- return this.isExemptableFieldSpecified;
- }
- set
- {
- this.isExemptableFieldSpecified = value;
- }
- }
-
- /// Lists the parts that violate the policy.
- ///
- [System.Xml.Serialization.XmlElementAttribute("violatingParts", Order = 5)]
- public PolicyViolationErrorPart[] violatingParts
- {
- get
- {
- return this.violatingPartsField;
- }
- set
- {
- this.violatingPartsField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Error indicating that an entity will be disapproved unless changes are made to
- /// it before it is saved. This error occurs when the entity will have a policy
- /// summary that includes a PROHIBITED policy topic entry.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class PolicyFindingError : ApiError
- {
- private PolicyFindingErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- private PolicyTopicEntry[] policySummaryField;
-
- /// Error reason enum.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public PolicyFindingErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// Policy summary containing the policy topic that caused the error.
- ///
- [System.Xml.Serialization.XmlArrayAttribute(Order = 1)]
- [System.Xml.Serialization.XmlArrayItemAttribute("policyTopicEntries", IsNullable = false)]
- public PolicyTopicEntry[] policySummary
- {
- get
- {
- return this.policySummaryField;
- }
- set
- {
- this.policySummaryField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// PolicyFindingError error codes.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "PolicyFindingError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum PolicyFindingErrorReason
- {
- POLICY_FINDING = 0,
- }
-
-
- /// Error codes for pagination.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class PagingError : ApiError
- {
- private PagingErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// The error reason represented by an enum.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public PagingErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The reasons for errors when using pagination.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "PagingError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum PagingErrorReason
- {
- /// The start index value cannot be a negative number.
- ///
- START_INDEX_CANNOT_BE_NEGATIVE = 0,
- /// The number of results cannot be a negative number.
- ///
- NUMBER_OF_RESULTS_CANNOT_BE_NEGATIVE = 1,
- /// Used for return value only. An enumeration
- /// could not be processed, typically due to incompatibility with your WSDL
- /// version.
- ///
- UNKNOWN = 2,
- }
-
-
- /// Errors due to the use of unsupported operations.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class OperatorError : ApiError
- {
- private OperatorErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// The error reason represented by an enum.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public OperatorErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The reasons for the validation error.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "OperatorError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum OperatorErrorReason
- {
- OPERATOR_NOT_SUPPORTED = 0,
- }
-
-
- /// Operation not permitted due to the invoked service's access policy.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class OperationAccessDenied : ApiError
- {
- private OperationAccessDeniedReason reasonField;
-
- private bool reasonFieldSpecified;
-
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public OperationAccessDeniedReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
- }
-
-
- /// The reasons for the operation access error.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "OperationAccessDenied.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum OperationAccessDeniedReason
- {
- /// Unauthorized invocation of a service's method (get, mutate, etc.)
- ///
- ACTION_NOT_PERMITTED = 0,
- /// Unauthorized ADD operation in invoking a service's mutate method.
- ///
- ADD_OPERATION_NOT_PERMITTED = 1,
- /// Unauthorized REMOVE operation in invoking a service's mutate method.
- ///
- REMOVE_OPERATION_NOT_PERMITTED = 2,
- /// Unauthorized SET operation in invoking a service's mutate method.
- ///
- SET_OPERATION_NOT_PERMITTED = 3,
- /// A mutate action is not allowed on this campaign, from this client.
- ///
- MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT = 4,
- /// This operation is not permitted on this campaign type
- ///
- OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE = 5,
- /// An ADD operation may not set status to REMOVED.
- ///
- ADD_AS_REMOVED_NOT_PERMITTED = 6,
- /// This operation is not allowed because the campaign or adgroup is removed.
- ///
- OPERATION_NOT_PERMITTED_FOR_REMOVED_ENTITY = 7,
- /// This operation is not permitted on this ad group type.
- ///
- OPERATION_NOT_PERMITTED_FOR_AD_GROUP_TYPE = 9,
- /// The reason the invoked method or operation is prohibited is not known (the
- /// client may be of an older version than the server).
- ///
- UNKNOWN = 8,
- }
-
-
- /// Errors associated with violation of a NOT NULL check.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class NullError : ApiError
- {
- private NullErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// The error reason represented by an enum.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public NullErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The reasons for the validation error.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "NullError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum NullErrorReason
- {
- /// Specified list/container must not contain any null elements
- ///
- NULL_CONTENT = 0,
- }
-
-
- /// Errors corresponding with violation of a NOT EMPTY check.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class NotEmptyError : ApiError
- {
- private NotEmptyErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// The error reason represented by an enum.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public NotEmptyErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The reasons for the validation error.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "NotEmptyError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum NotEmptyErrorReason
- {
- EMPTY_LIST = 0,
- }
-
-
- /// Error associated with creation of new entities.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class NewEntityCreationError : ApiError
- {
- private NewEntityCreationErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// The error reason represented by an enum.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public NewEntityCreationErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "NewEntityCreationError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum NewEntityCreationErrorReason
- {
- /// Do not set the id field while creating new entities.
- ///
- CANNOT_SET_ID_FOR_ADD = 0,
- /// Creating more than one entity with the same temp ID is not allowed.
- ///
- DUPLICATE_TEMP_IDS = 1,
- /// Parent object with specified temp id failed validation, so no deep validation
- /// will be done for this child entity.
- ///
- TEMP_ID_ENTITY_HAD_ERRORS = 2,
- }
-
-
- /// Error class for media related errors.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class MediaError : ApiError
- {
- private MediaErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// The error reason represented by an enum.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public MediaErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The reasons for the target error.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "MediaError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum MediaErrorReason
- {
- /// Cannot add a standard icon type
- ///
- CANNOT_ADD_STANDARD_ICON = 0,
- /// May only select Standard Icons alone
- ///
- CANNOT_SELECT_STANDARD_ICON_WITH_OTHER_TYPES = 1,
- /// Image contains both a media ID and media data.
- ///
- CANNOT_SPECIFY_MEDIA_ID_AND_DATA = 22,
- /// A media with given type and reference id already exists
- ///
- DUPLICATE_MEDIA = 2,
- /// A required field was not specified or is an empty string.
- ///
- EMPTY_FIELD = 3,
- /// A media may only be modified once per call
- ///
- ENTITY_REFERENCED_IN_MULTIPLE_OPS = 4,
- /// Field is not supported for the media sub type.
- ///
- FIELD_NOT_SUPPORTED_FOR_MEDIA_SUB_TYPE = 5,
- /// The media id is invalid
- ///
- INVALID_MEDIA_ID = 6,
- /// The media subtype is invalid
- ///
- INVALID_MEDIA_SUB_TYPE = 7,
- /// The media type is invalid
- ///
- INVALID_MEDIA_TYPE = 8,
- /// The mimetype is invalid
- ///
- INVALID_MIME_TYPE = 23,
- /// The media reference id is invalid
- ///
- INVALID_REFERENCE_ID = 9,
- /// The YouTube video id is invalid
- ///
- INVALID_YOU_TUBE_ID = 10,
- /// Media has failed transcoding
- ///
- MEDIA_FAILED_TRANSCODING = 11,
- /// Media has not been transcoded
- ///
- MEDIA_NOT_TRANSCODED = 12,
- /// The MediaType does not match the actual media object's type
- ///
- MEDIA_TYPE_DOES_NOT_MATCH_OBJECT_TYPE = 13,
- /// None of the fields have been specified.
- ///
- NO_FIELDS_SPECIFIED = 14,
- /// One of reference Id or media Id must be specified
- ///
- NULL_REFERENCE_ID_AND_MEDIA_ID = 15,
- /// The string has too many characters.
- ///
- TOO_LONG = 16,
- /// The specified operation is not supported. Only ADD, SET, and REMOVE are
- /// supported
- ///
- UNSUPPORTED_OPERATION = 17,
- /// The specified type is not supported.
- ///
- UNSUPPORTED_TYPE = 18,
- /// YouTube is unavailable for requesting video data.
- ///
- YOU_TUBE_SERVICE_UNAVAILABLE = 19,
- /// The YouTube video has a non positive duration.
- ///
- YOU_TUBE_VIDEO_HAS_NON_POSITIVE_DURATION = 20,
- /// The YouTube video id is syntactically valid but the video was not found.
- ///
- YOU_TUBE_VIDEO_NOT_FOUND = 21,
- }
-
-
- /// Error class for errors associated with parsing media bundle data.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class MediaBundleError : ApiError
- {
- private MediaBundleErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// The error reason represented by an enum.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public MediaBundleErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Enumeration of the reasons for the MediaBundleError
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "MediaBundleError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum MediaBundleErrorReason
- {
- /// The entryPoint field cannot be set using the MediaService.
- ///
- ENTRY_POINT_CANNOT_BE_SET_USING_MEDIA_SERVICE = 0,
- /// There was a problem with the request.
- ///
- BAD_REQUEST = 1,
- /// HTML5 ads using DoubleClick Studio created ZIP files are not supported.
- ///
- DOUBLECLICK_BUNDLE_NOT_ALLOWED = 2,
- /// Cannot reference URL external to the media bundle.
- ///
- EXTERNAL_URL_NOT_ALLOWED = 3,
- /// Media bundle file is too large.
- ///
- FILE_TOO_LARGE = 4,
- /// ZIP file from Google Web Designer is not published.
- ///
- GOOGLE_WEB_DESIGNER_ZIP_FILE_NOT_PUBLISHED = 5,
- /// Input was invalid.
- ///
- INVALID_INPUT = 6,
- /// There was a problem with the media bundle.
- ///
- INVALID_MEDIA_BUNDLE = 7,
- /// There was a problem with one or more of the media bundle entries.
- ///
- INVALID_MEDIA_BUNDLE_ENTRY = 8,
- /// The media bundle contains a file with an unknown mime type
- ///
- INVALID_MIME_TYPE = 9,
- /// The media bundle contain an invalid asset path.
- ///
- INVALID_PATH = 10,
- /// HTML5 ad is trying to reference an asset not in .ZIP file
- ///
- INVALID_URL_REFERENCE = 11,
- /// Media data is too large.
- ///
- MEDIA_DATA_TOO_LARGE = 12,
- /// The media bundle contains no primary entry.
- ///
- MISSING_PRIMARY_MEDIA_BUNDLE_ENTRY = 13,
- /// There was an error on the server.
- ///
- SERVER_ERROR = 14,
- /// The image could not be stored.
- ///
- STORAGE_ERROR = 15,
- /// Media bundle created with the Swiffy tool is not allowed.
- ///
- SWIFFY_BUNDLE_NOT_ALLOWED = 16,
- /// The media bundle contains too many files.
- ///
- TOO_MANY_FILES = 17,
- /// The media bundle is not of legal dimensions.
- ///
- UNEXPECTED_SIZE = 18,
- /// Google Web Designer not created for "AdWords" environment.
- ///
- UNSUPPORTED_GOOGLE_WEB_DESIGNER_ENVIRONMENT = 19,
- /// Unsupported HTML5 feature in HTML5 asset.
- ///
- UNSUPPORTED_HTML5_FEATURE = 20,
- /// URL in HTML5 entry is not ssl compliant.
- ///
- URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT = 21,
- /// Custom exits not allowed in HTML5 entry.
- ///
- CUSTOM_EXIT_NOT_ALLOWED = 22,
- }
-
-
- /// Indicates that a server-side error has occured. s are generally not
- /// the result of an invalid request or message sent by the client.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class InternalApiError : ApiError
- {
- private InternalApiErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// The error reason represented by an enum.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public InternalApiErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The single reason for the internal API error.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "InternalApiError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum InternalApiErrorReason
- {
- /// API encountered an unexpected internal error.
- ///
- UNEXPECTED_INTERNAL_API_ERROR = 0,
- /// A temporary error occurred during the request. Please retry.
- ///
- TRANSIENT_ERROR = 1,
- /// The cause of the error is not known or only defined in newer versions.
- ///
- UNKNOWN = 2,
- /// The API is currently unavailable for a planned downtime.
- ///
- DOWNTIME = 3,
- /// Mutate succeeded but server was unable to build response. Client should not
- /// retry mutate.
- ///
- ERROR_GENERATING_RESPONSE = 4,
- }
-
-
- /// Error class for errors associated with parsing image data.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class ImageError : ApiError
- {
- private ImageErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// The error reason represented by an enum.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public ImageErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "ImageError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum ImageErrorReason
- {
- /// The image is not valid.
- ///
- INVALID_IMAGE = 0,
- /// The image could not be stored.
- ///
- STORAGE_ERROR = 1,
- /// There was a problem with the request.
- ///
- BAD_REQUEST = 2,
- /// The image is not of legal dimensions.
- ///
- UNEXPECTED_SIZE = 3,
- /// Animated image are not permitted.
- ///
- ANIMATED_NOT_ALLOWED = 4,
- /// Animation is too long.
- ///
- ANIMATION_TOO_LONG = 5,
- /// There was an error on the server.
- ///
- SERVER_ERROR = 6,
- /// Image cannot be in CMYK color format.
- ///
- CMYK_JPEG_NOT_ALLOWED = 7,
- /// Flash images are not permitted.
- ///
- FLASH_NOT_ALLOWED = 8,
- /// Flash images must support clickTag.
- ///
- FLASH_WITHOUT_CLICKTAG = 9,
- /// A flash error has occurred after fixing the click tag.
- ///
- FLASH_ERROR_AFTER_FIXING_CLICK_TAG = 10,
- /// Unacceptable visual effects.
- ///
- ANIMATED_VISUAL_EFFECT = 11,
- /// There was a problem with the flash image.
- ///
- FLASH_ERROR = 12,
- /// Incorrect image layout.
- ///
- LAYOUT_PROBLEM = 13,
- /// There was a problem reading the image file.
- ///
- PROBLEM_READING_IMAGE_FILE = 14,
- /// There was an error storing the image.
- ///
- ERROR_STORING_IMAGE = 15,
- /// The aspect ratio of the image is not allowed.
- ///
- ASPECT_RATIO_NOT_ALLOWED = 36,
- /// Flash cannot have network objects.
- ///
- FLASH_HAS_NETWORK_OBJECTS = 16,
- /// Flash cannot have network methods.
- ///
- FLASH_HAS_NETWORK_METHODS = 17,
- /// Flash cannot have a Url.
- ///
- FLASH_HAS_URL = 18,
- /// Flash cannot use mouse tracking.
- ///
- FLASH_HAS_MOUSE_TRACKING = 19,
- /// Flash cannot have a random number.
- ///
- FLASH_HAS_RANDOM_NUM = 20,
- /// Ad click target cannot be '_self'.
- ///
- FLASH_SELF_TARGETS = 21,
- /// GetUrl method should only use '_blank'.
- ///
- FLASH_BAD_GETURL_TARGET = 22,
- /// Flash version is not supported.
- ///
- FLASH_VERSION_NOT_SUPPORTED = 23,
- /// Flash movies need to have hard coded click URL or clickTAG
- ///
- FLASH_WITHOUT_HARD_CODED_CLICK_URL = 24,
- /// Uploaded flash file is corrupted.
- ///
- INVALID_FLASH_FILE = 25,
- /// Uploaded flash file can be parsed, but the click tag can not be fixed properly.
- ///
- FAILED_TO_FIX_CLICK_TAG_IN_FLASH = 26,
- /// Flash movie accesses network resources
- ///
- FLASH_ACCESSES_NETWORK_RESOURCES = 27,
- /// Flash movie attempts to call external javascript code
- ///
- FLASH_EXTERNAL_JS_CALL = 28,
- /// Flash movie attempts to call flash system commands
- ///
- FLASH_EXTERNAL_FS_CALL = 29,
- /// Image file is too large.
- ///
- FILE_TOO_LARGE = 30,
- /// Image data is too large.
- ///
- IMAGE_DATA_TOO_LARGE = 31,
- /// Error while processing the image.
- ///
- IMAGE_PROCESSING_ERROR = 32,
- /// Image is too small.
- ///
- IMAGE_TOO_SMALL = 33,
- /// Input was invalid.
- ///
- INVALID_INPUT = 34,
- /// There was a problem reading the image file.
- ///
- PROBLEM_READING_FILE = 35,
- }
-
-
- /// Errors associated with the ids.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class IdError : ApiError
- {
- private IdErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// The error reason represented by an enum.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public IdErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The reasons for the target error.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "IdError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum IdErrorReason
- {
- /// Id not found
- ///
- NOT_FOUND = 0,
- }
-
-
- /// An error resulting from a failure to parse the textual representation of a
- /// function.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class FunctionParsingError : ApiError
- {
- private FunctionParsingErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- private string offendingTextField;
-
- private int offendingTextIndexField;
-
- private bool offendingTextIndexFieldSpecified;
-
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public FunctionParsingErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public string offendingText
- {
- get
- {
- return this.offendingTextField;
- }
- set
- {
- this.offendingTextField = value;
- }
- }
-
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public int offendingTextIndex
- {
- get
- {
- return this.offendingTextIndexField;
- }
- set
- {
- this.offendingTextIndexField = value;
- this.offendingTextIndexSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool offendingTextIndexSpecified
- {
- get
- {
- return this.offendingTextIndexFieldSpecified;
- }
- set
- {
- this.offendingTextIndexFieldSpecified = value;
- }
- }
- }
-
-
- /// Function parsing error reason.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "FunctionParsingError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum FunctionParsingErrorReason
- {
- /// Unexpected end of function string.
- ///
- NO_MORE_INPUT = 0,
- /// Could not find an expected character.
- ///
- EXPECTED_CHARACTER = 1,
- /// Unexpected separator character.
- ///
- UNEXPECTED_SEPARATOR = 2,
- /// Unmatched left bracket or parenthesis.
- ///
- UNMATCHED_LEFT_BRACKET = 3,
- /// Unmatched right bracket or parenthesis.
- ///
- UNMATCHED_RIGHT_BRACKET = 4,
- /// Functions are nested too deeply.
- ///
- TOO_MANY_NESTED_FUNCTIONS = 5,
- /// Missing right-hand-side operand.
- ///
- MISSING_RIGHT_HAND_OPERAND = 6,
- /// Invalid operator/function name.
- ///
- INVALID_OPERATOR_NAME = 7,
- /// Feed attribute operand's argument is not an integer.
- ///
- FEED_ATTRIBUTE_OPERAND_ARGUMENT_NOT_INTEGER = 8,
- /// Missing function operands.
- ///
- NO_OPERANDS = 9,
- /// Function had too many operands.
- ///
- TOO_MANY_OPERANDS = 10,
- UNKNOWN = 11,
- }
-
-
- /// Errors that indicate issues with the function.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class FunctionError : ApiError
- {
- private FunctionErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// The error reason represented by an enum
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public FunctionErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The reasons for the target error.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "FunctionError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum FunctionErrorReason
- {
- /// The format of the function is not recognized as a supported function format.
- ///
- INVALID_FUNCTION_FORMAT = 0,
- /// Operand data types do not match.
- ///
- DATA_TYPE_MISMATCH = 1,
- /// The operands cannot be used together in a conjunction.
- ///
- INVALID_CONJUNCTION_OPERANDS = 2,
- /// Invalid numer of Operands.
- ///
- INVALID_NUMBER_OF_OPERANDS = 3,
- /// Operand Type not supported.
- ///
- INVALID_OPERAND_TYPE = 4,
- /// Operator not supported.
- ///
- INVALID_OPERATOR = 5,
- /// Request context type not supported.
- ///
- INVALID_REQUEST_CONTEXT_TYPE = 6,
- /// The matching function is not allowed for call placeholders
- ///
- INVALID_FUNCTION_FOR_CALL_PLACEHOLDER = 7,
- /// The matching function is not allowed for the specified placeholder
- ///
- INVALID_FUNCTION_FOR_PLACEHOLDER = 8,
- /// Invalid operand.
- ///
- INVALID_OPERAND = 9,
- /// Missing value for the constant operand.
- ///
- MISSING_CONSTANT_OPERAND_VALUE = 10,
- /// The value of the constant operand is invalid.
- ///
- INVALID_CONSTANT_OPERAND_VALUE = 11,
- /// Invalid function nesting.
- ///
- INVALID_NESTING = 12,
- /// The Feed ID was different from another Feed ID in the same function.
- ///
- MULTIPLE_FEED_IDS_NOT_SUPPORTED = 13,
- /// The matching function is invalid for use with a feed with a fixed schema.
- ///
- INVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA = 16,
- /// Invalid attribute name.
- ///
- INVALID_ATTRIBUTE_NAME = 14,
- UNKNOWN = 15,
- }
-
-
- /// A ForwardComptibilityError represents possible errors when using the
- /// forwardCompatibilityMap in some of the common services.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class ForwardCompatibilityError : ApiError
- {
- private ForwardCompatibilityErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// The error reason represented by an enum.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public ForwardCompatibilityErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The reason for the error.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "ForwardCompatibilityError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum ForwardCompatibilityErrorReason
- {
- /// Invalid value specified for a key in the forward compatibility map.
- ///
- INVALID_FORWARD_COMPATIBILITY_MAP_VALUE = 0,
- UNKNOWN = 1,
- }
-
-
- /// An error indicating a problem with a reference to a feed attribute in an ad.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class FeedAttributeReferenceError : ApiError
- {
- private FeedAttributeReferenceErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- private string feedNameField;
-
- private string feedAttributeNameField;
-
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public FeedAttributeReferenceErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// The referenced feed name.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public string feedName
- {
- get
- {
- return this.feedNameField;
- }
- set
- {
- this.feedNameField = value;
- }
- }
-
- /// The referenced feed attribute name.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public string feedAttributeName
- {
- get
- {
- return this.feedAttributeNameField;
- }
- set
- {
- this.feedAttributeNameField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Feed attribute reference error reasons.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "FeedAttributeReferenceError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum FeedAttributeReferenceErrorReason
- {
- /// A feed referenced by ID has been deleted.
- ///
- CANNOT_REFERENCE_DELETED_FEED = 0,
- /// There is no active feed with the given name.
- ///
- INVALID_FEED_NAME = 1,
- /// There is no feed attribute in an active feed with the given name.
- ///
- INVALID_FEED_ATTRIBUTE_NAME = 2,
- }
-
-
- /// An id did not correspond to an entity, or it referred to an entity which does
- /// not belong to the customer.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class EntityNotFound : ApiError
- {
- private EntityNotFoundReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// Reason for this error.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public EntityNotFoundReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "EntityNotFound.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum EntityNotFoundReason
- {
- /// The specified id refered to an entity which either doesn't exist or is not
- /// accessible to the customer. e.g. campaign belongs to another customer.
- ///
- INVALID_ID = 0,
- }
-
-
- /// Signals that an entity count limit was exceeded for some level. For example, too
- /// many criteria for a campaign.
- ///
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AdGroupAdCountLimitExceeded))]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AdGroupCriterionLimitExceeded))]
- public partial class EntityCountLimitExceeded : ApiError
- {
- private EntityCountLimitExceededReason reasonField;
-
- private bool reasonFieldSpecified;
-
- private string enclosingIdField;
-
- private int limitField;
-
- private bool limitFieldSpecified;
-
- private string accountLimitTypeField;
-
- private int existingCountField;
-
- private bool existingCountFieldSpecified;
-
- /// Specifies which level's limit was exceeded.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public EntityCountLimitExceededReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// Id of the entity whose limit was exceeded.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public string enclosingId
- {
- get
- {
- return this.enclosingIdField;
- }
- set
- {
- this.enclosingIdField = value;
- }
- }
-
- /// The limit which was exceeded.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public int limit
- {
- get
- {
- return this.limitField;
- }
- set
- {
- this.limitField = value;
- this.limitSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool limitSpecified
- {
- get
- {
- return this.limitFieldSpecified;
- }
- set
- {
- this.limitFieldSpecified = value;
- }
- }
-
- /// The account limit type which was exceeded.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public string accountLimitType
- {
- get
- {
- return this.accountLimitTypeField;
- }
- set
- {
- this.accountLimitTypeField = value;
- }
- }
-
- /// The count of existing entities.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 4)]
- public int existingCount
- {
- get
- {
- return this.existingCountField;
- }
- set
- {
- this.existingCountField = value;
- this.existingCountSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool existingCountSpecified
- {
- get
- {
- return this.existingCountFieldSpecified;
- }
- set
- {
- this.existingCountFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Limits at various levels of the account.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "EntityCountLimitExceeded.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum EntityCountLimitExceededReason
- {
- /// Indicates that this request would exceed the number of allowed entities for the
- /// AdWords account. The exact entity type and limit being checked can be inferred
- /// from #accountLimitType.
- ///
- ACCOUNT_LIMIT = 0,
- /// Indicates that this request would exceed the number of allowed entities in a
- /// Campaign. The exact entity type and limit being checked can be inferred from #accountLimitType, and the numeric id of the
- /// Campaign involved is given by #enclosingId.
- ///
- CAMPAIGN_LIMIT = 1,
- /// Indicates that this request would exceed the number of allowed entities in an ad
- /// group. The exact entity type and limit being checked can be inferred from #accountLimitType, and the numeric id of the ad
- /// group involved is given by #enclosingId.
- ///
- ADGROUP_LIMIT = 2,
- /// Indicates that this request would exceed the number of allowed entities in an ad
- /// group ad. The exact entity type and limit being checked can be inferred from #accountLimitType, and the #enclosingId contains the ad group id followed by the ad
- /// id, separated by a single comma (,).
- ///
- AD_GROUP_AD_LIMIT = 3,
- /// Indicates that this request would exceed the number of allowed entities in an ad
- /// group criterion. The exact entity type and limit being checked can be inferred
- /// from #accountLimitType, and the #enclosingId contains the ad group id followed by the
- /// criterion id, separated by a single comma (,).
- ///
- AD_GROUP_CRITERION_LIMIT = 4,
- /// Indicates that this request would exceed the number of allowed entities in this
- /// shared set. The exact entity type and limit being checked can be inferred from
- /// #accountLimitType, and the numeric id of the
- /// shared set involved is given by #enclosingId.
- ///
- SHARED_SET_LIMIT = 5,
- /// Exceeds a limit related to a matching function.
- ///
- MATCHING_FUNCTION_LIMIT = 6,
- /// Specific limit that has been exceeded is unknown (the client may be of an older
- /// version than the server).
- ///
- UNKNOWN = 7,
- }
-
-
- /// Indicates too many ads were added/enabled under the specified adgroup.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class AdGroupAdCountLimitExceeded : EntityCountLimitExceeded
- {
- }
-
-
- /// Reports permission problems trying to access an entity.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class EntityAccessDenied : ApiError
- {
- private EntityAccessDeniedReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// Reason for this error.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public EntityAccessDeniedReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "EntityAccessDenied.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum EntityAccessDeniedReason
- {
- /// User did not have read access.
- ///
- READ_ACCESS_DENIED = 0,
- /// User did not have write access.
- ///
- WRITE_ACCESS_DENIED = 1,
- }
-
-
- /// Errors related to distinct ids or content.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class DistinctError : ApiError
- {
- private DistinctErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// The error reason represented by an enum.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public DistinctErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The reasons for the validation error.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "DistinctError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum DistinctErrorReason
- {
- DUPLICATE_ELEMENT = 0,
- DUPLICATE_TYPE = 1,
- }
-
-
- /// Errors associated with invalid dates and date ranges.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class DateError : ApiError
- {
- private DateErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// The error reason represented by an enum.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public DateErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The reasons for the target error.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "DateError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum DateErrorReason
- {
- /// Given field values do not correspond to a valid date.
- ///
- INVALID_FIELD_VALUES_IN_DATE = 0,
- /// Given field values do not correspond to a valid date time.
- ///
- INVALID_FIELD_VALUES_IN_DATE_TIME = 1,
- /// The string date's format should be yyyymmdd.
- ///
- INVALID_STRING_DATE = 2,
- /// The string date range's format should be yyyymmdd yyyymmdd.
- ///
- INVALID_STRING_DATE_RANGE = 3,
- /// The string date time's format should be yyyymmdd hhmmss [tz].
- ///
- INVALID_STRING_DATE_TIME = 4,
- /// Date is before allowed minimum.
- ///
- EARLIER_THAN_MINIMUM_DATE = 5,
- /// Date is after allowed maximum.
- ///
- LATER_THAN_MAXIMUM_DATE = 6,
- /// Date range bounds are not in order.
- ///
- DATE_RANGE_MINIMUM_DATE_LATER_THAN_MAXIMUM_DATE = 7,
- /// Both dates in range are null.
- ///
- DATE_RANGE_MINIMUM_AND_MAXIMUM_DATES_BOTH_NULL = 8,
- }
-
-
- /// Errors that are thrown due to a database access problem.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class DatabaseError : ApiError
- {
- private DatabaseErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// The error reason represented by an enum.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public DatabaseErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The reasons for the database error.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "DatabaseError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum DatabaseErrorReason
- {
- /// A concurrency problem occurred as two threads were attempting to modify same
- /// object.
- ///
- CONCURRENT_MODIFICATION = 0,
- /// The permission was denied to access an object.
- ///
- PERMISSION_DENIED = 1,
- /// The user's access to an object has been prohibited.
- ///
- ACCESS_PROHIBITED = 2,
- /// Requested campaign belongs to a product that is not supported by the api.
- ///
- CAMPAIGN_PRODUCT_NOT_SUPPORTED = 3,
- /// a duplicate key was detected upon insertion
- ///
- DUPLICATE_KEY = 4,
- /// a database error has occurred
- ///
- DATABASE_ERROR = 5,
- /// an unknown error has occurred
- ///
- UNKNOWN = 6,
- }
-
-
- /// Errors associated with the size of the given collection being out of bounds.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CollectionSizeError : ApiError
- {
- private CollectionSizeErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// The error reason represented by an enum.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public CollectionSizeErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The reasons for the target error.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "CollectionSizeError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum CollectionSizeErrorReason
- {
- TOO_FEW = 0,
- TOO_MANY = 1,
- }
-
-
- /// Error due to user not accepting the AdWords terms of service.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class ClientTermsError : ApiError
- {
- private ClientTermsErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public ClientTermsErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
- }
-
-
- /// Enums for the various reasons an error can be thrown as a result of ClientTerms
- /// violation.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "ClientTermsError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum ClientTermsErrorReason
- {
- /// Customer has not agreed to the latest AdWords Terms & Conditions
- ///
- INCOMPLETE_SIGNUP_CURRENT_ADWORDS_TNC_NOT_AGREED = 0,
- }
-
-
- /// Errors encountered when trying to authorize a user.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class AuthorizationError : ApiError
- {
- private AuthorizationErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// The error reason represented by an enum.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public AuthorizationErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The reasons for the authorization error.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "AuthorizationError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum AuthorizationErrorReason
- {
- /// Could not complete authorization due to an internal problem.
- ///
- UNABLE_TO_AUTHORIZE = 0,
- /// Customer has no AdWords account.
- ///
- NO_ADWORDS_ACCOUNT_FOR_CUSTOMER = 1,
- /// User doesn't have permission to access customer.
- ///
- USER_PERMISSION_DENIED = 2,
- /// Effective user doesn't have permission to access this customer.
- ///
- EFFECTIVE_USER_PERMISSION_DENIED = 3,
- /// Access denied since the customer is not active.
- ///
- CUSTOMER_NOT_ACTIVE = 7,
- /// User has read-only permission cannot mutate.
- ///
- USER_HAS_READONLY_PERMISSION = 4,
- /// No customer found.
- ///
- NO_CUSTOMER_FOUND = 5,
- /// Developer doesn't have permission to access service.
- ///
- SERVICE_ACCESS_DENIED = 6,
- /// The customer has a policy to enforce 2-Step Verification, but the user is not
- /// enrolled.
- ///
- TWO_STEP_VERIFICATION_NOT_ENROLLED = 8,
- /// The customer has a policy to enforce enrollment in the Advanced Protection
- /// Program, but the user is not enrolled.
- ///
- ADVANCED_PROTECTION_NOT_ENROLLED = 9,
- }
-
-
- /// Errors returned when Authentication failed.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class AuthenticationError : ApiError
- {
- private AuthenticationErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// The error reason represented by an enum.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public AuthenticationErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The single reason for the authentication failure.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "AuthenticationError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum AuthenticationErrorReason
- {
- /// Authentication of the request failed.
- ///
- AUTHENTICATION_FAILED = 0,
- /// Client Customer Id is required if CustomerIdMode is set to
- /// CLIENT_EXTERNAL_CUSTOMER_ID. Starting version V201409 ClientCustomerId will be
- /// required for all requests except for CustomerService#get
- ///
- CLIENT_CUSTOMER_ID_IS_REQUIRED = 1,
- /// Client Email is required if CustomerIdMode is set to
- /// CLIENT_EXTERNAL_EMAIL_FIELD.
- ///
- CLIENT_EMAIL_REQUIRED = 2,
- /// Client customer Id is not a number.
- ///
- CLIENT_CUSTOMER_ID_INVALID = 3,
- /// Client customer Id is not a number.
- ///
- CLIENT_EMAIL_INVALID = 4,
- /// Client email is not a valid customer email.
- ///
- CLIENT_EMAIL_FAILED_TO_AUTHENTICATE = 5,
- /// No customer found for the customer id provided in the header.
- ///
- CUSTOMER_NOT_FOUND = 6,
- /// Client's Google Account is deleted.
- ///
- GOOGLE_ACCOUNT_DELETED = 7,
- /// Google account login token in the cookie is invalid.
- ///
- GOOGLE_ACCOUNT_COOKIE_INVALID = 8,
- /// problem occurred during Google account authentication.
- ///
- FAILED_TO_AUTHENTICATE_GOOGLE_ACCOUNT = 9,
- /// The user in the google account login token does not match the UserId in the
- /// cookie.
- ///
- GOOGLE_ACCOUNT_USER_AND_ADS_USER_MISMATCH = 10,
- /// Login cookie is required for authentication.
- ///
- LOGIN_COOKIE_REQUIRED = 11,
- /// User in the cookie is not a valid Ads user.
- ///
- NOT_ADS_USER = 12,
- /// Oauth token in the header is not valid.
- ///
- OAUTH_TOKEN_INVALID = 13,
- /// Oauth token in the header has expired.
- ///
- OAUTH_TOKEN_EXPIRED = 14,
- /// Oauth token in the header has been disabled.
- ///
- OAUTH_TOKEN_DISABLED = 15,
- /// Oauth token in the header has been revoked.
- ///
- OAUTH_TOKEN_REVOKED = 16,
- /// Oauth token HTTP header is malformed.
- ///
- OAUTH_TOKEN_HEADER_INVALID = 17,
- /// Login cookie is not valid.
- ///
- LOGIN_COOKIE_INVALID = 18,
- /// Failed to decrypt the login cookie.
- ///
- FAILED_TO_RETRIEVE_LOGIN_COOKIE = 19,
- /// User Id in the header is not a valid id.
- ///
- USER_ID_INVALID = 20,
- }
-
-
- /// Represents an error in an AssetLink
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class AssetLinkError : ApiError
- {
- private AssetLinkErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// Error reason.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public AssetLinkErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Error reasons.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "AssetLinkError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum AssetLinkErrorReason
- {
- /// Provided asset's type is invalid for use in the specified field.
- ///
- INVALID_ASSET_TYPE_FOR_FIELD = 0,
- /// Pinning is not supported for the given AssetLink field.
- ///
- PINNING_UNSUPPORTED = 1,
- /// The input pinnedField is not valid for the given AssetLink field.
- ///
- INVALID_PINNED_FIELD = 2,
- UNKNOWN = 3,
- }
-
-
- /// Represents an error in an Asset.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class AssetError : ApiError
- {
- private AssetErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// Error reason.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public AssetErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Error reasons.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "AssetError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum AssetErrorReason
- {
- UNKNOWN = 0,
- /// The asset type is not supported by asset service.
- ///
- ASSET_TYPE_NOT_SUPPORTED = 1,
- /// Cannot remove an asset with status REMOVED.
- ///
- CANNOT_REMOVE_ASSET_WITH_REMOVED_STATUS = 2,
- /// The asset has a name which is different from an existing duplicate that
- /// represents the same content.
- ///
- CANNOT_MODIFY_ASSET_NAME = 3,
- /// The asset is duplicated across operations.
- ///
- DUPLICATE_ASSET = 4,
- /// The asset name is duplicated, either across operations, or with an existing
- /// asset.
- ///
- DUPLICATE_ASSET_NAME = 5,
- /// No asset type specific data are set.
- ///
- ASSET_DATA_IS_MISSING = 6,
- }
-
-
- /// Errors that are thrown when a non-AdX feature is accessed by an AdX customer.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class AdxError : ApiError
- {
- private AdxErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// The error reason represented by an enum.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public AdxErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The reasons for the AdX error.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "AdxError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum AdxErrorReason
- {
- /// Attempt to use non-AdX feature by AdX customer.
- ///
- UNSUPPORTED_FEATURE = 0,
- }
-
-
- /// Errors related using the AdGroupAdService to create an AdGroupAd with a
- /// reference to an existing AdId.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class AdSharingError : ApiError
- {
- private AdSharingErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- private ApiError sharedAdErrorField;
-
- /// The error reason represented by an enum.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public AdSharingErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public ApiError sharedAdError
- {
- get
- {
- return this.sharedAdErrorField;
- }
- set
- {
- this.sharedAdErrorField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Reasons for error.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "AdSharingError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum AdSharingErrorReason
- {
- /// Error resulting in attempting to add an Ad to an AdGroup that already contains
- /// the Ad.
- ///
- AD_GROUP_ALREADY_CONTAINS_AD = 0,
- /// Ad is not compatible with the AdGroup it is being shared with. For more details,
- /// look at #sharedAdError.
- ///
- INCOMPATIBLE_AD_UNDER_AD_GROUP = 1,
- /// Cannot add AdGroupAd on inactive Ad.
- ///
- CANNOT_SHARE_INACTIVE_AD = 2,
- }
-
-
- /// Error information for AdGroupAdService.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class AdGroupAdError : ApiError
- {
- private AdGroupAdErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// The error reason represented by an enum.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public AdGroupAdErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The reasons for the target error.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "AdGroupAdError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum AdGroupAdErrorReason
- {
- /// No link found between the adgroup ad and the label.
- ///
- AD_GROUP_AD_LABEL_DOES_NOT_EXIST = 0,
- /// The label has already been attached to the adgroup ad.
- ///
- AD_GROUP_AD_LABEL_ALREADY_EXISTS = 1,
- /// The specified ad was not found in the adgroup
- ///
- AD_NOT_UNDER_ADGROUP = 2,
- /// Removed ads may not be modified
- ///
- CANNOT_OPERATE_ON_REMOVED_ADGROUPAD = 3,
- /// An ad of this type is deprecated and cannot be created. Only deletions are
- /// permitted.
- ///
- CANNOT_CREATE_DEPRECATED_ADS = 4,
- /// Text ads are deprecated and cannot be created. Use expanded text ads instead.
- ///
- CANNOT_CREATE_TEXT_ADS = 8,
- /// A required field was not specified or is an empty string.
- ///
- EMPTY_FIELD = 5,
- /// An ad may only be modified once per call
- ///
- ENTITY_REFERENCED_IN_MULTIPLE_OPS = 6,
- /// The specified operation is not supported. Only ADD, SET, and REMOVE are
- /// supported
- ///
- UNSUPPORTED_OPERATION = 7,
- }
-
-
- /// Base error class for Ad Service.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class AdError : ApiError
- {
- private AdErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// The error reason represented by an enum.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public AdErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The reasons for the target error.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "AdError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum AdErrorReason
- {
- /// Ad customizers are not supported for ad type.
- ///
- AD_CUSTOMIZERS_NOT_SUPPORTED_FOR_AD_TYPE = 0,
- /// Estimating character sizes the string is too long.
- ///
- APPROXIMATELY_TOO_LONG = 1,
- /// Estimating character sizes the string is too short.
- ///
- APPROXIMATELY_TOO_SHORT = 2,
- /// There is a problem with the snippet.
- ///
- BAD_SNIPPET = 3,
- /// Cannot modify an ad.
- ///
- CANNOT_MODIFY_AD = 116,
- /// business name and url cannot be set at the same time
- ///
- CANNOT_SET_BUSINESS_NAME_IF_URL_SET = 4,
- /// The specified field is incompatible with this ad's type or settings.
- ///
- CANNOT_SET_FIELD = 5,
- /// Cannot set field when originAdId is set.
- ///
- CANNOT_SET_FIELD_WITH_ORIGIN_AD_ID_SET = 6,
- /// Cannot set field when an existing ad id is set for sharing.
- ///
- CANNOT_SET_FIELD_WITH_AD_ID_SET_FOR_SHARING = 117,
- /// Cannot set allowFlexibleColor false if no color is provided by user.
- ///
- CANNOT_SET_ALLOW_FLEXIBLE_COLOR_FALSE = 126,
- /// When user select native, no color control is allowed because we will always
- /// respect publisher color for native format serving.
- ///
- CANNOT_SET_COLOR_CONTROL_WHEN_NATIVE_FORMAT_SETTING = 127,
- /// Cannot specify a url for the ad type
- ///
- CANNOT_SET_URL = 7,
- /// Cannot specify a tracking or mobile url without also setting final urls
- ///
- CANNOT_SET_WITHOUT_FINAL_URLS = 8,
- /// Cannot specify a legacy url and a final url simultaneously
- ///
- CANNOT_SET_WITH_FINAL_URLS = 9,
- /// Cannot specify a legacy url and a tracking url template simultaneously in a DSA.
- ///
- CANNOT_SET_WITH_TRACKING_URL_TEMPLATE = 10,
- /// Cannot specify a urls in UrlData and in template fields simultaneously.
- ///
- CANNOT_SET_WITH_URL_DATA = 121,
- /// This operator cannot be used with a subclass of Ad.
- ///
- CANNOT_USE_AD_SUBCLASS_FOR_OPERATOR = 118,
- /// Customer is not approved for mobile ads.
- ///
- CUSTOMER_NOT_APPROVED_MOBILEADS = 11,
- /// Customer is not approved for 3PAS richmedia ads.
- ///
- CUSTOMER_NOT_APPROVED_THIRDPARTY_ADS = 12,
- /// Customer is not approved for 3PAS redirect richmedia (Ad Exchange) ads.
- ///
- CUSTOMER_NOT_APPROVED_THIRDPARTY_REDIRECT_ADS = 13,
- /// Not an eligible customer
- ///
- CUSTOMER_NOT_ELIGIBLE = 14,
- /// Customer is not eligible for updating beacon url
- ///
- CUSTOMER_NOT_ELIGIBLE_FOR_UPDATING_BEACON_URL = 15,
- /// There already exists an ad with the same dimensions in the union.
- ///
- DIMENSION_ALREADY_IN_UNION = 16,
- /// Ad's dimension must be set before setting union dimension.
- ///
- DIMENSION_MUST_BE_SET = 17,
- /// Ad's dimension must be included in the union dimensions.
- ///
- DIMENSION_NOT_IN_UNION = 18,
- /// Display Url cannot be specified (applies to Ad Exchange Ads)
- ///
- DISPLAY_URL_CANNOT_BE_SPECIFIED = 19,
- /// Telephone number contains invalid characters or invalid format. Please re-enter
- /// your number using digits (0-9), dashes (-), and parentheses only.
- ///
- DOMESTIC_PHONE_NUMBER_FORMAT = 20,
- /// Emergency telephone numbers are not allowed. Please enter a valid domestic phone
- /// number to connect customers to your business.
- ///
- EMERGENCY_PHONE_NUMBER = 21,
- /// A required field was not specified or is an empty string.
- ///
- EMPTY_FIELD = 22,
- /// A feed attribute referenced in an ad customizer tag is not in the ad customizer
- /// mapping for the feed.
- ///
- FEED_ATTRIBUTE_MUST_HAVE_MAPPING_FOR_TYPE_ID = 23,
- /// The ad customizer field mapping for the feed attribute does not match the
- /// expected field type.
- ///
- FEED_ATTRIBUTE_MAPPING_TYPE_MISMATCH = 24,
- /// The use of ad customizer tags in the ad text is disallowed. Details in trigger.
- ///
- ILLEGAL_AD_CUSTOMIZER_TAG_USE = 25,
- /// Tags of the form {PH_x}, where x is a number, are disallowed in ad text.
- ///
- ILLEGAL_TAG_USE = 120,
- /// The dimensions of the ad are specified or derived in multiple ways and are not
- /// consistent.
- ///
- INCONSISTENT_DIMENSIONS = 26,
- /// The status cannot differ among template ads of the same union.
- ///
- INCONSISTENT_STATUS_IN_TEMPLATE_UNION = 27,
- /// The length of the string is not valid.
- ///
- INCORRECT_LENGTH = 28,
- /// The ad is ineligible for upgrade.
- ///
- INELIGIBLE_FOR_UPGRADE = 29,
- /// User cannot create mobile ad for countries targeted in specified campaign.
- ///
- INVALID_AD_ADDRESS_CAMPAIGN_TARGET = 30,
- /// Invalid Ad type. A specific type of Ad is required.
- ///
- INVALID_AD_TYPE = 31,
- /// Headline, description or phone cannot be present when creating mobile image ad.
- ///
- INVALID_ATTRIBUTES_FOR_MOBILE_IMAGE = 32,
- /// Image cannot be present when creating mobile text ad.
- ///
- INVALID_ATTRIBUTES_FOR_MOBILE_TEXT = 33,
- /// Invalid call to action text.
- ///
- INVALID_CALL_TO_ACTION_TEXT = 128,
- /// Invalid character in URL.
- ///
- INVALID_CHARACTER_FOR_URL = 34,
- /// Creative's country code is not valid.
- ///
- INVALID_COUNTRY_CODE = 35,
- /// Invalid use of Dynamic Search Ads tags ({lpurl} etc.)
- ///
- INVALID_DSA_URL_TAG = 36,
- /// Invalid use of Expanded Dynamic Search Ads tags ({lpurl} etc.)
- ///
- INVALID_EXPANDED_DYNAMIC_SEARCH_AD_TAG = 122,
- /// An input error whose real reason was not properly mapped (should not happen).
- ///
- INVALID_INPUT = 37,
- /// An invalid markup language was entered.
- ///
- INVALID_MARKUP_LANGUAGE = 38,
- /// An invalid mobile carrier was entered.
- ///
- INVALID_MOBILE_CARRIER = 39,
- /// Specified mobile carriers target a country not targeted by the campaign.
- ///
- INVALID_MOBILE_CARRIER_TARGET = 40,
- /// Wrong number of elements for given element type
- ///
- INVALID_NUMBER_OF_ELEMENTS = 41,
- /// The format of the telephone number is incorrect. Please re-enter the number
- /// using the correct format.
- ///
- INVALID_PHONE_NUMBER_FORMAT = 42,
- /// The certified vendor format id is incorrect.
- ///
- INVALID_RICH_MEDIA_CERTIFIED_VENDOR_FORMAT_ID = 43,
- /// The template ad data contains validation errors.
- ///
- INVALID_TEMPLATE_DATA = 44,
- /// The template field doesn't have have the correct type.
- ///
- INVALID_TEMPLATE_ELEMENT_FIELD_TYPE = 45,
- /// Invalid template id.
- ///
- INVALID_TEMPLATE_ID = 46,
- /// After substituting replacement strings, the line is too wide.
- ///
- LINE_TOO_WIDE = 47,
- /// The feed referenced must have ad customizer mapping to be used in a customizer
- /// tag.
- ///
- MISSING_AD_CUSTOMIZER_MAPPING = 49,
- /// Missing address component in template element address field.
- ///
- MISSING_ADDRESS_COMPONENT = 50,
- /// An ad name must be entered.
- ///
- MISSING_ADVERTISEMENT_NAME = 51,
- /// Business name must be entered.
- ///
- MISSING_BUSINESS_NAME = 52,
- /// Description (line 2) must be entered.
- ///
- MISSING_DESCRIPTION1 = 53,
- /// Description (line 3) must be entered.
- ///
- MISSING_DESCRIPTION2 = 54,
- /// The destination url must contain at least one tag (e.g. {lpurl})
- ///
- MISSING_DESTINATION_URL_TAG = 56,
- /// The tracking url template of ExpandedDynamicSearchAd must contain at least one
- /// tag. (e.g. {lpurl})
- ///
- MISSING_LANDING_PAGE_URL_TAG = 123,
- /// A valid dimension must be specified for this ad.
- ///
- MISSING_DIMENSION = 57,
- /// A display URL must be entered.
- ///
- MISSING_DISPLAY_URL = 58,
- /// Headline must be entered.
- ///
- MISSING_HEADLINE = 59,
- /// A height must be entered.
- ///
- MISSING_HEIGHT = 60,
- /// An image must be entered.
- ///
- MISSING_IMAGE = 61,
- /// Marketing image or product videos are required.
- ///
- MISSING_MARKETING_IMAGE_OR_PRODUCT_VIDEOS = 129,
- /// The markup language in which your site is written must be entered.
- ///
- MISSING_MARKUP_LANGUAGES = 62,
- /// A mobile carrier must be entered.
- ///
- MISSING_MOBILE_CARRIER = 63,
- /// Phone number must be entered.
- ///
- MISSING_PHONE = 64,
- /// Missing required template fields
- ///
- MISSING_REQUIRED_TEMPLATE_FIELDS = 65,
- /// Missing a required field value
- ///
- MISSING_TEMPLATE_FIELD_VALUE = 66,
- /// The ad must have text.
- ///
- MISSING_TEXT = 67,
- /// A visible URL must be entered.
- ///
- MISSING_VISIBLE_URL = 69,
- /// A width must be entered.
- ///
- MISSING_WIDTH = 70,
- /// Only 1 feed can be used as the source of ad customizer substitutions in a single
- /// ad.
- ///
- MULTIPLE_DISTINCT_FEEDS_UNSUPPORTED = 71,
- /// TempAdUnionId must be use when adding template ads.
- ///
- MUST_USE_TEMP_AD_UNION_ID_ON_ADD = 72,
- /// The string has too many characters.
- ///
- TOO_LONG = 73,
- /// The string has too few characters.
- ///
- TOO_SHORT = 74,
- /// Ad union dimensions cannot change for saved ads.
- ///
- UNION_DIMENSIONS_CANNOT_CHANGE = 75,
- /// Address component is not {country, lat, lng}.
- ///
- UNKNOWN_ADDRESS_COMPONENT = 76,
- /// Unknown unique field name
- ///
- UNKNOWN_FIELD_NAME = 77,
- /// Unknown unique name (template element type specifier)
- ///
- UNKNOWN_UNIQUE_NAME = 78,
- /// Unsupported ad dimension
- ///
- UNSUPPORTED_DIMENSIONS = 79,
- /// URL starts with an invalid scheme.
- ///
- URL_INVALID_SCHEME = 80,
- /// URL ends with an invalid top-level domain name.
- ///
- URL_INVALID_TOP_LEVEL_DOMAIN = 81,
- /// URL contains illegal characters.
- ///
- URL_MALFORMED = 82,
- /// URL must contain a host name.
- ///
- URL_NO_HOST = 83,
- /// URL not equivalent during upgrade.
- ///
- URL_NOT_EQUIVALENT = 84,
- /// URL host name too long to be stored as visible URL (applies to Ad Exchange ads)
- ///
- URL_HOST_NAME_TOO_LONG = 85,
- /// URL must start with a scheme.
- ///
- URL_NO_SCHEME = 86,
- /// URL should end in a valid domain extension, such as .com or .net.
- ///
- URL_NO_TOP_LEVEL_DOMAIN = 87,
- /// URL must not end with a path.
- ///
- URL_PATH_NOT_ALLOWED = 88,
- /// URL must not specify a port.
- ///
- URL_PORT_NOT_ALLOWED = 89,
- /// URL must not contain a query.
- ///
- URL_QUERY_NOT_ALLOWED = 90,
- /// A url scheme is not allowed in front of tag in dest url (e.g. http://{lpurl})
- ///
- URL_SCHEME_BEFORE_DSA_TAG = 91,
- /// A url scheme is not allowed in front of tag in tracking url template (e.g.
- /// http://{lpurl})
- ///
- URL_SCHEME_BEFORE_EXPANDED_DYNAMIC_SEARCH_AD_TAG = 124,
- /// The user does not have permissions to create a template ad for the given
- /// template.
- ///
- USER_DOES_NOT_HAVE_ACCESS_TO_TEMPLATE = 92,
- /// Expandable setting is inconsistent/wrong. For example, an AdX ad is invalid if
- /// it has a expandable vendor format but no expanding directions specified, or
- /// expanding directions is specified, but the vendor format is not expandable.
- ///
- INCONSISTENT_EXPANDABLE_SETTINGS = 93,
- /// Format is invalid
- ///
- INVALID_FORMAT = 94,
- /// The text of this field did not match a pattern of allowed values.
- ///
- INVALID_FIELD_TEXT = 95,
- /// Template element is mising
- ///
- ELEMENT_NOT_PRESENT = 96,
- /// Error occurred during image processing
- ///
- IMAGE_ERROR = 97,
- /// The value is not within the valid range
- ///
- VALUE_NOT_IN_RANGE = 98,
- /// Template element field is not present
- ///
- FIELD_NOT_PRESENT = 99,
- /// Address is incomplete
- ///
- ADDRESS_NOT_COMPLETE = 100,
- /// Invalid address
- ///
- ADDRESS_INVALID = 101,
- /// Error retrieving specified video
- ///
- VIDEO_RETRIEVAL_ERROR = 102,
- /// Error processing audio
- ///
- AUDIO_ERROR = 103,
- /// Display URL is incorrect for YouTube PYV ads
- ///
- INVALID_YOUTUBE_DISPLAY_URL = 104,
- /// Too many product Images in GmailAd
- ///
- TOO_MANY_PRODUCT_IMAGES = 130,
- /// Too many product Videos in GmailAd
- ///
- TOO_MANY_PRODUCT_VIDEOS = 131,
- /// The device preference is not compatible with the ad type
- ///
- INCOMPATIBLE_AD_TYPE_AND_DEVICE_PREFERENCE = 105,
- /// Call tracking is not supported for specified country.
- ///
- CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY = 106,
- /// Carrier specific short number is not allowed.
- ///
- CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED = 107,
- /// Specified phone number type is disallowed.
- ///
- DISALLOWED_NUMBER_TYPE = 108,
- /// Phone number not supported for country.
- ///
- PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY = 109,
- /// Phone number not supported with call tracking enabled for country.
- ///
- PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY = 110,
- /// Premium rate phone number is not allowed.
- ///
- PREMIUM_RATE_NUMBER_NOT_ALLOWED = 111,
- /// Vanity phone number is not allowed.
- ///
- VANITY_PHONE_NUMBER_NOT_ALLOWED = 112,
- /// Invalid call conversion type id.
- ///
- INVALID_CALL_CONVERSION_TYPE_ID = 113,
- CANNOT_DISABLE_CALL_CONVERSION_AND_SET_CONVERSION_TYPE_ID = 114,
- /// Cannot set path2 without path1.
- ///
- CANNOT_SET_PATH2_WITHOUT_PATH1 = 119,
- /// Missing domain name in campaign setting when adding expanded dynamic search ad.
- ///
- MISSING_DYNAMIC_SEARCH_ADS_SETTING_DOMAIN_NAME = 125,
- /// An unexpected or unknown error occurred.
- ///
- UNKNOWN = 115,
- }
-
-
- /// An error indicating a problem with an ad customizer tag.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class AdCustomizerError : ApiError
- {
- private AdCustomizerErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- private string functionStringField;
-
- private string operatorNameField;
-
- private int operandIndexField;
-
- private bool operandIndexFieldSpecified;
-
- private string operandValueField;
-
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public AdCustomizerErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// String form of the function that contained the error.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public string functionString
- {
- get
- {
- return this.functionStringField;
- }
- set
- {
- this.functionStringField = value;
- }
- }
-
- /// Lowercased string representation of the ad customizer function's operator.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public string operatorName
- {
- get
- {
- return this.operatorNameField;
- }
- set
- {
- this.operatorNameField = value;
- }
- }
-
- /// Index of the operand that caused the error.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public int operandIndex
- {
- get
- {
- return this.operandIndexField;
- }
- set
- {
- this.operandIndexField = value;
- this.operandIndexSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool operandIndexSpecified
- {
- get
- {
- return this.operandIndexFieldSpecified;
- }
- set
- {
- this.operandIndexFieldSpecified = value;
- }
- }
-
- /// Value of the operand that caused the error.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 4)]
- public string operandValue
- {
- get
- {
- return this.operandValueField;
- }
- set
- {
- this.operandValueField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Ad customizer error reasons.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "AdCustomizerError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum AdCustomizerErrorReason
- {
- /// Invalid date argument in countdown function.
- ///
- COUNTDOWN_INVALID_DATE_FORMAT = 0,
- /// Countdown end date is in the past.
- ///
- COUNTDOWN_DATE_IN_PAST = 1,
- /// Invalid locale string in countdown function.
- ///
- COUNTDOWN_INVALID_LOCALE = 2,
- /// Days-before argument to countdown function is not positive.
- ///
- COUNTDOWN_INVALID_START_DAYS_BEFORE = 3,
- /// A user list referenced in an IF function does not exist.
- ///
- UNKNOWN_USER_LIST = 4,
- }
-
-
- /// AdGroupAd service operations.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class AdGroupAdOperation : Operation
- {
- private AdGroupAd operandField;
-
- private ExemptionRequest[] exemptionRequestsField;
-
- private string[] ignorablePolicyTopicIdsField;
-
- /// AdGroupAd to operate on. This field is
- /// required and should not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public AdGroupAd operand
- {
- get
- {
- return this.operandField;
- }
- set
- {
- this.operandField = value;
- }
- }
-
- /// Exemption requests for any policy violations in this Ad. This field is only used
- /// for ADD operations
- ///
- [System.Xml.Serialization.XmlElementAttribute("exemptionRequests", Order = 1)]
- public ExemptionRequest[] exemptionRequests
- {
- get
- {
- return this.exemptionRequestsField;
- }
- set
- {
- this.exemptionRequestsField = value;
- }
- }
-
- /// The list of policy topic IDs that should not cause a PolicyFindingError to be
- /// reported. If the up front policy check produces a policy summary containing
- /// PROHIBITED or FULLY_LIMITED policy topic entries of these types, the reviewable
- /// entities will be saved without reporting an error. The reviewable entities will
- /// not be eligible to serve until they pass the policy check.
This field accepts
- /// returned policyTopicId from PolicyTopicEntry in the PolicyFindingError.
- ///
- [System.Xml.Serialization.XmlElementAttribute("ignorablePolicyTopicIds", Order = 2)]
- public string[] ignorablePolicyTopicIds
- {
- get
- {
- return this.ignorablePolicyTopicIdsField;
- }
- set
- {
- this.ignorablePolicyTopicIdsField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Operation.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Operation.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Operation.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// This represents an operation that includes an operator and an operand specified
- /// type.
- ///
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AdGroupAdOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AdGroupAdLabelOperation))]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CampaignCriterionOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CampaignOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CampaignLabelOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CampaignBidModifierOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CampaignFeedOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CampaignGroupOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CampaignGroupPerformanceTargetOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(ConversionTrackerOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CustomerNegativeCriterionOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(ServiceLinkOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AdGroupFeedOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CustomerFeedOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(FeedOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(FeedItemOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(FeedItemTargetOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(FeedMappingOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(MoveOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(ManagedCustomerOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(ManagedCustomerLabelOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(LinkOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AdGroupCriterionOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AdGroupCriterionLabelOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(OfflineConversionFeedOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(OfflineDataUploadOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(OfflineCallConversionFeedOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(UserListOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(MutateMembersOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CampaignSharedSetOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(SharedCriterionOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(SharedSetOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AdGroupOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AdGroupLabelOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(LabelOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AccountLabelOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AdCustomizerFeedOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AdGroupExtensionSettingOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CampaignExtensionSettingOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CustomerExtensionSettingOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(DraftOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(TrialOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AdGroupBidModifierOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(BudgetOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(OfflineConversionAdjustmentFeedOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AssetOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AdOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AdCampaignAdSubProductTypeOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CustomAffinityTokenOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CustomAffinityOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AdParamOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(BatchJobOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(BiddingStrategyOperation))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(BudgetOrderOperation))]
- public abstract partial class Operation
- {
- private Operator operatorField;
-
- private bool operatorFieldSpecified;
-
- private string operationTypeField;
-
- /// Operator. This field is required and should
- /// not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public Operator @operator
- {
- get
- {
- return this.operatorField;
- }
- set
- {
- this.operatorField = value;
- this.operatorSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool operatorSpecified
- {
- get
- {
- return this.operatorFieldSpecified;
- }
- set
- {
- this.operatorFieldSpecified = value;
- }
- }
-
- /// Indicates that this instance is a subtype of Operation. Although this field is
- /// returned in the response, it is ignored on input and cannot be selected. Specify
- /// xsi:type instead.
- ///
- [System.Xml.Serialization.XmlElementAttribute("Operation.Type", Order = 1)]
- public string OperationType
- {
- get
- {
- return this.operationTypeField;
- }
- set
- {
- this.operationTypeField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// This represents an operator that may be presented to an adsapi service.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum Operator
- {
- /// The ADD operator.
- ///
- ADD = 0,
- /// The REMOVE operator.
- ///
- REMOVE = 1,
- /// The SET operator (used for updates).
- ///
- SET = 2,
- }
-
-
- /// Operations for adding/removing labels from AdGroupAds.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class AdGroupAdLabelOperation : Operation
- {
- private AdGroupAdLabel operandField;
-
- /// AdGroupAdLabel to operate on. This field is
- /// required and should not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public AdGroupAdLabel operand
- {
- get
- {
- return this.operandField;
- }
- set
- {
- this.operandField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Operation.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Operation.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Operation.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Manages the labels associated with an AdGroupAd.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class AdGroupAdLabel
- {
- private long adGroupIdField;
-
- private bool adGroupIdFieldSpecified;
-
- private long adIdField;
-
- private bool adIdFieldSpecified;
-
- private long labelIdField;
-
- private bool labelIdFieldSpecified;
-
- /// The id of the adgroup containing the ad that the label to be applied to. This field is required and should not be
- /// null when it is contained within Operators :
- /// ADD, REMOVE.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long adGroupId
- {
- get
- {
- return this.adGroupIdField;
- }
- set
- {
- this.adGroupIdField = value;
- this.adGroupIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool adGroupIdSpecified
- {
- get
- {
- return this.adGroupIdFieldSpecified;
- }
- set
- {
- this.adGroupIdFieldSpecified = value;
- }
- }
-
- /// The id of the ad that the label to be applied to. This field is required and should not be null when it is
- /// contained within Operators : ADD, REMOVE.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public long adId
- {
- get
- {
- return this.adIdField;
- }
- set
- {
- this.adIdField = value;
- this.adIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool adIdSpecified
- {
- get
- {
- return this.adIdFieldSpecified;
- }
- set
- {
- this.adIdFieldSpecified = value;
- }
- }
-
- /// The id of an existing label to be applied to the adgroup ad. This field is required and should not be
- /// null when it is contained within Operators :
- /// ADD, REMOVE.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public long labelId
- {
- get
- {
- return this.labelIdField;
- }
- set
- {
- this.labelIdField = value;
- this.labelIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool labelIdSpecified
- {
- get
- {
- return this.labelIdFieldSpecified;
- }
- set
- {
- this.labelIdFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// A container for return values from the AdGroupAdService.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class AdGroupAdReturnValue : ListReturnValue
- {
- private AdGroupAd[] valueField;
-
- private ApiError[] partialFailureErrorsField;
-
- /// List of ads in an ad group.
- ///
- [System.Xml.Serialization.XmlElementAttribute("value", Order = 0)]
- public AdGroupAd[] value
- {
- get
- {
- return this.valueField;
- }
- set
- {
- this.valueField = value;
- }
- }
-
- [System.Xml.Serialization.XmlElementAttribute("partialFailureErrors", Order = 1)]
- public ApiError[] partialFailureErrors
- {
- get
- {
- return this.partialFailureErrorsField;
- }
- set
- {
- this.partialFailureErrorsField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ListReturnValue.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ListReturnValue.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ListReturnValue.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Base list return value type.
- ///
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AdGroupAdReturnValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AdGroupAdLabelReturnValue))]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CampaignCriterionReturnValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CampaignReturnValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CampaignLabelReturnValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CampaignBidModifierReturnValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CampaignFeedReturnValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CampaignGroupReturnValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CampaignGroupPerformanceTargetReturnValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(ConversionTrackerReturnValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CustomerNegativeCriterionReturnValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AdGroupFeedReturnValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CustomerFeedReturnValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(FeedReturnValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(FeedItemReturnValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(FeedItemTargetReturnValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(FeedMappingReturnValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AdGroupCriterionReturnValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AdGroupCriterionLabelReturnValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(OfflineConversionFeedReturnValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(OfflineDataUploadReturnValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(OfflineCallConversionFeedReturnValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(UserListReturnValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CampaignSharedSetReturnValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(SharedCriterionReturnValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(SharedSetReturnValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AdGroupReturnValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AdGroupLabelReturnValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(LabelReturnValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AdCustomizerFeedReturnValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AdGroupExtensionSettingReturnValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CampaignExtensionSettingReturnValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CustomerExtensionSettingReturnValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(DraftReturnValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(TrialReturnValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AdGroupBidModifierReturnValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(OfflineConversionAdjustmentFeedReturnValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AssetReturnValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AdReturnValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AdCampaignAdSubProductTypeReturnValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(BatchJobReturnValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(BiddingStrategyReturnValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(BudgetOrderReturnValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(BudgetReturnValue))]
- public abstract partial class ListReturnValue
- {
- private string listReturnValueTypeField;
-
- /// Indicates that this instance is a subtype of ListReturnValue. Although this
- /// field is returned in the response, it is ignored on input and cannot be
- /// selected. Specify xsi:type instead.
- ///
- [System.Xml.Serialization.XmlElementAttribute("ListReturnValue.Type", Order = 0)]
- public string ListReturnValueType
- {
- get
- {
- return this.listReturnValueTypeField;
- }
- set
- {
- this.listReturnValueTypeField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// A container for return values from the AdGroupAdService#mutateLabel call.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class AdGroupAdLabelReturnValue : ListReturnValue
- {
- private AdGroupAdLabel[] valueField;
-
- private ApiError[] partialFailureErrorsField;
-
- [System.Xml.Serialization.XmlElementAttribute("value", Order = 0)]
- public AdGroupAdLabel[] value
- {
- get
- {
- return this.valueField;
- }
- set
- {
- this.valueField = value;
- }
- }
-
- [System.Xml.Serialization.XmlElementAttribute("partialFailureErrors", Order = 1)]
- public ApiError[] partialFailureErrors
- {
- get
- {
- return this.partialFailureErrorsField;
- }
- set
- {
- this.partialFailureErrorsField = value;
- }
- }
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public interface AdGroupAdServiceInterfaceChannel : Google.Api.Ads.AdWords.v201806.AdGroupAdServiceInterface, System.ServiceModel.IClientChannel
- {
- }
- namespace Wrappers.AdGroupAdService
- {
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "mutate", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class mutateRequest
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- [System.Xml.Serialization.XmlElementAttribute("operations")]
- public Google.Api.Ads.AdWords.v201806.AdGroupAdOperation[] operations;
-
- /// Creates a new instance of the class.
- ///
- public mutateRequest()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public mutateRequest(Google.Api.Ads.AdWords.v201806.AdGroupAdOperation[] operations)
- {
- this.operations = operations;
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "mutateResponse", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class mutateResponse
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- public Google.Api.Ads.AdWords.v201806.AdGroupAdReturnValue rval;
-
- /// Creates a new instance of the class.
- ///
- public mutateResponse()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public mutateResponse(Google.Api.Ads.AdWords.v201806.AdGroupAdReturnValue rval)
- {
- this.rval = rval;
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "mutateLabel", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class mutateLabelRequest
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- [System.Xml.Serialization.XmlElementAttribute("operations")]
- public Google.Api.Ads.AdWords.v201806.AdGroupAdLabelOperation[] operations;
-
- /// Creates a new instance of the class.
- ///
- public mutateLabelRequest()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public mutateLabelRequest(Google.Api.Ads.AdWords.v201806.AdGroupAdLabelOperation[] operations)
- {
- this.operations = operations;
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "mutateLabelResponse", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class mutateLabelResponse
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- public Google.Api.Ads.AdWords.v201806.AdGroupAdLabelReturnValue rval;
-
- /// Creates a new instance of the class.
- ///
- public mutateLabelResponse()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public mutateLabelResponse(Google.Api.Ads.AdWords.v201806.AdGroupAdLabelReturnValue rval)
- {
- this.rval = rval;
- }
- }
- }
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ServiceModel.ServiceContractAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", ConfigurationName = "Google.Api.Ads.AdWords.v201806.AdGroupAdServiceInterface")]
- public interface AdGroupAdServiceInterface
- {
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [System.ServiceModel.FaultContractAttribute(typeof(Google.Api.Ads.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(PolicySummaryInfo))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Google.Api.Ads.AdWords.v201806.AdGroupAdPage get(Google.Api.Ads.AdWords.v201806.Selector serviceSelector);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- System.Threading.Tasks.Task getAsync(Google.Api.Ads.AdWords.v201806.Selector serviceSelector);
-
- // CODEGEN: Parameter 'operations' 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.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(PolicySummaryInfo))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Wrappers.AdGroupAdService.mutateResponse mutate(Wrappers.AdGroupAdService.mutateRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- System.Threading.Tasks.Task mutateAsync(Wrappers.AdGroupAdService.mutateRequest request);
-
- // CODEGEN: Parameter 'operations' 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.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(PolicySummaryInfo))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Wrappers.AdGroupAdService.mutateLabelResponse mutateLabel(Wrappers.AdGroupAdService.mutateLabelRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- System.Threading.Tasks.Task mutateLabelAsync(Wrappers.AdGroupAdService.mutateLabelRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [System.ServiceModel.FaultContractAttribute(typeof(Google.Api.Ads.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(PolicySummaryInfo))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Google.Api.Ads.AdWords.v201806.AdGroupAdPage query([System.ServiceModel.MessageParameterAttribute(Name = "query")] string query1);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- System.Threading.Tasks.Task queryAsync(string query);
- }
-
-
- /// A request to be exempted from a PolicyViolationError.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class ExemptionRequest
- {
- private PolicyViolationKey keyField;
-
- /// Identifies the violation to request an exemption for. This field is required and should not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public PolicyViolationKey key
- {
- get
- {
- return this.keyField;
- }
- set
- {
- this.keyField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Use this service to manage ads. Available ad types are subclasses of the base Ad type and are shown in the AdGroupAd.ad documentation. Here are some of the
- /// commonly used ad types:
The primary ad type used on the search network. An expanded text
- /// ad contains two headlines, a single description line, a final url, and optional
- /// path fields.
- ///
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class AdGroupAdService : AdWordsSoapClient, IAdGroupAdService
- {
- /// Creates a new instance of the class.
- ///
- public AdGroupAdService()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public AdGroupAdService(string endpointConfigurationName)
- : base(endpointConfigurationName)
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public AdGroupAdService(string endpointConfigurationName, string remoteAddress)
- : base(endpointConfigurationName, remoteAddress)
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public AdGroupAdService(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress)
- : base(endpointConfigurationName, remoteAddress)
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public AdGroupAdService(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)
- : base(binding, remoteAddress)
- {
- }
-
- /// Returns a list of AdGroupAds. AdGroupAds that had been removed are not returned
- /// by default.
- /// The selector specifying the AdGroupAds to return.
- /// The page containing the AdGroupAds that meet the criteria specified by
- /// the selector.
- /// when there is at least one error with the
- /// request.
- public virtual Google.Api.Ads.AdWords.v201806.AdGroupAdPage get(Google.Api.Ads.AdWords.v201806.Selector serviceSelector)
- {
- return base.Channel.get(serviceSelector);
- }
-
- public virtual System.Threading.Tasks.Task getAsync(Google.Api.Ads.AdWords.v201806.Selector serviceSelector)
- {
- return base.Channel.getAsync(serviceSelector);
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- Wrappers.AdGroupAdService.mutateResponse Google.Api.Ads.AdWords.v201806.AdGroupAdServiceInterface.mutate(Wrappers.AdGroupAdService.mutateRequest request)
- {
- return base.Channel.mutate(request);
- }
-
- /// Applies the list of mutate operations (ie. add, set, remove):
Add - Creates a
- /// new ad group ad. The adGroupId must
- /// reference an existing ad group. The child Ad must be sufficiently
- /// specified by constructing a concrete ad type (such as TextAd) and
- /// setting its fields accordingly.
Set - Updates an ad group ad. Except for
- /// status, ad group ad fields are not mutable. Status updates are
- /// straightforward - the status of the ad group ad is updated as specified. If any
- /// other field has changed, it will be ignored. If you want to change any of the
- /// fields other than status, you must make a new ad and then remove the old
- /// one.
Remove - Removes the link between the specified AdGroup and Ad.
- /// The operations to apply.
- /// A list of AdGroupAds where each entry in the list is the result of
- /// applying the operation in the input list with the same index. For an add/set
- /// operation, the return AdGroupAd will be what is saved to the db. In the case of
- /// the remove operation, the return AdGroupAd will simply be an AdGroupAd
- /// containing an Ad with the id set to the Ad being removed from the
- /// AdGroup.
- public virtual Google.Api.Ads.AdWords.v201806.AdGroupAdReturnValue mutate(Google.Api.Ads.AdWords.v201806.AdGroupAdOperation[] operations)
- {
- Wrappers.AdGroupAdService.mutateRequest inValue = new Wrappers.AdGroupAdService.mutateRequest();
- inValue.operations = operations;
- Wrappers.AdGroupAdService.mutateResponse retVal = ((Google.Api.Ads.AdWords.v201806.AdGroupAdServiceInterface) (this)).mutate(inValue);
- return retVal.rval;
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- System.Threading.Tasks.Task Google.Api.Ads.AdWords.v201806.AdGroupAdServiceInterface.mutateAsync(Wrappers.AdGroupAdService.mutateRequest request)
- {
- return base.Channel.mutateAsync(request);
- }
-
- public virtual System.Threading.Tasks.Task mutateAsync(Google.Api.Ads.AdWords.v201806.AdGroupAdOperation[] operations)
- {
- Wrappers.AdGroupAdService.mutateRequest inValue = new Wrappers.AdGroupAdService.mutateRequest();
- inValue.operations = operations;
- return System.Threading.Tasks.Task.Factory.StartNew(() => (((Google.Api.Ads.AdWords.v201806.AdGroupAdServiceInterface) (this)).mutateAsync(inValue)).Result.rval);
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- Wrappers.AdGroupAdService.mutateLabelResponse Google.Api.Ads.AdWords.v201806.AdGroupAdServiceInterface.mutateLabel(Wrappers.AdGroupAdService.mutateLabelRequest request)
- {
- return base.Channel.mutateLabel(request);
- }
-
- /// Adds labels to the AdGroupAd or removes labels from the AdGroupAd.
Add -
- /// Apply an existing label to an existing ad group ad. The
- /// adGroupId and adId must reference an existing ad group ad. The labelId must reference an
- /// existing label.
Remove - Removes the link between the
- /// specified ad group ad and label.
- ///
- /// The operations to apply.
- /// A list of AdGroupAdLabel where each entry in the list is the result of
- /// applying the operation in the input list with the same index. For an add
- /// operation, the returned AdGroupAdLabel contains the AdGroupId, AdId and the
- /// LabelId. In the case of a remove operation, the returned AdGroupAdLabel will
- /// only have AdGroupId and AdId.
- /// when there are one or more errors with the
- /// request.
- public virtual Google.Api.Ads.AdWords.v201806.AdGroupAdLabelReturnValue mutateLabel(Google.Api.Ads.AdWords.v201806.AdGroupAdLabelOperation[] operations)
- {
- Wrappers.AdGroupAdService.mutateLabelRequest inValue = new Wrappers.AdGroupAdService.mutateLabelRequest();
- inValue.operations = operations;
- Wrappers.AdGroupAdService.mutateLabelResponse retVal = ((Google.Api.Ads.AdWords.v201806.AdGroupAdServiceInterface) (this)).mutateLabel(inValue);
- return retVal.rval;
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- System.Threading.Tasks.Task Google.Api.Ads.AdWords.v201806.AdGroupAdServiceInterface.mutateLabelAsync(Wrappers.AdGroupAdService.mutateLabelRequest request)
- {
- return base.Channel.mutateLabelAsync(request);
- }
-
- public virtual System.Threading.Tasks.Task mutateLabelAsync(Google.Api.Ads.AdWords.v201806.AdGroupAdLabelOperation[] operations)
- {
- Wrappers.AdGroupAdService.mutateLabelRequest inValue = new Wrappers.AdGroupAdService.mutateLabelRequest();
- inValue.operations = operations;
- return System.Threading.Tasks.Task.Factory.StartNew(() => (((Google.Api.Ads.AdWords.v201806.AdGroupAdServiceInterface) (this)).mutateLabelAsync(inValue)).Result.rval);
- }
-
- /// Returns a list of AdGroupAds based on the query.
- /// The SQL-like AWQL query string.
- /// A list of AdGroupAds.
- /// if problems occur while parsing the query
- /// or fetching AdGroupAds.
- public virtual Google.Api.Ads.AdWords.v201806.AdGroupAdPage query(string query1)
- {
- return base.Channel.query(query1);
- }
-
- public virtual System.Threading.Tasks.Task queryAsync(string query)
- {
- return base.Channel.queryAsync(query);
- }
- }
- namespace Wrappers.CampaignCriterionService
- {
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "mutate", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class mutateRequest
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- [System.Xml.Serialization.XmlElementAttribute("operations")]
- public Google.Api.Ads.AdWords.v201806.CampaignCriterionOperation[] operations;
-
- /// Creates a new instance of the class.
- ///
- public mutateRequest()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public mutateRequest(Google.Api.Ads.AdWords.v201806.CampaignCriterionOperation[] operations)
- {
- this.operations = operations;
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "mutateResponse", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class mutateResponse
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- public Google.Api.Ads.AdWords.v201806.CampaignCriterionReturnValue rval;
-
- /// Creates a new instance of the class.
- ///
- public mutateResponse()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public mutateResponse(Google.Api.Ads.AdWords.v201806.CampaignCriterionReturnValue rval)
- {
- this.rval = rval;
- }
- }
- }
- /// Logical expression for targeting webpages of an advertiser's website.
A
- /// condition is defined as operand OP argument where
- /// operand is one of the values enumerated in WebpageConditionOperand, and, based on this
- /// value, OP is either of EQUALS or .
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class WebpageCondition
- {
- private WebpageConditionOperand operandField;
-
- private bool operandFieldSpecified;
-
- private string argumentField;
-
- private WebpageConditionOperator operatorField;
-
- private bool operatorFieldSpecified;
-
- /// Operand of webpage targeting condition. This
- /// field is required and should not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public WebpageConditionOperand operand
- {
- get
- {
- return this.operandField;
- }
- set
- {
- this.operandField = value;
- this.operandSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool operandSpecified
- {
- get
- {
- return this.operandFieldSpecified;
- }
- set
- {
- this.operandFieldSpecified = value;
- }
- }
-
- /// Argument of the webpage targeting condition. This string must not contain a substring that matches the
- /// regular expression '\*|\>\>|\=\=|\&\+'This field is required and should not be null.
- /// The length of this string should be
- /// between 1 and 2048, inclusive.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public string argument
- {
- get
- {
- return this.argumentField;
- }
- set
- {
- this.argumentField = value;
- }
- }
-
- /// Operator of webpage targeting condition.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public WebpageConditionOperator @operator
- {
- get
- {
- return this.operatorField;
- }
- set
- {
- this.operatorField = value;
- this.operatorSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool operatorSpecified
- {
- get
- {
- return this.operatorFieldSpecified;
- }
- set
- {
- this.operatorFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Operand value of WebpageCondition.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum WebpageConditionOperand
- {
- /// Operand denoting a webpage URL targeting condition. Operators WebpageConditionOperator#CONTAINS
- /// and WebpageConditionOperator#EQUALS are
- /// supported for such conditions.
- ///
- URL = 0,
- /// Operand denoting a webpage category targeting condition. The operator WebpageConditionOperator#EQUALS will
- /// be used for such conditions.
- ///
- CATEGORY = 1,
- /// Operand denoting a webpage title targeting condition. The operator WebpageConditionOperator#CONTAINS
- /// will be used for such conditions.
- ///
- PAGE_TITLE = 2,
- /// Operand denoting a webpage content targeting condition. The operator WebpageConditionOperator#CONTAINS
- /// will be used for such conditions.
- ///
- PAGE_CONTENT = 3,
- /// Operand denoting a webpage custom label targeting condition. The operator
- /// WebpageConditionOperator#EQUALS
- /// will be used for such conditions.
- ///
- CUSTOM_LABEL = 5,
- /// Used for return value only. An enumeration
- /// could not be processed, typically due to incompatibility with your WSDL
- /// version.
- ///
- UNKNOWN = 4,
- }
-
-
- /// Webpage Condition Operator.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum WebpageConditionOperator
- {
- /// Used for return value only. An enumeration
- /// could not be processed, typically due to incompatibility with your WSDL
- /// version.
- ///
- UNKNOWN = 0,
- /// The argument web condition equals to the compared web condition.
- ///
- EQUALS = 1,
- /// The argument condition is a part of the compared web condition.
- ///
- CONTAINS = 2,
- }
-
-
- /// Base type of criterion parameters.
- ///
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(WebpageParameter))]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public abstract partial class CriterionParameter
- {
- private string criterionParameterTypeField;
-
- /// Indicates that this instance is a subtype of CriterionParameter. Although this
- /// field is returned in the response, it is ignored on input and cannot be
- /// selected. Specify xsi:type instead.
- ///
- [System.Xml.Serialization.XmlElementAttribute("CriterionParameter.Type", Order = 0)]
- public string CriterionParameterType
- {
- get
- {
- return this.criterionParameterTypeField;
- }
- set
- {
- this.criterionParameterTypeField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Parameter of Webpage criterion, expressed as a list of conditions, or logical
- /// expressions, for targeting webpages of an advertiser's website.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class WebpageParameter : CriterionParameter
- {
- private string criterionNameField;
-
- private WebpageCondition[] conditionsField;
-
- /// The name of the criterion that is defined by this parameter.
This name value
- /// will be used for identifying, sorting and filtering criteria with this type of
- /// parameters. For criteria with simpler parameters, such as keywords and
- /// placements, the parameter value itself is used for identification, sorting and
- /// filtering. This field is required and should
- /// not be null.The
- /// length of this string should be between 1 and 2048, inclusive.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public string criterionName
- {
- get
- {
- return this.criterionNameField;
- }
- set
- {
- this.criterionNameField = value;
- }
- }
-
- /// Conditions, or logical expressions, for webpage targeting.
The list of
- /// webpage targeting conditions are and-ed together when evaluated for
- /// targeting. A null list of conditions means that all webpages of the
- /// campaign's website are targeted.
The
- /// maximum size of this collection is 3.This field must contain distinct elements.
- ///
- [System.Xml.Serialization.XmlElementAttribute("conditions", Order = 1)]
- public WebpageCondition[] conditions
- {
- get
- {
- return this.conditionsField;
- }
- set
- {
- this.conditionsField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : CriterionParameter.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : CriterionParameter.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : CriterionParameter.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// An operand that can be used in a function expression.
- ///
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(PlacesOfInterestOperand))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(LocationExtensionOperand))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(IncomeOperand))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(GeoTargetOperand))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(ConstantOperand))]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(RequestContextOperand))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(FunctionOperand))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(FeedAttributeOperand))]
- public abstract partial class FunctionArgumentOperand
- {
- private string functionArgumentOperandTypeField;
-
- /// Indicates that this instance is a subtype of FunctionArgumentOperand. Although
- /// this field is returned in the response, it is ignored on input and cannot be
- /// selected. Specify xsi:type instead.
- ///
- [System.Xml.Serialization.XmlElementAttribute("FunctionArgumentOperand.Type", Order = 0)]
- public string FunctionArgumentOperandType
- {
- get
- {
- return this.functionArgumentOperandTypeField;
- }
- set
- {
- this.functionArgumentOperandTypeField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// This operand specifies a place of interest category for semantic targeting.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class PlacesOfInterestOperand : FunctionArgumentOperand
- {
- private PlacesOfInterestOperandCategory categoryField;
-
- private bool categoryFieldSpecified;
-
- /// This field is required and should not be
- /// null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public PlacesOfInterestOperandCategory category
- {
- get
- {
- return this.categoryField;
- }
- set
- {
- this.categoryField = value;
- this.categorySpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool categorySpecified
- {
- get
- {
- return this.categoryFieldSpecified;
- }
- set
- {
- this.categoryFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : FunctionArgumentOperand.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : FunctionArgumentOperand.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : FunctionArgumentOperand.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Categories to identify places of interest.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "PlacesOfInterestOperand.Category", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum PlacesOfInterestOperandCategory
- {
- AIRPORT = 0,
- DOWNTOWN = 1,
- UNIVERSITY = 2,
- /// Used for return value only. An enumeration
- /// could not be processed, typically due to incompatibility with your WSDL
- /// version.
- ///
- UNKNOWN = 3,
- }
-
-
- /// This operand specifies information required for location extension targeting.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class LocationExtensionOperand : FunctionArgumentOperand
- {
- private ConstantOperand radiusField;
-
- private long locationIdField;
-
- private bool locationIdFieldSpecified;
-
- /// Distance in units specifying the radius around targeted locations. Only long and
- /// double are supported constant types. This
- /// field is required and should not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public ConstantOperand radius
- {
- get
- {
- return this.radiusField;
- }
- set
- {
- this.radiusField = value;
- }
- }
-
- /// Used to filter locations present in the location feed by location criterion id.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public long locationId
- {
- get
- {
- return this.locationIdField;
- }
- set
- {
- this.locationIdField = value;
- this.locationIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool locationIdSpecified
- {
- get
- {
- return this.locationIdFieldSpecified;
- }
- set
- {
- this.locationIdFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : FunctionArgumentOperand.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : FunctionArgumentOperand.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : FunctionArgumentOperand.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// A constant operand in a matching function.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class ConstantOperand : FunctionArgumentOperand
- {
- private ConstantOperandConstantType typeField;
-
- private bool typeFieldSpecified;
-
- private ConstantOperandUnit unitField;
-
- private bool unitFieldSpecified;
-
- private long longValueField;
-
- private bool longValueFieldSpecified;
-
- private bool booleanValueField;
-
- private bool booleanValueFieldSpecified;
-
- private double doubleValueField;
-
- private bool doubleValueFieldSpecified;
-
- private string stringValueField;
-
- /// Type of constant in this operand. This field
- /// is required and should not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public ConstantOperandConstantType type
- {
- get
- {
- return this.typeField;
- }
- set
- {
- this.typeField = value;
- this.typeSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool typeSpecified
- {
- get
- {
- return this.typeFieldSpecified;
- }
- set
- {
- this.typeFieldSpecified = value;
- }
- }
-
- /// Units of constant in this operand.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public ConstantOperandUnit unit
- {
- get
- {
- return this.unitField;
- }
- set
- {
- this.unitField = value;
- this.unitSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool unitSpecified
- {
- get
- {
- return this.unitFieldSpecified;
- }
- set
- {
- this.unitFieldSpecified = value;
- }
- }
-
- /// Long value of the operand if it is a long type.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public long longValue
- {
- get
- {
- return this.longValueField;
- }
- set
- {
- this.longValueField = value;
- this.longValueSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool longValueSpecified
- {
- get
- {
- return this.longValueFieldSpecified;
- }
- set
- {
- this.longValueFieldSpecified = value;
- }
- }
-
- /// Boolean value of the operand if it is a boolean type.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public bool booleanValue
- {
- get
- {
- return this.booleanValueField;
- }
- set
- {
- this.booleanValueField = value;
- this.booleanValueSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool booleanValueSpecified
- {
- get
- {
- return this.booleanValueFieldSpecified;
- }
- set
- {
- this.booleanValueFieldSpecified = value;
- }
- }
-
- /// Double value of the operand if it is a double type.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 4)]
- public double doubleValue
- {
- get
- {
- return this.doubleValueField;
- }
- set
- {
- this.doubleValueField = value;
- this.doubleValueSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool doubleValueSpecified
- {
- get
- {
- return this.doubleValueFieldSpecified;
- }
- set
- {
- this.doubleValueFieldSpecified = value;
- }
- }
-
- /// String value of the operand if it is a string type.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 5)]
- public string stringValue
- {
- get
- {
- return this.stringValueField;
- }
- set
- {
- this.stringValueField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : FunctionArgumentOperand.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : FunctionArgumentOperand.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : FunctionArgumentOperand.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The types of constant operands.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "ConstantOperand.ConstantType", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum ConstantOperandConstantType
- {
- /// Boolean constant type. booleanValue should be set for this type.
- ///
- BOOLEAN = 0,
- /// Double constant type. doubleValue should be set for this type.
- ///
- DOUBLE = 1,
- /// Long constant type. longValue should be set for this type.
- ///
- LONG = 2,
- /// String constant type. stringValue should be set for this type.
- ///
- STRING = 3,
- }
-
-
- /// The units of constant operands, if applicable.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "ConstantOperand.Unit", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum ConstantOperandUnit
- {
- /// Meters.
- ///
- METERS = 0,
- /// Miles.
- ///
- MILES = 1,
- NONE = 2,
- }
-
-
- /// This operand specifies the income bracket a household falls under.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class IncomeOperand : FunctionArgumentOperand
- {
- private IncomeTier tierField;
-
- private bool tierFieldSpecified;
-
- /// Income tier specifying an income bracket that a household falls under. Tier 1
- /// belongs to the highest income bracket. This
- /// field is required and should not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public IncomeTier tier
- {
- get
- {
- return this.tierField;
- }
- set
- {
- this.tierField = value;
- this.tierSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool tierSpecified
- {
- get
- {
- return this.tierFieldSpecified;
- }
- set
- {
- this.tierFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : FunctionArgumentOperand.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : FunctionArgumentOperand.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : FunctionArgumentOperand.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Income tiers that specify the income bracket a household falls under. TIER_1
- /// belongs to the highest income bracket. The income bracket range associated with
- /// each tier is defined per country and computed based on income percentiles.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum IncomeTier
- {
- UNKNOWN = 0,
- TIER_1 = 1,
- TIER_2 = 2,
- TIER_3 = 3,
- TIER_4 = 4,
- TIER_5 = 5,
- /// Bucket consisting of the bottom 5 tiers, specifying the bottom 50% of household
- /// income zip codes.
- ///
- TIER_6_TO_10 = 6,
- }
-
-
- /// Represents an operand containing geo information, specifying the scope of the
- /// geographical area. Currently, geo targets are restricted to a single criterion
- /// id per operand.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class GeoTargetOperand : FunctionArgumentOperand
- {
- private long[] locationsField;
-
- /// CriterionId of locations deciding the geographical scope. This field must contain distinct
- /// elements.This field must not
- /// contain elements.
- ///
- [System.Xml.Serialization.XmlElementAttribute("locations", Order = 0)]
- public long[] locations
- {
- get
- {
- return this.locationsField;
- }
- set
- {
- this.locationsField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : FunctionArgumentOperand.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : FunctionArgumentOperand.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : FunctionArgumentOperand.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Represents a function where its operator is applied to its argument operands
- /// resulting in a return value. It has the form (Operand... Operator Operand...).
- /// The type of the return value depends on the operator being applied and the type
- /// of the operands.
Operands per function is limited to
- /// 20.
Here is a code example:
// For example
- /// "feed_attribute == 30" can be represented as: FeedId feedId = (FeedId of Feed
- /// associated with feed_attribute) FeedAttributeId feedAttributeId =
- /// (FeedAttributeId of feed_attribute) Function function = new Function();
- /// function.setLhsOperand( Arrays.asList((Operand) new FeedAttributeOperand(feedId,
- /// feedAttributeId))); function.setOperator(Operator.IN); function.setRhsOperand(
- /// Arrays.asList((Operand) new ConstantOperand(30L))); // Another example matching
- /// on multiple values: "feed_item_id IN (10, 20, 30)" can be represented as:
- /// Function function = new Function(); function.setLhsOperand(
- /// Arrays.asList((Operand) new RequestContextOperand(ContextType.FEED_ITEM_ID)));
- /// function.setOperator(Operator.IN); function.setRhsOperand(Arrays.asList(
- /// (Operand) new ConstantOperand(10L), new ConstantOperand(20L), new
- /// ConstantOperand(30L)));
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class Function
- {
- private FunctionOperator operatorField;
-
- private bool operatorFieldSpecified;
-
- private FunctionArgumentOperand[] lhsOperandField;
-
- private FunctionArgumentOperand[] rhsOperandField;
-
- private string functionStringField;
-
- /// Operator for a function. This field is
- /// required and should not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public FunctionOperator @operator
- {
- get
- {
- return this.operatorField;
- }
- set
- {
- this.operatorField = value;
- this.operatorSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool operatorSpecified
- {
- get
- {
- return this.operatorFieldSpecified;
- }
- set
- {
- this.operatorFieldSpecified = value;
- }
- }
-
- /// Operand on the LHS in the equation. This is also the operand to be used for
- /// single operand expressions such as NOT. The minimum size of this collection is 1.
- ///
- [System.Xml.Serialization.XmlElementAttribute("lhsOperand", Order = 1)]
- public FunctionArgumentOperand[] lhsOperand
- {
- get
- {
- return this.lhsOperandField;
- }
- set
- {
- this.lhsOperandField = value;
- }
- }
-
- /// Operand on the RHS of the equation.
- ///
- [System.Xml.Serialization.XmlElementAttribute("rhsOperand", Order = 2)]
- public FunctionArgumentOperand[] rhsOperand
- {
- get
- {
- return this.rhsOperandField;
- }
- set
- {
- this.rhsOperandField = value;
- }
- }
-
- /// String representation of the Function.
For mutate actions, this
- /// field can be set instead of the , lhsOperand, and
- /// rhsOperand fields. This field will be parsed and used to populate
- /// the other fields.
When Function objects are returned from
- /// get or mutate calls, this field contains the string representation of the
- /// . Note that because multiple strings may map to the same
- /// Function (whitespace and single versus double quotation marks, for
- /// example), the value returned may not be identical to the string sent in the
- /// request.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public string functionString
- {
- get
- {
- return this.functionStringField;
- }
- set
- {
- this.functionStringField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Operators that can be used in functions.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "Function.Operator", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum FunctionOperator
- {
- /// The IN operator.
- ///
- IN = 0,
- /// The IDENTITY operator.
- ///
- IDENTITY = 1,
- /// The EQUALS operator
- ///
- EQUALS = 2,
- /// Operator that takes two or more operands that are of type FunctionOperand and
- /// checks that all the operands evaluate to true. For functions related to ad
- /// formats, all the operands must be in lhsOperand. Return ConstantOperand with
- /// Bool type.
- ///
- AND = 3,
- /// Operator that returns true if the elements in lhsOperand contains any of the
- /// elements in rhsOperands. Otherwise, return false.
- ///
- CONTAINS_ANY = 4,
- /// Used for return value only. An enumeration
- /// could not be processed, typically due to incompatibility with your WSDL
- /// version.
- ///
- UNKNOWN = 5,
- }
-
-
- /// Structure to specify an address location.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class Address
- {
- private string streetAddressField;
-
- private string streetAddress2Field;
-
- private string cityNameField;
-
- private string provinceCodeField;
-
- private string provinceNameField;
-
- private string postalCodeField;
-
- private string countryCodeField;
-
- /// Street address line 1; null if unknown. This string must not be empty.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public string streetAddress
- {
- get
- {
- return this.streetAddressField;
- }
- set
- {
- this.streetAddressField = value;
- }
- }
-
- /// Street address line 2; null if unknown. This string must not be empty.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public string streetAddress2
- {
- get
- {
- return this.streetAddress2Field;
- }
- set
- {
- this.streetAddress2Field = value;
- }
- }
-
- /// Name of the city; null if unknown. This string must not be empty.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public string cityName
- {
- get
- {
- return this.cityNameField;
- }
- set
- {
- this.cityNameField = value;
- }
- }
-
- /// Province or state code; null if unknown. This string must not be empty.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public string provinceCode
- {
- get
- {
- return this.provinceCodeField;
- }
- set
- {
- this.provinceCodeField = value;
- }
- }
-
- /// Province or state name; null if unknown. This string must not be empty.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 4)]
- public string provinceName
- {
- get
- {
- return this.provinceNameField;
- }
- set
- {
- this.provinceNameField = value;
- }
- }
-
- /// Postal code; null if unknown. This string must not be empty.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 5)]
- public string postalCode
- {
- get
- {
- return this.postalCodeField;
- }
- set
- {
- this.postalCodeField = value;
- }
- }
-
- /// Country code; null if unknown.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 6)]
- public string countryCode
- {
- get
- {
- return this.countryCodeField;
- }
- set
- {
- this.countryCodeField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Specifies a geo location with the supplied latitude/longitude.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class GeoPoint
- {
- private int latitudeInMicroDegreesField;
-
- private bool latitudeInMicroDegreesFieldSpecified;
-
- private int longitudeInMicroDegreesField;
-
- private bool longitudeInMicroDegreesFieldSpecified;
-
- /// Micro degrees for the latitude. This field is
- /// required and should not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public int latitudeInMicroDegrees
- {
- get
- {
- return this.latitudeInMicroDegreesField;
- }
- set
- {
- this.latitudeInMicroDegreesField = value;
- this.latitudeInMicroDegreesSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool latitudeInMicroDegreesSpecified
- {
- get
- {
- return this.latitudeInMicroDegreesFieldSpecified;
- }
- set
- {
- this.latitudeInMicroDegreesFieldSpecified = value;
- }
- }
-
- /// Micro degrees for the longitude. This field is
- /// required and should not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public int longitudeInMicroDegrees
- {
- get
- {
- return this.longitudeInMicroDegreesField;
- }
- set
- {
- this.longitudeInMicroDegreesField = value;
- this.longitudeInMicroDegreesSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool longitudeInMicroDegreesSpecified
- {
- get
- {
- return this.longitudeInMicroDegreesFieldSpecified;
- }
- set
- {
- this.longitudeInMicroDegreesFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Dimension by which to subdivide or filter products.
- ///
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(UnknownProductDimension))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(ProductTypeFull))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(ProductType))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(ProductOfferId))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(ProductCustomAttribute))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(ProductLegacyCondition))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(ProductChannelExclusivity))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(ProductChannel))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(ProductCanonicalCondition))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(ProductBrand))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(ProductBiddingCategory))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(ProductAdwordsLabels))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(ProductAdwordsGrouping))]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public abstract partial class ProductDimension
- {
- private string productDimensionTypeField;
-
- /// Indicates that this instance is a subtype of ProductDimension. Although this
- /// field is returned in the response, it is ignored on input and cannot be
- /// selected. Specify xsi:type instead.
- ///
- [System.Xml.Serialization.XmlElementAttribute("ProductDimension.Type", Order = 0)]
- public string ProductDimensionType
- {
- get
- {
- return this.productDimensionTypeField;
- }
- set
- {
- this.productDimensionTypeField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// An unknown product dimension type which will be returned in place of any
- /// ProductDimension not supported by the clients current API version.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class UnknownProductDimension : ProductDimension
- {
- }
-
-
- /// A full product type string. Category of the product according to the merchant's
- /// own classification. Example:
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class ProductTypeFull : ProductDimension
- {
- private string valueField;
-
- /// This string must not be empty.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public string value
- {
- get
- {
- return this.valueField;
- }
- set
- {
- this.valueField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ProductDimension.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ProductDimension.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ProductDimension.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// One element of a product type string at a certain level. Top-level product types
- /// are at level 1, their children at level 2, and so on. We currently support up to
- /// 5 levels. The user must specify a dimension type that indicates the level of the
- /// product type. All cases of the same subdivision must have the same dimension
- /// type (product type level).
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class ProductType : ProductDimension
- {
- private ProductDimensionType typeField;
-
- private bool typeFieldSpecified;
-
- private string valueField;
-
- /// Dimension type of the product type. Indicates the level of the product type.
- /// The value must be one of {PRODUCT_TYPE_L1,
- /// PRODUCT_TYPE_L2, PRODUCT_TYPE_L3, PRODUCT_TYPE_L4, PRODUCT_TYPE_L5}.
- /// This field is required and should not be
- /// null when it is contained within Operators :
- /// ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public ProductDimensionType type
- {
- get
- {
- return this.typeField;
- }
- set
- {
- this.typeField = value;
- this.typeSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool typeSpecified
- {
- get
- {
- return this.typeFieldSpecified;
- }
- set
- {
- this.typeFieldSpecified = value;
- }
- }
-
- /// This string must not be empty,
- /// (trimmed).
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public string value
- {
- get
- {
- return this.valueField;
- }
- set
- {
- this.valueField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ProductDimension.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ProductDimension.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ProductDimension.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Type of product dimension.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum ProductDimensionType
- {
- /// Used for return value only. An enumeration
- /// could not be processed, typically due to incompatibility with your WSDL
- /// version.
- ///
- UNKNOWN = 0,
- BIDDING_CATEGORY_L1 = 1,
- BIDDING_CATEGORY_L2 = 2,
- BIDDING_CATEGORY_L3 = 3,
- BIDDING_CATEGORY_L4 = 4,
- BIDDING_CATEGORY_L5 = 5,
- BRAND = 6,
- CANONICAL_CONDITION = 7,
- CUSTOM_ATTRIBUTE_0 = 8,
- CUSTOM_ATTRIBUTE_1 = 9,
- CUSTOM_ATTRIBUTE_2 = 10,
- CUSTOM_ATTRIBUTE_3 = 11,
- CUSTOM_ATTRIBUTE_4 = 12,
- OFFER_ID = 13,
- PRODUCT_TYPE_L1 = 14,
- PRODUCT_TYPE_L2 = 15,
- PRODUCT_TYPE_L3 = 16,
- PRODUCT_TYPE_L4 = 17,
- PRODUCT_TYPE_L5 = 18,
- CHANNEL = 19,
- CHANNEL_EXCLUSIVITY = 20,
- }
-
-
- /// An offer ID as specified by the merchant.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class ProductOfferId : ProductDimension
- {
- private string valueField;
-
- /// This string must not be empty,
- /// (trimmed).
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public string value
- {
- get
- {
- return this.valueField;
- }
- set
- {
- this.valueField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ProductDimension.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ProductDimension.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ProductDimension.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// A custom attribute value. As a product can have multiple custom attributes, the
- /// user must specify a dimension type that indicates the index of the attribute by
- /// which to subdivide. All cases of the same subdivision must have the same
- /// dimension type (attribute index).
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class ProductCustomAttribute : ProductDimension
- {
- private ProductDimensionType typeField;
-
- private bool typeFieldSpecified;
-
- private string valueField;
-
- /// Dimension type of the custom attribute. Indicates the index of the custom
- /// attribute. The value must be one of
- /// {CUSTOM_ATTRIBUTE_0, CUSTOM_ATTRIBUTE_1, CUSTOM_ATTRIBUTE_2, CUSTOM_ATTRIBUTE_3,
- /// CUSTOM_ATTRIBUTE_4}.This field is
- /// required and should not be null when it is contained within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public ProductDimensionType type
- {
- get
- {
- return this.typeField;
- }
- set
- {
- this.typeField = value;
- this.typeSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool typeSpecified
- {
- get
- {
- return this.typeFieldSpecified;
- }
- set
- {
- this.typeFieldSpecified = value;
- }
- }
-
- /// This string must not be empty,
- /// (trimmed).
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public string value
- {
- get
- {
- return this.valueField;
- }
- set
- {
- this.valueField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ProductDimension.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ProductDimension.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ProductDimension.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// A plain condition string. Not supported by campaigns of AdvertisingChannelType#SHOPPING so is
- /// only used in ProductScopes.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class ProductLegacyCondition : ProductDimension
- {
- private string valueField;
-
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public string value
- {
- get
- {
- return this.valueField;
- }
- set
- {
- this.valueField = value;
- }
- }
- }
-
-
- /// The product channel exclusivity dimension, which limits the availability of an
- /// offer between only local, only online, or both. Only supported by campaigns of
- /// AdvertisingChannelType#SHOPPING.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class ProductChannelExclusivity : ProductDimension
- {
- private ShoppingProductChannelExclusivity channelExclusivityField;
-
- private bool channelExclusivityFieldSpecified;
-
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public ShoppingProductChannelExclusivity channelExclusivity
- {
- get
- {
- return this.channelExclusivityField;
- }
- set
- {
- this.channelExclusivityField = value;
- this.channelExclusivitySpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool channelExclusivitySpecified
- {
- get
- {
- return this.channelExclusivityFieldSpecified;
- }
- set
- {
- this.channelExclusivityFieldSpecified = value;
- }
- }
- }
-
-
- /// Channel exclusivity specifies whether an item is sold exclusively in one channel
- /// or through multiple channels.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum ShoppingProductChannelExclusivity
- {
- /// Used for return value only. An enumeration
- /// could not be processed, typically due to incompatibility with your WSDL
- /// version.
- ///
- UNKNOWN = 0,
- /// The item is sold through one channel only, either local stores or online as
- /// indicated by its ShoppingProductChannel.
- ///
- SINGLE_CHANNEL = 1,
- /// The item is matched to its online or local stores counterpart, indicating it is
- /// available for purchase in both ShoppingProductChannels.
- ///
- MULTI_CHANNEL = 2,
- }
-
-
- /// The product channel dimension, which specifies the locality of an offer. Only
- /// supported by campaigns of AdvertisingChannelType#SHOPPING.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class ProductChannel : ProductDimension
- {
- private ShoppingProductChannel channelField;
-
- private bool channelFieldSpecified;
-
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public ShoppingProductChannel channel
- {
- get
- {
- return this.channelField;
- }
- set
- {
- this.channelField = value;
- this.channelSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool channelSpecified
- {
- get
- {
- return this.channelFieldSpecified;
- }
- set
- {
- this.channelFieldSpecified = value;
- }
- }
- }
-
-
- /// Channel specifies where the item is sold: online or in local stores.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum ShoppingProductChannel
- {
- /// Used for return value only. An enumeration
- /// could not be processed, typically due to incompatibility with your WSDL
- /// version.
- ///
- UNKNOWN = 0,
- /// The item is sold online.
- ///
- ONLINE = 1,
- /// The item is sold in local stores.
- ///
- LOCAL = 2,
- }
-
-
- /// A canonical condition. Only supported by campaigns of AdvertisingChannelType#SHOPPING.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class ProductCanonicalCondition : ProductDimension
- {
- private ProductCanonicalConditionCondition conditionField;
-
- private bool conditionFieldSpecified;
-
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public ProductCanonicalConditionCondition condition
- {
- get
- {
- return this.conditionField;
- }
- set
- {
- this.conditionField = value;
- this.conditionSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool conditionSpecified
- {
- get
- {
- return this.conditionFieldSpecified;
- }
- set
- {
- this.conditionFieldSpecified = value;
- }
- }
- }
-
-
- /// A canonical product condition.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "ProductCanonicalCondition.Condition", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum ProductCanonicalConditionCondition
- {
- NEW = 0,
- USED = 1,
- REFURBISHED = 2,
- /// Used for return value only. An enumeration
- /// could not be processed, typically due to incompatibility with your WSDL
- /// version.
- ///
- UNKNOWN = 3,
- }
-
-
- /// A brand string.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class ProductBrand : ProductDimension
- {
- private string valueField;
-
- /// This string must not be empty,
- /// (trimmed).
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public string value
- {
- get
- {
- return this.valueField;
- }
- set
- {
- this.valueField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ProductDimension.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ProductDimension.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ProductDimension.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// One element of a bidding category at a certain level. Top-level categories are
- /// at level 1, their children at level 2, and so on. We currently support up to 5
- /// levels. The user must specify a dimension type that indicates the level of the
- /// category. All cases of the same subdivision must have the same dimension type
- /// (category level).
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class ProductBiddingCategory : ProductDimension
- {
- private ProductDimensionType typeField;
-
- private bool typeFieldSpecified;
-
- private long valueField;
-
- private bool valueFieldSpecified;
-
- /// Dimension type of the category. Indicates the level of the category in the
- /// taxonomy. This field can be filtered on
- /// using the value "ParentDimensionType".The
- /// value must be one of {BIDDING_CATEGORY_L1, BIDDING_CATEGORY_L2,
- /// BIDDING_CATEGORY_L3, BIDDING_CATEGORY_L4, BIDDING_CATEGORY_L5}.This field is required and should not be
- /// null when it is contained within Operators :
- /// ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public ProductDimensionType type
- {
- get
- {
- return this.typeField;
- }
- set
- {
- this.typeField = value;
- this.typeSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool typeSpecified
- {
- get
- {
- return this.typeFieldSpecified;
- }
- set
- {
- this.typeFieldSpecified = value;
- }
- }
-
- /// ID of the product category. This field can
- /// be filtered on using the value "ParentDimensionId".
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public long value
- {
- get
- {
- return this.valueField;
- }
- set
- {
- this.valueField = value;
- this.valueSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool valueSpecified
- {
- get
- {
- return this.valueFieldSpecified;
- }
- set
- {
- this.valueFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ProductDimension.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field ParentDimensionType = new Field("ParentDimensionType", true, false);
-
- public static readonly Field ParentDimensionId = new Field("ParentDimensionId", true, false);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ProductDimension.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field ParentDimensionType = Fields.ParentDimensionType;
-
- public static readonly Field ParentDimensionId = Fields.ParentDimensionId;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ProductDimension.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field ParentDimensionType = Fields.ParentDimensionType;
-
- public static readonly Field ParentDimensionId = Fields.ParentDimensionId;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// An adwords labels string. Not supported by campaigns of AdvertisingChannelType#SHOPPING so is
- /// only used in ProductScopes.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class ProductAdwordsLabels : ProductDimension
- {
- private string valueField;
-
- /// This string must not be empty.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public string value
- {
- get
- {
- return this.valueField;
- }
- set
- {
- this.valueField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ProductDimension.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ProductDimension.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ProductDimension.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// An adwords grouping string. Not supported by campaigns of AdvertisingChannelType#SHOPPING so is
- /// only used in ProductScopes.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class ProductAdwordsGrouping : ProductDimension
- {
- private string valueField;
-
- /// This string must not be empty.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public string value
- {
- get
- {
- return this.valueField;
- }
- set
- {
- this.valueField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ProductDimension.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ProductDimension.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ProductDimension.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Represents a criterion (such as a keyword, placement, or vertical). This is disabled for AdX when it is contained
- /// within Operators: ADD, SET.
- ///
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(YouTubeVideo))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(YouTubeChannel))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(Webpage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(Vertical))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CriterionUserList))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CriterionUserInterest))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(LocationGroups))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(Proximity))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(ProductScope))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(Platform))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(Placement))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(Parent))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(OperatingSystemVersion))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(MobileDevice))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(MobileApplication))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(MobileAppCategory))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(Location))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(Language))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(Keyword))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(IpBlock))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(IncomeRange))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(Gender))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(ContentLabel))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(Carrier))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AgeRange))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AdSchedule))]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(InteractionType))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(ProductPartition))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CriterionCustomIntent))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CriterionCustomAffinity))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AppPaymentModel))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(PreferredContent))]
- public partial class Criterion
- {
- private long idField;
-
- private bool idFieldSpecified;
-
- private CriterionType typeField;
-
- private bool typeFieldSpecified;
-
- private string criterionTypeField;
-
- /// ID of this criterion. This field can be
- /// selected using the value "Id".This
- /// field can be filtered on.This field is
- /// required and should not be null when it is contained within Operators : SET, REMOVE.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long id
- {
- get
- {
- return this.idField;
- }
- set
- {
- this.idField = value;
- this.idSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool idSpecified
- {
- get
- {
- return this.idFieldSpecified;
- }
- set
- {
- this.idFieldSpecified = value;
- }
- }
-
- /// This field can be selected using the value
- /// "CriteriaType".This field can be
- /// filtered on.This field is read only
- /// and will be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public CriterionType type
- {
- get
- {
- return this.typeField;
- }
- set
- {
- this.typeField = value;
- this.typeSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool typeSpecified
- {
- get
- {
- return this.typeFieldSpecified;
- }
- set
- {
- this.typeFieldSpecified = value;
- }
- }
-
- /// Indicates that this instance is a subtype of Criterion. Although this field is
- /// returned in the response, it is ignored on input and cannot be selected. Specify
- /// xsi:type instead.
- ///
- [System.Xml.Serialization.XmlElementAttribute("Criterion.Type", Order = 2)]
- public string CriterionType
- {
- get
- {
- return this.criterionTypeField;
- }
- set
- {
- this.criterionTypeField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field Id = new Field("Id", true, true);
-
- public static readonly Field CriteriaType = new Field("CriteriaType", true, true);
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field Id = Fields.Id;
-
- public static readonly Field CriteriaType = Fields.CriteriaType;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field Id = Fields.Id;
-
- public static readonly Field CriteriaType = Fields.CriteriaType;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The types of criteria.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "Criterion.Type", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum CriterionType
- {
- /// Content label for exclusion.
- ///
- CONTENT_LABEL = 0,
- /// Keyword. e.g. 'mars cruise'
- ///
- KEYWORD = 1,
- /// Placement. aka Website. e.g. 'www.flowers4sale.com'
- ///
- PLACEMENT = 2,
- /// Vertical, e.g. 'category::Animals>Pets' This is for vertical targeting on the
- /// content network.
- ///
- VERTICAL = 3,
- /// User lists, are links to sets of users defined by the advertiser.
- ///
- USER_LIST = 4,
- /// User interests, categories of interests the user is interested in.
- ///
- USER_INTEREST = 5,
- /// Mobile applications to target.
- ///
- MOBILE_APPLICATION = 6,
- /// Mobile application categories to target.
- ///
- MOBILE_APP_CATEGORY = 7,
- /// Product partition (product group) in a shopping campaign.
- ///
- PRODUCT_PARTITION = 8,
- /// IP addresses to exclude.
- ///
- IP_BLOCK = 9,
- /// Webpages of an advertiser's website to target.
- ///
- WEBPAGE = 10,
- /// Languages to target.
- ///
- LANGUAGE = 11,
- /// Geographic regions to target.
- ///
- LOCATION = 12,
- /// Age Range to exclude.
- ///
- AGE_RANGE = 13,
- /// Mobile carriers to target.
- ///
- CARRIER = 14,
- /// Mobile operating system versions to target.
- ///
- OPERATING_SYSTEM_VERSION = 15,
- /// Mobile devices to target.
- ///
- MOBILE_DEVICE = 16,
- /// Gender to exclude.
- ///
- GENDER = 17,
- /// Parent to target and exclude.
- ///
- PARENT = 18,
- /// Proximity (area within a radius) to target.
- ///
- PROXIMITY = 19,
- /// Platforms to target.
- ///
- PLATFORM = 20,
- /// Representing preferred content bid modifier.
- ///
- PREFERRED_CONTENT = 28,
- /// AdSchedule or specific days and time intervals to target.
- ///
- AD_SCHEDULE = 21,
- /// Targeting based on location groups.
- ///
- LOCATION_GROUPS = 22,
- /// Scope of products. Contains a list of product dimensions, all of which a product
- /// has to match to be included in the campaign.
- ///
- PRODUCT_SCOPE = 23,
- /// Custom Affinity, a criterion used for custom audience targeting.
- ///
- CUSTOM_AFFINITY = 31,
- /// Custom Intent, a criterion used for custom audience targeting.
- ///
- CUSTOM_INTENT = 32,
- /// YouTube video to target.
- ///
- YOUTUBE_VIDEO = 24,
- /// YouTube channel to target.
- ///
- YOUTUBE_CHANNEL = 25,
- /// Enables advertisers to target paid apps.
- ///
- APP_PAYMENT_MODEL = 26,
- /// Income range to target and exclude.
- ///
- INCOME_RANGE = 30,
- /// Interaction type to bid modify.
- ///
- INTERACTION_TYPE = 29,
- /// Used for return value only. An enumeration
- /// could not be processed, typically due to incompatibility with your WSDL
- /// version.
- ///
- UNKNOWN = 27,
- }
-
-
- /// YouTube video criterion.
A criterion of this type can be either targeted or
- /// excluded. This is disabled for AdX when it
- /// is contained within Operators: ADD, SET.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class YouTubeVideo : Criterion
- {
- private string videoIdField;
-
- private string videoNameField;
-
- /// YouTube video id as it appears on the YouTube watch page. This field can be selected using the value
- /// "VideoId".
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public string videoId
- {
- get
- {
- return this.videoIdField;
- }
- set
- {
- this.videoIdField = value;
- }
- }
-
- /// Name of the video. This field can be
- /// selected using the value "VideoName".This field is read only and will be ignored when sent to the
- /// API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public string videoName
- {
- get
- {
- return this.videoNameField;
- }
- set
- {
- this.videoNameField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Criterion.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field VideoId = new Field("VideoId", false, true);
-
- public static readonly Field VideoName = new Field("VideoName", false, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Criterion.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field VideoId = Fields.VideoId;
-
- public static readonly Field VideoName = Fields.VideoName;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Criterion.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// YouTube channel criterion.
A criterion of this type can be either targeted or
- /// excluded. This is disabled for AdX when it
- /// is contained within Operators: ADD, SET.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class YouTubeChannel : Criterion
- {
- private string channelIdField;
-
- private string channelNameField;
-
- /// The YouTube uploader channel id or the channel code of a YouTube content
- /// channel.
The uploader channel id can be obtained from the YouTube id-based
- /// URL. For example, in
- /// https://www.youtube.com/channel/UCEN58iXQg82TXgsDCjWqIkg the
- /// channel id is UCEN58iXQg82TXgsDCjWqIkg
For more information
- /// see: https://support.google.com/youtube/answer/6180214 This field can be selected using the value "ChannelId".
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public string channelId
- {
- get
- {
- return this.channelIdField;
- }
- set
- {
- this.channelIdField = value;
- }
- }
-
- /// The public name for a YouTube user channel. This field can be selected using the value "ChannelName".
- /// This field is read only and will be ignored
- /// when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public string channelName
- {
- get
- {
- return this.channelNameField;
- }
- set
- {
- this.channelNameField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Criterion.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field ChannelId = new Field("ChannelId", false, true);
-
- public static readonly Field ChannelName = new Field("ChannelName", false, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Criterion.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field ChannelId = Fields.ChannelId;
-
- public static readonly Field ChannelName = Fields.ChannelName;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Criterion.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Criterion for targeting webpages of an advertiser's website. The website domain
- /// name is specified at the campaign level. This is disabled for AdX when it is contained within Operators: ADD,
- /// SET.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class Webpage : Criterion
- {
- private WebpageParameter parameterField;
-
- private double criteriaCoverageField;
-
- private bool criteriaCoverageFieldSpecified;
-
- private string[] criteriaSamplesField;
-
- /// The webpage criterion parameter. This field
- /// can be selected using the value "Parameter".This field is required and should not be null when it is
- /// contained within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public WebpageParameter parameter
- {
- get
- {
- return this.parameterField;
- }
- set
- {
- this.parameterField = value;
- }
- }
-
- /// Keywordless criteria coverage - Computed percentage of website coverage based on
- /// the website target, negative website targets and negative keywords in the ad
- /// group and campaign. This field can be
- /// selected using the value "CriteriaCoverage".This field is read only and will be ignored when sent to the
- /// API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public double criteriaCoverage
- {
- get
- {
- return this.criteriaCoverageField;
- }
- set
- {
- this.criteriaCoverageField = value;
- this.criteriaCoverageSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool criteriaCoverageSpecified
- {
- get
- {
- return this.criteriaCoverageFieldSpecified;
- }
- set
- {
- this.criteriaCoverageFieldSpecified = value;
- }
- }
-
- /// Keywordless criteria samples - List of sample urls that matches with the website
- /// target. This field can be selected using the
- /// value "CriteriaSamples".This field is
- /// read only and will be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute("criteriaSamples", Order = 2)]
- public string[] criteriaSamples
- {
- get
- {
- return this.criteriaSamplesField;
- }
- set
- {
- this.criteriaSamplesField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Criterion.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field Parameter = new Field("Parameter", false, true);
-
- public static readonly Field CriteriaCoverage = new Field("CriteriaCoverage", false, true);
-
- public static readonly Field CriteriaSamples = new Field("CriteriaSamples", false, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Criterion.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field Parameter = Fields.Parameter;
-
- public static readonly Field CriteriaCoverage = Fields.CriteriaCoverage;
-
- public static readonly Field CriteriaSamples = Fields.CriteriaSamples;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Criterion.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Use verticals to target or exclude placements in the Google Display Network
- /// based on the category into which the placement falls (for example, "Pets &
- /// Animals/Pets/Dogs"). View the
- /// complete list of available vertical categories.This is enabled for AdX.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class Vertical : Criterion
- {
- private long verticalIdField;
-
- private bool verticalIdFieldSpecified;
-
- private long verticalParentIdField;
-
- private bool verticalParentIdFieldSpecified;
-
- private string[] pathField;
-
- /// Id of this vertical. This field can be
- /// selected using the value "VerticalId".
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long verticalId
- {
- get
- {
- return this.verticalIdField;
- }
- set
- {
- this.verticalIdField = value;
- this.verticalIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool verticalIdSpecified
- {
- get
- {
- return this.verticalIdFieldSpecified;
- }
- set
- {
- this.verticalIdFieldSpecified = value;
- }
- }
-
- /// Id of the parent of this vertical. This
- /// field can be selected using the value "VerticalParentId".This field is read only and will be ignored when
- /// sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public long verticalParentId
- {
- get
- {
- return this.verticalParentIdField;
- }
- set
- {
- this.verticalParentIdField = value;
- this.verticalParentIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool verticalParentIdSpecified
- {
- get
- {
- return this.verticalParentIdFieldSpecified;
- }
- set
- {
- this.verticalParentIdFieldSpecified = value;
- }
- }
-
- /// The category to target or exclude. Each subsequent element in the array
- /// describes a more specific sub-category. For example, {"Pets &
- /// Animals", "Pets", "Dogs"} represents the "Pets & Animals/Pets/Dogs"
- /// category. A complete list of available vertical categories is available here This field is required and
- /// must not be empty. This field can be
- /// selected using the value "Path".
- ///
- [System.Xml.Serialization.XmlElementAttribute("path", Order = 2)]
- public string[] path
- {
- get
- {
- return this.pathField;
- }
- set
- {
- this.pathField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Criterion.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field VerticalId = new Field("VerticalId", false, true);
-
- public static readonly Field VerticalParentId = new Field("VerticalParentId", false, true);
-
- public static readonly Field Path = new Field("Path", false, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Criterion.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field VerticalId = Fields.VerticalId;
-
- public static readonly Field VerticalParentId = Fields.VerticalParentId;
-
- public static readonly Field Path = Fields.Path;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Criterion.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// UserList - represents a user list that is defined by the advertiser to be
- /// targeted. This is enabled for AdX.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CriterionUserList : Criterion
- {
- private long userListIdField;
-
- private bool userListIdFieldSpecified;
-
- private string userListNameField;
-
- private CriterionUserListMembershipStatus userListMembershipStatusField;
-
- private bool userListMembershipStatusFieldSpecified;
-
- private bool userListEligibleForSearchField;
-
- private bool userListEligibleForSearchFieldSpecified;
-
- private bool userListEligibleForDisplayField;
-
- private bool userListEligibleForDisplayFieldSpecified;
-
- /// Id of this user list. This is a required field. This field can be selected using the value "UserListId".
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long userListId
- {
- get
- {
- return this.userListIdField;
- }
- set
- {
- this.userListIdField = value;
- this.userListIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool userListIdSpecified
- {
- get
- {
- return this.userListIdFieldSpecified;
- }
- set
- {
- this.userListIdFieldSpecified = value;
- }
- }
-
- /// This field can be selected using the value
- /// "UserListName".
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public string userListName
- {
- get
- {
- return this.userListNameField;
- }
- set
- {
- this.userListNameField = value;
- }
- }
-
- /// This field can be selected using the value
- /// "UserListMembershipStatus".This field
- /// can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public CriterionUserListMembershipStatus userListMembershipStatus
- {
- get
- {
- return this.userListMembershipStatusField;
- }
- set
- {
- this.userListMembershipStatusField = value;
- this.userListMembershipStatusSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool userListMembershipStatusSpecified
- {
- get
- {
- return this.userListMembershipStatusFieldSpecified;
- }
- set
- {
- this.userListMembershipStatusFieldSpecified = value;
- }
- }
-
- /// Determines whether a user list is eligible for targeting in the google.com
- /// (search) network. This field can be selected
- /// using the value "UserListEligibleForSearch".This field can be filtered on.This field is read only and will be ignored when sent to the
- /// API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public bool userListEligibleForSearch
- {
- get
- {
- return this.userListEligibleForSearchField;
- }
- set
- {
- this.userListEligibleForSearchField = value;
- this.userListEligibleForSearchSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool userListEligibleForSearchSpecified
- {
- get
- {
- return this.userListEligibleForSearchFieldSpecified;
- }
- set
- {
- this.userListEligibleForSearchFieldSpecified = value;
- }
- }
-
- /// Determines whether a user list is eligible for targeting in the display network.
- /// This field can be selected using the value
- /// "UserListEligibleForDisplay".This
- /// field can be filtered on.This field is
- /// read only and will be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 4)]
- public bool userListEligibleForDisplay
- {
- get
- {
- return this.userListEligibleForDisplayField;
- }
- set
- {
- this.userListEligibleForDisplayField = value;
- this.userListEligibleForDisplaySpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool userListEligibleForDisplaySpecified
- {
- get
- {
- return this.userListEligibleForDisplayFieldSpecified;
- }
- set
- {
- this.userListEligibleForDisplayFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Criterion.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field UserListId = new Field("UserListId", false, true);
-
- public static readonly Field UserListName = new Field("UserListName", false, true);
-
- public static readonly Field UserListMembershipStatus = new Field("UserListMembershipStatus", true, true);
-
- public static readonly Field UserListEligibleForSearch = new Field("UserListEligibleForSearch", true, true);
-
- public static readonly Field UserListEligibleForDisplay = new Field("UserListEligibleForDisplay", true, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Criterion.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field UserListId = Fields.UserListId;
-
- public static readonly Field UserListName = Fields.UserListName;
-
- public static readonly Field UserListMembershipStatus = Fields.UserListMembershipStatus;
-
- public static readonly Field UserListEligibleForSearch = Fields.UserListEligibleForSearch;
-
- public static readonly Field UserListEligibleForDisplay = Fields.UserListEligibleForDisplay;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Criterion.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field UserListMembershipStatus = Fields.UserListMembershipStatus;
-
- public static readonly Field UserListEligibleForSearch = Fields.UserListEligibleForSearch;
-
- public static readonly Field UserListEligibleForDisplay = Fields.UserListEligibleForDisplay;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Membership status of the user list.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "CriterionUserList.MembershipStatus", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum CriterionUserListMembershipStatus
- {
- /// Open status - list is accruing members and can be targeted to.
- ///
- OPEN = 0,
- /// Closed status - No new members being added. Can not be used for targeting a new
- /// campaign. Existing campaigns can still work as long as the list is not removed
- /// as a targeting criteria.
- ///
- CLOSED = 1,
- }
-
-
- /// User Interest represents a particular interest-based vertical to be targeted.
- /// This is enabled for AdX.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CriterionUserInterest : Criterion
- {
- private long userInterestIdField;
-
- private bool userInterestIdFieldSpecified;
-
- private long userInterestParentIdField;
-
- private bool userInterestParentIdFieldSpecified;
-
- private string userInterestNameField;
-
- /// Id of this user interest. This is a required field. This field can be selected using the value "UserInterestId".
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long userInterestId
- {
- get
- {
- return this.userInterestIdField;
- }
- set
- {
- this.userInterestIdField = value;
- this.userInterestIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool userInterestIdSpecified
- {
- get
- {
- return this.userInterestIdFieldSpecified;
- }
- set
- {
- this.userInterestIdFieldSpecified = value;
- }
- }
-
- /// Parent Id of this user interest. This field
- /// can be selected using the value "UserInterestParentId".This field is read only and will be ignored when
- /// sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public long userInterestParentId
- {
- get
- {
- return this.userInterestParentIdField;
- }
- set
- {
- this.userInterestParentIdField = value;
- this.userInterestParentIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool userInterestParentIdSpecified
- {
- get
- {
- return this.userInterestParentIdFieldSpecified;
- }
- set
- {
- this.userInterestParentIdFieldSpecified = value;
- }
- }
-
- /// Name of this user interest. This field can
- /// be selected using the value "UserInterestName".
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public string userInterestName
- {
- get
- {
- return this.userInterestNameField;
- }
- set
- {
- this.userInterestNameField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Criterion.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field UserInterestId = new Field("UserInterestId", false, true);
-
- public static readonly Field UserInterestParentId = new Field("UserInterestParentId", false, true);
-
- public static readonly Field UserInterestName = new Field("UserInterestName", false, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Criterion.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field UserInterestId = Fields.UserInterestId;
-
- public static readonly Field UserInterestParentId = Fields.UserInterestParentId;
-
- public static readonly Field UserInterestName = Fields.UserInterestName;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Criterion.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Represents a criterion containing a function that when evaluated specifies how
- /// to target based on the type of the location. These "location groups" are custom,
- /// dynamic bundles of locations (for instance "High income areas in California" or
- /// "Airports in France").
Examples:
For income demographic targeting, we
- /// need to specify the income tier and the geo which it targets. Areas in
- /// California that are in the top national income tier can be represented by:
- /// Function function = new Function(); function.setLhsOperand(Arrays.asList(
- /// (Operand) new IncomeOperand(IncomeTier.TIER_1));
- /// function.setOperator(Operator.AND); function.setRhsOperand(Arrays.asList(
- /// (Operand) new GeoTargetOperand(Lists.newArrayList(new CriterionId(21137L))));
- ///
For place of interest targeting, we need to specify the place of
- /// interest category and the geo which it targets. Airports in France can be
- /// represented by:
Function function = new Function();
- /// function.setLhsOperand(Arrays.asList( (Operand) new
- /// PlacesOfInterestOperand(PlacesOfInterestOperand.Category.AIRPORT));
- /// function.setOperator(Operator.AND); function.setRhsOperand(Arrays.asList(
- /// (Operand) new GeoTargetOperand(Lists.newArrayList(new CriterionId(2250L))));
- ///
NOTE: Places of interest and income targeting are read
- /// only.
This is disabled for AdX when it
- /// is contained within Operators: ADD, SET.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class LocationGroups : Criterion
- {
- private long feedIdField;
-
- private bool feedIdFieldSpecified;
-
- private Function matchingFunctionField;
-
- /// Feed to be used for targeting around locations. This is required for distance
- /// targets. This field can be selected using
- /// the value "FeedId".
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long feedId
- {
- get
- {
- return this.feedIdField;
- }
- set
- {
- this.feedIdField = value;
- this.feedIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool feedIdSpecified
- {
- get
- {
- return this.feedIdFieldSpecified;
- }
- set
- {
- this.feedIdFieldSpecified = value;
- }
- }
-
- /// Matching function to filter out locations targeted by the criteria. This allows
- /// advertisers to target based on the semantics of the location. This field can be selected using the value
- /// "MatchingFunction".This field is
- /// required and should not be null when it is contained within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public Function matchingFunction
- {
- get
- {
- return this.matchingFunctionField;
- }
- set
- {
- this.matchingFunctionField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Criterion.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field FeedId = new Field("FeedId", false, true);
-
- public static readonly Field MatchingFunction = new Field("MatchingFunction", false, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Criterion.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field FeedId = Fields.FeedId;
-
- public static readonly Field MatchingFunction = Fields.MatchingFunction;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Criterion.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Represents a Proximity Criterion. A proximity is an area within a certain radius
- /// of a point with the center point being described by a lat/long pair. The caller
- /// may also alternatively provide address fields which will be geocoded into a
- /// lat/long pair. Note: If a geoPoint value is provided, the address is not used
- /// for calculating the lat/long to target.
A criterion of this type is only
- /// targetable. This is enabled for
- /// AdX.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class Proximity : Criterion
- {
- private GeoPoint geoPointField;
-
- private ProximityDistanceUnits radiusDistanceUnitsField;
-
- private bool radiusDistanceUnitsFieldSpecified;
-
- private double radiusInUnitsField;
-
- private bool radiusInUnitsFieldSpecified;
-
- private Address addressField;
-
- /// Latitude and longitude. This field can be
- /// selected using the value "GeoPoint".
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public GeoPoint geoPoint
- {
- get
- {
- return this.geoPointField;
- }
- set
- {
- this.geoPointField = value;
- }
- }
-
- /// Radius distance units. This field can be
- /// selected using the value "RadiusDistanceUnits".This field is required and should not be null when it is
- /// contained within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public ProximityDistanceUnits radiusDistanceUnits
- {
- get
- {
- return this.radiusDistanceUnitsField;
- }
- set
- {
- this.radiusDistanceUnitsField = value;
- this.radiusDistanceUnitsSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool radiusDistanceUnitsSpecified
- {
- get
- {
- return this.radiusDistanceUnitsFieldSpecified;
- }
- set
- {
- this.radiusDistanceUnitsFieldSpecified = value;
- }
- }
-
- /// Radius expressed in distance units. This
- /// field can be selected using the value "RadiusInUnits".This field is required and should not be
- /// null when it is contained within Operators :
- /// ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public double radiusInUnits
- {
- get
- {
- return this.radiusInUnitsField;
- }
- set
- {
- this.radiusInUnitsField = value;
- this.radiusInUnitsSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool radiusInUnitsSpecified
- {
- get
- {
- return this.radiusInUnitsFieldSpecified;
- }
- set
- {
- this.radiusInUnitsFieldSpecified = value;
- }
- }
-
- /// Full address; null if unknonwn. This field can be selected using the value "Address".
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public Address address
- {
- get
- {
- return this.addressField;
- }
- set
- {
- this.addressField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Criterion.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field GeoPoint = new Field("GeoPoint", false, true);
-
- public static readonly Field RadiusDistanceUnits = new Field("RadiusDistanceUnits", false, true);
-
- public static readonly Field RadiusInUnits = new Field("RadiusInUnits", false, true);
-
- public static readonly Field Address = new Field("Address", false, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Criterion.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field GeoPoint = Fields.GeoPoint;
-
- public static readonly Field RadiusDistanceUnits = Fields.RadiusDistanceUnits;
-
- public static readonly Field RadiusInUnits = Fields.RadiusInUnits;
-
- public static readonly Field Address = Fields.Address;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Criterion.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The radius distance is expressed in either kilometers or miles.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "Proximity.DistanceUnits", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum ProximityDistanceUnits
- {
- /// The unit of distance is kilometer.
- ///
- KILOMETERS = 0,
- /// The unit of distance is mile.
- ///
- MILES = 1,
- }
-
-
- /// Scope of products. Contains a set of product dimensions, all of which a product
- /// has to match to be included in the campaign. These product dimensions must have
- /// a value; the "everything else" case without a value is not allowed.
If there
- /// is no ProductScope, all products are included in the campaign. If a
- /// campaign has more than one , products are included as long as they
- /// match any. Campaigns of AdvertisingChannelType#SHOPPING can
- /// have at most one ProductScope. This is disabled for AdX when it is contained within Operators: ADD,
- /// SET.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class ProductScope : Criterion
- {
- private ProductDimension[] dimensionsField;
-
- /// This field can be selected using the value
- /// "Dimensions".This field
- /// must contain at least one element when it is contained within Operators: ADD.This field is required and should not be null when it is
- /// contained within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute("dimensions", Order = 0)]
- public ProductDimension[] dimensions
- {
- get
- {
- return this.dimensionsField;
- }
- set
- {
- this.dimensionsField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Criterion.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field Dimensions = new Field("Dimensions", false, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Criterion.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field Dimensions = Fields.Dimensions;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Criterion.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Represents Platform criterion.
A criterion of this type can only be created
- /// using an ID. This is enabled for
- /// AdX.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class Platform : Criterion
- {
- private string platformNameField;
-
- /// This field can be selected using the value
- /// "PlatformName".This field can be
- /// filtered on.This field is read only
- /// and will be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public string platformName
- {
- get
- {
- return this.platformNameField;
- }
- set
- {
- this.platformNameField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Criterion.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field PlatformName = new Field("PlatformName", true, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Criterion.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field PlatformName = Fields.PlatformName;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Criterion.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field PlatformName = Fields.PlatformName;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// A placement used for modifying bids for sites when targeting the content
- /// network. This is enabled for AdX.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class Placement : Criterion
- {
- private string urlField;
-
- /// Url of the placement.
For example, "http://www.domain.com". This field can be selected using the value
- /// "PlacementUrl".This field can be
- /// filtered on.This field is required and
- /// should not be null when it is contained within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public string url
- {
- get
- {
- return this.urlField;
- }
- set
- {
- this.urlField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Criterion.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field PlacementUrl = new Field("PlacementUrl", true, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Criterion.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field PlacementUrl = Fields.PlacementUrl;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Criterion.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field PlacementUrl = Fields.PlacementUrl;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Parent criterion.
A criterion of this type can only be created using an ID. A
- /// criterion of this type can be either targeted or excluded. This is disabled for AdX when it is contained
- /// within Operators: ADD, SET.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class Parent : Criterion
- {
- private ParentParentType parentTypeField;
-
- private bool parentTypeFieldSpecified;
-
- /// This field can be selected using the value
- /// "ParentType".This field is read only
- /// and will be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public ParentParentType parentType
- {
- get
- {
- return this.parentTypeField;
- }
- set
- {
- this.parentTypeField = value;
- this.parentTypeSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool parentTypeSpecified
- {
- get
- {
- return this.parentTypeFieldSpecified;
- }
- set
- {
- this.parentTypeFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Criterion.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field ParentType = new Field("ParentType", false, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Criterion.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field ParentType = Fields.ParentType;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Criterion.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The possible types of parents.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "Parent.ParentType", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum ParentParentType
- {
- PARENT_PARENT = 0,
- PARENT_NOT_A_PARENT = 1,
- PARENT_UNDETERMINED = 2,
- /// Used for return value only. An enumeration
- /// could not be processed, typically due to incompatibility with your WSDL
- /// version.
- ///
- UNKNOWN = 3,
- }
-
-
- /// Represents an Operating System Version Criterion. View the complete list of
- /// available mobile platforms. You can also get the list from ConstantDataService.
- ///
A criterion of this type can only be created using an ID. A criterion of this
- /// type can be either targeted or excluded. This is enabled for AdX.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class OperatingSystemVersion : Criterion
- {
- private string nameField;
-
- private int osMajorVersionField;
-
- private bool osMajorVersionFieldSpecified;
-
- private int osMinorVersionField;
-
- private bool osMinorVersionFieldSpecified;
-
- private OperatingSystemVersionOperatorType operatorTypeField;
-
- private bool operatorTypeFieldSpecified;
-
- /// The name of the operating system. This field
- /// can be selected using the value "OperatingSystemName".This field is read only and will be ignored when
- /// sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public string name
- {
- get
- {
- return this.nameField;
- }
- set
- {
- this.nameField = value;
- }
- }
-
- /// The OS Major Version number. This field can
- /// be selected using the value "OsMajorVersion".This field is read only and will be ignored when sent to the
- /// API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public int osMajorVersion
- {
- get
- {
- return this.osMajorVersionField;
- }
- set
- {
- this.osMajorVersionField = value;
- this.osMajorVersionSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool osMajorVersionSpecified
- {
- get
- {
- return this.osMajorVersionFieldSpecified;
- }
- set
- {
- this.osMajorVersionFieldSpecified = value;
- }
- }
-
- /// The OS Minor Version number. This field can
- /// be selected using the value "OsMinorVersion".This field is read only and will be ignored when sent to the
- /// API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public int osMinorVersion
- {
- get
- {
- return this.osMinorVersionField;
- }
- set
- {
- this.osMinorVersionField = value;
- this.osMinorVersionSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool osMinorVersionSpecified
- {
- get
- {
- return this.osMinorVersionFieldSpecified;
- }
- set
- {
- this.osMinorVersionFieldSpecified = value;
- }
- }
-
- /// The operator type. This field can be
- /// selected using the value "OperatorType".This field is read only and will be ignored when sent to the
- /// API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public OperatingSystemVersionOperatorType operatorType
- {
- get
- {
- return this.operatorTypeField;
- }
- set
- {
- this.operatorTypeField = value;
- this.operatorTypeSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool operatorTypeSpecified
- {
- get
- {
- return this.operatorTypeFieldSpecified;
- }
- set
- {
- this.operatorTypeFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Criterion.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field OperatingSystemName = new Field("OperatingSystemName", false, true);
-
- public static readonly Field OsMajorVersion = new Field("OsMajorVersion", false, true);
-
- public static readonly Field OsMinorVersion = new Field("OsMinorVersion", false, true);
-
- public static readonly Field OperatorType = new Field("OperatorType", false, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Criterion.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field OperatingSystemName = Fields.OperatingSystemName;
-
- public static readonly Field OsMajorVersion = Fields.OsMajorVersion;
-
- public static readonly Field OsMinorVersion = Fields.OsMinorVersion;
-
- public static readonly Field OperatorType = Fields.OperatorType;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Criterion.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The operator type.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "OperatingSystemVersion.OperatorType", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum OperatingSystemVersionOperatorType
- {
- GREATER_THAN_EQUAL_TO = 0,
- EQUAL_TO = 1,
- UNKNOWN = 2,
- }
-
-
- /// Represents a Mobile Device Criterion.
A criterion of this type can only be
- /// created using an ID. A criterion of this type can be either targeted or
- /// excluded. This is enabled for
- /// AdX.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class MobileDevice : Criterion
- {
- private string deviceNameField;
-
- private string manufacturerNameField;
-
- private MobileDeviceDeviceType deviceTypeField;
-
- private bool deviceTypeFieldSpecified;
-
- private string operatingSystemNameField;
-
- /// This field can be selected using the value
- /// "DeviceName".This field is read only
- /// and will be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public string deviceName
- {
- get
- {
- return this.deviceNameField;
- }
- set
- {
- this.deviceNameField = value;
- }
- }
-
- /// This field can be selected using the value
- /// "ManufacturerName".This field is read
- /// only and will be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public string manufacturerName
- {
- get
- {
- return this.manufacturerNameField;
- }
- set
- {
- this.manufacturerNameField = value;
- }
- }
-
- /// This field can be selected using the value
- /// "DeviceType".This field is read only
- /// and will be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public MobileDeviceDeviceType deviceType
- {
- get
- {
- return this.deviceTypeField;
- }
- set
- {
- this.deviceTypeField = value;
- this.deviceTypeSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool deviceTypeSpecified
- {
- get
- {
- return this.deviceTypeFieldSpecified;
- }
- set
- {
- this.deviceTypeFieldSpecified = value;
- }
- }
-
- /// This field can be selected using the value
- /// "OperatingSystemName".This field is
- /// read only and will be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public string operatingSystemName
- {
- get
- {
- return this.operatingSystemNameField;
- }
- set
- {
- this.operatingSystemNameField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Criterion.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field OperatingSystemName = new Field("OperatingSystemName", false, true);
-
- public static readonly Field DeviceName = new Field("DeviceName", false, true);
-
- public static readonly Field ManufacturerName = new Field("ManufacturerName", false, true);
-
- public static readonly Field DeviceType = new Field("DeviceType", false, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Criterion.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field OperatingSystemName = Fields.OperatingSystemName;
-
- public static readonly Field DeviceName = Fields.DeviceName;
-
- public static readonly Field ManufacturerName = Fields.ManufacturerName;
-
- public static readonly Field DeviceType = Fields.DeviceType;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Criterion.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "MobileDevice.DeviceType", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum MobileDeviceDeviceType
- {
- DEVICE_TYPE_MOBILE = 0,
- DEVICE_TYPE_TABLET = 1,
- }
-
-
- /// Represents the mobile application to be targeted. This is enabled for AdX.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class MobileApplication : Criterion
- {
- private string appIdField;
-
- private string displayNameField;
-
- /// A string that uniquely identifies a mobile application to AdWords API. The
- /// format of this string is "{platform}-{platform_native_id}", where
- /// platform is "1" for iOS apps and "2" for Android apps, and where
- /// platform_native_id is the mobile application identifier native to
- /// the corresponding platform. For iOS, this native identifier is the 9 digit
- /// string that appears at the end of an App Store URL (e.g., "476943146" for
- /// "Flood-It! 2" whose App Store link is
- /// http://itunes.apple.com/us/app/flood-it!-2/id476943146). For Android, this
- /// native identifier is the application's package name (e.g.,
- /// "com.labpixies.colordrips" for "Color Drips" given Google Play link
- /// https://play.google.com/store/apps/details?id=com.labpixies.colordrips). A well
- /// formed app id for AdWords API would thus be "1-476943146" for iOS and
- /// "2-com.labpixies.colordrips" for Android. This field can be selected using the value "AppId".This field can be filtered on.This field is required and should not be
- /// null when it is contained within Operators :
- /// ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public string appId
- {
- get
- {
- return this.appIdField;
- }
- set
- {
- this.appIdField = value;
- }
- }
-
- /// Title of this mobile application. This field
- /// can be selected using the value "DisplayName".This field can be filtered on.This field is read only and will be ignored when sent to the
- /// API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public string displayName
- {
- get
- {
- return this.displayNameField;
- }
- set
- {
- this.displayNameField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Criterion.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field AppId = new Field("AppId", true, true);
-
- public static readonly Field DisplayName = new Field("DisplayName", true, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Criterion.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field AppId = Fields.AppId;
-
- public static readonly Field DisplayName = Fields.DisplayName;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Criterion.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field AppId = Fields.AppId;
-
- public static readonly Field DisplayName = Fields.DisplayName;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Represents the mobile app category to be targeted. View the complete list of
- /// available mobile app categories. This is
- /// enabled for AdX.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class MobileAppCategory : Criterion
- {
- private int mobileAppCategoryIdField;
-
- private bool mobileAppCategoryIdFieldSpecified;
-
- private string displayNameField;
-
- /// ID of this mobile app category. A complete list of the available mobile app
- /// categories is available here. This field can be selected using the value
- /// "MobileAppCategoryId".This field is
- /// required and should not be null when it is contained within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public int mobileAppCategoryId
- {
- get
- {
- return this.mobileAppCategoryIdField;
- }
- set
- {
- this.mobileAppCategoryIdField = value;
- this.mobileAppCategoryIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool mobileAppCategoryIdSpecified
- {
- get
- {
- return this.mobileAppCategoryIdFieldSpecified;
- }
- set
- {
- this.mobileAppCategoryIdFieldSpecified = value;
- }
- }
-
- /// Name of this mobile app category. This field
- /// is read only and will be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public string displayName
- {
- get
- {
- return this.displayNameField;
- }
- set
- {
- this.displayNameField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Criterion.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field MobileAppCategoryId = new Field("MobileAppCategoryId", false, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Criterion.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field MobileAppCategoryId = Fields.MobileAppCategoryId;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Criterion.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Represents Location criterion.
A criterion of this type can only be created
- /// using an ID. A criterion of this type can be either targeted or excluded. This is enabled for AdX.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class Location : Criterion
- {
- private string locationNameField;
-
- private string displayTypeField;
-
- private LocationTargetingStatus targetingStatusField;
-
- private bool targetingStatusFieldSpecified;
-
- private Location[] parentLocationsField;
-
- /// Name of the location criterion. Note: This field is filterable only in
- /// LocationCriterionService. If used as a filter, a location name cannot be greater
- /// than 300 characters. This field can be
- /// selected using the value "LocationName".This field can be filtered on.This field is read only and will be ignored when sent to the
- /// API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public string locationName
- {
- get
- {
- return this.locationNameField;
- }
- set
- {
- this.locationNameField = value;
- }
- }
-
- /// Display type of the location criterion. This
- /// field can be selected using the value "DisplayType".This field is read only and will be ignored when
- /// sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public string displayType
- {
- get
- {
- return this.displayTypeField;
- }
- set
- {
- this.displayTypeField = value;
- }
- }
-
- /// The targeting status of the location criterion. This field can be selected using the value "TargetingStatus".
- /// This field is read only and will be ignored
- /// when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public LocationTargetingStatus targetingStatus
- {
- get
- {
- return this.targetingStatusField;
- }
- set
- {
- this.targetingStatusField = value;
- this.targetingStatusSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool targetingStatusSpecified
- {
- get
- {
- return this.targetingStatusFieldSpecified;
- }
- set
- {
- this.targetingStatusFieldSpecified = value;
- }
- }
-
- /// Ordered list of parents of the location criterion. This field can be selected using the value "ParentLocations".
- /// This field is read only and will be ignored
- /// when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute("parentLocations", Order = 3)]
- public Location[] parentLocations
- {
- get
- {
- return this.parentLocationsField;
- }
- set
- {
- this.parentLocationsField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Criterion.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field LocationName = new Field("LocationName", true, true);
-
- public static readonly Field DisplayType = new Field("DisplayType", false, true);
-
- public static readonly Field TargetingStatus = new Field("TargetingStatus", false, true);
-
- public static readonly Field ParentLocations = new Field("ParentLocations", false, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Criterion.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field LocationName = Fields.LocationName;
-
- public static readonly Field DisplayType = Fields.DisplayType;
-
- public static readonly Field TargetingStatus = Fields.TargetingStatus;
-
- public static readonly Field ParentLocations = Fields.ParentLocations;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Criterion.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field LocationName = Fields.LocationName;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Enum that represents the different Targeting Status values for a Location
- /// criterion.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum LocationTargetingStatus
- {
- /// The location is active.
- ///
- ACTIVE = 0,
- /// The location is not available for targeting.
- ///
- OBSOLETE = 1,
- /// The location is phasing out, it will marked obsolete soon.
- ///
- PHASING_OUT = 2,
- }
-
-
- /// Represents a Language criterion.
A criterion of this type can only be created
- /// using an ID. A criterion of this type is only targetable. This is enabled for AdX.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class Language : Criterion
- {
- private string codeField;
-
- private string nameField;
-
- /// This field can be selected using the value
- /// "LanguageCode".This field is read only
- /// and will be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public string code
- {
- get
- {
- return this.codeField;
- }
- set
- {
- this.codeField = value;
- }
- }
-
- /// This field can be selected using the value
- /// "LanguageName".This field is read only
- /// and will be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public string name
- {
- get
- {
- return this.nameField;
- }
- set
- {
- this.nameField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Criterion.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field LanguageCode = new Field("LanguageCode", false, true);
-
- public static readonly Field LanguageName = new Field("LanguageName", false, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Criterion.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field LanguageCode = Fields.LanguageCode;
-
- public static readonly Field LanguageName = Fields.LanguageName;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Criterion.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Represents a keyword. This is disabled for
- /// AdX when it is contained within Operators: ADD, SET.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class Keyword : Criterion
- {
- private string textField;
-
- private KeywordMatchType matchTypeField;
-
- private bool matchTypeFieldSpecified;
-
- /// Text of this keyword (at most 80 characters and ten words). This field can be selected using the value
- /// "KeywordText".This field can be
- /// filtered on.Keyword text must not
- /// contain NUL (code point 0x0) characters. This is checked by the regular
- /// expression '[^\x00]*'.This field is
- /// required and should not be null when it is contained within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public string text
- {
- get
- {
- return this.textField;
- }
- set
- {
- this.textField = value;
- }
- }
-
- /// Match type of this keyword. This field can
- /// be selected using the value "KeywordMatchType".This field can be filtered on.This field is required and should not be null when it is
- /// contained within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public KeywordMatchType matchType
- {
- get
- {
- return this.matchTypeField;
- }
- set
- {
- this.matchTypeField = value;
- this.matchTypeSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool matchTypeSpecified
- {
- get
- {
- return this.matchTypeFieldSpecified;
- }
- set
- {
- this.matchTypeFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Criterion.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field KeywordText = new Field("KeywordText", true, true);
-
- public static readonly Field KeywordMatchType = new Field("KeywordMatchType", true, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Criterion.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field KeywordText = Fields.KeywordText;
-
- public static readonly Field KeywordMatchType = Fields.KeywordMatchType;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Criterion.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field KeywordText = Fields.KeywordText;
-
- public static readonly Field KeywordMatchType = Fields.KeywordMatchType;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Match type of a keyword. i.e. the way we match a keyword string with search
- /// queries.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum KeywordMatchType
- {
- /// Exact match
- ///
- EXACT = 0,
- /// Phrase match
- ///
- PHRASE = 1,
- /// Broad match
- ///
- BROAD = 2,
- }
-
-
- /// Criterion used for IP exclusions. We allow:
IPv4 and IPv6
- /// addresses
individual addresses (192.168.0.1)
CIDR IP address
- /// blocks (e.g., 1.2.3.0/24, 2001:db8::/32).
Note that for a CIDR IP
- /// address block, the specified IP address portion must be properly truncated (i.e.
- /// all the host bits must be zero) or the input is considered malformed. For
- /// example, "1.2.3.0/24" is accepted but "1.2.3.4/24" is not. Similarly, for IPv6,
- /// "2001:db8::/32" is accepted whereas "2001:db8::1/32" is not. This is disabled for AdX when it is contained
- /// within Operators: ADD, SET.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class IpBlock : Criterion
- {
- private string ipAddressField;
-
- /// This field can be selected using the value
- /// "IpAddress".This field can be
- /// filtered on.This field is required and
- /// should not be null when it is contained within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public string ipAddress
- {
- get
- {
- return this.ipAddressField;
- }
- set
- {
- this.ipAddressField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Criterion.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field IpAddress = new Field("IpAddress", true, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Criterion.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field IpAddress = Fields.IpAddress;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Criterion.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field IpAddress = Fields.IpAddress;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Income range criterion allows to target and exclude predefined income percentile
- /// ranges.
A criterion of this type can only be created using an ID. A criterion
- /// of this type can be either targeted or excluded. This is disabled for AdX when it is contained within Operators: ADD,
- /// SET.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class IncomeRange : Criterion
- {
- private IncomeRangeIncomeRangeType incomeRangeTypeField;
-
- private bool incomeRangeTypeFieldSpecified;
-
- /// This field can be selected using the value
- /// "IncomeRangeType".This field is read
- /// only and will be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public IncomeRangeIncomeRangeType incomeRangeType
- {
- get
- {
- return this.incomeRangeTypeField;
- }
- set
- {
- this.incomeRangeTypeField = value;
- this.incomeRangeTypeSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool incomeRangeTypeSpecified
- {
- get
- {
- return this.incomeRangeTypeFieldSpecified;
- }
- set
- {
- this.incomeRangeTypeFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Criterion.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field IncomeRangeType = new Field("IncomeRangeType", false, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Criterion.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field IncomeRangeType = Fields.IncomeRangeType;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Criterion.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Income percentile ranges.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "IncomeRange.IncomeRangeType", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum IncomeRangeIncomeRangeType
- {
- /// Users for which income range is undetermined.
- ///
- INCOME_RANGE_UNDETERMINED = 0,
- /// Users in [0%, 50%) income percentile range.
- ///
- INCOME_RANGE_0_50 = 1,
- /// Users in [50%, 60%) income percentile range.
- ///
- INCOME_RANGE_50_60 = 2,
- /// Users in [60%, 70%) income percentile range.
- ///
- INCOME_RANGE_60_70 = 3,
- /// Users in [70%, 80%) income percentile range.
- ///
- INCOME_RANGE_70_80 = 4,
- /// Users in [80%, 90%) income percentile range.
- ///
- INCOME_RANGE_80_90 = 5,
- /// Users in [90%, 100%] income percentile range.
- ///
- INCOME_RANGE_90_UP = 6,
- /// Used for return value only. An enumeration
- /// could not be processed, typically due to incompatibility with your WSDL
- /// version.
- ///
- UNKNOWN = 7,
- }
-
-
- /// Represents a Gender criterion.
A criterion of this type can only be created
- /// using an ID. A criterion of this type can be either targeted or excluded. This is disabled for AdX when it is contained
- /// within Operators: ADD, SET.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class Gender : Criterion
- {
- private GenderGenderType genderTypeField;
-
- private bool genderTypeFieldSpecified;
-
- /// This field can be selected using the value
- /// "GenderType".This field is read only
- /// and will be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public GenderGenderType genderType
- {
- get
- {
- return this.genderTypeField;
- }
- set
- {
- this.genderTypeField = value;
- this.genderTypeSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool genderTypeSpecified
- {
- get
- {
- return this.genderTypeFieldSpecified;
- }
- set
- {
- this.genderTypeFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Criterion.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field GenderType = new Field("GenderType", false, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Criterion.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field GenderType = Fields.GenderType;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Criterion.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "Gender.GenderType", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum GenderGenderType
- {
- GENDER_MALE = 0,
- GENDER_FEMALE = 1,
- GENDER_UNDETERMINED = 2,
- }
-
-
- /// Content Label for category exclusion. This
- /// is enabled for AdX.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class ContentLabel : Criterion
- {
- private ContentLabelType contentLabelTypeField;
-
- private bool contentLabelTypeFieldSpecified;
-
- /// Content label type This field can be
- /// selected using the value "ContentLabelType".This field can be filtered on.This field is required and should not be null when it is
- /// contained within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public ContentLabelType contentLabelType
- {
- get
- {
- return this.contentLabelTypeField;
- }
- set
- {
- this.contentLabelTypeField = value;
- this.contentLabelTypeSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool contentLabelTypeSpecified
- {
- get
- {
- return this.contentLabelTypeFieldSpecified;
- }
- set
- {
- this.contentLabelTypeFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Criterion.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field ContentLabelType = new Field("ContentLabelType", true, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Criterion.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field ContentLabelType = Fields.ContentLabelType;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Criterion.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field ContentLabelType = Fields.ContentLabelType;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Content label type.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum ContentLabelType
- {
- /// Sexually suggestive content
- ///
- ADULTISH = 0,
- /// Error pages
Note: Starting with v201710, this label is
- /// deprecated and can only be removed from campaigns - it can no longer be added. A
- /// future release will remove this label entirely.
- ///
- AFE = 1,
- /// Below the fold placements
- ///
- BELOW_THE_FOLD = 2,
- /// Military & international conflict
Note: Starting with
- /// v201710, this label is deprecated and can only be removed from campaigns - it
- /// can no longer be added. A future release will remove this label entirely. Please
- /// use the TRAGEDY label instead of this one going forward.
Note: Starting with v201710, this label is
- /// deprecated and can only be removed from campaigns - it can no longer be added. A
- /// future release will remove this label entirely.
- ///
- UGC_FORUMS = 9,
- /// Image-sharing pages
Note: Starting with v201710, this
- /// label is deprecated and can only be removed from campaigns - it can no longer be
- /// added. A future release will remove this label entirely.
- ///
- UGC_IMAGES = 10,
- /// Social networks
Note: Starting with v201710, this label
- /// is deprecated and can only be removed from campaigns - it can no longer be
- /// added. A future release will remove this label entirely.
Note: Starting with v201710, this
- /// label is deprecated and can only be removed from campaigns - it can no longer be
- /// added. A future release will remove this label entirely.
Note: Starting with
- /// v201710, this label is deprecated and can only be removed from campaigns - it
- /// can no longer be added. A future release will remove this label entirely. Please
- /// use the TRAGEDY label instead of this one going forward.
Note: Starting with v201710,
- /// this label is deprecated and can only be removed from campaigns - it can no
- /// longer be added. A future release will remove this label entirely.
- ///
- ALLOWED_GAMBLING_CONTENT = 22,
- /// Used for return value only. An enumeration
- /// could not be processed, typically due to incompatibility with your WSDL
- /// version.
- ///
- UNKNOWN = 23,
- }
-
-
- /// Represents a Carrier Criterion.
A criterion of this type can only be created
- /// using an ID. A criterion of this type can be either targeted or excluded. This is enabled for AdX.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class Carrier : Criterion
- {
- private string nameField;
-
- private string countryCodeField;
-
- /// Name of the carrier. This field can be
- /// selected using the value "CarrierName".This field is read only and will be ignored when sent to the
- /// API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public string name
- {
- get
- {
- return this.nameField;
- }
- set
- {
- this.nameField = value;
- }
- }
-
- /// Country code of the carrier. Can be null if not applicable, e.g.,
- /// for Carrier "Wifi". This field can be
- /// selected using the value "CarrierCountryCode".This field is read only and will be ignored when sent to the
- /// API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public string countryCode
- {
- get
- {
- return this.countryCodeField;
- }
- set
- {
- this.countryCodeField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Criterion.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field CarrierName = new Field("CarrierName", false, true);
-
- public static readonly Field CarrierCountryCode = new Field("CarrierCountryCode", false, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Criterion.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field CarrierName = Fields.CarrierName;
-
- public static readonly Field CarrierCountryCode = Fields.CarrierCountryCode;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Criterion.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Represents an Age Range criterion.
A criterion of this type can only be
- /// created using an ID. A criterion of this type can be either targeted or
- /// excluded. This is disabled for AdX when it
- /// is contained within Operators: ADD, SET.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class AgeRange : Criterion
- {
- private AgeRangeAgeRangeType ageRangeTypeField;
-
- private bool ageRangeTypeFieldSpecified;
-
- /// This field can be selected using the value
- /// "AgeRangeType".This field is read only
- /// and will be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public AgeRangeAgeRangeType ageRangeType
- {
- get
- {
- return this.ageRangeTypeField;
- }
- set
- {
- this.ageRangeTypeField = value;
- this.ageRangeTypeSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool ageRangeTypeSpecified
- {
- get
- {
- return this.ageRangeTypeFieldSpecified;
- }
- set
- {
- this.ageRangeTypeFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Criterion.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field AgeRangeType = new Field("AgeRangeType", false, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Criterion.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field AgeRangeType = Fields.AgeRangeType;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Criterion.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "AgeRange.AgeRangeType", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum AgeRangeAgeRangeType
- {
- AGE_RANGE_18_24 = 0,
- AGE_RANGE_25_34 = 1,
- AGE_RANGE_35_44 = 2,
- AGE_RANGE_45_54 = 3,
- AGE_RANGE_55_64 = 4,
- AGE_RANGE_65_UP = 5,
- AGE_RANGE_UNDETERMINED = 6,
- /// Used for return value only. An enumeration
- /// could not be processed, typically due to incompatibility with your WSDL
- /// version.
- ///
- UNKNOWN = 7,
- }
-
-
- /// Represents an AdSchedule Criterion. AdSchedule is specified as day and time of
- /// the week criteria to target the Ads.
Note: An AdSchedule may not have
- /// more than six intervals in a day.
This is enabled for AdX.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class AdSchedule : Criterion
- {
- private DayOfWeek dayOfWeekField;
-
- private bool dayOfWeekFieldSpecified;
-
- private int startHourField;
-
- private bool startHourFieldSpecified;
-
- private MinuteOfHour startMinuteField;
-
- private bool startMinuteFieldSpecified;
-
- private int endHourField;
-
- private bool endHourFieldSpecified;
-
- private MinuteOfHour endMinuteField;
-
- private bool endMinuteFieldSpecified;
-
- /// Day of the week the schedule applies to. This field can be selected using the value "DayOfWeek".This field is read only and will be ignored when
- /// sent to the API for the following Operators: REMOVE and
- /// SET.This field is required and should
- /// not be null when it is contained within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public DayOfWeek dayOfWeek
- {
- get
- {
- return this.dayOfWeekField;
- }
- set
- {
- this.dayOfWeekField = value;
- this.dayOfWeekSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool dayOfWeekSpecified
- {
- get
- {
- return this.dayOfWeekFieldSpecified;
- }
- set
- {
- this.dayOfWeekFieldSpecified = value;
- }
- }
-
- /// Starting hour in 24 hour time. This field
- /// can be selected using the value "StartHour".This field must be between 0 and 23, inclusive.This field is read only and will be ignored when
- /// sent to the API for the following Operators: REMOVE and
- /// SET.This field is required and should
- /// not be null when it is contained within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public int startHour
- {
- get
- {
- return this.startHourField;
- }
- set
- {
- this.startHourField = value;
- this.startHourSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool startHourSpecified
- {
- get
- {
- return this.startHourFieldSpecified;
- }
- set
- {
- this.startHourFieldSpecified = value;
- }
- }
-
- /// Interval starts these minutes after the starting hour. The value can be 0, 15,
- /// 30, and 45. This field can be selected using
- /// the value "StartMinute".This field is
- /// read only and will be ignored when sent to the API for the following Operators: REMOVE and SET.This field is required and should not be null when it is
- /// contained within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public MinuteOfHour startMinute
- {
- get
- {
- return this.startMinuteField;
- }
- set
- {
- this.startMinuteField = value;
- this.startMinuteSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool startMinuteSpecified
- {
- get
- {
- return this.startMinuteFieldSpecified;
- }
- set
- {
- this.startMinuteFieldSpecified = value;
- }
- }
-
- /// Ending hour in 24 hour time; 24 signifies end of the day. This field can be selected using the value
- /// "EndHour".This field must be between 0
- /// and 24, inclusive.This field is read
- /// only and will be ignored when sent to the API for the following Operators: REMOVE and SET.This field is required and should not be null when it is
- /// contained within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public int endHour
- {
- get
- {
- return this.endHourField;
- }
- set
- {
- this.endHourField = value;
- this.endHourSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool endHourSpecified
- {
- get
- {
- return this.endHourFieldSpecified;
- }
- set
- {
- this.endHourFieldSpecified = value;
- }
- }
-
- /// Interval ends these minutes after the ending hour. The value can be 0, 15, 30,
- /// and 45. This field can be selected using the
- /// value "EndMinute".This field is read
- /// only and will be ignored when sent to the API for the following Operators: REMOVE and SET.This field is required and should not be null when it is
- /// contained within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 4)]
- public MinuteOfHour endMinute
- {
- get
- {
- return this.endMinuteField;
- }
- set
- {
- this.endMinuteField = value;
- this.endMinuteSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool endMinuteSpecified
- {
- get
- {
- return this.endMinuteFieldSpecified;
- }
- set
- {
- this.endMinuteFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Criterion.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field DayOfWeek = new Field("DayOfWeek", false, true);
-
- public static readonly Field StartHour = new Field("StartHour", false, true);
-
- public static readonly Field StartMinute = new Field("StartMinute", false, true);
-
- public static readonly Field EndHour = new Field("EndHour", false, true);
-
- public static readonly Field EndMinute = new Field("EndMinute", false, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Criterion.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field DayOfWeek = Fields.DayOfWeek;
-
- public static readonly Field StartHour = Fields.StartHour;
-
- public static readonly Field StartMinute = Fields.StartMinute;
-
- public static readonly Field EndHour = Fields.EndHour;
-
- public static readonly Field EndMinute = Fields.EndMinute;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Criterion.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Days of the week.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum DayOfWeek
- {
- /// The day of week named Monday.
- ///
- MONDAY = 0,
- /// The day of week named Tuesday.
- ///
- TUESDAY = 1,
- /// The day of week named Wednesday.
- ///
- WEDNESDAY = 2,
- /// The day of week named Thursday.
- ///
- THURSDAY = 3,
- /// The day of week named Friday.
- ///
- FRIDAY = 4,
- /// The day of week named Saturday.
- ///
- SATURDAY = 5,
- /// The day of week named Sunday.
- ///
- SUNDAY = 6,
- }
-
-
- /// Minutes in an hour. Currently only 0, 15, 30, and 45 are supported
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum MinuteOfHour
- {
- /// Zero minutes past hour.
- ///
- ZERO = 0,
- /// Fifteen minutes past hour.
- ///
- FIFTEEN = 1,
- /// Thirty minutes past hour.
- ///
- THIRTY = 2,
- /// Forty-five minutes past hour.
- ///
- FORTY_FIVE = 3,
- }
-
-
- /// Represents a campaign level criterion.
- ///
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(NegativeCampaignCriterion))]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CampaignCriterion
- {
- private long campaignIdField;
-
- private bool campaignIdFieldSpecified;
-
- private bool isNegativeField;
-
- private bool isNegativeFieldSpecified;
-
- private Criterion criterionField;
-
- private double bidModifierField;
-
- private bool bidModifierFieldSpecified;
-
- private CampaignCriterionCampaignCriterionStatus campaignCriterionStatusField;
-
- private bool campaignCriterionStatusFieldSpecified;
-
- private long baseCampaignIdField;
-
- private bool baseCampaignIdFieldSpecified;
-
- private String_StringMapEntry[] forwardCompatibilityMapField;
-
- private string campaignCriterionTypeField;
-
- /// The campaign that the criterion is in. This
- /// field can be selected using the value "CampaignId".This field can be filtered on.This field is required and should not be
- /// null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long campaignId
- {
- get
- {
- return this.campaignIdField;
- }
- set
- {
- this.campaignIdField = value;
- this.campaignIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool campaignIdSpecified
- {
- get
- {
- return this.campaignIdFieldSpecified;
- }
- set
- {
- this.campaignIdFieldSpecified = value;
- }
- }
-
- /// This field can be selected using the value
- /// "IsNegative".This field can be
- /// filtered on.This field is read only
- /// and will be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public bool isNegative
- {
- get
- {
- return this.isNegativeField;
- }
- set
- {
- this.isNegativeField = value;
- this.isNegativeSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool isNegativeSpecified
- {
- get
- {
- return this.isNegativeFieldSpecified;
- }
- set
- {
- this.isNegativeFieldSpecified = value;
- }
- }
-
- /// The criterion part of the campaign criterion. This field is required and should not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public Criterion criterion
- {
- get
- {
- return this.criterionField;
- }
- set
- {
- this.criterionField = value;
- }
- }
-
- /// The modifier for bids when the criterion matches.
Valid modifier values range
- /// from 0.1 to 10.0, with 0.0 reserved for
- /// opting out of platform criterion.
To clear an existing bid modifier,
- /// specify -1.0 (invalid for initial ADD operations).
- /// This field can be selected using the value
- /// "BidModifier".This field can be
- /// filtered on.This field may not be
- /// set for campaign channel type SHOPPING with campaign channel subtype
- /// SHOPPING_GOAL_OPTIMIZED_ADS.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public double bidModifier
- {
- get
- {
- return this.bidModifierField;
- }
- set
- {
- this.bidModifierField = value;
- this.bidModifierSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool bidModifierSpecified
- {
- get
- {
- return this.bidModifierFieldSpecified;
- }
- set
- {
- this.bidModifierFieldSpecified = value;
- }
- }
-
- /// The status for criteria. This field can be
- /// selected using the value "CampaignCriterionStatus".This field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 4)]
- public CampaignCriterionCampaignCriterionStatus campaignCriterionStatus
- {
- get
- {
- return this.campaignCriterionStatusField;
- }
- set
- {
- this.campaignCriterionStatusField = value;
- this.campaignCriterionStatusSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool campaignCriterionStatusSpecified
- {
- get
- {
- return this.campaignCriterionStatusFieldSpecified;
- }
- set
- {
- this.campaignCriterionStatusFieldSpecified = value;
- }
- }
-
- /// ID of the base campaign from which this draft/trial campaign criterion was
- /// created. This field is only returned on get requests. This field can be selected using the value
- /// "BaseCampaignId".This field can be
- /// filtered on.This field is read only
- /// and will be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 5)]
- public long baseCampaignId
- {
- get
- {
- return this.baseCampaignIdField;
- }
- set
- {
- this.baseCampaignIdField = value;
- this.baseCampaignIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool baseCampaignIdSpecified
- {
- get
- {
- return this.baseCampaignIdFieldSpecified;
- }
- set
- {
- this.baseCampaignIdFieldSpecified = value;
- }
- }
-
- /// This Map provides a place to put new features and settings in older versions of
- /// the AdWords API in the rare instance we need to introduce a new feature in an
- /// older version. It is presently unused. Do not set a value.
- ///
- [System.Xml.Serialization.XmlElementAttribute("forwardCompatibilityMap", Order = 6)]
- public String_StringMapEntry[] forwardCompatibilityMap
- {
- get
- {
- return this.forwardCompatibilityMapField;
- }
- set
- {
- this.forwardCompatibilityMapField = value;
- }
- }
-
- /// Indicates that this instance is a subtype of CampaignCriterion. Although this
- /// field is returned in the response, it is ignored on input and cannot be
- /// selected. Specify xsi:type instead.
- ///
- [System.Xml.Serialization.XmlElementAttribute("CampaignCriterion.Type", Order = 7)]
- public string CampaignCriterionType
- {
- get
- {
- return this.campaignCriterionTypeField;
- }
- set
- {
- this.campaignCriterionTypeField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field CampaignId = new Field("CampaignId", true, true);
-
- public static readonly Field IsNegative = new Field("IsNegative", true, true);
-
- public static readonly Field BidModifier = new Field("BidModifier", true, true);
-
- public static readonly Field CampaignCriterionStatus = new Field("CampaignCriterionStatus", true, true);
-
- public static readonly Field BaseCampaignId = new Field("BaseCampaignId", true, true);
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field CampaignId = Fields.CampaignId;
-
- public static readonly Field IsNegative = Fields.IsNegative;
-
- public static readonly Field BidModifier = Fields.BidModifier;
-
- public static readonly Field CampaignCriterionStatus = Fields.CampaignCriterionStatus;
-
- public static readonly Field BaseCampaignId = Fields.BaseCampaignId;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field CampaignId = Fields.CampaignId;
-
- public static readonly Field IsNegative = Fields.IsNegative;
-
- public static readonly Field BidModifier = Fields.BidModifier;
-
- public static readonly Field CampaignCriterionStatus = Fields.CampaignCriterionStatus;
-
- public static readonly Field BaseCampaignId = Fields.BaseCampaignId;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The status of the campaign criteria.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "CampaignCriterion.CampaignCriterionStatus", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum CampaignCriterionCampaignCriterionStatus
- {
- ACTIVE = 0,
- REMOVED = 1,
- PAUSED = 2,
- }
-
-
- /// A negative campaign criterion.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class NegativeCampaignCriterion : CampaignCriterion
- {
- }
-
-
- /// Contains a subset of campaign criteria resulting from a call to CampaignCriterionService#get.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CampaignCriterionPage : Page
- {
- private CampaignCriterion[] entriesField;
-
- /// The result entries in this page.
- ///
- [System.Xml.Serialization.XmlElementAttribute("entries", Order = 0)]
- public CampaignCriterion[] entries
- {
- get
- {
- return this.entriesField;
- }
- set
- {
- this.entriesField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Page.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Page.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Page.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// A list of all errors associated with the @RegionCode constraints.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class RegionCodeError : ApiError
- {
- private RegionCodeErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// The error reason represented by an enum.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public RegionCodeErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The reasons for the validation error.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "RegionCodeError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum RegionCodeErrorReason
- {
- INVALID_REGION_CODE = 0,
- }
-
-
- /// Error class used for reporting criteria related errors.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CriterionError : ApiError
- {
- private CriterionErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public CriterionErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "CriterionError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum CriterionErrorReason
- {
- /// Concrete type of criterion is required for ADD and SET operations.
- ///
- CONCRETE_TYPE_REQUIRED = 0,
- /// The category requested for exclusion is invalid.
- ///
- INVALID_EXCLUDED_CATEGORY = 1,
- /// Invalid keyword criteria text.
- ///
- INVALID_KEYWORD_TEXT = 2,
- /// Keyword text should be less than 80 chars.
- ///
- KEYWORD_TEXT_TOO_LONG = 3,
- /// Keyword text has too many words.
- ///
- KEYWORD_HAS_TOO_MANY_WORDS = 4,
- /// Keyword text has invalid characters or symbols.
- ///
- KEYWORD_HAS_INVALID_CHARS = 5,
- /// Invalid placement URL.
- ///
- INVALID_PLACEMENT_URL = 6,
- /// Invalid user list criterion.
- ///
- INVALID_USER_LIST = 7,
- /// Invalid user interest criterion.
- ///
- INVALID_USER_INTEREST = 8,
- /// Placement URL has wrong format.
- ///
- INVALID_FORMAT_FOR_PLACEMENT_URL = 9,
- /// Placement URL is too long.
- ///
- PLACEMENT_URL_IS_TOO_LONG = 10,
- /// Indicates the URL contains an illegal character.
- ///
- PLACEMENT_URL_HAS_ILLEGAL_CHAR = 11,
- /// Indicates the URL contains multiple comma separated URLs.
- ///
- PLACEMENT_URL_HAS_MULTIPLE_SITES_IN_LINE = 12,
- /// Indicates the domain is blacklisted.
- ///
- PLACEMENT_IS_NOT_AVAILABLE_FOR_TARGETING_OR_EXCLUSION = 13,
- /// Invalid vertical path.
- ///
- INVALID_VERTICAL_PATH = 14,
- /// The YouTube Channel Id is invalid.
- ///
- INVALID_YOUTUBE_CHANNEL_ID = 80,
- /// The YouTube Video Id is invalid.
- ///
- INVALID_YOUTUBE_VIDEO_ID = 81,
- /// Indicates the placement is a YouTube vertical channel, which is no longer
- /// supported.
- ///
- YOUTUBE_VERTICAL_CHANNEL_DEPRECATED = 15,
- /// Indicates the placement is a YouTube demographic channel, which is no longer
- /// supported.
- ///
- YOUTUBE_DEMOGRAPHIC_CHANNEL_DEPRECATED = 16,
- /// YouTube urls are not supported in Placement criterion. Use YouTubeChannel and
- /// YouTubeVideo criterion instead.
- ///
- YOUTUBE_URL_UNSUPPORTED = 17,
- /// Criteria type can not be excluded by the customer, like AOL account type cannot
- /// target site type criteria.
- ///
- CANNOT_EXCLUDE_CRITERIA_TYPE = 18,
- /// Criteria type can not be targeted.
- ///
- CANNOT_ADD_CRITERIA_TYPE = 19,
- /// Product filter in the product criteria has invalid characters. Operand and the
- /// argument in the filter can not have "==" or "&+".
- ///
- INVALID_PRODUCT_FILTER = 20,
- /// Product filter in the product criteria is translated to a string as
- /// operand1==argument1&+operand2==argument2, maximum allowed length for the
- /// string is 255 chars.
- ///
- PRODUCT_FILTER_TOO_LONG = 21,
- /// Not allowed to exclude similar user list.
- ///
- CANNOT_EXCLUDE_SIMILAR_USER_LIST = 75,
- /// Not allowed to target a closed user list.
- ///
- CANNOT_ADD_CLOSED_USER_LIST = 77,
- /// Not allowed to add display only UserLists to search only campaigns.
- ///
- CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_ONLY_CAMPAIGNS = 22,
- /// Not allowed to add display only UserLists to search plus campaigns.
- ///
- CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_CAMPAIGNS = 73,
- /// Not allowed to add display only UserLists to shopping campaigns.
- ///
- CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SHOPPING_CAMPAIGNS = 79,
- /// Not allowed to add User interests to search only campaigns.
- ///
- CANNOT_ADD_USER_INTERESTS_TO_SEARCH_CAMPAIGNS = 74,
- /// Not allowed to set bids for this criterion type in search campaigns
- ///
- CANNOT_SET_BIDS_ON_CRITERION_TYPE_IN_SEARCH_CAMPAIGNS = 23,
- /// Final URLs, URL Templates and CustomParameters cannot be set for the criterion
- /// types of Gender, AgeRange, UserList, Placement, MobileApp, and MobileAppCategory
- /// in search campaigns and shopping campaigns.
- ///
- CANNOT_ADD_URLS_TO_CRITERION_TYPE_FOR_CAMPAIGN_TYPE = 78,
- /// IP address is not valid.
- ///
- INVALID_IP_ADDRESS = 25,
- /// IP format is not valid.
- ///
- INVALID_IP_FORMAT = 26,
- /// Mobile application is not valid.
- ///
- INVALID_MOBILE_APP = 27,
- /// Mobile application category is not valid.
- ///
- INVALID_MOBILE_APP_CATEGORY = 28,
- /// The CriterionId does not exist or is of the incorrect type.
- ///
- INVALID_CRITERION_ID = 29,
- /// The Criterion is not allowed to be targeted.
- ///
- CANNOT_TARGET_CRITERION = 30,
- /// The criterion is not allowed to be targeted as it is deprecated.
- ///
- CANNOT_TARGET_OBSOLETE_CRITERION = 31,
- /// The CriterionId is not valid for the type.
- ///
- CRITERION_ID_AND_TYPE_MISMATCH = 32,
- /// Distance for the radius for the proximity criterion is invalid.
- ///
- INVALID_PROXIMITY_RADIUS = 33,
- /// Units for the distance for the radius for the proximity criterion is invalid.
- ///
- INVALID_PROXIMITY_RADIUS_UNITS = 34,
- /// Street address is too short.
- ///
- INVALID_STREETADDRESS_LENGTH = 35,
- /// City name in the address is too short.
- ///
- INVALID_CITYNAME_LENGTH = 36,
- /// Region code in the address is too short.
- ///
- INVALID_REGIONCODE_LENGTH = 37,
- /// Region name in the address is not valid.
- ///
- INVALID_REGIONNAME_LENGTH = 38,
- /// Postal code in the address is not valid.
- ///
- INVALID_POSTALCODE_LENGTH = 39,
- /// Country code in the address is not valid.
- ///
- INVALID_COUNTRY_CODE = 40,
- /// Latitude for the GeoPoint is not valid.
- ///
- INVALID_LATITUDE = 41,
- /// Longitude for the GeoPoint is not valid.
- ///
- INVALID_LONGITUDE = 42,
- /// The Proximity input is not valid. Both address and geoPoint cannot be null.
- ///
- PROXIMITY_GEOPOINT_AND_ADDRESS_BOTH_CANNOT_BE_NULL = 43,
- /// The Proximity address cannot be geocoded to a valid lat/long.
- ///
- INVALID_PROXIMITY_ADDRESS = 44,
- /// User domain name is not valid.
- ///
- INVALID_USER_DOMAIN_NAME = 45,
- /// The combination of operand and operator in webpage condition is invalid.
- ///
- INVALID_WEBPAGE_CONDITION = 82,
- /// The URL of webpage condition is invalid.
- ///
- INVALID_WEBPAGE_CONDITION_URL = 83,
- /// The URL of webpage condition cannot be empty or contain white space.
- ///
- WEBPAGE_CONDITION_URL_CANNOT_BE_EMPTY = 84,
- /// The URL of webpage condition contains unsupported protocol.
- ///
- WEBPAGE_CONDITION_URL_UNSUPPORTED_PROTOCOL = 85,
- /// The URL of webpage condition cannot be an IP address.
- ///
- WEBPAGE_CONDITION_URL_CANNOT_BE_IP_ADDRESS = 86,
- /// The domain of the URL is not consistent with the domain in campaign setting.
- ///
- WEBPAGE_CONDITION_URL_DOMAIN_NOT_CONSISTENT_WITH_CAMPAIGN_SETTING = 87,
- /// The URL of webpage condition cannot be a public suffix itself.
- ///
- WEBPAGE_CONDITION_URL_CANNOT_BE_PUBLIC_SUFFIX = 88,
- /// The URL of webpage condition has an invalid public suffix.
- ///
- WEBPAGE_CONDITION_URL_INVALID_PUBLIC_SUFFIX = 89,
- /// Value track parameter is not supported in webpage condition URL.
- ///
- WEBPAGE_CONDITION_URL_VALUE_TRACK_VALUE_NOT_SUPPORTED = 90,
- /// Only one URL-EQUALS webpage condition is allowed in a webpage criterion and it
- /// cannot be combined with other conditions.
- ///
- WEBPAGE_CRITERION_URL_EQUALS_CAN_HAVE_ONLY_ONE_CONDITION = 91,
- /// Only allow smart targeting on non-DSA ad groups.
- ///
- WEBPAGE_CRITERION_CANNOT_ADD_NON_SMART_TARGETING_TO_NON_DSA_AD_GROUP = 92,
- /// Length of serialized criterion parameter exceeded size limit.
- ///
- CRITERION_PARAMETER_TOO_LONG = 46,
- /// Time interval in the AdSchedule overlaps with another AdSchedule.
- ///
- AD_SCHEDULE_TIME_INTERVALS_OVERLAP = 47,
- /// AdSchedule time interval cannot span multiple days.
- ///
- AD_SCHEDULE_INTERVAL_CANNOT_SPAN_MULTIPLE_DAYS = 48,
- /// AdSchedule time interval specified is invalid, endTime cannot be earlier than
- /// startTime.
- ///
- AD_SCHEDULE_INVALID_TIME_INTERVAL = 49,
- /// The number of AdSchedule entries in a day exceeds the limit.
- ///
- AD_SCHEDULE_EXCEEDED_INTERVALS_PER_DAY_LIMIT = 50,
- /// CriteriaId does not match the interval of the AdSchedule specified.
- ///
- AD_SCHEDULE_CRITERION_ID_MISMATCHING_FIELDS = 51,
- /// Cannot set bid modifier for this criterion type.
- ///
- CANNOT_BID_MODIFY_CRITERION_TYPE = 52,
- /// Cannot bid modify criterion, since it is opted out of the campaign.
- ///
- CANNOT_BID_MODIFY_CRITERION_CAMPAIGN_OPTED_OUT = 53,
- /// Cannot set bid modifier for a negative criterion.
- ///
- CANNOT_BID_MODIFY_NEGATIVE_CRITERION = 54,
- /// Bid Modifier already exists. Use SET operation to update.
- ///
- BID_MODIFIER_ALREADY_EXISTS = 55,
- /// Feed Id is not allowed in these Location Groups.
- ///
- FEED_ID_NOT_ALLOWED = 56,
- /// The account may not use the requested criteria type. For example, some accounts
- /// are restricted to keywords only.
- ///
- ACCOUNT_INELIGIBLE_FOR_CRITERIA_TYPE = 57,
- /// The requested criteria type cannot be used with campaign or ad group bidding
- /// strategy.
- ///
- CRITERIA_TYPE_INVALID_FOR_BIDDING_STRATEGY = 58,
- /// The Criterion is not allowed to be excluded.
- ///
- CANNOT_EXCLUDE_CRITERION = 59,
- /// The criterion is not allowed to be removed. For example, we cannot remove any of
- /// the platform criterion.
- ///
- CANNOT_REMOVE_CRITERION = 60,
- /// The combined length of product dimension values of the product scope criterion
- /// is too long.
- ///
- PRODUCT_SCOPE_TOO_LONG = 61,
- /// Product scope contains too many dimensions.
- ///
- PRODUCT_SCOPE_TOO_MANY_DIMENSIONS = 62,
- /// The combined length of product dimension values of the product partition
- /// criterion is too long.
- ///
- PRODUCT_PARTITION_TOO_LONG = 63,
- /// Product partition contains too many dimensions.
- ///
- PRODUCT_PARTITION_TOO_MANY_DIMENSIONS = 64,
- /// The product dimension is invalid (e.g. dimension contains illegal value,
- /// dimension type is represented with wrong class, etc). Product dimension value
- /// can not contain "==" or "&+".
- ///
- INVALID_PRODUCT_DIMENSION = 65,
- /// Product dimension type is either invalid for campaigns of this type or cannot be
- /// used in the current context. BIDDING_CATEGORY_Lx and PRODUCT_TYPE_Lx product
- /// dimensions must be used in ascending order of their levels: L1, L2, L3, L4,
- /// L5... The levels must be specified sequentially and start from L1. Furthermore,
- /// an "others" product partition cannot be subdivided with a dimension of the same
- /// type but of a higher level ("others" BIDDING_CATEGORY_L3 can be subdivided with
- /// BRAND but not with BIDDING_CATEGORY_L4).
- ///
- INVALID_PRODUCT_DIMENSION_TYPE = 66,
- /// Bidding categories do not form a valid path in the Shopping bidding category
- /// taxonomy.
- ///
- INVALID_PRODUCT_BIDDING_CATEGORY = 67,
- /// ShoppingSetting must be added to the campaign before ProductScope criteria can
- /// be added.
- ///
- MISSING_SHOPPING_SETTING = 68,
- /// Matching function is invalid.
- ///
- INVALID_MATCHING_FUNCTION = 69,
- /// Filter parameters not allowed for location groups targeting.
- ///
- LOCATION_FILTER_NOT_ALLOWED = 70,
- /// Given location filter parameter is invalid for location groups targeting.
- ///
- LOCATION_FILTER_INVALID = 71,
- /// Criteria type cannot be associated with a campaign and its ad group(s)
- /// simultaneously.
- ///
- CANNOT_ATTACH_CRITERIA_AT_CAMPAIGN_AND_ADGROUP = 76,
- UNKNOWN = 72,
- }
-
-
- /// Base error class for Campaign Criterion Service.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CampaignCriterionError : ApiError
- {
- private CampaignCriterionErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// The error reason represented by an enum.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public CampaignCriterionErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The reasons for the target error.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "CampaignCriterionError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum CampaignCriterionErrorReason
- {
- /// Concrete type of criterion (keyword v.s. placement) is required for ADD and SET
- /// operations.
- ///
- CONCRETE_TYPE_REQUIRED = 0,
- /// Invalid placement URL.
- ///
- INVALID_PLACEMENT_URL = 1,
- /// Criteria type can not be excluded for the campaign by the customer. like AOL
- /// account type cannot target site type criteria
- ///
- CANNOT_EXCLUDE_CRITERIA_TYPE = 2,
- /// Cannot set the campaign criterion status for this criteria type.
- ///
- CANNOT_SET_STATUS_FOR_CRITERIA_TYPE = 9,
- /// Cannot set the campaign criterion status for an excluded criteria.
- ///
- CANNOT_SET_STATUS_FOR_EXCLUDED_CRITERIA = 10,
- /// Cannot target and exclude the same criterion.
- ///
- CANNOT_TARGET_AND_EXCLUDE = 3,
- /// The #mutate operation contained too many operations.
- ///
- TOO_MANY_OPERATIONS = 4,
- /// This operator cannot be applied to a criterion of this type.
- ///
- OPERATOR_NOT_SUPPORTED_FOR_CRITERION_TYPE = 5,
- /// The Shopping campaign sales country is not supported for ProductSalesChannel
- /// targeting.
- ///
- SHOPPING_CAMPAIGN_SALES_COUNTRY_NOT_SUPPORTED_FOR_SALES_CHANNEL = 6,
- UNKNOWN = 7,
- /// The existing field can't be updated with ADD operation. It can be updated with
- /// SET operation only.
- ///
- CANNOT_ADD_EXISTING_FIELD = 8,
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ServiceModel.ServiceContractAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", ConfigurationName = "Google.Api.Ads.AdWords.v201806.CampaignCriterionServiceInterface")]
- public interface CampaignCriterionServiceInterface
- {
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [System.ServiceModel.FaultContractAttribute(typeof(Google.Api.Ads.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(CriterionParameter))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Google.Api.Ads.AdWords.v201806.CampaignCriterionPage get(Google.Api.Ads.AdWords.v201806.Selector serviceSelector);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- System.Threading.Tasks.Task getAsync(Google.Api.Ads.AdWords.v201806.Selector serviceSelector);
-
- // CODEGEN: Parameter 'operations' 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.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(CriterionParameter))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Wrappers.CampaignCriterionService.mutateResponse mutate(Wrappers.CampaignCriterionService.mutateRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- System.Threading.Tasks.Task mutateAsync(Wrappers.CampaignCriterionService.mutateRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [System.ServiceModel.FaultContractAttribute(typeof(Google.Api.Ads.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(CriterionParameter))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Google.Api.Ads.AdWords.v201806.CampaignCriterionPage query([System.ServiceModel.MessageParameterAttribute(Name = "query")] string query1);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- System.Threading.Tasks.Task queryAsync(string query);
- }
-
-
- /// Generic operation (add, remove and set) for campaign criteria.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CampaignCriterionOperation : Operation
- {
- private CampaignCriterion operandField;
-
- /// This field is required and should not be
- /// null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public CampaignCriterion operand
- {
- get
- {
- return this.operandField;
- }
- set
- {
- this.operandField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Operation.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Operation.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Operation.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// A container for return values from the CampaignCriterionService.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CampaignCriterionReturnValue : ListReturnValue
- {
- private CampaignCriterion[] valueField;
-
- private ApiError[] partialFailureErrorsField;
-
- [System.Xml.Serialization.XmlElementAttribute("value", Order = 0)]
- public CampaignCriterion[] value
- {
- get
- {
- return this.valueField;
- }
- set
- {
- this.valueField = value;
- }
- }
-
- /// List of partial failure errors.
- ///
- [System.Xml.Serialization.XmlElementAttribute("partialFailureErrors", Order = 1)]
- public ApiError[] partialFailureErrors
- {
- get
- {
- return this.partialFailureErrorsField;
- }
- set
- {
- this.partialFailureErrorsField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ListReturnValue.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ListReturnValue.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ListReturnValue.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public interface CampaignCriterionServiceInterfaceChannel : Google.Api.Ads.AdWords.v201806.CampaignCriterionServiceInterface, System.ServiceModel.IClientChannel
- {
- }
-
-
- /// Use this service to manage campaign-level criteria.
A campaign-level negative
- /// criterion prevents the campaign's ads from showing on specific placements,
- /// specific keywords, demographics, and so on.
Additionally, the service can
- /// be used to target criteria such as location, language, carrier, platform, and so on. The targeting criteria
- /// can be added using the Criterion Id listed in the documentation.
- ///
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class CampaignCriterionService : AdWordsSoapClient, ICampaignCriterionService
- {
- /// Creates a new instance of the
- /// class.
- public CampaignCriterionService()
- {
- }
-
- /// Creates a new instance of the
- /// class.
- public CampaignCriterionService(string endpointConfigurationName)
- : base(endpointConfigurationName)
- {
- }
-
- /// Creates a new instance of the
- /// class.
- public CampaignCriterionService(string endpointConfigurationName, string remoteAddress)
- : base(endpointConfigurationName, remoteAddress)
- {
- }
-
- /// Creates a new instance of the
- /// class.
- public CampaignCriterionService(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress)
- : base(endpointConfigurationName, remoteAddress)
- {
- }
-
- /// Creates a new instance of the
- /// class.
- public CampaignCriterionService(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)
- : base(binding, remoteAddress)
- {
- }
-
- /// Gets campaign criteria.
- /// The selector specifying the CampaignCriterions to return.
- /// A list of campaign criteria.
- /// when there is at least one error with the
- /// request.
- public virtual Google.Api.Ads.AdWords.v201806.CampaignCriterionPage get(Google.Api.Ads.AdWords.v201806.Selector serviceSelector)
- {
- return base.Channel.get(serviceSelector);
- }
-
- public virtual System.Threading.Tasks.Task getAsync(Google.Api.Ads.AdWords.v201806.Selector serviceSelector)
- {
- return base.Channel.getAsync(serviceSelector);
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- Wrappers.CampaignCriterionService.mutateResponse Google.Api.Ads.AdWords.v201806.CampaignCriterionServiceInterface.mutate(Wrappers.CampaignCriterionService.mutateRequest request)
- {
- return base.Channel.mutate(request);
- }
-
- /// Adds, removes or updates campaign criteria.
- /// The operations to apply.
- /// The added campaign criteria (without any optional parts).
- /// when there is at least one error with the
- /// request.
- public virtual Google.Api.Ads.AdWords.v201806.CampaignCriterionReturnValue mutate(Google.Api.Ads.AdWords.v201806.CampaignCriterionOperation[] operations)
- {
- Wrappers.CampaignCriterionService.mutateRequest inValue = new Wrappers.CampaignCriterionService.mutateRequest();
- inValue.operations = operations;
- Wrappers.CampaignCriterionService.mutateResponse retVal = ((Google.Api.Ads.AdWords.v201806.CampaignCriterionServiceInterface) (this)).mutate(inValue);
- return retVal.rval;
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- System.Threading.Tasks.Task Google.Api.Ads.AdWords.v201806.CampaignCriterionServiceInterface.mutateAsync(Wrappers.CampaignCriterionService.mutateRequest request)
- {
- return base.Channel.mutateAsync(request);
- }
-
- public virtual System.Threading.Tasks.Task mutateAsync(Google.Api.Ads.AdWords.v201806.CampaignCriterionOperation[] operations)
- {
- Wrappers.CampaignCriterionService.mutateRequest inValue = new Wrappers.CampaignCriterionService.mutateRequest();
- inValue.operations = operations;
- return System.Threading.Tasks.Task.Factory.StartNew(() => (((Google.Api.Ads.AdWords.v201806.CampaignCriterionServiceInterface) (this)).mutateAsync(inValue)).Result.rval);
- }
-
- /// Returns the list of campaign criteria that match the query.
- /// The SQL-like AWQL query string.
- /// A list of campaign criteria.
- /// if problems occur while parsing the query
- /// or fetching campaign criteria.
- public virtual Google.Api.Ads.AdWords.v201806.CampaignCriterionPage query(string query1)
- {
- return base.Channel.query(query1);
- }
-
- public virtual System.Threading.Tasks.Task queryAsync(string query)
- {
- return base.Channel.queryAsync(query);
- }
- }
- namespace Wrappers.CampaignService
- {
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "mutate", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class mutateRequest
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- [System.Xml.Serialization.XmlElementAttribute("operations")]
- public Google.Api.Ads.AdWords.v201806.CampaignOperation[] operations;
-
- /// Creates a new instance of the class.
- ///
- public mutateRequest()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public mutateRequest(Google.Api.Ads.AdWords.v201806.CampaignOperation[] operations)
- {
- this.operations = operations;
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "mutateResponse", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class mutateResponse
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- public Google.Api.Ads.AdWords.v201806.CampaignReturnValue rval;
-
- /// Creates a new instance of the class.
- ///
- public mutateResponse()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public mutateResponse(Google.Api.Ads.AdWords.v201806.CampaignReturnValue rval)
- {
- this.rval = rval;
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "mutateLabel", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class mutateLabelRequest
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- [System.Xml.Serialization.XmlElementAttribute("operations")]
- public Google.Api.Ads.AdWords.v201806.CampaignLabelOperation[] operations;
-
- /// Creates a new instance of the class.
- ///
- public mutateLabelRequest()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public mutateLabelRequest(Google.Api.Ads.AdWords.v201806.CampaignLabelOperation[] operations)
- {
- this.operations = operations;
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "mutateLabelResponse", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class mutateLabelResponse
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- public Google.Api.Ads.AdWords.v201806.CampaignLabelReturnValue rval;
-
- /// Creates a new instance of the class.
- ///
- public mutateLabelResponse()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public mutateLabelResponse(Google.Api.Ads.AdWords.v201806.CampaignLabelReturnValue rval)
- {
- this.rval = rval;
- }
- }
- }
- /// Selected set of conversion types or a selective optimization set id for
- /// optimizing campaigns. For e.g. For universal app campaigns, these are the set of
- /// in-app actions to optimize the campaign towards.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class SelectiveOptimization
- {
- private long[] conversionTypeIdsField;
-
- private ListOperations conversionTypeIdsOpsField;
-
- /// The selected conversion ids for selective optimization.
- ///
- [System.Xml.Serialization.XmlElementAttribute("conversionTypeIds", Order = 0)]
- public long[] conversionTypeIds
- {
- get
- {
- return this.conversionTypeIdsField;
- }
- set
- {
- this.conversionTypeIdsField = value;
- }
- }
-
- /// The selected conversion ids ops for selective optimization.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public ListOperations conversionTypeIdsOps
- {
- get
- {
- return this.conversionTypeIdsOpsField;
- }
- set
- {
- this.conversionTypeIdsOpsField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Describes the behavior of elements in a list. Instances of ListOperations will
- /// always be defined alongside some list in an API POJO. The number of operators in
- /// the ListOperations must be equal to the number of elements in the POJO list.
- /// Each operator, together with its corresponding list element, describe an
- /// intended change.
For example, if in a request Campaign.selectiveOptimization
- /// contains 2 conversionTypeIds, and the conversionTypeIdsOps is non-null, it must
- /// contain 2 operators. If those operators are {PUT, REMOVE} then the API will add
- /// the first conversionTypeId (if it doesn't already exist) and remove the second
- /// conversionTypeId (if it exists).
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class ListOperations
- {
- private bool clearField;
-
- private bool clearFieldSpecified;
-
- private ListOperationsListOperator[] operatorsField;
-
- /// Indicates that all contents of the list should be deleted. If this is true, the
- /// list will be cleared first, then proceed to the operators.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public bool clear
- {
- get
- {
- return this.clearField;
- }
- set
- {
- this.clearField = value;
- this.clearSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool clearSpecified
- {
- get
- {
- return this.clearFieldSpecified;
- }
- set
- {
- this.clearFieldSpecified = value;
- }
- }
-
- /// The desired behavior of each element in the POJO list that this ListOperation
- /// corresponds to. This will contain the same number of elements as the
- /// corresponding List<>.
- ///
- [System.Xml.Serialization.XmlElementAttribute("operators", Order = 1)]
- public ListOperationsListOperator[] operators
- {
- get
- {
- return this.operatorsField;
- }
- set
- {
- this.operatorsField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Specifies the intended behavior for a list element.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "ListOperations.ListOperator", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum ListOperationsListOperator
- {
- /// Adds to a list, or overrides an existing element if it exists.
- ///
- PUT = 0,
- /// Removes this element from the list.
- ///
- REMOVE = 1,
- /// Updates this element with the existing behavior of null fields inside the list
- /// element being a no-op. If the element doesn't exist it is added.
- ///
- UPDATE = 2,
- /// Used for return value only. An enumeration
- /// could not be processed, typically due to incompatibility with your WSDL
- /// version.
- ///
- UNKNOWN = 3,
- }
-
-
- /// Describes how unbranded pharma ads will be displayed.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class VanityPharma
- {
- private VanityPharmaDisplayUrlMode vanityPharmaDisplayUrlModeField;
-
- private bool vanityPharmaDisplayUrlModeFieldSpecified;
-
- private VanityPharmaText vanityPharmaTextField;
-
- private bool vanityPharmaTextFieldSpecified;
-
- /// The display mode for vanity pharma URLs. This field can be selected using the value
- /// "VanityPharmaDisplayUrlMode".This
- /// field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public VanityPharmaDisplayUrlMode vanityPharmaDisplayUrlMode
- {
- get
- {
- return this.vanityPharmaDisplayUrlModeField;
- }
- set
- {
- this.vanityPharmaDisplayUrlModeField = value;
- this.vanityPharmaDisplayUrlModeSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool vanityPharmaDisplayUrlModeSpecified
- {
- get
- {
- return this.vanityPharmaDisplayUrlModeFieldSpecified;
- }
- set
- {
- this.vanityPharmaDisplayUrlModeFieldSpecified = value;
- }
- }
-
- /// The text that will be displayed in display URL of the text ad when website
- /// description is the selected display mode for vanity pharma URLs. This field can be selected using the value
- /// "VanityPharmaText".This field can be
- /// filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public VanityPharmaText vanityPharmaText
- {
- get
- {
- return this.vanityPharmaTextField;
- }
- set
- {
- this.vanityPharmaTextField = value;
- this.vanityPharmaTextSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool vanityPharmaTextSpecified
- {
- get
- {
- return this.vanityPharmaTextFieldSpecified;
- }
- set
- {
- this.vanityPharmaTextFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field VanityPharmaDisplayUrlMode = new Field("VanityPharmaDisplayUrlMode", true, true);
-
- public static readonly Field VanityPharmaText = new Field("VanityPharmaText", true, true);
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field VanityPharmaDisplayUrlMode = Fields.VanityPharmaDisplayUrlMode;
-
- public static readonly Field VanityPharmaText = Fields.VanityPharmaText;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field VanityPharmaDisplayUrlMode = Fields.VanityPharmaDisplayUrlMode;
-
- public static readonly Field VanityPharmaText = Fields.VanityPharmaText;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Mode of display URL for pharma related text ads.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum VanityPharmaDisplayUrlMode
- {
- /// Used for return value only. An enumeration
- /// could not be processed, typically due to incompatibility with your WSDL
- /// version.
- ///
- UNKNOWN = 0,
- /// Replace vanity pharma URL with manufacturer website url.
- ///
- MANUFACTURER_WEBSITE_URL = 1,
- /// Replace vanity pharma URL with description of the website.
- ///
- WEBSITE_DESCRIPTION = 2,
- }
-
-
- /// Static text for Vanity Pharma URLs. This text with website descriptions will be
- /// shown in the display URL when website description option for vanity pharma URLs
- /// is selected.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum VanityPharmaText
- {
- /// Used for return value only. An enumeration
- /// could not be processed, typically due to incompatibility with your WSDL
- /// version.
- ///
- UNKNOWN = 0,
- /// Prescription treatment website
- ///
- PRESCRIPTION_TREATMENT_WEBSITE_EN = 1,
- /// Sitio de tratamientos con receta
- ///
- PRESCRIPTION_TREATMENT_WEBSITE_ES = 2,
- /// Prescription device website
- ///
- PRESCRIPTION_DEVICE_WEBSITE_EN = 3,
- /// Sitio de dispositivos con receta
- ///
- PRESCRIPTION_DEVICE_WEBSITE_ES = 4,
- /// Medical device website
- ///
- MEDICAL_DEVICE_WEBSITE_EN = 5,
- /// Sitio de dispositivos m?dicos
- ///
- MEDICAL_DEVICE_WEBSITE_ES = 6,
- /// Preventative treatment website
- ///
- PREVENTATIVE_TREATMENT_WEBSITE_EN = 7,
- /// Sitio de tratamientos preventivos
- ///
- PREVENTATIVE_TREATMENT_WEBSITE_ES = 8,
- /// Prescription contraception website
- ///
- PRESCRIPTION_CONTRACEPTION_WEBSITE_EN = 9,
- /// Sitio de anticonceptivos con receta
- ///
- PRESCRIPTION_CONTRACEPTION_WEBSITE_ES = 10,
- /// Prescription vaccine website
- ///
- PRESCRIPTION_VACCINE_WEBSITE_EN = 11,
- /// Sitio de vacunas con receta
- ///
- PRESCRIPTION_VACCINE_WEBSITE_ES = 12,
- }
-
-
- /// Base class for all bids.
- ///
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CpmBid))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CpcBid))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CpaBid))]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public abstract partial class Bids
- {
- private string bidsTypeField;
-
- /// Indicates that this instance is a subtype of Bids. Although this field is
- /// returned in the response, it is ignored on input and cannot be selected. Specify
- /// xsi:type instead.
- ///
- [System.Xml.Serialization.XmlElementAttribute("Bids.Type", Order = 0)]
- public string BidsType
- {
- get
- {
- return this.bidsTypeField;
- }
- set
- {
- this.bidsTypeField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Manual impression based bids.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CpmBid : Bids
- {
- private Money bidField;
-
- private BidSource cpmBidSourceField;
-
- private bool cpmBidSourceFieldSpecified;
-
- /// Max CPM (cost per thousand impressions) bid. This field can be selected using the value "CpmBid".This field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public Money bid
- {
- get
- {
- return this.bidField;
- }
- set
- {
- this.bidField = value;
- }
- }
-
- /// The level (ad group or criterion) at which the bid was set. This is applicable
- /// only at the criteria level. This field can
- /// be selected using the value "CpmBidSource".This field can be filtered on.This field is read only and will be ignored when sent to the
- /// API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public BidSource cpmBidSource
- {
- get
- {
- return this.cpmBidSourceField;
- }
- set
- {
- this.cpmBidSourceField = value;
- this.cpmBidSourceSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool cpmBidSourceSpecified
- {
- get
- {
- return this.cpmBidSourceFieldSpecified;
- }
- set
- {
- this.cpmBidSourceFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Bids.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field CpmBid = new Field("CpmBid", true, true);
-
- public static readonly Field CpmBidSource = new Field("CpmBidSource", true, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Bids.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field CpmBid = Fields.CpmBid;
-
- public static readonly Field CpmBidSource = Fields.CpmBidSource;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Bids.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field CpmBid = Fields.CpmBid;
-
- public static readonly Field CpmBidSource = Fields.CpmBidSource;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Represents a money amount.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class Money : ComparableValue
- {
- private long microAmountField;
-
- private bool microAmountFieldSpecified;
-
- /// Amount in micros. One million is equivalent to one unit.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long microAmount
- {
- get
- {
- return this.microAmountField;
- }
- set
- {
- this.microAmountField = value;
- this.microAmountSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool microAmountSpecified
- {
- get
- {
- return this.microAmountFieldSpecified;
- }
- set
- {
- this.microAmountFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ComparableValue.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ComparableValue.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ComparableValue.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Comparable types for constructing ranges with.
- ///
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(NumberValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(LongValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(DoubleValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(Money))]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(MoneyWithCurrency))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(RemarketingMoneyWithCurrency))]
- public abstract partial class ComparableValue
- {
- private string comparableValueTypeField;
-
- /// Indicates that this instance is a subtype of ComparableValue. Although this
- /// field is returned in the response, it is ignored on input and cannot be
- /// selected. Specify xsi:type instead.
- ///
- [System.Xml.Serialization.XmlElementAttribute("ComparableValue.Type", Order = 0)]
- public string ComparableValueType
- {
- get
- {
- return this.comparableValueTypeField;
- }
- set
- {
- this.comparableValueTypeField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Number value types for constructing number valued ranges.
- ///
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(LongValue))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(DoubleValue))]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public abstract partial class NumberValue : ComparableValue
- {
- }
-
-
- /// Number value type for constructing long valued ranges.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class LongValue : NumberValue
- {
- private long numberField;
-
- private bool numberFieldSpecified;
-
- /// the underlying long value.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long number
- {
- get
- {
- return this.numberField;
- }
- set
- {
- this.numberField = value;
- this.numberSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool numberSpecified
- {
- get
- {
- return this.numberFieldSpecified;
- }
- set
- {
- this.numberFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : NumberValue.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : NumberValue.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : NumberValue.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Number value type for constructing double valued ranges.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class DoubleValue : NumberValue
- {
- private double numberField;
-
- private bool numberFieldSpecified;
-
- /// the underlying double value.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public double number
- {
- get
- {
- return this.numberField;
- }
- set
- {
- this.numberField = value;
- this.numberSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool numberSpecified
- {
- get
- {
- return this.numberFieldSpecified;
- }
- set
- {
- this.numberFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : NumberValue.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : NumberValue.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : NumberValue.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Indicate where a criterion's bid came from: criterion or the adgroup it belongs
- /// to.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum BidSource
- {
- /// Effective Bid is Adgroup level bid
- ///
- ADGROUP = 0,
- /// Effective Bid is Keyword level bid
- ///
- CRITERION = 1,
- /// Effective Bid is inherited from Adgroup Bidding Strategy
- ///
- ADGROUP_BIDDING_STRATEGY = 2,
- /// Effective Bid is inherited from Campaign Bidding Strategy
- ///
- CAMPAIGN_BIDDING_STRATEGY = 3,
- }
-
-
- /// Manual click based bids.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CpcBid : Bids
- {
- private Money bidField;
-
- private BidSource cpcBidSourceField;
-
- private bool cpcBidSourceFieldSpecified;
-
- /// Max CPC (cost per click) bid. At the ad group level, this represents the default
- /// bid applicable for
keyword targeting on search network.
- ///
keywords & placements for content targeting.
At the ad group
- /// criteria level, this is the max cpc bid. This field can be selected using the value "CpcBid".This field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public Money bid
- {
- get
- {
- return this.bidField;
- }
- set
- {
- this.bidField = value;
- }
- }
-
- /// The level (ad group or criterion) at which the bid was set. This is applicable
- /// only at the criteria level. This field can
- /// be selected using the value "CpcBidSource".This field can be filtered on.This field is read only and will be ignored when sent to the
- /// API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public BidSource cpcBidSource
- {
- get
- {
- return this.cpcBidSourceField;
- }
- set
- {
- this.cpcBidSourceField = value;
- this.cpcBidSourceSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool cpcBidSourceSpecified
- {
- get
- {
- return this.cpcBidSourceFieldSpecified;
- }
- set
- {
- this.cpcBidSourceFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Bids.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field CpcBid = new Field("CpcBid", true, true);
-
- public static readonly Field CpcBidSource = new Field("CpcBidSource", true, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Bids.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field CpcBid = Fields.CpcBid;
-
- public static readonly Field CpcBidSource = Fields.CpcBidSource;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Bids.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field CpcBid = Fields.CpcBid;
-
- public static readonly Field CpcBidSource = Fields.CpcBidSource;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// CPA Bids.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CpaBid : Bids
- {
- private Money bidField;
-
- private BidSource bidSourceField;
-
- private bool bidSourceFieldSpecified;
-
- /// Target cost per acquisition (CPA). This is applicable only at the ad group
- /// level.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public Money bid
- {
- get
- {
- return this.bidField;
- }
- set
- {
- this.bidField = value;
- }
- }
-
- /// The level (ad group, ad group strategy, or campaign strategy) at which the bid
- /// was set. This is applicable only at the ad group level. This field is read only and will be ignored when sent to the
- /// API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public BidSource bidSource
- {
- get
- {
- return this.bidSourceField;
- }
- set
- {
- this.bidSourceField = value;
- this.bidSourceSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool bidSourceSpecified
- {
- get
- {
- return this.bidSourceFieldSpecified;
- }
- set
- {
- this.bidSourceFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Bids.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field TargetCpaBid = new Field("TargetCpaBid", true, true);
-
- public static readonly Field TargetCpaBidSource = new Field("TargetCpaBidSource", true, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Bids.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field TargetCpaBid = Fields.TargetCpaBid;
-
- public static readonly Field TargetCpaBidSource = Fields.TargetCpaBidSource;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Bids.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field TargetCpaBid = Fields.TargetCpaBid;
-
- public static readonly Field TargetCpaBidSource = Fields.TargetCpaBidSource;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Base class for all bidding schemes. This is
- /// disabled for AdX.
- ///
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(TargetSpendBiddingScheme))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(TargetRoasBiddingScheme))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(TargetOutrankShareBiddingScheme))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(TargetCpaBiddingScheme))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(PageOnePromotedBiddingScheme))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(MaximizeConversionsBiddingScheme))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(MaximizeConversionValueBiddingScheme))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(ManualCpmBiddingScheme))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(ManualCpcBiddingScheme))]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public abstract partial class BiddingScheme
- {
- private string biddingSchemeTypeField;
-
- /// Indicates that this instance is a subtype of BiddingScheme. Although this field
- /// is returned in the response, it is ignored on input and cannot be selected.
- /// Specify xsi:type instead.
- ///
- [System.Xml.Serialization.XmlElementAttribute("BiddingScheme.Type", Order = 0)]
- public string BiddingSchemeType
- {
- get
- {
- return this.biddingSchemeTypeField;
- }
- set
- {
- this.biddingSchemeTypeField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Target Spend is
- /// an automated bid strategy that sets your bids to help get as many clicks as
- /// possible within your budget. This is
- /// disabled for AdX.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class TargetSpendBiddingScheme : BiddingScheme
- {
- private Money bidCeilingField;
-
- private Money spendTargetField;
-
- /// The largest max CPC bid that can be set by the TargetSpend bidder. This field must be greater than or equal to 0.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public Money bidCeiling
- {
- get
- {
- return this.bidCeilingField;
- }
- set
- {
- this.bidCeilingField = value;
- }
- }
-
- /// A spend target under which to maximize clicks. The TargetSpend bidder will
- /// attempt to spend the smaller of this value or the natural throttling spend
- /// amount. If not specified, the budget is used as the spend target. This field must be greater than or equal to 0.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public Money spendTarget
- {
- get
- {
- return this.spendTargetField;
- }
- set
- {
- this.spendTargetField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : BiddingScheme.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field TargetSpendBidCeiling = new Field("TargetSpendBidCeiling", false, true);
-
- public static readonly Field TargetSpendSpendTarget = new Field("TargetSpendSpendTarget", false, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : BiddingScheme.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field TargetSpendBidCeiling = Fields.TargetSpendBidCeiling;
-
- public static readonly Field TargetSpendSpendTarget = Fields.TargetSpendSpendTarget;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : BiddingScheme.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Target Roas bidding strategy helps you maximize revenue while averaging a
- /// specific target return on average spend (ROAS).
For example: If TargetRoas is
- /// 1.5, the strategy will create as much revenue as possible while ensuring that
- /// every $1.00 of clicks provides $1.50 in conversion value.
Note that
- /// campaigns must meet specific eligibility
- /// requirements before they can use the TargetRoasBiddingScheme
- /// bidding strategy. This is disabled for
- /// AdX.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class TargetRoasBiddingScheme : BiddingScheme
- {
- private double targetRoasField;
-
- private bool targetRoasFieldSpecified;
-
- private Money bidCeilingField;
-
- private Money bidFloorField;
-
- /// The target return on average spend (ROAS). This
- /// field must be between 0.01 and 1000.0, inclusive.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public double targetRoas
- {
- get
- {
- return this.targetRoasField;
- }
- set
- {
- this.targetRoasField = value;
- this.targetRoasSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool targetRoasSpecified
- {
- get
- {
- return this.targetRoasFieldSpecified;
- }
- set
- {
- this.targetRoasFieldSpecified = value;
- }
- }
-
- /// Maximum bid limit that applies to all keywords managed by the strategy. This field must be greater than or equal to 0.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public Money bidCeiling
- {
- get
- {
- return this.bidCeilingField;
- }
- set
- {
- this.bidCeilingField = value;
- }
- }
-
- /// Minimum bid limit that applies to all keywords managed by the strategy. This field must be greater than or equal to 0.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public Money bidFloor
- {
- get
- {
- return this.bidFloorField;
- }
- set
- {
- this.bidFloorField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : BiddingScheme.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field TargetRoas = new Field("TargetRoas", false, true);
-
- public static readonly Field TargetRoasBidCeiling = new Field("TargetRoasBidCeiling", false, true);
-
- public static readonly Field TargetRoasBidFloor = new Field("TargetRoasBidFloor", false, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : BiddingScheme.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field TargetRoas = Fields.TargetRoas;
-
- public static readonly Field TargetRoasBidCeiling = Fields.TargetRoasBidCeiling;
-
- public static readonly Field TargetRoasBidFloor = Fields.TargetRoasBidFloor;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : BiddingScheme.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Target Outrank Share bidding strategy is an automated bidding strategy which
- /// automatically sets bids so that the customer's ads appear above a specified
- /// competitors' ads for a specified target fraction of the advertiser's eligible
- /// impressions on Google.com. This is disabled
- /// for AdX.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class TargetOutrankShareBiddingScheme : BiddingScheme
- {
- private int targetOutrankShareField;
-
- private bool targetOutrankShareFieldSpecified;
-
- private string competitorDomainField;
-
- private Money maxCpcBidCeilingField;
-
- private bool bidChangesForRaisesOnlyField;
-
- private bool bidChangesForRaisesOnlyFieldSpecified;
-
- private bool raiseBidWhenLowQualityScoreField;
-
- private bool raiseBidWhenLowQualityScoreFieldSpecified;
-
- /// Specifies the target fraction (in micros) of auctions where the advertiser
- /// should outrank the competitor. The advertiser outranks the competitor in an
- /// auction if either the advertiser appears above the competitor in the search
- /// results, or appears in the search results when the competitor does not. This field must be between 1 and 1000000,
- /// inclusive.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public int targetOutrankShare
- {
- get
- {
- return this.targetOutrankShareField;
- }
- set
- {
- this.targetOutrankShareField = value;
- this.targetOutrankShareSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool targetOutrankShareSpecified
- {
- get
- {
- return this.targetOutrankShareFieldSpecified;
- }
- set
- {
- this.targetOutrankShareFieldSpecified = value;
- }
- }
-
- /// Competitor's visible domain URL.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public string competitorDomain
- {
- get
- {
- return this.competitorDomainField;
- }
- set
- {
- this.competitorDomainField = value;
- }
- }
-
- /// Ceiling on max CPC bids.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public Money maxCpcBidCeiling
- {
- get
- {
- return this.maxCpcBidCeilingField;
- }
- set
- {
- this.maxCpcBidCeilingField = value;
- }
- }
-
- /// Controls whether the strategy always follows bid estimate changes, or only
- /// increases. If false, always sets a keyword's new bid to the estimate that will
- /// meet the target. If true, only updates a keyword's bid if the current bid
- /// estimate is greater than the current bid.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public bool bidChangesForRaisesOnly
- {
- get
- {
- return this.bidChangesForRaisesOnlyField;
- }
- set
- {
- this.bidChangesForRaisesOnlyField = value;
- this.bidChangesForRaisesOnlySpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool bidChangesForRaisesOnlySpecified
- {
- get
- {
- return this.bidChangesForRaisesOnlyFieldSpecified;
- }
- set
- {
- this.bidChangesForRaisesOnlyFieldSpecified = value;
- }
- }
-
- /// Controls whether the strategy is allowed to raise bids on keywords with
- /// lower-range quality scores.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 4)]
- public bool raiseBidWhenLowQualityScore
- {
- get
- {
- return this.raiseBidWhenLowQualityScoreField;
- }
- set
- {
- this.raiseBidWhenLowQualityScoreField = value;
- this.raiseBidWhenLowQualityScoreSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool raiseBidWhenLowQualityScoreSpecified
- {
- get
- {
- return this.raiseBidWhenLowQualityScoreFieldSpecified;
- }
- set
- {
- this.raiseBidWhenLowQualityScoreFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : BiddingScheme.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field TargetOutrankShare = new Field("TargetOutrankShare", true, true);
-
- public static readonly Field TargetOutrankShareCompetitorDomain = new Field("TargetOutrankShareCompetitorDomain", true, true);
-
- public static readonly Field TargetOutrankShareMaxCpcBidCeiling = new Field("TargetOutrankShareMaxCpcBidCeiling", true, true);
-
- public static readonly Field TargetOutrankShareBidChangesForRaisesOnly = new Field("TargetOutrankShareBidChangesForRaisesOnly", true, true);
-
- public static readonly Field TargetOutrankShareRaiseBidWhenLowQualityScore = new Field("TargetOutrankShareRaiseBidWhenLowQualityScore", true, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : BiddingScheme.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field TargetOutrankShare = Fields.TargetOutrankShare;
-
- public static readonly Field TargetOutrankShareCompetitorDomain = Fields.TargetOutrankShareCompetitorDomain;
-
- public static readonly Field TargetOutrankShareMaxCpcBidCeiling = Fields.TargetOutrankShareMaxCpcBidCeiling;
-
- public static readonly Field TargetOutrankShareBidChangesForRaisesOnly = Fields.TargetOutrankShareBidChangesForRaisesOnly;
-
- public static readonly Field TargetOutrankShareRaiseBidWhenLowQualityScore = Fields.TargetOutrankShareRaiseBidWhenLowQualityScore;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : BiddingScheme.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field TargetOutrankShare = Fields.TargetOutrankShare;
-
- public static readonly Field TargetOutrankShareCompetitorDomain = Fields.TargetOutrankShareCompetitorDomain;
-
- public static readonly Field TargetOutrankShareMaxCpcBidCeiling = Fields.TargetOutrankShareMaxCpcBidCeiling;
-
- public static readonly Field TargetOutrankShareBidChangesForRaisesOnly = Fields.TargetOutrankShareBidChangesForRaisesOnly;
-
- public static readonly Field TargetOutrankShareRaiseBidWhenLowQualityScore = Fields.TargetOutrankShareRaiseBidWhenLowQualityScore;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Target CPA is an
- /// automated bid strategy that sets bids to help get as many conversions as
- /// possible at the target cost per acquisition (CPA) you set.
A target CPA must be set for the strategy, but can also be
- /// optionally set for individual ad groups in the strategy. Ad group targets, if
- /// set, will override strategy targets.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class TargetCpaBiddingScheme : BiddingScheme
- {
- private Money targetCpaField;
-
- private Money maxCpcBidCeilingField;
-
- private Money maxCpcBidFloorField;
-
- /// Average cost per acquisition (CPA) target. This target should be greater than or
- /// equal to minimum billable unit based on the currency for the account.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public Money targetCpa
- {
- get
- {
- return this.targetCpaField;
- }
- set
- {
- this.targetCpaField = value;
- }
- }
-
- /// Maximum cpc bid limit that applies to all keywords managed by the strategy.
- /// This field must be greater than or equal to
- /// 0.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public Money maxCpcBidCeiling
- {
- get
- {
- return this.maxCpcBidCeilingField;
- }
- set
- {
- this.maxCpcBidCeilingField = value;
- }
- }
-
- /// Minimum cpc bid limit that applies to all keywords managed by the strategy.
- /// This field must be greater than or equal to
- /// 0.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public Money maxCpcBidFloor
- {
- get
- {
- return this.maxCpcBidFloorField;
- }
- set
- {
- this.maxCpcBidFloorField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : BiddingScheme.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field TargetCpa = new Field("TargetCpa", true, true);
-
- public static readonly Field TargetCpaMaxCpcBidCeiling = new Field("TargetCpaMaxCpcBidCeiling", true, true);
-
- public static readonly Field TargetCpaMaxCpcBidFloor = new Field("TargetCpaMaxCpcBidFloor", true, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : BiddingScheme.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field TargetCpa = Fields.TargetCpa;
-
- public static readonly Field TargetCpaMaxCpcBidCeiling = Fields.TargetCpaMaxCpcBidCeiling;
-
- public static readonly Field TargetCpaMaxCpcBidFloor = Fields.TargetCpaMaxCpcBidFloor;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : BiddingScheme.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field TargetCpa = Fields.TargetCpa;
-
- public static readonly Field TargetCpaMaxCpcBidCeiling = Fields.TargetCpaMaxCpcBidCeiling;
-
- public static readonly Field TargetCpaMaxCpcBidFloor = Fields.TargetCpaMaxCpcBidFloor;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Page-One Promoted bidding scheme, which sets max cpc bids to target impressions
- /// on page one or page one promoted slots on google.com. This is disabled for AdX.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class PageOnePromotedBiddingScheme : BiddingScheme
- {
- private PageOnePromotedBiddingSchemeStrategyGoal strategyGoalField;
-
- private bool strategyGoalFieldSpecified;
-
- private Money bidCeilingField;
-
- private double bidModifierField;
-
- private bool bidModifierFieldSpecified;
-
- private bool bidChangesForRaisesOnlyField;
-
- private bool bidChangesForRaisesOnlyFieldSpecified;
-
- private bool raiseBidWhenBudgetConstrainedField;
-
- private bool raiseBidWhenBudgetConstrainedFieldSpecified;
-
- private bool raiseBidWhenLowQualityScoreField;
-
- private bool raiseBidWhenLowQualityScoreFieldSpecified;
-
- /// Specifies the strategy goal: where impressions are desired to be shown on search
- /// result pages.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public PageOnePromotedBiddingSchemeStrategyGoal strategyGoal
- {
- get
- {
- return this.strategyGoalField;
- }
- set
- {
- this.strategyGoalField = value;
- this.strategyGoalSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool strategyGoalSpecified
- {
- get
- {
- return this.strategyGoalFieldSpecified;
- }
- set
- {
- this.strategyGoalFieldSpecified = value;
- }
- }
-
- /// Strategy maximum bid limit in advertiser local currency micro units. This upper
- /// limit applies to all keywords managed by the strategy. This field must be greater than or equal to 0.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public Money bidCeiling
- {
- get
- {
- return this.bidCeilingField;
- }
- set
- {
- this.bidCeilingField = value;
- }
- }
-
- /// Bid Multiplier to be applied to the relevant bid estimate (depending on the
- /// strategyGoal) in determining a keyword's new max cpc bid. This field must be greater than or equal to 0.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public double bidModifier
- {
- get
- {
- return this.bidModifierField;
- }
- set
- {
- this.bidModifierField = value;
- this.bidModifierSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool bidModifierSpecified
- {
- get
- {
- return this.bidModifierFieldSpecified;
- }
- set
- {
- this.bidModifierFieldSpecified = value;
- }
- }
-
- /// Controls whether the strategy always follows bid estimate changes, or only
- /// increases. If false, always set a keyword's new bid to the current bid estimate.
- /// If true, only updates a keyword's bid if the current bid estimate is greater
- /// than the current bid.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public bool bidChangesForRaisesOnly
- {
- get
- {
- return this.bidChangesForRaisesOnlyField;
- }
- set
- {
- this.bidChangesForRaisesOnlyField = value;
- this.bidChangesForRaisesOnlySpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool bidChangesForRaisesOnlySpecified
- {
- get
- {
- return this.bidChangesForRaisesOnlyFieldSpecified;
- }
- set
- {
- this.bidChangesForRaisesOnlyFieldSpecified = value;
- }
- }
-
- /// Controls whether the strategy is allowed to raise bids when the throttling rate
- /// of the budget it is serving out of rises above a threshold.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 4)]
- public bool raiseBidWhenBudgetConstrained
- {
- get
- {
- return this.raiseBidWhenBudgetConstrainedField;
- }
- set
- {
- this.raiseBidWhenBudgetConstrainedField = value;
- this.raiseBidWhenBudgetConstrainedSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- ///
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool raiseBidWhenBudgetConstrainedSpecified
- {
- get
- {
- return this.raiseBidWhenBudgetConstrainedFieldSpecified;
- }
- set
- {
- this.raiseBidWhenBudgetConstrainedFieldSpecified = value;
- }
- }
-
- /// Controls whether the strategy is allowed to raise bids on keywords with
- /// lower-range quality scores.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 5)]
- public bool raiseBidWhenLowQualityScore
- {
- get
- {
- return this.raiseBidWhenLowQualityScoreField;
- }
- set
- {
- this.raiseBidWhenLowQualityScoreField = value;
- this.raiseBidWhenLowQualityScoreSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool raiseBidWhenLowQualityScoreSpecified
- {
- get
- {
- return this.raiseBidWhenLowQualityScoreFieldSpecified;
- }
- set
- {
- this.raiseBidWhenLowQualityScoreFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : BiddingScheme.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field PageOnePromotedStrategyGoal = new Field("PageOnePromotedStrategyGoal", false, true);
-
- public static readonly Field PageOnePromotedBidCeiling = new Field("PageOnePromotedBidCeiling", false, true);
-
- public static readonly Field PageOnePromotedBidModifier = new Field("PageOnePromotedBidModifier", false, true);
-
- public static readonly Field PageOnePromotedBidChangesForRaisesOnly = new Field("PageOnePromotedBidChangesForRaisesOnly", false, true);
-
- public static readonly Field PageOnePromotedRaiseBidWhenBudgetConstrained = new Field("PageOnePromotedRaiseBidWhenBudgetConstrained", false, true);
-
- public static readonly Field PageOnePromotedRaiseBidWhenLowQualityScore = new Field("PageOnePromotedRaiseBidWhenLowQualityScore", false, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : BiddingScheme.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field PageOnePromotedStrategyGoal = Fields.PageOnePromotedStrategyGoal;
-
- public static readonly Field PageOnePromotedBidCeiling = Fields.PageOnePromotedBidCeiling;
-
- public static readonly Field PageOnePromotedBidModifier = Fields.PageOnePromotedBidModifier;
-
- public static readonly Field PageOnePromotedBidChangesForRaisesOnly = Fields.PageOnePromotedBidChangesForRaisesOnly;
-
- public static readonly Field PageOnePromotedRaiseBidWhenBudgetConstrained = Fields.PageOnePromotedRaiseBidWhenBudgetConstrained;
-
- public static readonly Field PageOnePromotedRaiseBidWhenLowQualityScore = Fields.PageOnePromotedRaiseBidWhenLowQualityScore;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : BiddingScheme.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "PageOnePromotedBiddingScheme.StrategyGoal", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum PageOnePromotedBiddingSchemeStrategyGoal
- {
- /// First page on google.com.
- ///
- PAGE_ONE = 0,
- /// Top slots of the first page on google.com.
- ///
- PAGE_ONE_PROMOTED = 1,
- }
-
-
- /// Maximize conversions is an automated bidding strategy that automatically sets
- /// bids to help get the most conversions for your campaign while spending your
- /// budget. This is disabled for AdX.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class MaximizeConversionsBiddingScheme : BiddingScheme
- {
- }
-
-
- /// Maximize Conversion Value bidding strategy is an automated bidding strategy
- /// which tries to maximize conversion value given a daily budget. This is disabled for AdX.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class MaximizeConversionValueBiddingScheme : BiddingScheme
- {
- private double targetRoasField;
-
- private bool targetRoasFieldSpecified;
-
- /// The target return on ad spend (ROAS). This is optional. If set, the bid strategy
- /// will maximize revenue while averaging the target return on ad spend. If the
- /// target ROAS is high, the bid strategy may not be able to spend the full budget.
- /// If the target ROAS is not set, the bid strategy will aim to achieve the highest
- /// possible ROAS for the budget. This field must
- /// be between 0.0 and 1.7976931348623157E308, inclusive.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public double targetRoas
- {
- get
- {
- return this.targetRoasField;
- }
- set
- {
- this.targetRoasField = value;
- this.targetRoasSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool targetRoasSpecified
- {
- get
- {
- return this.targetRoasFieldSpecified;
- }
- set
- {
- this.targetRoasFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : BiddingScheme.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field MaximizeConversionValueTargetRoas = new Field("MaximizeConversionValueTargetRoas", true, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : BiddingScheme.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field MaximizeConversionValueTargetRoas = Fields.MaximizeConversionValueTargetRoas;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : BiddingScheme.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field MaximizeConversionValueTargetRoas = Fields.MaximizeConversionValueTargetRoas;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Manual impression based bidding where user pays per thousand impressions. This is enabled for AdX.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class ManualCpmBiddingScheme : BiddingScheme
- {
- private bool viewableCpmEnabledField;
-
- private bool viewableCpmEnabledFieldSpecified;
-
- /// This read-only field denotes whether Viewable CPM is enabled, and is computed
- /// based on the advertising channel type and subtype. Null unless the bidding
- /// strategy type is CPM. Only selectable in CampaignService, using the value
- /// ViewableCpmEnabled. This field is read only
- /// and will be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public bool viewableCpmEnabled
- {
- get
- {
- return this.viewableCpmEnabledField;
- }
- set
- {
- this.viewableCpmEnabledField = value;
- this.viewableCpmEnabledSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool viewableCpmEnabledSpecified
- {
- get
- {
- return this.viewableCpmEnabledFieldSpecified;
- }
- set
- {
- this.viewableCpmEnabledFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : BiddingScheme.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field ViewableCpmEnabled = new Field("ViewableCpmEnabled", true, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : BiddingScheme.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field ViewableCpmEnabled = Fields.ViewableCpmEnabled;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : BiddingScheme.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field ViewableCpmEnabled = Fields.ViewableCpmEnabled;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Manual click based bidding where user pays per click. This is disabled for AdX.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class ManualCpcBiddingScheme : BiddingScheme
- {
- private bool enhancedCpcEnabledField;
-
- private bool enhancedCpcEnabledFieldSpecified;
-
- /// The enhanced CPC bidding option for the campaign, which enables bids to be
- /// enhanced based on conversion optimizer data. For more information about enhanced
- /// CPC, see the AdWords Help
- /// Center. This field can be selected using
- /// the value "EnhancedCpcEnabled".This
- /// field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public bool enhancedCpcEnabled
- {
- get
- {
- return this.enhancedCpcEnabledField;
- }
- set
- {
- this.enhancedCpcEnabledField = value;
- this.enhancedCpcEnabledSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool enhancedCpcEnabledSpecified
- {
- get
- {
- return this.enhancedCpcEnabledFieldSpecified;
- }
- set
- {
- this.enhancedCpcEnabledFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : BiddingScheme.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field EnhancedCpcEnabled = new Field("EnhancedCpcEnabled", true, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : BiddingScheme.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field EnhancedCpcEnabled = Fields.EnhancedCpcEnabled;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : BiddingScheme.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field EnhancedCpcEnabled = Fields.EnhancedCpcEnabled;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Encapsulates the information about bids and bidding strategies.
Note: Starting with v201705, bidding strategies can only be
- /// set on campaigns. In earlier versions, bidding strategies can be set on
- /// campaigns, ad groups and ad group criteria.
A bidding strategy can be set
- /// using one of the following:
If the bidding strategy type is used,
- /// then schemes are created using default values.
Bids can be set only on ad
- /// groups and ad group criteria. They cannot be set on campaigns. Multiple bids can
- /// be set at the same time. Only the bids that apply to the effective bidding
- /// strategy will be used. Effective bidding strategy is considered to be the
- /// directly attached strategy or inherited strategy from above level(s) when there
- /// is no directly attached strategy.
For more information on flexible
- /// bidding, visit the Help Center.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class BiddingStrategyConfiguration
- {
- private long biddingStrategyIdField;
-
- private bool biddingStrategyIdFieldSpecified;
-
- private string biddingStrategyNameField;
-
- private BiddingStrategyType biddingStrategyTypeField;
-
- private bool biddingStrategyTypeFieldSpecified;
-
- private BiddingStrategySource biddingStrategySourceField;
-
- private bool biddingStrategySourceFieldSpecified;
-
- private BiddingScheme biddingSchemeField;
-
- private Bids[] bidsField;
-
- private double targetRoasOverrideField;
-
- private bool targetRoasOverrideFieldSpecified;
-
- /// Id of the bidding strategy to be associated with the campaign, ad group or ad
- /// group criteria. A bidding strategy is created using the BiddingStrategyService
- /// ADD operation and is assigned a BiddingStrategyId. The BiddingStrategyId can be
- /// shared across campaigns, ad groups and ad group criteria.
Starting with
- /// v201705, this field cannot be set at the ad group or ad group criterion level.
- /// This field can be selected using the value
- /// "BiddingStrategyId".This field can be
- /// filtered on.This is disabled for
- /// AdX.This field may not be
- /// set.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long biddingStrategyId
- {
- get
- {
- return this.biddingStrategyIdField;
- }
- set
- {
- this.biddingStrategyIdField = value;
- this.biddingStrategyIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool biddingStrategyIdSpecified
- {
- get
- {
- return this.biddingStrategyIdFieldSpecified;
- }
- set
- {
- this.biddingStrategyIdFieldSpecified = value;
- }
- }
-
- /// Name of the bidding strategy. This is applicable only for flexible bidding
- /// strategies. This field can be selected using
- /// the value "BiddingStrategyName".This
- /// field can be filtered on.This field is
- /// read only and will be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public string biddingStrategyName
- {
- get
- {
- return this.biddingStrategyNameField;
- }
- set
- {
- this.biddingStrategyNameField = value;
- }
- }
-
- /// The type of the bidding strategy to be attached.
For details on portfolio vs.
- /// standard availability, see the bidding
- /// guide.
Starting with v201705, this field cannot be set at the ad
- /// group or ad group criterion level to any value other than . This field can be selected using the value
- /// "BiddingStrategyType".This field can
- /// be filtered on.This field may only
- /// be set to NONE.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public BiddingStrategyType biddingStrategyType
- {
- get
- {
- return this.biddingStrategyTypeField;
- }
- set
- {
- this.biddingStrategyTypeField = value;
- this.biddingStrategyTypeSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool biddingStrategyTypeSpecified
- {
- get
- {
- return this.biddingStrategyTypeFieldSpecified;
- }
- set
- {
- this.biddingStrategyTypeFieldSpecified = value;
- }
- }
-
- /// Indicates where the bidding strategy is associated i.e. campaign, ad group or ad
- /// group criterion. This field can be selected
- /// using the value "BiddingStrategySource".This field can be filtered on.This field is read only and will be ignored when sent to the
- /// API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public BiddingStrategySource biddingStrategySource
- {
- get
- {
- return this.biddingStrategySourceField;
- }
- set
- {
- this.biddingStrategySourceField = value;
- this.biddingStrategySourceSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool biddingStrategySourceSpecified
- {
- get
- {
- return this.biddingStrategySourceFieldSpecified;
- }
- set
- {
- this.biddingStrategySourceFieldSpecified = value;
- }
- }
-
- /// The bidding strategy metadata. Bidding strategy can be associated using the BiddingStrategyConfiguration#biddingStrategyType or the bidding
- /// scheme.
For details on portfolio vs. standard availability, see the bidding
- /// guide.
Starting with v201705, this field cannot be set at the ad
- /// group or ad group criterion level. This
- /// field may not be set.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 4)]
- public BiddingScheme biddingScheme
- {
- get
- {
- return this.biddingSchemeField;
- }
- set
- {
- this.biddingSchemeField = value;
- }
- }
-
- /// Specifies the bids. Bids can be set only on ad groups and ad group criteria.
- /// Bids cannot be set on campaign. Default CPC and CPM bid values will be set if
- /// they are not provided during AdGroup creation. Default CPC
- /// and CPM values are minimal billable amounts in local currencies. For example,
- /// for US Dollars CPC and CPM default values are $0.01 and $0.01, respectively.
- ///
- [System.Xml.Serialization.XmlElementAttribute("bids", Order = 5)]
- public Bids[] bids
- {
- get
- {
- return this.bidsField;
- }
- set
- {
- this.bidsField = value;
- }
- }
-
- /// The target return on average spend (ROAS). This target can only be set on ad
- /// groups. If this ad group's effective bidding strategy is a standard
- /// TARGET_ROAS strategy attached to the campaign, then the target
- /// overrides the target roas specified in the campaign's bidding strategy.
- /// Otherwise, this value is ignored. This
- /// field may not be set.This field must be
- /// between 0.01 and 1000.0, inclusive.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 6)]
- public double targetRoasOverride
- {
- get
- {
- return this.targetRoasOverrideField;
- }
- set
- {
- this.targetRoasOverrideField = value;
- this.targetRoasOverrideSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool targetRoasOverrideSpecified
- {
- get
- {
- return this.targetRoasOverrideFieldSpecified;
- }
- set
- {
- this.targetRoasOverrideFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field BiddingStrategyId = new Field("BiddingStrategyId", true, true);
-
- public static readonly Field BiddingStrategyName = new Field("BiddingStrategyName", true, true);
-
- public static readonly Field BiddingStrategyType = new Field("BiddingStrategyType", true, true);
-
- public static readonly Field BiddingStrategySource = new Field("BiddingStrategySource", true, true);
-
- public static readonly Field TargetRoasOverride = new Field("TargetRoasOverride", true, true);
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field BiddingStrategyId = Fields.BiddingStrategyId;
-
- public static readonly Field BiddingStrategyName = Fields.BiddingStrategyName;
-
- public static readonly Field BiddingStrategyType = Fields.BiddingStrategyType;
-
- public static readonly Field BiddingStrategySource = Fields.BiddingStrategySource;
-
- public static readonly Field TargetRoasOverride = Fields.TargetRoasOverride;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field BiddingStrategyId = Fields.BiddingStrategyId;
-
- public static readonly Field BiddingStrategyName = Fields.BiddingStrategyName;
-
- public static readonly Field BiddingStrategyType = Fields.BiddingStrategyType;
-
- public static readonly Field BiddingStrategySource = Fields.BiddingStrategySource;
-
- public static readonly Field TargetRoasOverride = Fields.TargetRoasOverride;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The bidding strategy type. See BiddingStrategyConfiguration for
- /// additional information.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum BiddingStrategyType
- {
- /// Manual click based bidding where user pays per click. See ManualCpcBiddingScheme for more details.
- ///
- MANUAL_CPC = 2,
- /// Manual impression based bidding where user pays per thousand impressions. See ManualCpmBiddingScheme for more details.
- ///
- MANUAL_CPM = 3,
- /// Page-One Promoted is an automated bid strategy that sets max CPC bids to target
- /// impressions on page one or page one promoted slots on google.com. See PageOnePromotedBiddingScheme for more
- /// details.
- ///
- PAGE_ONE_PROMOTED = 4,
- /// Target Spend (Maximize Clicks) is an automated bid strategy that sets your bids
- /// to help get as many clicks as possible within your budget. See TargetSpendBiddingScheme for more details.
- ///
- TARGET_SPEND = 5,
- /// Target CPA is an automated bid strategy that sets bids to help get as many
- /// conversions as possible at the target cost per acquisition (CPA) you set. See TargetCpaBiddingScheme for more details.
- ///
- TARGET_CPA = 7,
- /// Target ROAS is an automated bidding strategy that helps you maximize revenue
- /// while averaging a specific target return on average spend (ROAS). See TargetRoasBiddingScheme for more details.
- ///
- TARGET_ROAS = 8,
- /// Maximize conversions is an automated bidding strategy that automatically sets
- /// bids to help get the most conversions for your campaign while spending your
- /// budget. See MaximizeConversionsBiddingScheme for
- /// more details.
- ///
- MAXIMIZE_CONVERSIONS = 12,
- /// Maximize conversion value is an automated bidding strategy that automatically
- /// sets bids to maximize revenue while spending your budget. See MaximizeConversionValueBiddingScheme
- /// for more details.
- ///
- MAXIMIZE_CONVERSION_VALUE = 13,
- /// Target Outrank Share is an automated bidding strategy that sets bids based on
- /// the target fraction of auctions where the advertiser should outrank a specific
- /// competitor. See TargetOutrankShareBiddingScheme for
- /// more details.
- ///
- TARGET_OUTRANK_SHARE = 9,
- /// Special bidding strategy type used to reset the bidding strategy at AdGroup and
- /// AdGroupCriterion.
- ///
- NONE = 10,
- /// Used for return value only. An enumeration
- /// could not be processed, typically due to incompatibility with your WSDL
- /// version.
- ///
- UNKNOWN = 11,
- }
-
-
- /// Indicates where bidding strategy came from: campaign, adgroup or criterion.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum BiddingStrategySource
- {
- /// Bidding strategy is defined on campaign level.
- ///
- CAMPAIGN = 0,
- /// Bidding strategy is defined on adgroup level.
- ///
- ADGROUP = 1,
- /// Bidding strategy is defined on criterion level.
- ///
- CRITERION = 2,
- }
-
-
- /// Network settings for a Campaign.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class NetworkSetting
- {
- private bool targetGoogleSearchField;
-
- private bool targetGoogleSearchFieldSpecified;
-
- private bool targetSearchNetworkField;
-
- private bool targetSearchNetworkFieldSpecified;
-
- private bool targetContentNetworkField;
-
- private bool targetContentNetworkFieldSpecified;
-
- private bool targetPartnerSearchNetworkField;
-
- private bool targetPartnerSearchNetworkFieldSpecified;
-
- /// Ads will be served with Google.com search results. This field can be selected using the value
- /// "TargetGoogleSearch".This field can
- /// be filtered on.This is disabled for
- /// AdX.This field may only be set to
- /// true for campaign channel type SEARCH.This field may only be set to true for campaign channel type
- /// MULTI_CHANNEL.This field may only
- /// be set to false for campaign channel type DISPLAY.This field may only be set to true for campaign
- /// channel subtype SHOPPING_GOAL_OPTIMIZED_ADS.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public bool targetGoogleSearch
- {
- get
- {
- return this.targetGoogleSearchField;
- }
- set
- {
- this.targetGoogleSearchField = value;
- this.targetGoogleSearchSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool targetGoogleSearchSpecified
- {
- get
- {
- return this.targetGoogleSearchFieldSpecified;
- }
- set
- {
- this.targetGoogleSearchFieldSpecified = value;
- }
- }
-
- /// Ads will be served on partner sites in the Google Search Network (requires
- /// GOOGLE_SEARCH). This field can
- /// be selected using the value "TargetSearchNetwork".This field can be filtered on.This is disabled for AdX.This field may only be set to true for campaign channel type
- /// MULTI_CHANNEL.This field may only
- /// be set to true for campaign channel subtype SHOPPING_GOAL_OPTIMIZED_ADS.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public bool targetSearchNetwork
- {
- get
- {
- return this.targetSearchNetworkField;
- }
- set
- {
- this.targetSearchNetworkField = value;
- this.targetSearchNetworkSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool targetSearchNetworkSpecified
- {
- get
- {
- return this.targetSearchNetworkFieldSpecified;
- }
- set
- {
- this.targetSearchNetworkFieldSpecified = value;
- }
- }
-
- /// Ads will be served on specified placements in the Google Display Network.
- /// Placements are specified using Placement criteria. This field can be selected using the value
- /// "TargetContentNetwork".This field can
- /// be filtered on.This field may only
- /// be set to true for campaign channel type MULTI_CHANNEL.This field may only be set to false for campaign
- /// channel subtype SEARCH_MOBILE_APP.This field may only be set to true for campaign channel type
- /// DISPLAY with campaign channel subtype DISPLAY_SMART_CAMPAIGN.This field may only be set to true for campaign
- /// channel subtype SHOPPING_GOAL_OPTIMIZED_ADS.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public bool targetContentNetwork
- {
- get
- {
- return this.targetContentNetworkField;
- }
- set
- {
- this.targetContentNetworkField = value;
- this.targetContentNetworkSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool targetContentNetworkSpecified
- {
- get
- {
- return this.targetContentNetworkFieldSpecified;
- }
- set
- {
- this.targetContentNetworkFieldSpecified = value;
- }
- }
-
- /// Ads will be served on the Google Partner Network. This is available to only some
- /// specific Google partner accounts. This field
- /// can be selected using the value "TargetPartnerSearchNetwork".This field can be filtered on.This is disabled for AdX.This field may only be set to false for campaign
- /// channel type MULTI_CHANNEL.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public bool targetPartnerSearchNetwork
- {
- get
- {
- return this.targetPartnerSearchNetworkField;
- }
- set
- {
- this.targetPartnerSearchNetworkField = value;
- this.targetPartnerSearchNetworkSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool targetPartnerSearchNetworkSpecified
- {
- get
- {
- return this.targetPartnerSearchNetworkFieldSpecified;
- }
- set
- {
- this.targetPartnerSearchNetworkFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field TargetGoogleSearch = new Field("TargetGoogleSearch", true, true);
-
- public static readonly Field TargetSearchNetwork = new Field("TargetSearchNetwork", true, true);
-
- public static readonly Field TargetContentNetwork = new Field("TargetContentNetwork", true, true);
-
- public static readonly Field TargetPartnerSearchNetwork = new Field("TargetPartnerSearchNetwork", true, true);
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field TargetGoogleSearch = Fields.TargetGoogleSearch;
-
- public static readonly Field TargetSearchNetwork = Fields.TargetSearchNetwork;
-
- public static readonly Field TargetContentNetwork = Fields.TargetContentNetwork;
-
- public static readonly Field TargetPartnerSearchNetwork = Fields.TargetPartnerSearchNetwork;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field TargetGoogleSearch = Fields.TargetGoogleSearch;
-
- public static readonly Field TargetSearchNetwork = Fields.TargetSearchNetwork;
-
- public static readonly Field TargetContentNetwork = Fields.TargetContentNetwork;
-
- public static readonly Field TargetPartnerSearchNetwork = Fields.TargetPartnerSearchNetwork;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Specifies if criteria of this type group should be used to restrict targeting,
- /// or if ads can serve anywhere and criteria are only used in determining the bid.
- ///
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class TargetingSettingDetail
- {
- private CriterionTypeGroup criterionTypeGroupField;
-
- private bool criterionTypeGroupFieldSpecified;
-
- private bool targetAllField;
-
- private bool targetAllFieldSpecified;
-
- /// The criterion type group that these settings apply to. This field is required and should not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public CriterionTypeGroup criterionTypeGroup
- {
- get
- {
- return this.criterionTypeGroupField;
- }
- set
- {
- this.criterionTypeGroupField = value;
- this.criterionTypeGroupSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool criterionTypeGroupSpecified
- {
- get
- {
- return this.criterionTypeGroupFieldSpecified;
- }
- set
- {
- this.criterionTypeGroupFieldSpecified = value;
- }
- }
-
- /// If true, criteria of this type can be used to modify bidding but will not
- /// restrict targeting of ads. This is equivalent to "Bid only" in the AdWords user
- /// interface. If false, restricts your ads to showing only for the criteria you
- /// have selected for this CriterionTypeGroup. This is equivalent to "Target and
- /// Bid" in the AdWords user interface. The default setting for a CriterionTypeGroup
- /// is false ("Target and Bid"). This field is
- /// required and should not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public bool targetAll
- {
- get
- {
- return this.targetAllField;
- }
- set
- {
- this.targetAllField = value;
- this.targetAllSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool targetAllSpecified
- {
- get
- {
- return this.targetAllFieldSpecified;
- }
- set
- {
- this.targetAllFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The list of groupings of criteria types.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum CriterionTypeGroup
- {
- /// Criteria for targeting keywords. e.g. 'mars cruise' KEYWORD may be used as a
- /// content bid dimension. Keywords are always a targeting dimension, so may not be
- /// set as a target "ALL" dimension with TargetRestriction.
- ///
- KEYWORD = 0,
- /// Criteria for targeting lists of users. Lists may represent users with particular
- /// interests, or they may represent users who have interacted with an advertiser's
- /// site in particular ways.
- ///
- USER_INTEREST_AND_LIST = 1,
- /// Criteria for targeting similar categories of placements, e.g.
- /// 'category::Animals>Pets' Used only for content network targeting.
- ///
- VERTICAL = 2,
- /// Criteria for targeting gender.
- ///
- GENDER = 3,
- /// Criteria for targeting age ranges.
- ///
- AGE_RANGE = 4,
- /// Criteria for targeting placements. aka Website. e.g. 'www.flowers4sale.com' This
- /// group also includes mobile applications and mobile app categories.
- ///
- PLACEMENT = 5,
- /// Criteria for parental status targeting.
- ///
- PARENT = 8,
- /// Criteria for income range targeting.
- ///
- INCOME_RANGE = 9,
- /// Special criteria type group used to reset the existing value of AdGroup's
- /// contentBidCriterionTypeGroup.
- ///
- NONE = 6,
- /// Used for return value only. An enumeration
- /// could not be processed, typically due to incompatibility with your WSDL
- /// version.
- ///
- UNKNOWN = 7,
- }
-
-
- /// Contains Universal App Campaign Ads Policy decisions with asset identifier
- /// information, where available.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class UniversalAppCampaignAdsPolicyDecisions
- {
- private UniversalAppCampaignAsset universalAppCampaignAssetField;
-
- private bool universalAppCampaignAssetFieldSpecified;
-
- private string assetIdField;
-
- private PolicyTopicEntry[] policyTopicEntriesField;
-
- /// Used to identify assets that are associated with the Ads Policy decisions.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public UniversalAppCampaignAsset universalAppCampaignAsset
- {
- get
- {
- return this.universalAppCampaignAssetField;
- }
- set
- {
- this.universalAppCampaignAssetField = value;
- this.universalAppCampaignAssetSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool universalAppCampaignAssetSpecified
- {
- get
- {
- return this.universalAppCampaignAssetFieldSpecified;
- }
- set
- {
- this.universalAppCampaignAssetFieldSpecified = value;
- }
- }
-
- /// Unique identifier, which when combined with the UniversalAppCampaignAsset, can
- /// be used to uniquely identify the exact asset.
For example, in the case of UniversalAppCampaignAsset.VIDEO - the id
- /// could be used to identify the individual video.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public string assetId
- {
- get
- {
- return this.assetIdField;
- }
- set
- {
- this.assetIdField = value;
- }
- }
-
- /// List of policy decisions associated with the asset(s).
- ///
- [System.Xml.Serialization.XmlElementAttribute("policyTopicEntries", Order = 2)]
- public PolicyTopicEntry[] policyTopicEntries
- {
- get
- {
- return this.policyTopicEntriesField;
- }
- set
- {
- this.policyTopicEntriesField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Represents the individual assets that are utilized as part of the campaign.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum UniversalAppCampaignAsset
- {
- /// Used for return value only. An enumeration
- /// could not be processed, typically due to incompatibility with your WSDL
- /// version.
- ///
- UNKNOWN = 0,
- /// Identifies a combination of assets.
- ///
- COMBINATION = 1,
- /// Identifies the app destination.
- ///
- APP_DESTINATION = 2,
- /// Identifies the app related data, like app name, app icon, developer name
- /// including translations of the content.
- ///
- APP_ASSETS = 3,
- /// Identifies the campaign setting's description1 field.
- ///
- DESCRIPTION_1 = 4,
- /// Identifies the campaign setting's description2 field.
- ///
- DESCRIPTION_2 = 5,
- /// Identifies the campaign setting's description3 field.
- ///
- DESCRIPTION_3 = 6,
- /// Identifies the campaign setting's description4 field.
- ///
- DESCRIPTION_4 = 7,
- /// Identifies the campaign setting's video fields.
- ///
- VIDEO = 8,
- /// Identifies the campaign setting's image fields.
- ///
- IMAGE = 9,
- }
-
-
- /// Page feeds associated with DynamicSearchAdsSetting.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class PageFeed
- {
- private long[] feedIdsField;
-
- /// A list of page feeds associated with this campaign's dynamic search ads setting.
- ///
- [System.Xml.Serialization.XmlElementAttribute("feedIds", Order = 0)]
- public long[] feedIds
- {
- get
- {
- return this.feedIdsField;
- }
- set
- {
- this.feedIdsField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Base type for AdWords campaign settings.
- ///
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(TrackingSetting))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(TargetingSetting))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(ShoppingSetting))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(RealTimeBiddingSetting))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(UniversalAppCampaignSetting))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(GeoTargetTypeSetting))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(DynamicSearchAdsSetting))]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(ExplorerAutoOptimizerSetting))]
- public abstract partial class Setting
- {
- private string settingTypeField;
-
- /// Indicates that this instance is a subtype of Setting. Although this field is
- /// returned in the response, it is ignored on input and cannot be selected. Specify
- /// xsi:type instead.
- ///
- [System.Xml.Serialization.XmlElementAttribute("Setting.Type", Order = 0)]
- public string SettingType
- {
- get
- {
- return this.settingTypeField;
- }
- set
- {
- this.settingTypeField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Campaign level settings for tracking information.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class TrackingSetting : Setting
- {
- private string trackingUrlField;
-
- /// The url used for dynamic tracking. For more information, see the article Use dynamic tracking
- /// URLs. Specify "NONE" to clear existing url. This string must not be empty.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public string trackingUrl
- {
- get
- {
- return this.trackingUrlField;
- }
- set
- {
- this.trackingUrlField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Setting.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Setting.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Setting.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Setting for targeting related features. This is applicable at Campaign and
- /// AdGroup level.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class TargetingSetting : Setting
- {
- private TargetingSettingDetail[] detailsField;
-
- /// The list of per-criterion-type-group targeting settings.
- ///
- [System.Xml.Serialization.XmlElementAttribute("details", Order = 0)]
- public TargetingSettingDetail[] details
- {
- get
- {
- return this.detailsField;
- }
- set
- {
- this.detailsField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Setting.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Setting.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Setting.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Setting for shopping campaigns. Defines the universe of products covered by the
- /// campaign. Encapsulates a merchant ID, sales country, and campaign priority.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class ShoppingSetting : Setting
- {
- private long merchantIdField;
-
- private bool merchantIdFieldSpecified;
-
- private string salesCountryField;
-
- private int campaignPriorityField;
-
- private bool campaignPriorityFieldSpecified;
-
- private bool enableLocalField;
-
- private bool enableLocalFieldSpecified;
-
- /// ID of the Merchant Center account. This field
- /// is required and should not be null when it is contained within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long merchantId
- {
- get
- {
- return this.merchantIdField;
- }
- set
- {
- this.merchantIdField = value;
- this.merchantIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool merchantIdSpecified
- {
- get
- {
- return this.merchantIdFieldSpecified;
- }
- set
- {
- this.merchantIdFieldSpecified = value;
- }
- }
-
- /// Sales country of products to include in the campaign. This must be set to 'ZZ'
- /// for Campaigns of types other than AdvertisingChannelType#SHOPPINGThis field is required and should not be
- /// null when it is contained within Operators :
- /// ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public string salesCountry
- {
- get
- {
- return this.salesCountryField;
- }
- set
- {
- this.salesCountryField = value;
- }
- }
-
- /// Priority of the campaign. Campaigns with numerically higher priorities take
- /// precedence over those with lower priorities. This field may only be set to 3 for campaign channel type SHOPPING
- /// with campaign channel subtype SHOPPING_GOAL_OPTIMIZED_ADS.This field must be between 0 and 2, inclusive.
- /// This field is required and should not be
- /// null when it is contained within Operators :
- /// ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public int campaignPriority
- {
- get
- {
- return this.campaignPriorityField;
- }
- set
- {
- this.campaignPriorityField = value;
- this.campaignPrioritySpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool campaignPrioritySpecified
- {
- get
- {
- return this.campaignPriorityFieldSpecified;
- }
- set
- {
- this.campaignPriorityFieldSpecified = value;
- }
- }
-
- /// Enable local inventory ads. This field may
- /// only be set to false for campaign channel type SHOPPING with campaign channel
- /// subtype SHOPPING_GOAL_OPTIMIZED_ADS.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public bool enableLocal
- {
- get
- {
- return this.enableLocalField;
- }
- set
- {
- this.enableLocalField = value;
- this.enableLocalSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool enableLocalSpecified
- {
- get
- {
- return this.enableLocalFieldSpecified;
- }
- set
- {
- this.enableLocalFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Setting.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Setting.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Setting.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Settings for Real-Time Bidding, a feature only available for campaigns targeting
- /// the Ad Exchange network.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class RealTimeBiddingSetting : Setting
- {
- private bool optInField;
-
- private bool optInFieldSpecified;
-
- /// Whether the campaign is opted in to real-time bidding.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public bool optIn
- {
- get
- {
- return this.optInField;
- }
- set
- {
- this.optInField = value;
- this.optInSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool optInSpecified
- {
- get
- {
- return this.optInFieldSpecified;
- }
- set
- {
- this.optInFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Setting.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Setting.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Setting.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Setting for storing the mobile app to advertise and creative assets for
- /// Universal app campaigns. This setting is required for Campaigns with advertising
- /// channel subtype UNIVERSAL_APP_CAMPAIGN and can only be attached to such
- /// Campaigns.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class UniversalAppCampaignSetting : Setting
- {
- private string appIdField;
-
- private MobileApplicationVendor appVendorField;
-
- private bool appVendorFieldSpecified;
-
- private string description1Field;
-
- private string description2Field;
-
- private string description3Field;
-
- private string description4Field;
-
- private long[] youtubeVideoMediaIdsField;
-
- private long[] imageMediaIdsField;
-
- private UniversalAppBiddingStrategyGoalType universalAppBiddingStrategyGoalTypeField;
-
- private bool universalAppBiddingStrategyGoalTypeFieldSpecified;
-
- private ListOperations youtubeVideoMediaIdsOpsField;
-
- private ListOperations imageMediaIdsOpsField;
-
- private UniversalAppCampaignAdsPolicyDecisions[] adsPolicyDecisionsField;
-
- /// A string that uniquely identifies a mobile application. The appId should be the
- /// same as the vendor native id for the app. For example the Android Application
- /// "Color Drips"
- /// (https://play.google.com/store/apps/details?id=com.labpixies.colordrips) would
- /// have the appId - "com.labpixies.colordrips". This field can be filtered on using the value
- /// "UniversalAppCampaignSettingAppId".This field is read only and will be ignored when sent to the API for
- /// the following Operators: REMOVE.This field is required and should not be
- /// null when it is contained within Operators :
- /// ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public string appId
- {
- get
- {
- return this.appIdField;
- }
- set
- {
- this.appIdField = value;
- }
- }
-
- /// The vendor, i.e. application store that distributes this specific app, as
- /// identified by the app_id.
This field is required and should not be null when
- /// it is contained within Operators : ADD. This
- /// field is read only and will be ignored when sent to the API for the following Operators: REMOVE.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public MobileApplicationVendor appVendor
- {
- get
- {
- return this.appVendorField;
- }
- set
- {
- this.appVendorField = value;
- this.appVendorSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool appVendorSpecified
- {
- get
- {
- return this.appVendorFieldSpecified;
- }
- set
- {
- this.appVendorFieldSpecified = value;
- }
- }
-
- /// A description line of your mobile application promotion ad(s). Description must not contain any '{' or '}'
- /// characters. This is checked by the regular expression '[^\{\}]*'.This field is required and should not be
- /// null when it is contained within Operators :
- /// ADD.The length of this string
- /// should be between 1 and 25, inclusive, (trimmed).
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public string description1
- {
- get
- {
- return this.description1Field;
- }
- set
- {
- this.description1Field = value;
- }
- }
-
- /// A description line of your mobile application promotion ad(s). Description must not contain any '{' or '}'
- /// characters. This is checked by the regular expression '[^\{\}]*'.This field is required and should not be
- /// null when it is contained within Operators :
- /// ADD.The length of this string
- /// should be between 1 and 25, inclusive, (trimmed).
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public string description2
- {
- get
- {
- return this.description2Field;
- }
- set
- {
- this.description2Field = value;
- }
- }
-
- /// A description line of your mobile application promotion ad(s). Description must not contain any '{' or '}'
- /// characters. This is checked by the regular expression '[^\{\}]*'.This field is required and should not be
- /// null when it is contained within Operators :
- /// ADD.The length of this string
- /// should be between 1 and 25, inclusive, (trimmed).
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 4)]
- public string description3
- {
- get
- {
- return this.description3Field;
- }
- set
- {
- this.description3Field = value;
- }
- }
-
- /// A description line of your mobile application promotion ad(s). Description must not contain any '{' or '}'
- /// characters. This is checked by the regular expression '[^\{\}]*'.This field is required and should not be
- /// null when it is contained within Operators :
- /// ADD.The length of this string
- /// should be between 1 and 25, inclusive, (trimmed).
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 5)]
- public string description4
- {
- get
- {
- return this.description4Field;
- }
- set
- {
- this.description4Field = value;
- }
- }
-
- /// MediaIds for YouTube videos to be shown to users when advertising on video
- /// networks.
- ///
- [System.Xml.Serialization.XmlElementAttribute("youtubeVideoMediaIds", Order = 6)]
- public long[] youtubeVideoMediaIds
- {
- get
- {
- return this.youtubeVideoMediaIdsField;
- }
- set
- {
- this.youtubeVideoMediaIdsField = value;
- }
- }
-
- /// MediaIds for landscape images to be used in creatives to be shown to users when
- /// advertising on display networks.
- ///
- [System.Xml.Serialization.XmlElementAttribute("imageMediaIds", Order = 7)]
- public long[] imageMediaIds
- {
- get
- {
- return this.imageMediaIdsField;
- }
- set
- {
- this.imageMediaIdsField = value;
- }
- }
-
- /// Represents the goal towards which the bidding strategy, of this universal app
- /// campaign, should optimize for.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 8)]
- public UniversalAppBiddingStrategyGoalType universalAppBiddingStrategyGoalType
- {
- get
- {
- return this.universalAppBiddingStrategyGoalTypeField;
- }
- set
- {
- this.universalAppBiddingStrategyGoalTypeField = value;
- this.universalAppBiddingStrategyGoalTypeSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- ///
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool universalAppBiddingStrategyGoalTypeSpecified
- {
- get
- {
- return this.universalAppBiddingStrategyGoalTypeFieldSpecified;
- }
- set
- {
- this.universalAppBiddingStrategyGoalTypeFieldSpecified = value;
- }
- }
-
- /// Operations for YouTube Video MediaIds.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 9)]
- public ListOperations youtubeVideoMediaIdsOps
- {
- get
- {
- return this.youtubeVideoMediaIdsOpsField;
- }
- set
- {
- this.youtubeVideoMediaIdsOpsField = value;
- }
- }
-
- /// Operations for Image MediaIds.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 10)]
- public ListOperations imageMediaIdsOps
- {
- get
- {
- return this.imageMediaIdsOpsField;
- }
- set
- {
- this.imageMediaIdsOpsField = value;
- }
- }
-
- /// Ads policy decisions associated with asset(s).
- ///
- [System.Xml.Serialization.XmlElementAttribute("adsPolicyDecisions", Order = 11)]
- public UniversalAppCampaignAdsPolicyDecisions[] adsPolicyDecisions
- {
- get
- {
- return this.adsPolicyDecisionsField;
- }
- set
- {
- this.adsPolicyDecisionsField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Setting.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field UniversalAppCampaignSettingAppId = new Field("UniversalAppCampaignSettingAppId", true, false);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Setting.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field UniversalAppCampaignSettingAppId = Fields.UniversalAppCampaignSettingAppId;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Setting.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field UniversalAppCampaignSettingAppId = Fields.UniversalAppCampaignSettingAppId;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The Vendor, i.e. application store that distributes mobile applications.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum MobileApplicationVendor
- {
- VENDOR_UNKNOWN = 0,
- /// Mobile application vendor for apple app store.
- ///
- VENDOR_APPLE_APP_STORE = 1,
- /// Mobile application vendor for google market.
- ///
- VENDOR_GOOGLE_MARKET = 2,
- }
-
-
- /// Represents the goal towards which the bidding strategy, of a universal app
- /// campaign, should optimize for.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum UniversalAppBiddingStrategyGoalType
- {
- /// Used for return value only. An enumeration
- /// could not be processed, typically due to incompatibility with your WSDL
- /// version.
- ///
- UNKNOWN = 0,
- /// The bidding strategy of the universal app campaign should aim to maximize
- /// installation of the app.
- ///
- OPTIMIZE_FOR_INSTALL_CONVERSION_VOLUME = 1,
- /// The bidding strategy of the universal app campaign should aim to maximize the
- /// selected in-app conversions' volume.
- ///
- OPTIMIZE_FOR_IN_APP_CONVERSION_VOLUME = 2,
- /// The bidding strategy of the universal app campaign should aim to maximize all
- /// conversions' value, i.e., install + selected in-app conversions. NOTE: This
- /// value cannot be set by external clients, but it can be retrieved using get.
- ///
- OPTIMIZE_FOR_TOTAL_CONVERSION_VALUE = 3,
- /// The bidding strategy of the universal app campaign should aim to maximize just
- /// the selected in-app conversion's volume, while achieving or exceeding target
- /// cost per in-app conversion.
- ///
- OPTIMIZE_FOR_TARGET_IN_APP_CONVERSION = 4,
- /// The bidding strategy of the universal app campaign should aim to maximize all
- /// conversions' value, i.e., install + selected in-app conversions while achieving
- /// or exceeding target return on advertising spend.
- ///
- OPTIMIZE_FOR_RETURN_ON_ADVERTISING_SPEND = 5,
- }
-
-
- /// Represents a collection of settings related to ads geotargeting.
AdWords ads
- /// can be geotargeted using Location of Presence (LOP), Area of
- /// Interest (AOI), or both. LOP is the physical location of the user
- /// performing the search; AOI is the geographical region in which the searcher is
- /// interested. For example, if a user in New York City performs a search "hotels
- /// california", their LOP is New York City and their AOI is California.
- ///
Additionally, ads can be positively or negatively geotargeted.
- /// An ad that is positively geotargeted to New York City only appears to users
- /// whose location is related (via AOI or LOP) to New York City. An ad that is
- /// negatively geotargeted to New York City appears for all users
- /// except those whose location is related to New York City. Ads can only be
- /// negatively geotargeted if a positive geotargeting is also supplied, and the
- /// negatively geotargeted region must be contained within the positive region.
- ///
Geotargeting settings allow ads to be targeted in the following way:
- ///
Positively geotargeted using solely AOI, solely LOP, or either.
- ///
Negatively geotargeted using solely LOP, or both.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class GeoTargetTypeSetting : Setting
- {
- private GeoTargetTypeSettingPositiveGeoTargetType positiveGeoTargetTypeField;
-
- private bool positiveGeoTargetTypeFieldSpecified;
-
- private GeoTargetTypeSettingNegativeGeoTargetType negativeGeoTargetTypeField;
-
- private bool negativeGeoTargetTypeFieldSpecified;
-
- /// The setting used for positive geotargeting in this particular campaign.
- ///
Again, the campaign can be positively targeted using solely LOP, solely AOI,
- /// or either. Positive targeting triggers ads only for users whose location
- /// is related to the given locations.
The default value is DONT_CARE.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public GeoTargetTypeSettingPositiveGeoTargetType positiveGeoTargetType
- {
- get
- {
- return this.positiveGeoTargetTypeField;
- }
- set
- {
- this.positiveGeoTargetTypeField = value;
- this.positiveGeoTargetTypeSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool positiveGeoTargetTypeSpecified
- {
- get
- {
- return this.positiveGeoTargetTypeFieldSpecified;
- }
- set
- {
- this.positiveGeoTargetTypeFieldSpecified = value;
- }
- }
-
- /// The setting used for negative geotargeting in this particular campaign.
- ///
Again, the campaign can be negatively targeted using solely LOP or both AOI
- /// and LOP. Negative targeting triggers ads for all users except
- /// those whose location is related to the given locations.
The default value
- /// is DONT_CARE.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public GeoTargetTypeSettingNegativeGeoTargetType negativeGeoTargetType
- {
- get
- {
- return this.negativeGeoTargetTypeField;
- }
- set
- {
- this.negativeGeoTargetTypeField = value;
- this.negativeGeoTargetTypeSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool negativeGeoTargetTypeSpecified
- {
- get
- {
- return this.negativeGeoTargetTypeFieldSpecified;
- }
- set
- {
- this.negativeGeoTargetTypeFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Setting.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Setting.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Setting.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The various signals a positive location target may use.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "GeoTargetTypeSetting.PositiveGeoTargetType", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum GeoTargetTypeSettingPositiveGeoTargetType
- {
- /// Specifies that either AOI or LOP may trigger the ad.
- ///
- DONT_CARE = 0,
- /// Specifies that the ad is triggered only if the user's AOI matches.
- ///
- AREA_OF_INTEREST = 1,
- /// Specifies that the ad is triggered only if the user's LOP matches.
- ///
- LOCATION_OF_PRESENCE = 2,
- }
-
-
- /// The various signals a negative location target may use.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "GeoTargetTypeSetting.NegativeGeoTargetType", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum GeoTargetTypeSettingNegativeGeoTargetType
- {
- /// Specifies that a user is excluded from seeing the ad if either their AOI or
- /// their LOP matches the geo target.
- ///
- DONT_CARE = 0,
- /// Specifies that a user is excluded from seeing the ad only if their LOP matches
- /// the geo target.
- ///
- LOCATION_OF_PRESENCE = 1,
- }
-
-
- /// Setting for controlling Dynamic Search Ads (DSA). Contains the domain name and
- /// the language used by the DSA system to automatically generate landing pages and
- /// keywords for a campaign.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class DynamicSearchAdsSetting : Setting
- {
- private string domainNameField;
-
- private string languageCodeField;
-
- private bool useSuppliedUrlsOnlyField;
-
- private bool useSuppliedUrlsOnlyFieldSpecified;
-
- private PageFeed pageFeedField;
-
- /// The Internet domain name that this setting represents. E.g. "google.com" or
- /// "www.google.com". This field is required and
- /// should not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public string domainName
- {
- get
- {
- return this.domainNameField;
- }
- set
- {
- this.domainNameField = value;
- }
- }
-
- /// A language code that indicates what language the contents of the domain is in.
- /// E.g. "en" This field is required and should
- /// not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public string languageCode
- {
- get
- {
- return this.languageCodeField;
- }
- set
- {
- this.languageCodeField = value;
- }
- }
-
- /// A toggle for the advertiser to decide if they want this campaign to use the
- /// advertiser supplied URLs only.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public bool useSuppliedUrlsOnly
- {
- get
- {
- return this.useSuppliedUrlsOnlyField;
- }
- set
- {
- this.useSuppliedUrlsOnlyField = value;
- this.useSuppliedUrlsOnlySpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool useSuppliedUrlsOnlySpecified
- {
- get
- {
- return this.useSuppliedUrlsOnlyFieldSpecified;
- }
- set
- {
- this.useSuppliedUrlsOnlyFieldSpecified = value;
- }
- }
-
- /// Page feeds associated with this campaign.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public PageFeed pageFeed
- {
- get
- {
- return this.pageFeedField;
- }
- set
- {
- this.pageFeedField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Setting.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Setting.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Setting.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// A frequency cap is the maximum number of times an ad (or some set of ads) can be
- /// shown to a user over a particular time period.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class FrequencyCap
- {
- private long impressionsField;
-
- private bool impressionsFieldSpecified;
-
- private TimeUnit timeUnitField;
-
- private bool timeUnitFieldSpecified;
-
- private Level levelField;
-
- private bool levelFieldSpecified;
-
- /// Maximum number of impressions allowed during the time range by this cap. To
- /// remove the frequency cap on a campaign, set this field to 0. This field can be selected using the value
- /// "FrequencyCapMaxImpressions".This
- /// field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long impressions
- {
- get
- {
- return this.impressionsField;
- }
- set
- {
- this.impressionsField = value;
- this.impressionsSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool impressionsSpecified
- {
- get
- {
- return this.impressionsFieldSpecified;
- }
- set
- {
- this.impressionsFieldSpecified = value;
- }
- }
-
- /// Unit of time the cap is defined at. Only the Day, Week and Month time units are
- /// supported. This field can be selected using
- /// the value "TimeUnit".This field can
- /// be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public TimeUnit timeUnit
- {
- get
- {
- return this.timeUnitField;
- }
- set
- {
- this.timeUnitField = value;
- this.timeUnitSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool timeUnitSpecified
- {
- get
- {
- return this.timeUnitFieldSpecified;
- }
- set
- {
- this.timeUnitFieldSpecified = value;
- }
- }
-
- /// The level on which the cap is to be applied (creative/adgroup). Cap is applied
- /// to all the entities of this level in the campaign. This field can be selected using the value "Level".This field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public Level level
- {
- get
- {
- return this.levelField;
- }
- set
- {
- this.levelField = value;
- this.levelSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool levelSpecified
- {
- get
- {
- return this.levelFieldSpecified;
- }
- set
- {
- this.levelFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field FrequencyCapMaxImpressions = new Field("FrequencyCapMaxImpressions", true, true);
-
- public static readonly Field TimeUnit = new Field("TimeUnit", true, true);
-
- public static readonly Field Level = new Field("Level", true, true);
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field FrequencyCapMaxImpressions = Fields.FrequencyCapMaxImpressions;
-
- public static readonly Field TimeUnit = Fields.TimeUnit;
-
- public static readonly Field Level = Fields.Level;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field FrequencyCapMaxImpressions = Fields.FrequencyCapMaxImpressions;
-
- public static readonly Field TimeUnit = Fields.TimeUnit;
-
- public static readonly Field Level = Fields.Level;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Unit of time the cap is defined at.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum TimeUnit
- {
- MINUTE = 0,
- HOUR = 1,
- DAY = 2,
- WEEK = 3,
- MONTH = 4,
- LIFETIME = 5,
- }
-
-
- /// The level on which the cap is to be applied.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum Level
- {
- /// The cap is applied at the creative level.
- ///
- CREATIVE = 0,
- /// The cap is applied at the ad group level.
- ///
- ADGROUP = 1,
- /// The cap is applied at the campaign level.
- ///
- CAMPAIGN = 2,
- /// This value cannot be set by the user and sent to the AdWords API servers, as it
- /// would generate a RejectedError. It can only be received by the user from the
- /// AdWords API servers and it means that a new value available in a newer API
- /// release version is not known in the current API release version. If the user
- /// encounters this value, it means an upgrade is required in order to take
- /// advantage of the latest AdWords API functionality. Used for return value only. An enumeration could not be processed,
- /// typically due to incompatibility with your WSDL version.
- ///
- UNKNOWN = 3,
- }
-
-
- /// Eligibility data for Campaign to transition to Conversion Optimizer
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class ConversionOptimizerEligibility
- {
- private bool eligibleField;
-
- private bool eligibleFieldSpecified;
-
- private ConversionOptimizerEligibilityRejectionReason[] rejectionReasonsField;
-
- /// If the campaign is eligible to enter conversion optimizer. This field can be selected using the value
- /// "Eligible".This field is read only and
- /// will be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public bool eligible
- {
- get
- {
- return this.eligibleField;
- }
- set
- {
- this.eligibleField = value;
- this.eligibleSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool eligibleSpecified
- {
- get
- {
- return this.eligibleFieldSpecified;
- }
- set
- {
- this.eligibleFieldSpecified = value;
- }
- }
-
- /// Reason why a campaign would be rejected for conversion optimizer. This field can be selected using the value
- /// "RejectionReasons".This field is read
- /// only and will be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute("rejectionReasons", Order = 1)]
- public ConversionOptimizerEligibilityRejectionReason[] rejectionReasons
- {
- get
- {
- return this.rejectionReasonsField;
- }
- set
- {
- this.rejectionReasonsField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field Eligible = new Field("Eligible", false, true);
-
- public static readonly Field RejectionReasons = new Field("RejectionReasons", false, true);
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field Eligible = Fields.Eligible;
-
- public static readonly Field RejectionReasons = Fields.RejectionReasons;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "ConversionOptimizerEligibility.RejectionReason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum ConversionOptimizerEligibilityRejectionReason
- {
- /// Campaign is not active
- ///
- CAMPAIGN_IS_NOT_ACTIVE = 0,
- /// Conversion optimizer is available to only Manual CPC campaign
- ///
- NOT_CPC_CAMPAIGN = 1,
- /// Conversion tracking is not enabled for the Campaign
- ///
- CONVERSION_TRACKING_NOT_ENABLED = 2,
- /// The campaign does not meet the requirement to have a sufficient count of
- /// conversions.
- ///
- NOT_ENOUGH_CONVERSIONS = 3,
- UNKNOWN = 4,
- }
-
-
- /// Budgets are used for managing the amount of money spent on AdWords.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class Budget
- {
- private long budgetIdField;
-
- private bool budgetIdFieldSpecified;
-
- private string nameField;
-
- private Money amountField;
-
- private BudgetBudgetDeliveryMethod deliveryMethodField;
-
- private bool deliveryMethodFieldSpecified;
-
- private int referenceCountField;
-
- private bool referenceCountFieldSpecified;
-
- private bool isExplicitlySharedField;
-
- private bool isExplicitlySharedFieldSpecified;
-
- private BudgetBudgetStatus statusField;
-
- private bool statusFieldSpecified;
-
- /// A Budget is created using the BudgetService ADD operation and is assigned a
- /// BudgetId. The BudgetId is used when modifying the Budget with BudgetService, or
- /// associating the Budget to a Campaign with CampaignService. A BudgetId can be
- /// shared across different campaigns--the system will then allocate the Budget
- /// among the Campaigns to get the optimum result. This field can be selected using the value "BudgetId".This field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long budgetId
- {
- get
- {
- return this.budgetIdField;
- }
- set
- {
- this.budgetIdField = value;
- this.budgetIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool budgetIdSpecified
- {
- get
- {
- return this.budgetIdFieldSpecified;
- }
- set
- {
- this.budgetIdFieldSpecified = value;
- }
- }
-
- /// Name of the Budget. When creating a Budget through BudgetService, every
- /// explicitly shared Budget must have a non-null non-empty name. In addition, all
- /// explicitly shared Budget names owned by an account must be distinct. Budgets
- /// that are not explicitly shared derive their name from the attached Campaign's
- /// name. This field can be selected using the
- /// value "BudgetName".This field can be
- /// filtered on.This field is read only
- /// and will be ignored when sent to the API for the following Operators: REMOVE.The length of this string should be between 1 and 255, inclusive,
- /// in UTF-8 bytes, (trimmed).
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public string name
- {
- get
- {
- return this.nameField;
- }
- set
- {
- this.nameField = value;
- }
- }
-
- /// Amount of budget in the local currency for the account. This value represents an
- /// average daily budget amount; the actual daily costs might vary. See Charges and your daily
- /// budget. This field can be selected using
- /// the value "Amount".This field can be
- /// filtered on.This field must be greater
- /// than or equal to 1.This field is read
- /// only and will be ignored when sent to the API for the following Operators: REMOVE.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public Money amount
- {
- get
- {
- return this.amountField;
- }
- set
- {
- this.amountField = value;
- }
- }
-
- /// Delivery method for the Budget which determines the rate at which the Budget is
- /// spent. Defaults to STANDARD and can be changed through BudgetService ADD or SET
- /// operations. This field can be selected using
- /// the value "DeliveryMethod".This field
- /// is read only and will be ignored when sent to the API for the following Operators: REMOVE.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public BudgetBudgetDeliveryMethod deliveryMethod
- {
- get
- {
- return this.deliveryMethodField;
- }
- set
- {
- this.deliveryMethodField = value;
- this.deliveryMethodSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool deliveryMethodSpecified
- {
- get
- {
- return this.deliveryMethodFieldSpecified;
- }
- set
- {
- this.deliveryMethodFieldSpecified = value;
- }
- }
-
- /// Number of campaigns actively using this budget. This field is only populated for
- /// Get operations. This field can be selected
- /// using the value "BudgetReferenceCount".This field can be filtered on.This field is read only and will be ignored when sent to the
- /// API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 4)]
- public int referenceCount
- {
- get
- {
- return this.referenceCountField;
- }
- set
- {
- this.referenceCountField = value;
- this.referenceCountSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool referenceCountSpecified
- {
- get
- {
- return this.referenceCountFieldSpecified;
- }
- set
- {
- this.referenceCountFieldSpecified = value;
- }
- }
-
- /// If true, this budget was created with the purpose of sharing this budget across
- /// one or more campaigns.
If false, this budget was created with the intention
- /// to be dedicatedly used with a single campaign, and the Budget's name and status
- /// will stay in the sync with the associated Campaign's name and status. Attempting
- /// to share this budget with a second Campaign will result in an error.
This field can be selected using the value
- /// "IsBudgetExplicitlyShared".This field
- /// can be filtered on.This field is read
- /// only and will be ignored when sent to the API for the following Operators: REMOVE.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 5)]
- public bool isExplicitlyShared
- {
- get
- {
- return this.isExplicitlySharedField;
- }
- set
- {
- this.isExplicitlySharedField = value;
- this.isExplicitlySharedSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool isExplicitlySharedSpecified
- {
- get
- {
- return this.isExplicitlySharedFieldSpecified;
- }
- set
- {
- this.isExplicitlySharedFieldSpecified = value;
- }
- }
-
- /// This field can be selected using the value
- /// "BudgetStatus".This field can be
- /// filtered on.This field is read only
- /// and will be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 6)]
- public BudgetBudgetStatus status
- {
- get
- {
- return this.statusField;
- }
- set
- {
- this.statusField = value;
- this.statusSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool statusSpecified
- {
- get
- {
- return this.statusFieldSpecified;
- }
- set
- {
- this.statusFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field BudgetId = new Field("BudgetId", true, true);
-
- public static readonly Field BudgetName = new Field("BudgetName", true, true);
-
- public static readonly Field Amount = new Field("Amount", true, true);
-
- public static readonly Field DeliveryMethod = new Field("DeliveryMethod", false, true);
-
- public static readonly Field BudgetReferenceCount = new Field("BudgetReferenceCount", true, true);
-
- public static readonly Field IsBudgetExplicitlyShared = new Field("IsBudgetExplicitlyShared", true, true);
-
- public static readonly Field BudgetStatus = new Field("BudgetStatus", true, true);
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field BudgetId = Fields.BudgetId;
-
- public static readonly Field BudgetName = Fields.BudgetName;
-
- public static readonly Field Amount = Fields.Amount;
-
- public static readonly Field DeliveryMethod = Fields.DeliveryMethod;
-
- public static readonly Field BudgetReferenceCount = Fields.BudgetReferenceCount;
-
- public static readonly Field IsBudgetExplicitlyShared = Fields.IsBudgetExplicitlyShared;
-
- public static readonly Field BudgetStatus = Fields.BudgetStatus;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field BudgetId = Fields.BudgetId;
-
- public static readonly Field BudgetName = Fields.BudgetName;
-
- public static readonly Field Amount = Fields.Amount;
-
- public static readonly Field BudgetReferenceCount = Fields.BudgetReferenceCount;
-
- public static readonly Field IsBudgetExplicitlyShared = Fields.IsBudgetExplicitlyShared;
-
- public static readonly Field BudgetStatus = Fields.BudgetStatus;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Budget delivery methods.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "Budget.BudgetDeliveryMethod", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum BudgetBudgetDeliveryMethod
- {
- /// The budget server will throttle serving evenly across the entire time period.
- ///
- STANDARD = 0,
- /// The budget server will not throttle serving, and ads will serve as fast as
- /// possible.
- ///
- ACCELERATED = 1,
- UNKNOWN = 2,
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "Budget.BudgetStatus", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum BudgetBudgetStatus
- {
- ENABLED = 0,
- REMOVED = 1,
- UNKNOWN = 2,
- }
-
-
- /// Data representing an AdWords campaign.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class Campaign
- {
- private long idField;
-
- private bool idFieldSpecified;
-
- private long campaignGroupIdField;
-
- private bool campaignGroupIdFieldSpecified;
-
- private string nameField;
-
- private CampaignStatus statusField;
-
- private bool statusFieldSpecified;
-
- private ServingStatus servingStatusField;
-
- private bool servingStatusFieldSpecified;
-
- private string startDateField;
-
- private string endDateField;
-
- private Budget budgetField;
-
- private ConversionOptimizerEligibility conversionOptimizerEligibilityField;
-
- private AdServingOptimizationStatus adServingOptimizationStatusField;
-
- private bool adServingOptimizationStatusFieldSpecified;
-
- private FrequencyCap frequencyCapField;
-
- private Setting[] settingsField;
-
- private AdvertisingChannelType advertisingChannelTypeField;
-
- private bool advertisingChannelTypeFieldSpecified;
-
- private AdvertisingChannelSubType advertisingChannelSubTypeField;
-
- private bool advertisingChannelSubTypeFieldSpecified;
-
- private NetworkSetting networkSettingField;
-
- private Label[] labelsField;
-
- private BiddingStrategyConfiguration biddingStrategyConfigurationField;
-
- private CampaignTrialType campaignTrialTypeField;
-
- private bool campaignTrialTypeFieldSpecified;
-
- private long baseCampaignIdField;
-
- private bool baseCampaignIdFieldSpecified;
-
- private String_StringMapEntry[] forwardCompatibilityMapField;
-
- private string trackingUrlTemplateField;
-
- private string finalUrlSuffixField;
-
- private CustomParameters urlCustomParametersField;
-
- private VanityPharma vanityPharmaField;
-
- private SelectiveOptimization selectiveOptimizationField;
-
- /// ID of this campaign. This field can be
- /// selected using the value "Id".This
- /// field can be filtered on.This field is
- /// read only and will be ignored when sent to the API for the following Operators: ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long id
- {
- get
- {
- return this.idField;
- }
- set
- {
- this.idField = value;
- this.idSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool idSpecified
- {
- get
- {
- return this.idFieldSpecified;
- }
- set
- {
- this.idFieldSpecified = value;
- }
- }
-
- /// Id of the campaign group this campaign belongs to. This field can be selected using the value
- /// "CampaignGroupId".This field can be
- /// filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public long campaignGroupId
- {
- get
- {
- return this.campaignGroupIdField;
- }
- set
- {
- this.campaignGroupIdField = value;
- this.campaignGroupIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool campaignGroupIdSpecified
- {
- get
- {
- return this.campaignGroupIdFieldSpecified;
- }
- set
- {
- this.campaignGroupIdFieldSpecified = value;
- }
- }
-
- /// Name of this campaign. This field is required and should not be
- /// null for ADD operations. For SET and REMOVE operations, this can be
- /// used to address the campaign by name when the campaign is ENABLED or PAUSED.
- /// Removed campaigns cannot be addressed by name. If you wish to rename a campaign,
- /// you must provide the ID. This field can be
- /// selected using the value "Name".This
- /// field can be filtered on.Campaign
- /// names must not contain any null (code point 0x0), NL line feed (code point 0xA)
- /// or carriage return (code point 0xD) characters. This is checked by the regular
- /// expression '[^\x00\x0A\x0D]*'.This
- /// string must not be empty.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public string name
- {
- get
- {
- return this.nameField;
- }
- set
- {
- this.nameField = value;
- }
- }
-
- /// Status of this campaign. On add, defaults to ENABLED. This field can be selected using the value
- /// "Status".This field can be filtered
- /// on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public CampaignStatus status
- {
- get
- {
- return this.statusField;
- }
- set
- {
- this.statusField = value;
- this.statusSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool statusSpecified
- {
- get
- {
- return this.statusFieldSpecified;
- }
- set
- {
- this.statusFieldSpecified = value;
- }
- }
-
- /// Serving status. This field can be selected
- /// using the value "ServingStatus".This
- /// field can be filtered on.This field is
- /// read only and will be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 4)]
- public ServingStatus servingStatus
- {
- get
- {
- return this.servingStatusField;
- }
- set
- {
- this.servingStatusField = value;
- this.servingStatusSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool servingStatusSpecified
- {
- get
- {
- return this.servingStatusFieldSpecified;
- }
- set
- {
- this.servingStatusFieldSpecified = value;
- }
- }
-
- /// Date the campaign begins. On add, defaults to the current day in the parent
- /// account's local timezone. The date's format should be YYYYMMDD. This field can be selected using the value
- /// "StartDate".This field can be
- /// filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 5)]
- public string startDate
- {
- get
- {
- return this.startDateField;
- }
- set
- {
- this.startDateField = value;
- }
- }
-
- /// Date the campaign ends. On add, defaults to 20371230, which means
- /// the campaign will run indefinitely. To set an existing campaign to run
- /// indefinitely, set this field to 20371230. The date's format
- /// should be YYYYMMDD. This field can be
- /// selected using the value "EndDate".This field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 6)]
- public string endDate
- {
- get
- {
- return this.endDateField;
- }
- set
- {
- this.endDateField = value;
- }
- }
-
- /// Current base budget of campaign; default if no custom budgets are enabled. This
- /// field is readonly for draft campaigns and will be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 7)]
- public Budget budget
- {
- get
- {
- return this.budgetField;
- }
- set
- {
- this.budgetField = value;
- }
- }
-
- /// This field is read only and will be ignored
- /// when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 8)]
- public ConversionOptimizerEligibility conversionOptimizerEligibility
- {
- get
- {
- return this.conversionOptimizerEligibilityField;
- }
- set
- {
- this.conversionOptimizerEligibilityField = value;
- }
- }
-
- /// Ad serving optimization status. This field
- /// can be selected using the value "AdServingOptimizationStatus".This field may only be set to
- /// CONVERSION_OPTIMIZE for campaign channel subtype UNIVERSAL_APP_CAMPAIGN.
- /// This field may only be set to
- /// CONVERSION_OPTIMIZE for campaign channel type DISPLAY with campaign channel
- /// subtype DISPLAY_SMART_CAMPAIGN.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 9)]
- public AdServingOptimizationStatus adServingOptimizationStatus
- {
- get
- {
- return this.adServingOptimizationStatusField;
- }
- set
- {
- this.adServingOptimizationStatusField = value;
- this.adServingOptimizationStatusSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool adServingOptimizationStatusSpecified
- {
- get
- {
- return this.adServingOptimizationStatusFieldSpecified;
- }
- set
- {
- this.adServingOptimizationStatusFieldSpecified = value;
- }
- }
-
- /// Frequency cap for this campaign. This
- /// field may not be set for campaign channel subtypes: DISPLAY_SMART_CAMPAIGN,
- /// UNIVERSAL_APP_CAMPAIGN, SEARCH_MOBILE_APP.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 10)]
- public FrequencyCap frequencyCap
- {
- get
- {
- return this.frequencyCapField;
- }
- set
- {
- this.frequencyCapField = value;
- }
- }
-
- /// List of settings for the campaign. This
- /// field can be selected using the value "Settings".
- ///
- [System.Xml.Serialization.XmlElementAttribute("settings", Order = 11)]
- public Setting[] settings
- {
- get
- {
- return this.settingsField;
- }
- set
- {
- this.settingsField = value;
- }
- }
-
- /// The primary serving target for ads within this campaign. The targeting options
- /// can be refined in NetworkSetting. May only be set for new campaigns. This field
- /// is required and should not be when it is contained within Operators : ADD This
- /// field can be selected using the value "AdvertisingChannelType".This field can be filtered on.This field is read only and will be ignored when
- /// sent to the API for the following Operators: SET.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 12)]
- public AdvertisingChannelType advertisingChannelType
- {
- get
- {
- return this.advertisingChannelTypeField;
- }
- set
- {
- this.advertisingChannelTypeField = value;
- this.advertisingChannelTypeSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool advertisingChannelTypeSpecified
- {
- get
- {
- return this.advertisingChannelTypeFieldSpecified;
- }
- set
- {
- this.advertisingChannelTypeFieldSpecified = value;
- }
- }
-
- /// Optional refinement of advertisingChannelType. Must be a valid sub-type of the
- /// parent channel type. May only be set for new campaigns and cannot be changed
- /// once set. This field can be selected using
- /// the value "AdvertisingChannelSubType".This field can be filtered on.This field is read only and will be ignored when sent to the API for
- /// the following Operators: SET.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 13)]
- public AdvertisingChannelSubType advertisingChannelSubType
- {
- get
- {
- return this.advertisingChannelSubTypeField;
- }
- set
- {
- this.advertisingChannelSubTypeField = value;
- this.advertisingChannelSubTypeSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool advertisingChannelSubTypeSpecified
- {
- get
- {
- return this.advertisingChannelSubTypeFieldSpecified;
- }
- set
- {
- this.advertisingChannelSubTypeFieldSpecified = value;
- }
- }
-
- /// Network settings for the campaign indicating where the campaign will serve.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 14)]
- public NetworkSetting networkSetting
- {
- get
- {
- return this.networkSettingField;
- }
- set
- {
- this.networkSettingField = value;
- }
- }
-
- /// Labels that are attached to the campaign. To associate an existing Label to an existing Campaign, use CampaignService#mutateLabel with the ADD
- /// operator. To remove an associated Label from the Campaign, use CampaignService#mutateLabel with the
- /// REMOVE operator. To filter on Labels, use one of Predicate.Operator#CONTAINS_ALL, Predicate.Operator#CONTAINS_ANY, Predicate.Operator#CONTAINS_NONE
- /// operators with a list of Label ids. This field can be selected using the value "Labels".This field can be filtered on.This field is read only and will be ignored when
- /// sent to the API for the following Operators: REMOVE and
- /// SET.
- ///
- [System.Xml.Serialization.XmlElementAttribute("labels", Order = 15)]
- public Label[] labels
- {
- get
- {
- return this.labelsField;
- }
- set
- {
- this.labelsField = value;
- }
- }
-
- /// Bidding configuration for this campaign. To change an existing campaign's
- /// bidding strategy, set the BiddingStrategyConfiguration#biddingStrategyType
- /// or BiddingStrategyConfiguration#biddingScheme.
- /// This field is required and should not be null when it is contained
- /// within Operators : ADD
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 16)]
- public BiddingStrategyConfiguration biddingStrategyConfiguration
- {
- get
- {
- return this.biddingStrategyConfigurationField;
- }
- set
- {
- this.biddingStrategyConfigurationField = value;
- }
- }
-
- /// Indicates if this campaign is a normal campaign, a draft campaign, or a trial
- /// campaign. This field can be selected using
- /// the value "CampaignTrialType".This
- /// field can be filtered on.This field is
- /// read only and will be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 17)]
- public CampaignTrialType campaignTrialType
- {
- get
- {
- return this.campaignTrialTypeField;
- }
- set
- {
- this.campaignTrialTypeField = value;
- this.campaignTrialTypeSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool campaignTrialTypeSpecified
- {
- get
- {
- return this.campaignTrialTypeFieldSpecified;
- }
- set
- {
- this.campaignTrialTypeFieldSpecified = value;
- }
- }
-
- /// ID of the base campaign of the draft or trial campaign. For base campaigns, this
- /// is equal to the campaign ID. This field is only returned on get requests. This field can be selected using the value
- /// "BaseCampaignId".This field can be
- /// filtered on.This field is read only
- /// and will be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 18)]
- public long baseCampaignId
- {
- get
- {
- return this.baseCampaignIdField;
- }
- set
- {
- this.baseCampaignIdField = value;
- this.baseCampaignIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool baseCampaignIdSpecified
- {
- get
- {
- return this.baseCampaignIdFieldSpecified;
- }
- set
- {
- this.baseCampaignIdFieldSpecified = value;
- }
- }
-
- /// This Map provides a place to put new features and settings in older versions of
- /// the AdWords API in the rare instance we need to introduce a new feature in an
- /// older version. It is presently unused. Do not set a value.
- ///
- [System.Xml.Serialization.XmlElementAttribute("forwardCompatibilityMap", Order = 19)]
- public String_StringMapEntry[] forwardCompatibilityMap
- {
- get
- {
- return this.forwardCompatibilityMapField;
- }
- set
- {
- this.forwardCompatibilityMapField = value;
- }
- }
-
- /// URL template for constructing a tracking URL.
On update, empty string ("")
- /// indicates to clear the field. This field can
- /// be selected using the value "TrackingUrlTemplate".This field can be filtered on.This field may not be set for campaign channel subtype
- /// UNIVERSAL_APP_CAMPAIGN.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 20)]
- public string trackingUrlTemplate
- {
- get
- {
- return this.trackingUrlTemplateField;
- }
- set
- {
- this.trackingUrlTemplateField = value;
- }
- }
-
- /// URL template for appending params to Final URL.
On update, empty string ("")
- /// indicates to clear the field. This field can
- /// be selected using the value "FinalUrlSuffix".This field can be filtered on.This field may not be set for campaign channel type
- /// MULTI_CHANNEL.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 21)]
- public string finalUrlSuffix
- {
- get
- {
- return this.finalUrlSuffixField;
- }
- set
- {
- this.finalUrlSuffixField = value;
- }
- }
-
- /// A list of mappings to be used for substituting URL custom parameter tags in the
- /// trackingUrlTemplate, finalUrls, and/or finalMobileUrls. This field can be selected using the value
- /// "UrlCustomParameters".This field
- /// may not be set for campaign channel subtype UNIVERSAL_APP_CAMPAIGN.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 22)]
- public CustomParameters urlCustomParameters
- {
- get
- {
- return this.urlCustomParametersField;
- }
- set
- {
- this.urlCustomParametersField = value;
- }
- }
-
- /// Describes how unbranded pharma ads will be displayed. This field may not be set for campaign channel subtype
- /// UNIVERSAL_APP_CAMPAIGN.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 23)]
- public VanityPharma vanityPharma
- {
- get
- {
- return this.vanityPharmaField;
- }
- set
- {
- this.vanityPharmaField = value;
- }
- }
-
- /// Selective optimization setting for this campaign, which includes a set of
- /// conversion types to optimize this campaign towards. This field can be selected using the value
- /// "SelectiveOptimization".
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 24)]
- public SelectiveOptimization selectiveOptimization
- {
- get
- {
- return this.selectiveOptimizationField;
- }
- set
- {
- this.selectiveOptimizationField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field Id = new Field("Id", true, true);
-
- public static readonly Field CampaignGroupId = new Field("CampaignGroupId", true, true);
-
- public static readonly Field Name = new Field("Name", true, true);
-
- public static readonly Field Status = new Field("Status", true, true);
-
- public static readonly Field ServingStatus = new Field("ServingStatus", true, true);
-
- public static readonly Field StartDate = new Field("StartDate", true, true);
-
- public static readonly Field EndDate = new Field("EndDate", true, true);
-
- public static readonly Field AdServingOptimizationStatus = new Field("AdServingOptimizationStatus", false, true);
-
- public static readonly Field Settings = new Field("Settings", false, true);
-
- public static readonly Field AdvertisingChannelType = new Field("AdvertisingChannelType", true, true);
-
- public static readonly Field AdvertisingChannelSubType = new Field("AdvertisingChannelSubType", true, true);
-
- public static readonly Field Labels = new Field("Labels", true, true);
-
- public static readonly Field CampaignTrialType = new Field("CampaignTrialType", true, true);
-
- public static readonly Field BaseCampaignId = new Field("BaseCampaignId", true, true);
-
- public static readonly Field TrackingUrlTemplate = new Field("TrackingUrlTemplate", true, true);
-
- public static readonly Field FinalUrlSuffix = new Field("FinalUrlSuffix", true, true);
-
- public static readonly Field UrlCustomParameters = new Field("UrlCustomParameters", false, true);
-
- public static readonly Field SelectiveOptimization = new Field("SelectiveOptimization", false, true);
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field Id = Fields.Id;
-
- public static readonly Field CampaignGroupId = Fields.CampaignGroupId;
-
- public static readonly Field Name = Fields.Name;
-
- public static readonly Field Status = Fields.Status;
-
- public static readonly Field ServingStatus = Fields.ServingStatus;
-
- public static readonly Field StartDate = Fields.StartDate;
-
- public static readonly Field EndDate = Fields.EndDate;
-
- public static readonly Field AdServingOptimizationStatus = Fields.AdServingOptimizationStatus;
-
- public static readonly Field Settings = Fields.Settings;
-
- public static readonly Field AdvertisingChannelType = Fields.AdvertisingChannelType;
-
- public static readonly Field AdvertisingChannelSubType = Fields.AdvertisingChannelSubType;
-
- public static readonly Field Labels = Fields.Labels;
-
- public static readonly Field CampaignTrialType = Fields.CampaignTrialType;
-
- public static readonly Field BaseCampaignId = Fields.BaseCampaignId;
-
- public static readonly Field TrackingUrlTemplate = Fields.TrackingUrlTemplate;
-
- public static readonly Field FinalUrlSuffix = Fields.FinalUrlSuffix;
-
- public static readonly Field UrlCustomParameters = Fields.UrlCustomParameters;
-
- public static readonly Field SelectiveOptimization = Fields.SelectiveOptimization;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field Id = Fields.Id;
-
- public static readonly Field CampaignGroupId = Fields.CampaignGroupId;
-
- public static readonly Field Name = Fields.Name;
-
- public static readonly Field Status = Fields.Status;
-
- public static readonly Field ServingStatus = Fields.ServingStatus;
-
- public static readonly Field StartDate = Fields.StartDate;
-
- public static readonly Field EndDate = Fields.EndDate;
-
- public static readonly Field AdvertisingChannelType = Fields.AdvertisingChannelType;
-
- public static readonly Field AdvertisingChannelSubType = Fields.AdvertisingChannelSubType;
-
- public static readonly Field Labels = Fields.Labels;
-
- public static readonly Field CampaignTrialType = Fields.CampaignTrialType;
-
- public static readonly Field BaseCampaignId = Fields.BaseCampaignId;
-
- public static readonly Field TrackingUrlTemplate = Fields.TrackingUrlTemplate;
-
- public static readonly Field FinalUrlSuffix = Fields.FinalUrlSuffix;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Campaign status.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum CampaignStatus
- {
- /// Used for return value only. An enumeration
- /// could not be processed, typically due to incompatibility with your WSDL
- /// version.
- ///
- UNKNOWN = 0,
- /// Campaign is currently serving ads depending on budget information.
- ///
- ENABLED = 1,
- /// Campaign has been paused by the user.
- ///
- PAUSED = 2,
- /// Campaign has been removed.
- ///
- REMOVED = 3,
- }
-
-
- /// Campaign serving status.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum ServingStatus
- {
- /// The campaign is currently serving ads.
- ///
- SERVING = 0,
- /// This is the catch-all if none of the other statuses make sense. Such a campaign
- /// is not serving, but none of the other statuses are sensible options.
- ///
- NONE = 1,
- /// The campaign end date has been past.
- ///
- ENDED = 2,
- /// The campaign start date has not yet been reached.
- ///
- PENDING = 3,
- /// The campaign has been suspended probably from lack of allocated funds.
- ///
- SUSPENDED = 4,
- }
-
-
- /// Ad serving status of campaign.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum AdServingOptimizationStatus
- {
- /// Ad serving is optimized based on CTR for the campaign.
- ///
- OPTIMIZE = 0,
- /// Ad serving is optimized based on CTR * Conversion for the campaign. If the
- /// campaign is not in the conversion optimizer bidding strategy, it will default to
- /// OPTIMIZED.
- ///
- CONVERSION_OPTIMIZE = 1,
- /// Ads are rotated evenly for 90 days, then optimized for clicks.
- ///
- ROTATE = 2,
- /// Show lower performing ads more evenly with higher performing ads, and do not
- /// optimize.
- ///
- ROTATE_INDEFINITELY = 3,
- /// Ad serving optimization status is not available.
- ///
- UNAVAILABLE = 4,
- /// Used for return value only. An enumeration
- /// could not be processed, typically due to incompatibility with your WSDL
- /// version.
- ///
- UNKNOWN = 5,
- }
-
-
- /// The channel type a campaign may target to serve on.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum AdvertisingChannelType
- {
- /// Used for return value only. An enumeration
- /// could not be processed, typically due to incompatibility with your WSDL
- /// version.
- ///
- UNKNOWN = 0,
- /// Search Network. Includes display bundled, and Search+ campaigns.
- ///
- SEARCH = 1,
- /// Google Display Network only.
- ///
- DISPLAY = 2,
- /// Shopping campaigns serve on the shopping property and on google.com search
- /// results.
- ///
- SHOPPING = 3,
- /// Universal app campaigns that target multiple channels across search, display,
- /// youtube, etc.
- ///
- MULTI_CHANNEL = 4,
- }
-
-
- /// A non-mutable specialization of an Advertising Channel.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum AdvertisingChannelSubType
- {
- /// Used for return value only. An enumeration
- /// could not be processed, typically due to incompatibility with your WSDL
- /// version.
- ///
- UNKNOWN = 0,
- /// Mobile App Campaigns for Search
- ///
- SEARCH_MOBILE_APP = 1,
- /// Mobile App Campaigns for Display
- ///
- DISPLAY_MOBILE_APP = 2,
- /// AdWords Express campaigns for search.
- ///
- SEARCH_EXPRESS = 3,
- /// AdWords Express campaigns for display.
- ///
- DISPLAY_EXPRESS = 4,
- /// Campaigns specialized for advertising mobile app installations, that targets
- /// multiple advertising channels across search, display and youtube. Google manages
- /// the keywords and ads for these campaigns.
- ///
- UNIVERSAL_APP_CAMPAIGN = 5,
- /// Smart display campaign
- ///
- DISPLAY_SMART_CAMPAIGN = 8,
- /// Campaigns specialized for retail advertising, that target multiple advertising
- /// channels across Search, Google Display Network, and YouTube. These campaigns
- /// optimize automatically towards the retailer's business objectives.
- ///
- SHOPPING_GOAL_OPTIMIZED_ADS = 9,
- /// Gmail Ad Campaigns
- ///
- DISPLAY_GMAIL_AD = 7,
- }
-
-
- /// This enum is used to indicate if this campaign is a normal campaign, a draft
- /// campaign, or a trial campaign.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum CampaignTrialType
- {
- /// Invalid type. Should not be used except for detecting values that are incorrect,
- /// or values that are not yet known to the user. Used for return value only. An enumeration could not be processed,
- /// typically due to incompatibility with your WSDL version.
- ///
- UNKNOWN = 0,
- /// This is a regular campaign created by the advertiser.
- ///
- BASE = 1,
- /// This is a draft version of a campaign. It has some modifications from a base
- /// campaign, but it does not serve or accrue stats.
- ///
- DRAFT = 2,
- /// This is a trial version of a campaign. It has some modifications from a base
- /// campaign, and a percentage of traffic is being diverted from the BASE campaign
- /// to this trial campaign.
- ///
- TRIAL = 3,
- }
-
-
- /// Contains a set of campaigns resulting from the filtering and paging of the CampaignService#get call.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CampaignPage : Page
- {
- private Campaign[] entriesField;
-
- /// The result entries in this page.
- ///
- [System.Xml.Serialization.XmlElementAttribute("entries", Order = 0)]
- public Campaign[] entries
- {
- get
- {
- return this.entriesField;
- }
- set
- {
- this.entriesField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Page.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Page.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Page.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Indicates a problem with campaign settings.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class SettingError : ApiError
- {
- private SettingErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// The setting error reason.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public SettingErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The reasons for the setting error.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "SettingError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum SettingErrorReason
- {
- /// The campaign already has a setting of the type that is being added.
- ///
- DUPLICATE_SETTING_TYPE = 0,
- /// The campaign setting is not available for this AdWords account.
- ///
- SETTING_TYPE_IS_NOT_AVAILABLE = 1,
- /// The setting is not compatible with the campaign.
- ///
- SETTING_TYPE_IS_NOT_COMPATIBLE_WITH_CAMPAIGN = 2,
- /// The supplied TargetingSetting contains an invalid CriterionTypeGroup. See CriterionTypeGroup documentation for
- /// CriterionTypeGroups allowed in Campaign or AdGroup TargetingSettings.
- ///
- TARGETING_SETTING_CONTAINS_INVALID_CRITERION_TYPE_GROUP = 3,
- /// Starting with AdWords API v201802, TargetingSetting must not explicitly set any
- /// of the Demographic CriterionTypeGroups (AGE_RANGE, GENDER, PARENT, INCOME_RANGE)
- /// to false (it's okay to not set them at all, in which case the system will set
- /// them to true automatically).
- ///
- TARGETING_SETTING_DEMOGRAPHIC_CRITERION_TYPE_GROUPS_MUST_BE_SET_TO_TARGET_ALL = 18,
- /// Starting with AdWords API v201802,TargetingSetting cannot change any of the
- /// Demographic CriterionTypeGroups (AGE_RANGE, GENDER, PARENT, INCOME_RANGE) from
- /// true to false.
- ///
- TARGETING_SETTING_CANNOT_CHANGE_TARGET_ALL_TO_FALSE_FOR_DEMOGRAPHIC_CRITERION_TYPE_GROUP = 19,
- /// At least one feed id should be present.
- ///
- DYNAMIC_SEARCH_ADS_SETTING_AT_LEAST_ONE_FEED_ID_MUST_BE_PRESENT = 17,
- /// The supplied DynamicSearchAdsSetting contains an invalid domain name.
- ///
- DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_DOMAIN_NAME = 4,
- /// The supplied DynamicSearchAdsSetting contains a subdomain name.
- ///
- DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_SUBDOMAIN_NAME = 20,
- /// The supplied DynamicSearchAdsSetting contains an invalid language code.
- ///
- DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_LANGUAGE_CODE = 5,
- /// TargetingSettings in search campaigns should not have
- /// CriterionTypeGroup.PLACEMENT set to targetAll.
- ///
- TARGET_ALL_IS_NOT_ALLOWED_FOR_PLACEMENT_IN_SEARCH_CAMPAIGN = 6,
- /// Duplicate description in universal app setting description field.
- ///
- UNIVERSAL_APP_CAMPAIGN_SETTING_DUPLICATE_DESCRIPTION = 13,
- /// Description line width is too long in universal app setting description field.
- ///
- UNIVERSAL_APP_CAMPAIGN_SETTING_DESCRIPTION_LINE_WIDTH_TOO_LONG = 14,
- /// Universal app setting appId field cannot be modified for COMPLETE campaigns.
- ///
- UNIVERSAL_APP_CAMPAIGN_SETTING_APP_ID_CANNOT_BE_MODIFIED = 15,
- /// YoutubeVideoMediaIds in universal app setting cannot exceed size limit.
- ///
- TOO_MANY_YOUTUBE_MEDIA_IDS_IN_UNIVERSAL_APP_CAMPAIGN = 11,
- /// ImageMediaIds in universal app setting cannot exceed size limit.
- ///
- TOO_MANY_IMAGE_MEDIA_IDS_IN_UNIVERSAL_APP_CAMPAIGN = 12,
- /// Media is incompatible for universal app campaign.
- ///
- MEDIA_INCOMPATIBLE_FOR_UNIVERSAL_APP_CAMPAIGN = 16,
- /// Too many exclamation marks in universal app campaign ad text ideas.
- ///
- TOO_MANY_EXCLAMATION_MARKS = 21,
- /// Unspecified campaign setting error. Used for
- /// return value only. An enumeration could not be processed, typically due to
- /// incompatibility with your WSDL version.
- ///
- UNKNOWN = 7,
- }
-
-
- /// Errors that can occur when making changes to a list using ListOperations.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class ListError : ApiError
- {
- private ListErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// The error reason represented by an enum.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public ListErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The reason for the error.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "ListError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum ListErrorReason
- {
- /// A request attempted to clear a list that does not support being cleared.
- ///
- CLEAR_UNSUPPORTED = 0,
- /// The operator is invalid for the list or list element the operator was applied
- /// to.
- ///
- INVALID_OPERATOR = 1,
- /// An UPDATE or REMOVE was requested for a list element that does not exist.
- ///
- INVALID_ELEMENT = 2,
- /// The operator list has different a size compared to the element list.
- ///
- LIST_LENGTH_MISMATCH = 3,
- /// Duplicate elements inside list.
- ///
- DUPLICATE_ELEMENT = 4,
- /// The API operator of the mutate being performed on the entity containing this
- /// list is not supported.
- ///
- MUTATE_UNSUPPORTED = 5,
- UNKNOWN = 6,
- }
-
-
- /// A list of all the error codes being used for date range error.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class DateRangeError : ApiError
- {
- private DateRangeErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// The error reason represented by an enum.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public DateRangeErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The reasons for the date range error.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "DateRangeError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum DateRangeErrorReason
- {
- DATE_RANGE_ERROR = 0,
- /// Invalid date.
- ///
- INVALID_DATE = 1,
- /// The start date was after the end date.
- ///
- START_DATE_AFTER_END_DATE = 2,
- /// Cannot set date to past time
- ///
- CANNOT_SET_DATE_TO_PAST = 3,
- /// A date was used that is past the system "last" date.
- ///
- AFTER_MAXIMUM_ALLOWABLE_DATE = 4,
- /// Trying to change start date on a campaign that has started.
- ///
- CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED = 5,
- }
-
-
- /// Base error class for Campaign Service.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CampaignError : ApiError
- {
- private CampaignErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// The error reason represented by an enum.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public CampaignErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The reasons for the target error.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "CampaignError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum CampaignErrorReason
- {
- /// A complete campaign cannot go back to being incomplete
- ///
- CANNOT_GO_BACK_TO_INCOMPLETE = 0,
- /// Cannot target content network.
- ///
- CANNOT_TARGET_CONTENT_NETWORK = 20,
- /// Cannot target search network.
- ///
- CANNOT_TARGET_SEARCH_NETWORK = 21,
- /// Cannot cover search network without google search network.
- ///
- CANNOT_TARGET_SEARCH_NETWORK_WITHOUT_GOOGLE_SEARCH = 22,
- /// Cannot target Google Search network for a CPM campaign.
- ///
- CANNOT_TARGET_GOOGLE_SEARCH_FOR_CPM_CAMPAIGN = 23,
- /// Must target at least one network.
- ///
- CAMPAIGN_MUST_TARGET_AT_LEAST_ONE_NETWORK = 24,
- /// Only some Google partners are allowed to target partner search network.
- ///
- CANNOT_TARGET_PARTNER_SEARCH_NETWORK = 25,
- /// Cannot target content network only as campaign has criteria-level bidding
- /// strategy.
- ///
- CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CRITERIA_LEVEL_BIDDING_STRATEGY = 26,
- /// Cannot modify the start or end date such that the campaign duration would not
- /// contain the durations of all runnable trials.
- ///
- CAMPAIGN_DURATION_MUST_CONTAIN_ALL_RUNNABLE_TRIALS = 27,
- /// Cannot modify dates, budget or campaign name of a trial campaign.
- ///
- CANNOT_MODIFY_FOR_TRIAL_CAMPAIGN = 28,
- /// Trying to modify the name of an active or paused campaign, where the name is
- /// already assigned to another active or paused campaign.
- ///
- DUPLICATE_CAMPAIGN_NAME = 2,
- /// Two fields are in conflicting modes.
- ///
- INCOMPATIBLE_CAMPAIGN_FIELD = 3,
- /// Campaign name cannot be used.
- ///
- INVALID_CAMPAIGN_NAME = 4,
- /// Given status is invalid.
- ///
- INVALID_AD_SERVING_OPTIMIZATION_STATUS = 5,
- /// Error in the campaign level tracking url.
- ///
- INVALID_TRACKING_URL = 6,
- /// Cannot set both tracking url template and tracking setting. An user has to clear
- /// legacy tracking setting in order to add tracking url template.
- ///
- CANNOT_SET_BOTH_TRACKING_URL_TEMPLATE_AND_TRACKING_SETTING = 7,
- /// The maximum number of impressions for Frequency Cap should be an integer greater
- /// than 0.
- ///
- MAX_IMPRESSIONS_NOT_IN_RANGE = 8,
- /// Only the Day, Week and Month time units are supported.
- ///
- TIME_UNIT_NOT_SUPPORTED = 9,
- /// Operation not allowed on a campaign whose serving status has ended
- ///
- INVALID_OPERATION_IF_SERVING_STATUS_HAS_ENDED = 10,
- /// This budget is exclusively linked to a Campaign that is using @link{Experiment}s
- /// so it cannot be shared.
- ///
- BUDGET_CANNOT_BE_SHARED = 11,
- /// Campaigns using @link{Experiment}s cannot use a shared budget.
- ///
- CAMPAIGN_CANNOT_USE_SHARED_BUDGET = 12,
- /// A different budget cannot be assigned to a campaign when there are running or
- /// scheduled trials.
- ///
- CANNOT_CHANGE_BUDGET_ON_CAMPAIGN_WITH_TRIALS = 29,
- /// No link found between the campaign and the label.
- ///
- CAMPAIGN_LABEL_DOES_NOT_EXIST = 13,
- /// The label has already been attached to the campaign.
- ///
- CAMPAIGN_LABEL_ALREADY_EXISTS = 14,
- /// A ShoppingSetting was not found when creating a shopping campaign.
- ///
- MISSING_SHOPPING_SETTING = 15,
- /// The country in shopping setting is not an allowed country.
- ///
- INVALID_SHOPPING_SALES_COUNTRY = 16,
- /// Shopping merchant is not enabled for Purchases on Google.
- ///
- SHOPPING_MERCHANT_NOT_ALLOWED_FOR_PURCHASES_ON_GOOGLE = 32,
- /// Purchases on Google not enabled for the shopping campaign's sales country.
- ///
- PURCHASES_ON_GOOGLE_NOT_SUPPORTED_FOR_SHOPPING_SALES_COUNTRY = 33,
- /// A Campaign with channel sub type UNIVERSAL_APP_CAMPAIGN must have a
- /// UniversalAppCampaignSetting specified.
- ///
- MISSING_UNIVERSAL_APP_CAMPAIGN_SETTING = 31,
- /// The requested channel type is not available according to the customer's account
- /// setting.
- ///
- ADVERTISING_CHANNEL_TYPE_NOT_AVAILABLE_FOR_ACCOUNT_TYPE = 17,
- /// The AdvertisingChannelSubType is not a valid subtype of the primary channel
- /// type.
- ///
- INVALID_ADVERTISING_CHANNEL_SUB_TYPE = 18,
- /// At least one conversion must be selected.
- ///
- AT_LEAST_ONE_CONVERSION_MUST_BE_SELECTED = 30,
- /// Setting ad rotation mode for a campaign is not allowed. Ad rotation mode at
- /// campaign is deprecated.
- ///
- CANNOT_SET_AD_ROTATION_MODE = 34,
- /// Default error Used for return value only. An
- /// enumeration could not be processed, typically due to incompatibility with your
- /// WSDL version.
- ///
- UNKNOWN = 19,
- }
-
-
- /// A list of all the error codes being used by the common budget domain package.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class BudgetError : ApiError
- {
- private BudgetErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// The error reason represented by an enum.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public BudgetErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The reasons for the budget error.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "BudgetError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum BudgetErrorReason
- {
- /// The requested budget no longer exists.
- ///
- BUDGET_REMOVED = 0,
- /// Default budget error.
- ///
- BUDGET_ERROR = 1,
- /// The budget is associated with at least one campaign, and so the budget cannot be
- /// removed.
- ///
- BUDGET_IN_USE = 2,
- /// Customer is not whitelisted for this budget period.
- ///
- BUDGET_PERIOD_NOT_AVAILABLE = 3,
- /// Customer cannot use CampaignService to edit a shared budget.
- ///
- CANNOT_EDIT_SHARED_BUDGET = 4,
- /// This field is not mutable on implicitly shared budgets
- ///
- CANNOT_MODIFY_FIELD_OF_IMPLICITLY_SHARED_BUDGET = 5,
- /// Cannot change explicitly shared budgets back to implicitly shared ones.
- ///
- CANNOT_UPDATE_BUDGET_TO_IMPLICITLY_SHARED = 6,
- /// An implicit budget without a name cannot be changed to explicitly shared budget.
- ///
- CANNOT_UPDATE_BUDGET_TO_EXPLICITLY_SHARED_WITHOUT_NAME = 7,
- /// Cannot change an implicitly shared budget to an explicitly shared one.
- ///
- CANNOT_UPDATE_BUDGET_TO_EXPLICITLY_SHARED = 15,
- /// Only explicitly shared budgets can be used with multiple campaigns.
- ///
- CANNOT_USE_IMPLICITLY_SHARED_BUDGET_WITH_MULTIPLE_CAMPAIGNS = 8,
- /// A budget with this name already exists.
- ///
- DUPLICATE_NAME = 9,
- /// A money amount was not in the expected currency.
- ///
- MONEY_AMOUNT_IN_WRONG_CURRENCY = 10,
- /// A money amount was less than the minimum CPC for currency.
- ///
- MONEY_AMOUNT_LESS_THAN_CURRENCY_MINIMUM_CPC = 11,
- /// A money amount was greater than the maximum allowed.
- ///
- MONEY_AMOUNT_TOO_LARGE = 12,
- /// A money amount was negative.
- ///
- NEGATIVE_MONEY_AMOUNT = 13,
- /// A money amount was not a multiple of a minimum unit.
- ///
- NON_MULTIPLE_OF_MINIMUM_CURRENCY_UNIT = 14,
- }
-
-
- /// Represents error codes for bidding strategy entities.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class BiddingErrors : ApiError
- {
- private BiddingErrorsReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// The error reason represented by an enum.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public BiddingErrorsReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "BiddingErrors.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum BiddingErrorsReason
- {
- /// Cannot transition to new bidding strategy.
- ///
- BIDDING_STRATEGY_TRANSITION_NOT_ALLOWED = 0,
- /// Bidding strategy cannot be overridden by current ad group bidding strategy.
- ///
- BIDDING_STRATEGY_NOT_COMPATIBLE_WITH_ADGROUP_OVERRIDES = 1,
- /// Bidding strategy cannot be overridden by current criteria bidding strategy.
- ///
- BIDDING_STRATEGY_NOT_COMPATIBLE_WITH_ADGROUP_CRITERIA_OVERRIDES = 2,
- /// Cannot override campaign bidding strategy.
- ///
- CAMPAIGN_BIDDING_STRATEGY_CANNOT_BE_OVERRIDDEN = 3,
- /// Cannot override ad group bidding strategy.
- ///
- ADGROUP_BIDDING_STRATEGY_CANNOT_BE_OVERRIDDEN = 4,
- /// Cannot attach bidding strategy to campaign.
- ///
- CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN = 5,
- /// Cannot attach bidding strategy to ad group.
- ///
- CANNOT_ATTACH_BIDDING_STRATEGY_TO_ADGROUP = 6,
- /// Cannot attach bidding strategy to criteria.
- ///
- CANNOT_ATTACH_BIDDING_STRATEGY_TO_ADGROUP_CRITERIA = 7,
- /// Bidding strategy is not supported or cannot be used as anonymous.
- ///
- INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE = 8,
- /// No bids may be set. The bid list must be null or empty.
- ///
- BIDS_NOT_ALLLOWED = 9,
- /// The bid list contains two or more bids of the same type.
- ///
- DUPLICATE_BIDS = 10,
- /// The bidding scheme does not match the bidding strategy type.
- ///
- INVALID_BIDDING_SCHEME = 11,
- /// The type does not match the named strategy's type.
- ///
- INVALID_BIDDING_STRATEGY_TYPE = 12,
- /// The bidding strategy type is missing.
- ///
- MISSING_BIDDING_STRATEGY_TYPE = 13,
- /// The bid list contains a null entry.
- ///
- NULL_BID = 14,
- /// The bid is invalid.
- ///
- INVALID_BID = 15,
- /// Bidding strategy is not available for the account type.
- ///
- BIDDING_STRATEGY_NOT_AVAILABLE_FOR_ACCOUNT_TYPE = 16,
- /// Conversion tracking is not enabled for the campaign for VBB transition.
- ///
- CONVERSION_TRACKING_NOT_ENABLED = 17,
- /// Not enough conversions tracked for VBB transitions.
- ///
- NOT_ENOUGH_CONVERSIONS = 18,
- /// Campaign can not be created with given bidding strategy. It can be transitioned
- /// to the strategy, once eligible.
- ///
- CANNOT_CREATE_CAMPAIGN_WITH_BIDDING_STRATEGY = 33,
- /// Cannot target content network only as ad group uses Page One Promoted bidding
- /// strategy.
- ///
- CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_AD_GROUP_LEVEL_POP_BIDDING_STRATEGY = 20,
- /// Cannot target content network only as campaign uses Page One Promoted bidding
- /// strategy.
- ///
- CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CAMPAIGN_LEVEL_POP_BIDDING_STRATEGY = 21,
- /// Budget Optimizer and Target Spend bidding strategies are not supported for
- /// campaigns with AdSchedule targeting.
- ///
- BIDDING_STRATEGY_NOT_SUPPORTED_WITH_AD_SCHEDULE = 22,
- /// Pay per conversion is not available to all the customer, only few whitelisted
- /// customers can use this.
- ///
- PAY_PER_CONVERSION_NOT_AVAILABLE_FOR_CUSTOMER = 23,
- /// Pay per conversion is not allowed with Target CPA.
- ///
- PAY_PER_CONVERSION_NOT_ALLOWED_WITH_TARGET_CPA = 24,
- /// Cannot set bidding strategy to Manual CPM for search network only campaigns.
- ///
- BIDDING_STRATEGY_NOT_ALLOWED_FOR_SEARCH_ONLY_CAMPAIGNS = 25,
- /// The bidding strategy is not supported for use in drafts or experiments.
- ///
- BIDDING_STRATEGY_NOT_SUPPORTED_IN_DRAFTS_OR_EXPERIMENTS = 34,
- /// Bidding strategy type does not support product type ad group criterion.
- ///
- BIDDING_STRATEGY_TYPE_DOES_NOT_SUPPORT_PRODUCT_TYPE_ADGROUP_CRITERION = 28,
- /// Bid amount is too small.
- ///
- BID_TOO_SMALL = 29,
- /// Bid amount is too big.
- ///
- BID_TOO_BIG = 30,
- /// Bid has too many fractional digit precision.
- ///
- BID_TOO_MANY_FRACTIONAL_DIGITS = 31,
- /// EnhancedCpcEnabled cannot be set on portfolio Target Spend strategies.
- ///
- ENHANCED_CPC_ENABLED_NOT_SUPPORTED_ON_PORTFOLIO_TARGET_SPEND_STRATEGY = 35,
- UNKNOWN = 32,
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ServiceModel.ServiceContractAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", ConfigurationName = "Google.Api.Ads.AdWords.v201806.CampaignServiceInterface")]
- public interface CampaignServiceInterface
- {
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [System.ServiceModel.FaultContractAttribute(typeof(Google.Api.Ads.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ComparableValue))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Google.Api.Ads.AdWords.v201806.CampaignPage get(Google.Api.Ads.AdWords.v201806.Selector serviceSelector);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- System.Threading.Tasks.Task getAsync(Google.Api.Ads.AdWords.v201806.Selector serviceSelector);
-
- // CODEGEN: Parameter 'operations' 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.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ComparableValue))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Wrappers.CampaignService.mutateResponse mutate(Wrappers.CampaignService.mutateRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- System.Threading.Tasks.Task mutateAsync(Wrappers.CampaignService.mutateRequest request);
-
- // CODEGEN: Parameter 'operations' 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.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ComparableValue))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Wrappers.CampaignService.mutateLabelResponse mutateLabel(Wrappers.CampaignService.mutateLabelRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- System.Threading.Tasks.Task mutateLabelAsync(Wrappers.CampaignService.mutateLabelRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [System.ServiceModel.FaultContractAttribute(typeof(Google.Api.Ads.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ComparableValue))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Google.Api.Ads.AdWords.v201806.CampaignPage query([System.ServiceModel.MessageParameterAttribute(Name = "query")] string query1);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- System.Threading.Tasks.Task queryAsync(string query);
- }
-
-
- /// An operation on an AdWords campaign.
Note: The
- /// REMOVE operator is not supported. To remove a campaign, set its status to REMOVED.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CampaignOperation : Operation
- {
- private Campaign operandField;
-
- /// This field is required and should not be
- /// null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public Campaign operand
- {
- get
- {
- return this.operandField;
- }
- set
- {
- this.operandField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Operation.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Operation.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Operation.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Operations for adding/removing labels from Campaign.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CampaignLabelOperation : Operation
- {
- private CampaignLabel operandField;
-
- /// CampaignLabel to operate on. This field is
- /// required and should not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public CampaignLabel operand
- {
- get
- {
- return this.operandField;
- }
- set
- {
- this.operandField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Operation.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Operation.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Operation.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Manages the labels associated with a campaign.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CampaignLabel
- {
- private long campaignIdField;
-
- private bool campaignIdFieldSpecified;
-
- private long labelIdField;
-
- private bool labelIdFieldSpecified;
-
- /// The id of the campaign that the label is applied to. This field is required and should not be null when it is
- /// contained within Operators : ADD, REMOVE.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long campaignId
- {
- get
- {
- return this.campaignIdField;
- }
- set
- {
- this.campaignIdField = value;
- this.campaignIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool campaignIdSpecified
- {
- get
- {
- return this.campaignIdFieldSpecified;
- }
- set
- {
- this.campaignIdFieldSpecified = value;
- }
- }
-
- /// The id of an existing label to be applied to the campaign. This field is required and should not be
- /// null when it is contained within Operators :
- /// ADD, REMOVE.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public long labelId
- {
- get
- {
- return this.labelIdField;
- }
- set
- {
- this.labelIdField = value;
- this.labelIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool labelIdSpecified
- {
- get
- {
- return this.labelIdFieldSpecified;
- }
- set
- {
- this.labelIdFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// A container for return values from the CampaignService.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CampaignReturnValue : ListReturnValue
- {
- private Campaign[] valueField;
-
- private ApiError[] partialFailureErrorsField;
-
- [System.Xml.Serialization.XmlElementAttribute("value", Order = 0)]
- public Campaign[] value
- {
- get
- {
- return this.valueField;
- }
- set
- {
- this.valueField = value;
- }
- }
-
- /// List of partial failure errors.
- ///
- [System.Xml.Serialization.XmlElementAttribute("partialFailureErrors", Order = 1)]
- public ApiError[] partialFailureErrors
- {
- get
- {
- return this.partialFailureErrorsField;
- }
- set
- {
- this.partialFailureErrorsField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ListReturnValue.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ListReturnValue.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ListReturnValue.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// A container for return values from the CampaignService#mutateLabel call.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CampaignLabelReturnValue : ListReturnValue
- {
- private CampaignLabel[] valueField;
-
- private ApiError[] partialFailureErrorsField;
-
- [System.Xml.Serialization.XmlElementAttribute("value", Order = 0)]
- public CampaignLabel[] value
- {
- get
- {
- return this.valueField;
- }
- set
- {
- this.valueField = value;
- }
- }
-
- [System.Xml.Serialization.XmlElementAttribute("partialFailureErrors", Order = 1)]
- public ApiError[] partialFailureErrors
- {
- get
- {
- return this.partialFailureErrorsField;
- }
- set
- {
- this.partialFailureErrorsField = value;
- }
- }
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public interface CampaignServiceInterfaceChannel : Google.Api.Ads.AdWords.v201806.CampaignServiceInterface, System.ServiceModel.IClientChannel
- {
- }
-
-
- /// Use this service to manage campaigns. A campaign
- /// organizes one or more ad groups together and has its own budget, bidding
- /// strategy, serving date range, and targeting settings (managed using CampaignCriterionService). You can also set
- /// campaign-wide ad extensions using CampaignExtensionSettingService.
- ///
Note: CampaignService does not support video campaigns.
- ///
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class CampaignService : AdWordsSoapClient, ICampaignService
- {
- /// Creates a new instance of the class.
- ///
- public CampaignService()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public CampaignService(string endpointConfigurationName)
- : base(endpointConfigurationName)
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public CampaignService(string endpointConfigurationName, string remoteAddress)
- : base(endpointConfigurationName, remoteAddress)
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public CampaignService(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress)
- : base(endpointConfigurationName, remoteAddress)
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public CampaignService(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)
- : base(binding, remoteAddress)
- {
- }
-
- /// Returns the list of campaigns that meet the selector criteria.
- /// the selector specifying the Campaigns to return.
- /// A list of campaigns.
- /// if problems occurred while fetching
- /// campaign information.
- public virtual Google.Api.Ads.AdWords.v201806.CampaignPage get(Google.Api.Ads.AdWords.v201806.Selector serviceSelector)
- {
- return base.Channel.get(serviceSelector);
- }
-
- public virtual System.Threading.Tasks.Task getAsync(Google.Api.Ads.AdWords.v201806.Selector serviceSelector)
- {
- return base.Channel.getAsync(serviceSelector);
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- Wrappers.CampaignService.mutateResponse Google.Api.Ads.AdWords.v201806.CampaignServiceInterface.mutate(Wrappers.CampaignService.mutateRequest request)
- {
- return base.Channel.mutate(request);
- }
-
- /// Adds, updates, or removes campaigns.
Note:CampaignOperation does not support the
- /// REMOVE operator. To remove a campaign, set its status to REMOVED.
- /// A list of unique operations. The same campaign cannot
- /// be specified in more than one operation.
- /// The list of updated campaigns, returned in the same order as the
- /// operations array.
- /// if problems occurred while updating
- /// campaign information.
- public virtual Google.Api.Ads.AdWords.v201806.CampaignReturnValue mutate(Google.Api.Ads.AdWords.v201806.CampaignOperation[] operations)
- {
- Wrappers.CampaignService.mutateRequest inValue = new Wrappers.CampaignService.mutateRequest();
- inValue.operations = operations;
- Wrappers.CampaignService.mutateResponse retVal = ((Google.Api.Ads.AdWords.v201806.CampaignServiceInterface) (this)).mutate(inValue);
- return retVal.rval;
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- System.Threading.Tasks.Task Google.Api.Ads.AdWords.v201806.CampaignServiceInterface.mutateAsync(Wrappers.CampaignService.mutateRequest request)
- {
- return base.Channel.mutateAsync(request);
- }
-
- public virtual System.Threading.Tasks.Task mutateAsync(Google.Api.Ads.AdWords.v201806.CampaignOperation[] operations)
- {
- Wrappers.CampaignService.mutateRequest inValue = new Wrappers.CampaignService.mutateRequest();
- inValue.operations = operations;
- return System.Threading.Tasks.Task.Factory.StartNew(() => (((Google.Api.Ads.AdWords.v201806.CampaignServiceInterface) (this)).mutateAsync(inValue)).Result.rval);
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- Wrappers.CampaignService.mutateLabelResponse Google.Api.Ads.AdWords.v201806.CampaignServiceInterface.mutateLabel(Wrappers.CampaignService.mutateLabelRequest request)
- {
- return base.Channel.mutateLabel(request);
- }
-
- /// Adds labels to the campaign or removes labels from the campaign.
Add - Apply
- /// an existing label to an existing campaign. The
- /// campaignId must reference an existing Campaign. The labelId must reference an
- /// existing label.
Remove - Removes the link between the
- /// specified campaign and label.
- /// the operations to apply.
- /// a list of CampaignLabels where each entry
- /// in the list is the result of applying the operation in the input list with the
- /// same index. For an add operation, the returned CampaignLabel contains the
- /// CampaignId and the LabelId. In the case of a remove operation, the returned
- /// CampaignLabel will only have CampaignId.
- /// when there are one or more errors with the
- /// request.
- public virtual Google.Api.Ads.AdWords.v201806.CampaignLabelReturnValue mutateLabel(Google.Api.Ads.AdWords.v201806.CampaignLabelOperation[] operations)
- {
- Wrappers.CampaignService.mutateLabelRequest inValue = new Wrappers.CampaignService.mutateLabelRequest();
- inValue.operations = operations;
- Wrappers.CampaignService.mutateLabelResponse retVal = ((Google.Api.Ads.AdWords.v201806.CampaignServiceInterface) (this)).mutateLabel(inValue);
- return retVal.rval;
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- System.Threading.Tasks.Task Google.Api.Ads.AdWords.v201806.CampaignServiceInterface.mutateLabelAsync(Wrappers.CampaignService.mutateLabelRequest request)
- {
- return base.Channel.mutateLabelAsync(request);
- }
-
- public virtual System.Threading.Tasks.Task mutateLabelAsync(Google.Api.Ads.AdWords.v201806.CampaignLabelOperation[] operations)
- {
- Wrappers.CampaignService.mutateLabelRequest inValue = new Wrappers.CampaignService.mutateLabelRequest();
- inValue.operations = operations;
- return System.Threading.Tasks.Task.Factory.StartNew(() => (((Google.Api.Ads.AdWords.v201806.CampaignServiceInterface) (this)).mutateLabelAsync(inValue)).Result.rval);
- }
-
- /// Returns the list of campaigns that match the query.
- /// The SQL-like AWQL query string.
- /// A list of campaigns.
- /// if problems occur while parsing the query
- /// or fetching campaign information.
- public virtual Google.Api.Ads.AdWords.v201806.CampaignPage query(string query1)
- {
- return base.Channel.query(query1);
- }
-
- public virtual System.Threading.Tasks.Task queryAsync(string query)
- {
- return base.Channel.queryAsync(query);
- }
- }
- namespace Wrappers.CampaignBidModifierService
- {
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "mutate", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class mutateRequest
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- [System.Xml.Serialization.XmlElementAttribute("operations")]
- public Google.Api.Ads.AdWords.v201806.CampaignBidModifierOperation[] operations;
-
- /// Creates a new instance of the class.
- ///
- public mutateRequest()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public mutateRequest(Google.Api.Ads.AdWords.v201806.CampaignBidModifierOperation[] operations)
- {
- this.operations = operations;
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "mutateResponse", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class mutateResponse
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- public Google.Api.Ads.AdWords.v201806.CampaignBidModifierReturnValue rval;
-
- /// Creates a new instance of the class.
- ///
- public mutateResponse()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public mutateResponse(Google.Api.Ads.AdWords.v201806.CampaignBidModifierReturnValue rval)
- {
- this.rval = rval;
- }
- }
- }
- /// Represents an InteractionType criterion.
Possible IDs: 8000
- /// (CALLS).
A criterion of this type can only be created using
- /// an ID. This is disabled for AdX when it is
- /// contained within Operators: ADD, SET.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class InteractionType : Criterion
- {
- }
-
-
- /// Represents a bid-modifiable only criterion at the campaign level.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CampaignBidModifier
- {
- private long campaignIdField;
-
- private bool campaignIdFieldSpecified;
-
- private Criterion criterionField;
-
- private string campaignNameField;
-
- private AdvertisingChannelType advertisingChannelTypeField;
-
- private bool advertisingChannelTypeFieldSpecified;
-
- private double bidModifierField;
-
- private bool bidModifierFieldSpecified;
-
- /// The campaign that the criterion is in. This
- /// field can be selected using the value "CampaignId".This field can be filtered on.This field is required and should not be
- /// null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long campaignId
- {
- get
- {
- return this.campaignIdField;
- }
- set
- {
- this.campaignIdField = value;
- this.campaignIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool campaignIdSpecified
- {
- get
- {
- return this.campaignIdFieldSpecified;
- }
- set
- {
- this.campaignIdFieldSpecified = value;
- }
- }
-
- /// The criterion to which the bid modifier is applied. This field is required and should not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public Criterion criterion
- {
- get
- {
- return this.criterionField;
- }
- set
- {
- this.criterionField = value;
- }
- }
-
- /// The name of the campaign the criterion is in. This field can be selected using the value
- /// "CampaignName".This field can be
- /// filtered on.This field is read only
- /// and will be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public string campaignName
- {
- get
- {
- return this.campaignNameField;
- }
- set
- {
- this.campaignNameField = value;
- }
- }
-
- /// The advertising channel type of the campaign the criterion is in. This field can be selected using the value
- /// "AdvertisingChannelType".This field
- /// can be filtered on.This field is read
- /// only and will be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public AdvertisingChannelType advertisingChannelType
- {
- get
- {
- return this.advertisingChannelTypeField;
- }
- set
- {
- this.advertisingChannelTypeField = value;
- this.advertisingChannelTypeSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool advertisingChannelTypeSpecified
- {
- get
- {
- return this.advertisingChannelTypeFieldSpecified;
- }
- set
- {
- this.advertisingChannelTypeFieldSpecified = value;
- }
- }
-
- /// The bid modifier for bids when the criterion matches.
Valid modifier values
- /// range from 0.1 to 10.0. This field can be selected using the value
- /// "BidModifier".This field can be
- /// filtered on.This field is required and
- /// should not be null when it is contained within Operators : ADD, SET.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 4)]
- public double bidModifier
- {
- get
- {
- return this.bidModifierField;
- }
- set
- {
- this.bidModifierField = value;
- this.bidModifierSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool bidModifierSpecified
- {
- get
- {
- return this.bidModifierFieldSpecified;
- }
- set
- {
- this.bidModifierFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field CampaignId = new Field("CampaignId", true, true);
-
- public static readonly Field CampaignName = new Field("CampaignName", true, true);
-
- public static readonly Field AdvertisingChannelType = new Field("AdvertisingChannelType", true, true);
-
- public static readonly Field BidModifier = new Field("BidModifier", true, true);
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field CampaignId = Fields.CampaignId;
-
- public static readonly Field CampaignName = Fields.CampaignName;
-
- public static readonly Field AdvertisingChannelType = Fields.AdvertisingChannelType;
-
- public static readonly Field BidModifier = Fields.BidModifier;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field CampaignId = Fields.CampaignId;
-
- public static readonly Field CampaignName = Fields.CampaignName;
-
- public static readonly Field AdvertisingChannelType = Fields.AdvertisingChannelType;
-
- public static readonly Field BidModifier = Fields.BidModifier;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Subset of campaign bid modifiers resulting from a call to CampaignBidModifierService#get.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CampaignBidModifierPage : Page
- {
- private CampaignBidModifier[] entriesField;
-
- [System.Xml.Serialization.XmlElementAttribute("entries", Order = 0)]
- public CampaignBidModifier[] entries
- {
- get
- {
- return this.entriesField;
- }
- set
- {
- this.entriesField = value;
- }
- }
- }
-
-
- /// Base error class for CampaignBidModifier Service.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CampaignBidModifierError : ApiError
- {
- private CampaignBidModifierErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public CampaignBidModifierErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
- }
-
-
- /// The reasons for the error.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "CampaignBidModifierError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum CampaignBidModifierErrorReason
- {
- CAMPAIGN_BID_MODIFIER_ERROR = 0,
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ServiceModel.ServiceContractAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", ConfigurationName = "Google.Api.Ads.AdWords.v201806.CampaignBidModifierServiceInterface")]
- public interface CampaignBidModifierServiceInterface
- {
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [System.ServiceModel.FaultContractAttribute(typeof(Google.Api.Ads.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Google.Api.Ads.AdWords.v201806.CampaignBidModifierPage get(Google.Api.Ads.AdWords.v201806.Selector selector);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- System.Threading.Tasks.Task getAsync(Google.Api.Ads.AdWords.v201806.Selector selector);
-
- // CODEGEN: Parameter 'operations' 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.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Wrappers.CampaignBidModifierService.mutateResponse mutate(Wrappers.CampaignBidModifierService.mutateRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- System.Threading.Tasks.Task mutateAsync(Wrappers.CampaignBidModifierService.mutateRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [System.ServiceModel.FaultContractAttribute(typeof(Google.Api.Ads.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Google.Api.Ads.AdWords.v201806.CampaignBidModifierPage query([System.ServiceModel.MessageParameterAttribute(Name = "query")] string query1);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- System.Threading.Tasks.Task queryAsync(string query);
- }
-
-
- /// Operation used to create or mutate a CampaignBidModifier.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CampaignBidModifierOperation : Operation
- {
- private CampaignBidModifier operandField;
-
- /// The CampaignBidModifier to create or mutate. This field is required and should not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public CampaignBidModifier operand
- {
- get
- {
- return this.operandField;
- }
- set
- {
- this.operandField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Operation.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Operation.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Operation.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// A container for return values from the CampaignBidModifierService.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CampaignBidModifierReturnValue : ListReturnValue
- {
- private CampaignBidModifier[] valueField;
-
- private ApiError[] partialFailureErrorsField;
-
- [System.Xml.Serialization.XmlElementAttribute("value", Order = 0)]
- public CampaignBidModifier[] value
- {
- get
- {
- return this.valueField;
- }
- set
- {
- this.valueField = value;
- }
- }
-
- [System.Xml.Serialization.XmlElementAttribute("partialFailureErrors", Order = 1)]
- public ApiError[] partialFailureErrors
- {
- get
- {
- return this.partialFailureErrorsField;
- }
- set
- {
- this.partialFailureErrorsField = value;
- }
- }
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public interface CampaignBidModifierServiceInterfaceChannel : Google.Api.Ads.AdWords.v201806.CampaignBidModifierServiceInterface, System.ServiceModel.IClientChannel
- {
- }
-
-
- /// Use this service to manage campaign level bidmodifiable-only criteria.
- ///
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class CampaignBidModifierService : AdWordsSoapClient, ICampaignBidModifierService
- {
- /// Creates a new instance of the
- /// class.
- public CampaignBidModifierService()
- {
- }
-
- /// Creates a new instance of the
- /// class.
- public CampaignBidModifierService(string endpointConfigurationName)
- : base(endpointConfigurationName)
- {
- }
-
- /// Creates a new instance of the
- /// class.
- public CampaignBidModifierService(string endpointConfigurationName, string remoteAddress)
- : base(endpointConfigurationName, remoteAddress)
- {
- }
-
- /// Creates a new instance of the
- /// class.
- public CampaignBidModifierService(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress)
- : base(endpointConfigurationName, remoteAddress)
- {
- }
-
- /// Creates a new instance of the
- /// class.
- public CampaignBidModifierService(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)
- : base(binding, remoteAddress)
- {
- }
-
- /// Returns the list of campaign bid modifiers that meet the selector criteria.
- /// specifying the CampaignBidModifiers to return.
- /// A list of campaign bid modifiers.
- /// if problems occurred while fetching
- /// campaign bid modifier information.
- public virtual Google.Api.Ads.AdWords.v201806.CampaignBidModifierPage get(Google.Api.Ads.AdWords.v201806.Selector selector)
- {
- return base.Channel.get(selector);
- }
-
- public virtual System.Threading.Tasks.Task getAsync(Google.Api.Ads.AdWords.v201806.Selector selector)
- {
- return base.Channel.getAsync(selector);
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- Wrappers.CampaignBidModifierService.mutateResponse Google.Api.Ads.AdWords.v201806.CampaignBidModifierServiceInterface.mutate(Wrappers.CampaignBidModifierService.mutateRequest request)
- {
- return base.Channel.mutate(request);
- }
-
- /// Adds, updates, or deletes campaign bid modifiers.
- /// A list of unique operations.
- /// The list of updated campaign bid modifiers, returned in the same order
- /// as the operations array.
- /// if problems occurred while updating
- /// campaign bid modifiers information.
- public virtual Google.Api.Ads.AdWords.v201806.CampaignBidModifierReturnValue mutate(Google.Api.Ads.AdWords.v201806.CampaignBidModifierOperation[] operations)
- {
- Wrappers.CampaignBidModifierService.mutateRequest inValue = new Wrappers.CampaignBidModifierService.mutateRequest();
- inValue.operations = operations;
- Wrappers.CampaignBidModifierService.mutateResponse retVal = ((Google.Api.Ads.AdWords.v201806.CampaignBidModifierServiceInterface) (this)).mutate(inValue);
- return retVal.rval;
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- System.Threading.Tasks.Task Google.Api.Ads.AdWords.v201806.CampaignBidModifierServiceInterface.mutateAsync(Wrappers.CampaignBidModifierService.mutateRequest request)
- {
- return base.Channel.mutateAsync(request);
- }
-
- public virtual System.Threading.Tasks.Task mutateAsync(Google.Api.Ads.AdWords.v201806.CampaignBidModifierOperation[] operations)
- {
- Wrappers.CampaignBidModifierService.mutateRequest inValue = new Wrappers.CampaignBidModifierService.mutateRequest();
- inValue.operations = operations;
- return System.Threading.Tasks.Task.Factory.StartNew(() => (((Google.Api.Ads.AdWords.v201806.CampaignBidModifierServiceInterface) (this)).mutateAsync(inValue)).Result.rval);
- }
-
- /// Returns a list of CampaignBidModifiers that
- /// match the query.
- /// The SQL-like AWQL query string.
- /// when there are one or more errors with the
- /// request.
- public virtual Google.Api.Ads.AdWords.v201806.CampaignBidModifierPage query(string query1)
- {
- return base.Channel.query(query1);
- }
-
- public virtual System.Threading.Tasks.Task queryAsync(string query)
- {
- return base.Channel.queryAsync(query);
- }
- }
- namespace Wrappers.CampaignFeedService
- {
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "mutate", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class mutateRequest
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- [System.Xml.Serialization.XmlElementAttribute("operations")]
- public Google.Api.Ads.AdWords.v201806.CampaignFeedOperation[] operations;
-
- /// Creates a new instance of the class.
- ///
- public mutateRequest()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public mutateRequest(Google.Api.Ads.AdWords.v201806.CampaignFeedOperation[] operations)
- {
- this.operations = operations;
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "mutateResponse", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class mutateResponse
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- public Google.Api.Ads.AdWords.v201806.CampaignFeedReturnValue rval;
-
- /// Creates a new instance of the class.
- ///
- public mutateResponse()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public mutateResponse(Google.Api.Ads.AdWords.v201806.CampaignFeedReturnValue rval)
- {
- this.rval = rval;
- }
- }
- }
- /// An operand in a function referring to a value in the request context.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class RequestContextOperand : FunctionArgumentOperand
- {
- private RequestContextOperandContextType contextTypeField;
-
- private bool contextTypeFieldSpecified;
-
- /// Type of value to be referred in the request context. This field is required and should not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public RequestContextOperandContextType contextType
- {
- get
- {
- return this.contextTypeField;
- }
- set
- {
- this.contextTypeField = value;
- this.contextTypeSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool contextTypeSpecified
- {
- get
- {
- return this.contextTypeFieldSpecified;
- }
- set
- {
- this.contextTypeFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : FunctionArgumentOperand.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : FunctionArgumentOperand.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : FunctionArgumentOperand.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "RequestContextOperand.ContextType", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum RequestContextOperandContextType
- {
- /// Feed item id in the request context.
- ///
- FEED_ITEM_ID = 0,
- /// The device's platform (possible values are 'Desktop' or 'Mobile').
- ///
- DEVICE_PLATFORM = 1,
- /// Used for return value only. An enumeration
- /// could not be processed, typically due to incompatibility with your WSDL
- /// version.
- ///
- UNKNOWN = 2,
- }
-
-
- /// A function operand in a matching function. Used to represent nested functions.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class FunctionOperand : FunctionArgumentOperand
- {
- private Function valueField;
-
- /// The function held in this operand. This field
- /// is required and should not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public Function value
- {
- get
- {
- return this.valueField;
- }
- set
- {
- this.valueField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : FunctionArgumentOperand.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : FunctionArgumentOperand.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : FunctionArgumentOperand.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Represents a feed attribute reference to use in a function.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class FeedAttributeOperand : FunctionArgumentOperand
- {
- private long feedIdField;
-
- private bool feedIdFieldSpecified;
-
- private long feedAttributeIdField;
-
- private bool feedAttributeIdFieldSpecified;
-
- /// Id of associated feed. This field is required
- /// and should not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long feedId
- {
- get
- {
- return this.feedIdField;
- }
- set
- {
- this.feedIdField = value;
- this.feedIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool feedIdSpecified
- {
- get
- {
- return this.feedIdFieldSpecified;
- }
- set
- {
- this.feedIdFieldSpecified = value;
- }
- }
-
- /// Id of the referenced feed attribute. This
- /// field is required and should not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public long feedAttributeId
- {
- get
- {
- return this.feedAttributeIdField;
- }
- set
- {
- this.feedAttributeIdField = value;
- this.feedAttributeIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool feedAttributeIdSpecified
- {
- get
- {
- return this.feedAttributeIdFieldSpecified;
- }
- set
- {
- this.feedAttributeIdFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : FunctionArgumentOperand.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : FunctionArgumentOperand.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : FunctionArgumentOperand.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// CampaignFeeds are used to link a feed to a campaign using a matching function,
- /// making the feed's feed items available in the campaign's ads for substitution.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CampaignFeed
- {
- private long feedIdField;
-
- private bool feedIdFieldSpecified;
-
- private long campaignIdField;
-
- private bool campaignIdFieldSpecified;
-
- private Function matchingFunctionField;
-
- private int[] placeholderTypesField;
-
- private CampaignFeedStatus statusField;
-
- private bool statusFieldSpecified;
-
- private long baseCampaignIdField;
-
- private bool baseCampaignIdFieldSpecified;
-
- /// Id of the Feed associated with the CampaignFeed. This field can be selected using the value "FeedId".This field can be filtered on.This field is required and should not be
- /// null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long feedId
- {
- get
- {
- return this.feedIdField;
- }
- set
- {
- this.feedIdField = value;
- this.feedIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool feedIdSpecified
- {
- get
- {
- return this.feedIdFieldSpecified;
- }
- set
- {
- this.feedIdFieldSpecified = value;
- }
- }
-
- /// Id of the Campaign associated with the CampaignFeed. This field can be selected using the value "CampaignId".This field can be filtered on.This field is required and should not be
- /// null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public long campaignId
- {
- get
- {
- return this.campaignIdField;
- }
- set
- {
- this.campaignIdField = value;
- this.campaignIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool campaignIdSpecified
- {
- get
- {
- return this.campaignIdFieldSpecified;
- }
- set
- {
- this.campaignIdFieldSpecified = value;
- }
- }
-
- /// Matching function associated with the CampaignFeed. The matching function will
- /// return true/false indicating which feed items may serve. This field can be selected using the value
- /// "MatchingFunction".This field is
- /// required and should not be null when it is contained within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public Function matchingFunction
- {
- get
- {
- return this.matchingFunctionField;
- }
- set
- {
- this.matchingFunctionField = value;
- }
- }
-
- /// Indicates which placeholder
- /// types the feed may populate under the connected Campaign. This field can be selected using the value
- /// "PlaceholderTypes".This field can be
- /// filtered on.This field is required and
- /// should not be null when it is contained within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute("placeholderTypes", Order = 3)]
- public int[] placeholderTypes
- {
- get
- {
- return this.placeholderTypesField;
- }
- set
- {
- this.placeholderTypesField = value;
- }
- }
-
- /// Status of the CampaignFeed. This field can
- /// be selected using the value "Status".This field can be filtered on.This field is read only and will be ignored when sent to the
- /// API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 4)]
- public CampaignFeedStatus status
- {
- get
- {
- return this.statusField;
- }
- set
- {
- this.statusField = value;
- this.statusSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool statusSpecified
- {
- get
- {
- return this.statusFieldSpecified;
- }
- set
- {
- this.statusFieldSpecified = value;
- }
- }
-
- /// ID of the base campaign from which this draft/trial feed was created. This field
- /// is only returned on get requests. This field
- /// can be selected using the value "BaseCampaignId".This field can be filtered on.This field is read only and will be ignored when sent to the
- /// API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 5)]
- public long baseCampaignId
- {
- get
- {
- return this.baseCampaignIdField;
- }
- set
- {
- this.baseCampaignIdField = value;
- this.baseCampaignIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool baseCampaignIdSpecified
- {
- get
- {
- return this.baseCampaignIdFieldSpecified;
- }
- set
- {
- this.baseCampaignIdFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field FeedId = new Field("FeedId", true, true);
-
- public static readonly Field CampaignId = new Field("CampaignId", true, true);
-
- public static readonly Field MatchingFunction = new Field("MatchingFunction", false, true);
-
- public static readonly Field PlaceholderTypes = new Field("PlaceholderTypes", true, true);
-
- public static readonly Field Status = new Field("Status", true, true);
-
- public static readonly Field BaseCampaignId = new Field("BaseCampaignId", true, true);
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field FeedId = Fields.FeedId;
-
- public static readonly Field CampaignId = Fields.CampaignId;
-
- public static readonly Field MatchingFunction = Fields.MatchingFunction;
-
- public static readonly Field PlaceholderTypes = Fields.PlaceholderTypes;
-
- public static readonly Field Status = Fields.Status;
-
- public static readonly Field BaseCampaignId = Fields.BaseCampaignId;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field FeedId = Fields.FeedId;
-
- public static readonly Field CampaignId = Fields.CampaignId;
-
- public static readonly Field PlaceholderTypes = Fields.PlaceholderTypes;
-
- public static readonly Field Status = Fields.Status;
-
- public static readonly Field BaseCampaignId = Fields.BaseCampaignId;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Status of the CampaignFeed.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "CampaignFeed.Status", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum CampaignFeedStatus
- {
- /// This CampaignFeed's data is currently being used.
- ///
- ENABLED = 0,
- /// This CampaignFeed's data is not used anymore.
- ///
- REMOVED = 1,
- /// Unknown status. Used for return value only. An
- /// enumeration could not be processed, typically due to incompatibility with your
- /// WSDL version.
- ///
- UNKNOWN = 2,
- }
-
-
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CampaignFeedPage))]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AdGroupFeedPage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CustomerFeedPage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(FeedPage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(FeedItemPage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(FeedMappingPage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CampaignSharedSetPage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(SharedSetPage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(DraftPage))]
- public abstract partial class NullStatsPage : Page
- {
- }
-
-
- /// The result of a call to CampaignFeedService#get. Contains a list of
- /// associations between campaign and feeds.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CampaignFeedPage : NullStatsPage
- {
- private CampaignFeed[] entriesField;
-
- /// The resulting CampaignFeeds.
- ///
- [System.Xml.Serialization.XmlElementAttribute("entries", Order = 0)]
- public CampaignFeed[] entries
- {
- get
- {
- return this.entriesField;
- }
- set
- {
- this.entriesField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : NullStatsPage.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : NullStatsPage.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : NullStatsPage.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Represents an error for the CampaignFeedService.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CampaignFeedError : ApiError
- {
- private CampaignFeedErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// Error reason.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public CampaignFeedErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Error reasons.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "CampaignFeedError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum CampaignFeedErrorReason
- {
- /// An active feed already exists for this campaign and place holder type.
- ///
- FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE = 0,
- /// The specified id does not exist.
- ///
- INVALID_ID = 1,
- /// The specified feed is deleted.
- ///
- CANNOT_ADD_FOR_DELETED_FEED = 2,
- /// The CampaignFeed already exists. SET should be used to modify the existing
- /// CampaignFeed.
- ///
- CANNOT_ADD_ALREADY_EXISTING_CAMPAIGN_FEED = 3,
- /// Cannot operate on deleted campaign feed.
- ///
- CANNOT_OPERATE_ON_REMOVED_CAMPAIGN_FEED = 4,
- /// Invalid placeholder type ids.
- ///
- INVALID_PLACEHOLDER_TYPES = 5,
- /// Feed mapping for this placeholder type does not exist.
- ///
- MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE = 6,
- /// Location CampaignFeeds cannot be created unless there is a location CustomerFeed
- /// for the specified feed.
- ///
- NO_EXISTING_LOCATION_CUSTOMER_FEED = 7,
- UNKNOWN = 8,
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ServiceModel.ServiceContractAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", ConfigurationName = "Google.Api.Ads.AdWords.v201806.CampaignFeedServiceInterface")]
- public interface CampaignFeedServiceInterface
- {
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [System.ServiceModel.FaultContractAttribute(typeof(Google.Api.Ads.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Google.Api.Ads.AdWords.v201806.CampaignFeedPage get(Google.Api.Ads.AdWords.v201806.Selector selector);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- System.Threading.Tasks.Task getAsync(Google.Api.Ads.AdWords.v201806.Selector selector);
-
- // CODEGEN: Parameter 'operations' 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.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Wrappers.CampaignFeedService.mutateResponse mutate(Wrappers.CampaignFeedService.mutateRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- System.Threading.Tasks.Task mutateAsync(Wrappers.CampaignFeedService.mutateRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [System.ServiceModel.FaultContractAttribute(typeof(Google.Api.Ads.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Google.Api.Ads.AdWords.v201806.CampaignFeedPage query([System.ServiceModel.MessageParameterAttribute(Name = "query")] string query1);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- System.Threading.Tasks.Task queryAsync(string query);
- }
-
-
- /// Operation used to create or mutate a CampaignFeed.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CampaignFeedOperation : Operation
- {
- private CampaignFeed operandField;
-
- /// CampaignFeed operand. This field is required
- /// and should not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public CampaignFeed operand
- {
- get
- {
- return this.operandField;
- }
- set
- {
- this.operandField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Operation.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Operation.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Operation.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The result of a call to CampaignFeedService#mutate.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CampaignFeedReturnValue : ListReturnValue
- {
- private CampaignFeed[] valueField;
-
- private ApiError[] partialFailureErrorsField;
-
- /// The resulting CampaignFeeds.
- ///
- [System.Xml.Serialization.XmlElementAttribute("value", Order = 0)]
- public CampaignFeed[] value
- {
- get
- {
- return this.valueField;
- }
- set
- {
- this.valueField = value;
- }
- }
-
- [System.Xml.Serialization.XmlElementAttribute("partialFailureErrors", Order = 1)]
- public ApiError[] partialFailureErrors
- {
- get
- {
- return this.partialFailureErrorsField;
- }
- set
- {
- this.partialFailureErrorsField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ListReturnValue.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ListReturnValue.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ListReturnValue.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public interface CampaignFeedServiceInterfaceChannel : Google.Api.Ads.AdWords.v201806.CampaignFeedServiceInterface, System.ServiceModel.IClientChannel
- {
- }
-
-
- /// Service used to manage campaign feed links, and matching functions.
- ///
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class CampaignFeedService : AdWordsSoapClient, ICampaignFeedService
- {
- /// Creates a new instance of the class.
- ///
- public CampaignFeedService()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public CampaignFeedService(string endpointConfigurationName)
- : base(endpointConfigurationName)
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public CampaignFeedService(string endpointConfigurationName, string remoteAddress)
- : base(endpointConfigurationName, remoteAddress)
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public CampaignFeedService(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress)
- : base(endpointConfigurationName, remoteAddress)
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public CampaignFeedService(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)
- : base(binding, remoteAddress)
- {
- }
-
- /// Returns a list of CampaignFeeds that meet the selector criteria.
- /// Determines which CampaignFeeds to return. If empty all
- /// Campaign feeds are returned.
- /// The list of CampaignFeeds.
- /// Indicates a problem with the
- /// request.
- public virtual Google.Api.Ads.AdWords.v201806.CampaignFeedPage get(Google.Api.Ads.AdWords.v201806.Selector selector)
- {
- return base.Channel.get(selector);
- }
-
- public virtual System.Threading.Tasks.Task getAsync(Google.Api.Ads.AdWords.v201806.Selector selector)
- {
- return base.Channel.getAsync(selector);
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- Wrappers.CampaignFeedService.mutateResponse Google.Api.Ads.AdWords.v201806.CampaignFeedServiceInterface.mutate(Wrappers.CampaignFeedService.mutateRequest request)
- {
- return base.Channel.mutate(request);
- }
-
- /// Adds, sets or removes CampaignFeeds.
- /// The operations to apply.
- /// The resulting Feeds.
- /// Indicates a problem with the
- /// request.
- public virtual Google.Api.Ads.AdWords.v201806.CampaignFeedReturnValue mutate(Google.Api.Ads.AdWords.v201806.CampaignFeedOperation[] operations)
- {
- Wrappers.CampaignFeedService.mutateRequest inValue = new Wrappers.CampaignFeedService.mutateRequest();
- inValue.operations = operations;
- Wrappers.CampaignFeedService.mutateResponse retVal = ((Google.Api.Ads.AdWords.v201806.CampaignFeedServiceInterface) (this)).mutate(inValue);
- return retVal.rval;
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- System.Threading.Tasks.Task Google.Api.Ads.AdWords.v201806.CampaignFeedServiceInterface.mutateAsync(Wrappers.CampaignFeedService.mutateRequest request)
- {
- return base.Channel.mutateAsync(request);
- }
-
- public virtual System.Threading.Tasks.Task mutateAsync(Google.Api.Ads.AdWords.v201806.CampaignFeedOperation[] operations)
- {
- Wrappers.CampaignFeedService.mutateRequest inValue = new Wrappers.CampaignFeedService.mutateRequest();
- inValue.operations = operations;
- return System.Threading.Tasks.Task.Factory.StartNew(() => (((Google.Api.Ads.AdWords.v201806.CampaignFeedServiceInterface) (this)).mutateAsync(inValue)).Result.rval);
- }
-
- /// Returns a list of CampaignFeeds inside a CampaignFeedPage that matches the query.
- /// The SQL-like AWQL query string.
- /// when there are one or more errors with the
- /// request.
- public virtual Google.Api.Ads.AdWords.v201806.CampaignFeedPage query(string query1)
- {
- return base.Channel.query(query1);
- }
-
- public virtual System.Threading.Tasks.Task queryAsync(string query)
- {
- return base.Channel.queryAsync(query);
- }
- }
- namespace Wrappers.CampaignGroupService
- {
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "mutate", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class mutateRequest
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- [System.Xml.Serialization.XmlElementAttribute("operations")]
- public Google.Api.Ads.AdWords.v201806.CampaignGroupOperation[] operations;
-
- /// Creates a new instance of the class.
- ///
- public mutateRequest()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public mutateRequest(Google.Api.Ads.AdWords.v201806.CampaignGroupOperation[] operations)
- {
- this.operations = operations;
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "mutateResponse", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class mutateResponse
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- public Google.Api.Ads.AdWords.v201806.CampaignGroupReturnValue rval;
-
- /// Creates a new instance of the class.
- ///
- public mutateResponse()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public mutateResponse(Google.Api.Ads.AdWords.v201806.CampaignGroupReturnValue rval)
- {
- this.rval = rval;
- }
- }
- }
- /// Data representing an AdWords campaign group.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CampaignGroup
- {
- private long idField;
-
- private bool idFieldSpecified;
-
- private string nameField;
-
- private CampaignGroupStatus statusField;
-
- private bool statusFieldSpecified;
-
- /// Id of this Campaign Group. This field can be
- /// selected using the value "Id".This
- /// field can be filtered on.This field is
- /// read only and will be ignored when sent to the API for the following Operators: ADD.This field is required and should not be null when it is
- /// contained within Operators : REMOVE, SET.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long id
- {
- get
- {
- return this.idField;
- }
- set
- {
- this.idField = value;
- this.idSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool idSpecified
- {
- get
- {
- return this.idFieldSpecified;
- }
- set
- {
- this.idFieldSpecified = value;
- }
- }
-
- /// Name of this campaign group. This field is required and should not be
- /// null for ADD operations.
For SET and REMOVE operations, this can
- /// be used to address the campaign group by name when the campaign group is ACTIVE
- /// or PAUSED. Removed campaign groups cannot be addressed by name. If you wish to
- /// rename a campaign group, you must provide the ID. This field can be selected using the value "Name".This field can be filtered on.Campaign group names must not contain any null
- /// (code point 0x0), NL line feed (code point 0xA) or carriage return (code point
- /// 0xD) characters. This is checked by the regular expression
- /// '[^\x00\x0A\x0D]*'.This field is
- /// required and should not be null when it is contained within Operators : ADD.This string must not be empty, (trimmed).
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public string name
- {
- get
- {
- return this.nameField;
- }
- set
- {
- this.nameField = value;
- }
- }
-
- /// Status of this campaign group. On add, defaults to ACTIVE. On
- /// remove, changes to DELETED. This field can be selected using the value "Status".This field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public CampaignGroupStatus status
- {
- get
- {
- return this.statusField;
- }
- set
- {
- this.statusField = value;
- this.statusSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool statusSpecified
- {
- get
- {
- return this.statusFieldSpecified;
- }
- set
- {
- this.statusFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field Id = new Field("Id", true, true);
-
- public static readonly Field Name = new Field("Name", true, true);
-
- public static readonly Field Status = new Field("Status", true, true);
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field Id = Fields.Id;
-
- public static readonly Field Name = Fields.Name;
-
- public static readonly Field Status = Fields.Status;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field Id = Fields.Id;
-
- public static readonly Field Name = Fields.Name;
-
- public static readonly Field Status = Fields.Status;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Status of the Campaign Group
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum CampaignGroupStatus
- {
- /// Used for return value only. An enumeration
- /// could not be processed, typically due to incompatibility with your WSDL
- /// version.
- ///
- UNKNOWN = 0,
- /// The campaign group is active.
- ///
- ENABLED = 4,
- /// The campaign group has been removed.
- ///
- REMOVED = 5,
- }
-
-
- /// Contains a subset of campaign groups resulting from the filtering and paging of
- /// the CampaignGroupService#get call.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CampaignGroupPage : Page
- {
- private CampaignGroup[] entriesField;
-
- /// The result entries in this page.
- ///
- [System.Xml.Serialization.XmlElementAttribute("entries", Order = 0)]
- public CampaignGroup[] entries
- {
- get
- {
- return this.entriesField;
- }
- set
- {
- this.entriesField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Page.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Page.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Page.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Base error class for Campaign Group Service.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CampaignGroupError : ApiError
- {
- private CampaignGroupErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// The error reason represented by an enum.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public CampaignGroupErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The reasons for the campaign group error.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "CampaignGroupError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum CampaignGroupErrorReason
- {
- /// Cannot delete a campaign group which is associated with active or paused
- /// campaigns.
- ///
- CANNOT_DELETE_CAMPAIGN_GROUP_WITH_ACTIVE_OR_PAUSED_CAMPAIGNS = 0,
- /// Cannot modify a deleted campaign group.
- ///
- CANNOT_MODIFY_DELETED_CAMPAIGN_GROUP = 1,
- /// Trying to modify the name of an active or paused campaign group, where the name
- /// is already assigned to another active or paused campaign group.
- ///
- DUPLICATE_NAME = 2,
- /// Default error Used for return value only. An
- /// enumeration could not be processed, typically due to incompatibility with your
- /// WSDL version.
- ///
- UNKNOWN = 3,
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ServiceModel.ServiceContractAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", ConfigurationName = "Google.Api.Ads.AdWords.v201806.CampaignGroupServiceInterface")]
- public interface CampaignGroupServiceInterface
- {
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [System.ServiceModel.FaultContractAttribute(typeof(Google.Api.Ads.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Google.Api.Ads.AdWords.v201806.CampaignGroupPage get(Google.Api.Ads.AdWords.v201806.Selector selector);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- System.Threading.Tasks.Task getAsync(Google.Api.Ads.AdWords.v201806.Selector selector);
-
- // CODEGEN: Parameter 'operations' 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.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Wrappers.CampaignGroupService.mutateResponse mutate(Wrappers.CampaignGroupService.mutateRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- System.Threading.Tasks.Task mutateAsync(Wrappers.CampaignGroupService.mutateRequest request);
- }
-
-
- /// An operation on an AdWords Campaign Group.
Note: The
- /// REMOVE operator is not supported. To remove a Campaign Group, set
- /// its status to REMOVED.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CampaignGroupOperation : Operation
- {
- private CampaignGroup operandField;
-
- /// This field is required and should not be
- /// null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public CampaignGroup operand
- {
- get
- {
- return this.operandField;
- }
- set
- {
- this.operandField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Operation.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Operation.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Operation.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// A container for return values from the CampaignGroupService mutate calls.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CampaignGroupReturnValue : ListReturnValue
- {
- private CampaignGroup[] valueField;
-
- private ApiError[] partialFailureErrorsField;
-
- /// List of returned CampaignGroup values
- ///
- [System.Xml.Serialization.XmlElementAttribute("value", Order = 0)]
- public CampaignGroup[] value
- {
- get
- {
- return this.valueField;
- }
- set
- {
- this.valueField = value;
- }
- }
-
- /// List of partial failure errors.
- ///
- [System.Xml.Serialization.XmlElementAttribute("partialFailureErrors", Order = 1)]
- public ApiError[] partialFailureErrors
- {
- get
- {
- return this.partialFailureErrorsField;
- }
- set
- {
- this.partialFailureErrorsField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ListReturnValue.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ListReturnValue.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ListReturnValue.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public interface CampaignGroupServiceInterfaceChannel : Google.Api.Ads.AdWords.v201806.CampaignGroupServiceInterface, System.ServiceModel.IClientChannel
- {
- }
-
-
- /// Use this service to manage campaign groups. A CampaignGroup organizes one or more campaigns together
- /// and has its own budget.
- ///
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class CampaignGroupService : AdWordsSoapClient, ICampaignGroupService
- {
- /// Creates a new instance of the
- /// class.
- public CampaignGroupService()
- {
- }
-
- /// Creates a new instance of the
- /// class.
- public CampaignGroupService(string endpointConfigurationName)
- : base(endpointConfigurationName)
- {
- }
-
- /// Creates a new instance of the
- /// class.
- public CampaignGroupService(string endpointConfigurationName, string remoteAddress)
- : base(endpointConfigurationName, remoteAddress)
- {
- }
-
- /// Creates a new instance of the
- /// class.
- public CampaignGroupService(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress)
- : base(endpointConfigurationName, remoteAddress)
- {
- }
-
- /// Creates a new instance of the
- /// class.
- public CampaignGroupService(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)
- : base(binding, remoteAddress)
- {
- }
-
- /// Returns the list of campaign groups that meet the selector criteria.
- /// specifying the CampaignGroups
- /// to return.
- /// A list of campaign groups.
- /// if problems occurred while fetching
- /// campaign group information.
- public virtual Google.Api.Ads.AdWords.v201806.CampaignGroupPage get(Google.Api.Ads.AdWords.v201806.Selector selector)
- {
- return base.Channel.get(selector);
- }
-
- public virtual System.Threading.Tasks.Task getAsync(Google.Api.Ads.AdWords.v201806.Selector selector)
- {
- return base.Channel.getAsync(selector);
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- Wrappers.CampaignGroupService.mutateResponse Google.Api.Ads.AdWords.v201806.CampaignGroupServiceInterface.mutate(Wrappers.CampaignGroupService.mutateRequest request)
- {
- return base.Channel.mutate(request);
- }
-
- /// Adds, updates, or deletes campaign groups.
- /// A list of unique operations.
- /// The list of updated campaign groups, returned in the same order as the
- /// operations array.
- /// if problems occurred while updating
- /// campaign group information.
- public virtual Google.Api.Ads.AdWords.v201806.CampaignGroupReturnValue mutate(Google.Api.Ads.AdWords.v201806.CampaignGroupOperation[] operations)
- {
- Wrappers.CampaignGroupService.mutateRequest inValue = new Wrappers.CampaignGroupService.mutateRequest();
- inValue.operations = operations;
- Wrappers.CampaignGroupService.mutateResponse retVal = ((Google.Api.Ads.AdWords.v201806.CampaignGroupServiceInterface) (this)).mutate(inValue);
- return retVal.rval;
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- System.Threading.Tasks.Task Google.Api.Ads.AdWords.v201806.CampaignGroupServiceInterface.mutateAsync(Wrappers.CampaignGroupService.mutateRequest request)
- {
- return base.Channel.mutateAsync(request);
- }
-
- public virtual System.Threading.Tasks.Task mutateAsync(Google.Api.Ads.AdWords.v201806.CampaignGroupOperation[] operations)
- {
- Wrappers.CampaignGroupService.mutateRequest inValue = new Wrappers.CampaignGroupService.mutateRequest();
- inValue.operations = operations;
- return System.Threading.Tasks.Task.Factory.StartNew(() => (((Google.Api.Ads.AdWords.v201806.CampaignGroupServiceInterface) (this)).mutateAsync(inValue)).Result.rval);
- }
- }
- namespace Wrappers.CampaignGroupPerformanceTargetService
- {
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "mutate", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class mutateRequest
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- [System.Xml.Serialization.XmlElementAttribute("operations")]
- public Google.Api.Ads.AdWords.v201806.CampaignGroupPerformanceTargetOperation[] operations;
-
- /// Creates a new instance of the class.
- ///
- public mutateRequest()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public mutateRequest(Google.Api.Ads.AdWords.v201806.CampaignGroupPerformanceTargetOperation[] operations)
- {
- this.operations = operations;
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "mutateResponse", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class mutateResponse
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- public Google.Api.Ads.AdWords.v201806.CampaignGroupPerformanceTargetReturnValue rval;
-
- /// Creates a new instance of the class.
- ///
- public mutateResponse()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public mutateResponse(Google.Api.Ads.AdWords.v201806.CampaignGroupPerformanceTargetReturnValue rval)
- {
- this.rval = rval;
- }
- }
- }
- /// This class is used to configure various Performance Targets.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class PerformanceTarget
- {
- private VolumeGoalType volumeGoalTypeField;
-
- private bool volumeGoalTypeFieldSpecified;
-
- private long volumeTargetValueField;
-
- private bool volumeTargetValueFieldSpecified;
-
- private EfficiencyTargetType efficiencyTargetTypeField;
-
- private bool efficiencyTargetTypeFieldSpecified;
-
- private double efficiencyTargetValueField;
-
- private bool efficiencyTargetValueFieldSpecified;
-
- private Money spendTargetField;
-
- private SpendTargetType spendTargetTypeField;
-
- private bool spendTargetTypeFieldSpecified;
-
- private PerformanceTargetStatus forecastStatusField;
-
- private bool forecastStatusFieldSpecified;
-
- private bool hasPromotedSuggestionsField;
-
- private bool hasPromotedSuggestionsFieldSpecified;
-
- private string startDateField;
-
- private string endDateField;
-
- /// The volume goal of the performance target. This property defines the way stats
- /// data will be reported for the time period specified. This field can be selected using the value
- /// "VolumeGoalType".This field can be
- /// filtered on.This field is required and
- /// should not be null when it is contained within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public VolumeGoalType volumeGoalType
- {
- get
- {
- return this.volumeGoalTypeField;
- }
- set
- {
- this.volumeGoalTypeField = value;
- this.volumeGoalTypeSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool volumeGoalTypeSpecified
- {
- get
- {
- return this.volumeGoalTypeFieldSpecified;
- }
- set
- {
- this.volumeGoalTypeFieldSpecified = value;
- }
- }
-
- /// The value of the volume target. This corresponds directly to the
- /// volume_goal_type property and defines a target that the advertiser intends to
- /// reach during the time the performance target is active. As an example, if the
- /// volume_goal is MAXIMIZE_CONVERSIONS and the volume target is 3000, then the
- /// advertiser intends to reach at least 3000 conversions between start and end
- /// dates of the performance target. This field
- /// can be selected using the value "VolumeTargetValue".This field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public long volumeTargetValue
- {
- get
- {
- return this.volumeTargetValueField;
- }
- set
- {
- this.volumeTargetValueField = value;
- this.volumeTargetValueSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool volumeTargetValueSpecified
- {
- get
- {
- return this.volumeTargetValueFieldSpecified;
- }
- set
- {
- this.volumeTargetValueFieldSpecified = value;
- }
- }
-
- /// This property specifies desired outcomes for some clicks, conversions or
- /// impressions statistic for the given time period. It's usually a constraint on
- /// the volume goal of the performance target, usually in terms of spending.
Only
- /// specific efficiency target types are allowed for a volume goal type. The
- /// following mapping explicitly specifies all allowed combinations. Volume Goal
- /// Type : List of Efficiency Target Types MAXIMIZE_CLICKS :
- /// CPC_LESS_THAN_OR_EQUAL_TO MAXIMIZE_CONVERSIONS : CPA_LESS_THAN_OR_EQUAL_TO This field can be selected using the value
- /// "EfficiencyTargetType".This field can
- /// be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public EfficiencyTargetType efficiencyTargetType
- {
- get
- {
- return this.efficiencyTargetTypeField;
- }
- set
- {
- this.efficiencyTargetTypeField = value;
- this.efficiencyTargetTypeSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool efficiencyTargetTypeSpecified
- {
- get
- {
- return this.efficiencyTargetTypeFieldSpecified;
- }
- set
- {
- this.efficiencyTargetTypeFieldSpecified = value;
- }
- }
-
- /// The numerical value that goes along with the expression specified by the
- /// efficiency target type. This field can be
- /// selected using the value "EfficiencyTargetValue".This field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public double efficiencyTargetValue
- {
- get
- {
- return this.efficiencyTargetValueField;
- }
- set
- {
- this.efficiencyTargetValueField = value;
- this.efficiencyTargetValueSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool efficiencyTargetValueSpecified
- {
- get
- {
- return this.efficiencyTargetValueFieldSpecified;
- }
- set
- {
- this.efficiencyTargetValueFieldSpecified = value;
- }
- }
-
- /// A numerical value specifying just how much money the advertiser is willing to
- /// spend during the time period of this performance target. This does not affect
- /// serving. The spend target is always in micros of the customer's currency. This field can be selected using the value
- /// "SpendTarget".This field can be
- /// filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 4)]
- public Money spendTarget
- {
- get
- {
- return this.spendTargetField;
- }
- set
- {
- this.spendTargetField = value;
- }
- }
-
- /// This field can be selected using the value
- /// "SpendTargetType".This field can be
- /// filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 5)]
- public SpendTargetType spendTargetType
- {
- get
- {
- return this.spendTargetTypeField;
- }
- set
- {
- this.spendTargetTypeField = value;
- this.spendTargetTypeSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool spendTargetTypeSpecified
- {
- get
- {
- return this.spendTargetTypeFieldSpecified;
- }
- set
- {
- this.spendTargetTypeFieldSpecified = value;
- }
- }
-
- /// The forecast status specifies how well the campaigns of a performance targets
- /// are doing or have done in the past in relation to the targets set on the
- /// performance target. This field can be
- /// selected using the value "ForecastStatus".This field can be filtered on.This field is read only and will be ignored when sent to the
- /// API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 6)]
- public PerformanceTargetStatus forecastStatus
- {
- get
- {
- return this.forecastStatusField;
- }
- set
- {
- this.forecastStatusField = value;
- this.forecastStatusSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool forecastStatusSpecified
- {
- get
- {
- return this.forecastStatusFieldSpecified;
- }
- set
- {
- this.forecastStatusFieldSpecified = value;
- }
- }
-
- /// Specifies whether this performance target has promoted suggestions associated
- /// with it. This field can be selected using
- /// the value "HasPromotedSuggestions".This field can be filtered on.This field is read only and will be ignored when sent to the
- /// API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 7)]
- public bool hasPromotedSuggestions
- {
- get
- {
- return this.hasPromotedSuggestionsField;
- }
- set
- {
- this.hasPromotedSuggestionsField = value;
- this.hasPromotedSuggestionsSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool hasPromotedSuggestionsSpecified
- {
- get
- {
- return this.hasPromotedSuggestionsFieldSpecified;
- }
- set
- {
- this.hasPromotedSuggestionsFieldSpecified = value;
- }
- }
-
- /// The start date for the performance target. This field can be selected using the value "StartDate".This field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 8)]
- public string startDate
- {
- get
- {
- return this.startDateField;
- }
- set
- {
- this.startDateField = value;
- }
- }
-
- /// The end date for the performance target. This field can be selected using the value "EndDate".This field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 9)]
- public string endDate
- {
- get
- {
- return this.endDateField;
- }
- set
- {
- this.endDateField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field VolumeGoalType = new Field("VolumeGoalType", true, true);
-
- public static readonly Field VolumeTargetValue = new Field("VolumeTargetValue", true, true);
-
- public static readonly Field EfficiencyTargetType = new Field("EfficiencyTargetType", true, true);
-
- public static readonly Field EfficiencyTargetValue = new Field("EfficiencyTargetValue", true, true);
-
- public static readonly Field SpendTarget = new Field("SpendTarget", true, true);
-
- public static readonly Field SpendTargetType = new Field("SpendTargetType", true, true);
-
- public static readonly Field ForecastStatus = new Field("ForecastStatus", true, true);
-
- public static readonly Field HasPromotedSuggestions = new Field("HasPromotedSuggestions", true, true);
-
- public static readonly Field StartDate = new Field("StartDate", true, true);
-
- public static readonly Field EndDate = new Field("EndDate", true, true);
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field VolumeGoalType = Fields.VolumeGoalType;
-
- public static readonly Field VolumeTargetValue = Fields.VolumeTargetValue;
-
- public static readonly Field EfficiencyTargetType = Fields.EfficiencyTargetType;
-
- public static readonly Field EfficiencyTargetValue = Fields.EfficiencyTargetValue;
-
- public static readonly Field SpendTarget = Fields.SpendTarget;
-
- public static readonly Field SpendTargetType = Fields.SpendTargetType;
-
- public static readonly Field ForecastStatus = Fields.ForecastStatus;
-
- public static readonly Field HasPromotedSuggestions = Fields.HasPromotedSuggestions;
-
- public static readonly Field StartDate = Fields.StartDate;
-
- public static readonly Field EndDate = Fields.EndDate;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field VolumeGoalType = Fields.VolumeGoalType;
-
- public static readonly Field VolumeTargetValue = Fields.VolumeTargetValue;
-
- public static readonly Field EfficiencyTargetType = Fields.EfficiencyTargetType;
-
- public static readonly Field EfficiencyTargetValue = Fields.EfficiencyTargetValue;
-
- public static readonly Field SpendTarget = Fields.SpendTarget;
-
- public static readonly Field SpendTargetType = Fields.SpendTargetType;
-
- public static readonly Field ForecastStatus = Fields.ForecastStatus;
-
- public static readonly Field HasPromotedSuggestions = Fields.HasPromotedSuggestions;
-
- public static readonly Field StartDate = Fields.StartDate;
-
- public static readonly Field EndDate = Fields.EndDate;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// A volume goal type of a performance target. This drives the way the performance
- /// target stats data is reported, and the types of forecasting and hints that the
- /// system will provide to the advertiser.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum VolumeGoalType
- {
- /// Used for return value only. An enumeration
- /// could not be processed, typically due to incompatibility with your WSDL
- /// version.
- ///
- UNKNOWN = 0,
- /// A volume goal that indicates that the performance target is meant to display
- /// progress in terms of maximizing conversions.
- ///
- MAXIMIZE_CONVERSIONS = 1,
- /// A volume goal that indicates that the performance target is meant to display
- /// progress in terms of maximizing clicks.
- ///
- MAXIMIZE_CLICKS = 2,
- }
-
-
- /// An efficiency target specifies desired outcomes for clicks, conversions or
- /// impressions stats for the time period that the performance target is active.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum EfficiencyTargetType
- {
- /// Used for return value only. An enumeration
- /// could not be processed, typically due to incompatibility with your WSDL
- /// version.
- ///
- UNKNOWN = 0,
- /// A value that is used to clear an efficiency target when it has already been set.
- /// This value will never be persisted.
- ///
- NONE = 1,
- /// An efficiency target that aims for average CPA over the runtime of the
- /// performance target to be less than or equal to some value.
- ///
- CPA_LESS_THAN_OR_EQUAL_TO = 2,
- /// An efficiency target that aims for average CPC over the runtime of the
- /// performance target to be less than or equal to some value.
- ///
- CPC_LESS_THAN_OR_EQUAL_TO = 3,
- }
-
-
- /// A spend target type specifies whether a particular spend target serves as the
- /// maximum or the minimum spend that a particular performance target should aim
- /// for.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum SpendTargetType
- {
- /// Used for return value only. An enumeration
- /// could not be processed, typically due to incompatibility with your WSDL
- /// version.
- ///
- UNKNOWN = 0,
- /// A value that is used to clear a spend target type when it has already been set.
- /// This value will never be persisted.
- ///
- NONE = 1,
- /// A spend target that indicates that over the course of the performance target at
- /// least the specified amount of money should be spent.
- ///
- MINIMUM = 2,
- /// A spend target that indicates that over the course of the performance target at
- /// most the specified amount of money should be spent.
- ///
- MAXIMUM = 3,
- }
-
-
- /// The status of a performance target that reflects how well it?s performing as
- /// compared to actual performance.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum PerformanceTargetStatus
- {
- /// Used for return value only. An enumeration
- /// could not be processed, typically due to incompatibility with your WSDL
- /// version.
- ///
- UNKNOWN = 0,
- /// A status that describes an active performance target that is likely to miss its
- /// targets.
- ///
- ACTIVE_NEEDS_ATTENTION = 1,
- /// A status that describes an active performance target that is on track to meet
- /// its targets.
- ///
- ACTIVE_ON_TRACK = 2,
- /// A status that describes an active performance target with a defined spend or
- /// volume target that has already been met.
- ///
- ACTIVE_TARGET_MET = 3,
- /// A status that describes an active performance target for which we are not able
- /// to make a status determination with certainty.
- ///
- ACTIVE_INCONCLUSIVE = 4,
- /// A status that describes an active performance target that does not have any
- /// targets set. It is not possible to make a status determination for such
- /// performance targets.
- ///
- ACTIVE_NO_TARGETS = 5,
- /// A status that describes a performance target that has ended and missed the
- /// targets that were set for it.
- ///
- PAST_TARGET_MISSED = 6,
- /// A status that describes a performance target that has ended and met the targets
- /// that were set for it.
- ///
- PAST_TARGET_MET = 7,
- /// A status that describes a performance target that has recently ended, but we do
- /// not yet have all the information necessary to make a target met or missed
- /// determination.
- ///
- PAST_INCONCLUSIVE = 8,
- /// A status that describes a performance target that has ended and has no stats
- /// information in its time range and therefore cannot cannot make a target met or
- /// missed determination.
- ///
- PAST_MISSING_DATA = 9,
- /// A status that describes a performance target that has ended but does not have
- /// any targets defined for it.
- ///
- PAST_NO_TARGETS = 10,
- /// A status that describes a performance target that has not yet started.
- ///
- NOT_YET_STARTED = 11,
- }
-
-
- /// Data representing a campaign group performance target. A campaign group
- /// performance target is an entity that specifies a time range for a campaign group
- /// and various metrics by which the performance of that campaign group can be
- /// measured for the time period that the performance target is active.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CampaignGroupPerformanceTarget
- {
- private long idField;
-
- private bool idFieldSpecified;
-
- private long campaignGroupIdField;
-
- private bool campaignGroupIdFieldSpecified;
-
- private PerformanceTarget performanceTargetField;
-
- /// Id of this campaign group performance target. This field can be selected using the value "Id".This field can be filtered on.This field is read only and will be ignored when
- /// sent to the API for the following Operators: ADD.
- /// This field is required and should not be
- /// null when it is contained within Operators :
- /// REMOVE, SET.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long id
- {
- get
- {
- return this.idField;
- }
- set
- {
- this.idField = value;
- this.idSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool idSpecified
- {
- get
- {
- return this.idFieldSpecified;
- }
- set
- {
- this.idFieldSpecified = value;
- }
- }
-
- /// Id of the campaign group that this performance target is for. This field can be selected using the value
- /// "CampaignGroupId".This field can be
- /// filtered on.This field is required and
- /// should not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public long campaignGroupId
- {
- get
- {
- return this.campaignGroupIdField;
- }
- set
- {
- this.campaignGroupIdField = value;
- this.campaignGroupIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool campaignGroupIdSpecified
- {
- get
- {
- return this.campaignGroupIdFieldSpecified;
- }
- set
- {
- this.campaignGroupIdFieldSpecified = value;
- }
- }
-
- /// The main configuration of the performance target. This field is required and should not be null when it is
- /// contained within Operators : ADD, SET.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public PerformanceTarget performanceTarget
- {
- get
- {
- return this.performanceTargetField;
- }
- set
- {
- this.performanceTargetField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field Id = new Field("Id", true, true);
-
- public static readonly Field CampaignGroupId = new Field("CampaignGroupId", true, true);
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field Id = Fields.Id;
-
- public static readonly Field CampaignGroupId = Fields.CampaignGroupId;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field Id = Fields.Id;
-
- public static readonly Field CampaignGroupId = Fields.CampaignGroupId;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Contains a subset of campaign group performance targets resulting from the
- /// filtering and paging of the {CampaignGroupPerformanceTargetService#get} call.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CampaignGroupPerformanceTargetPage : Page
- {
- private CampaignGroupPerformanceTarget[] entriesField;
-
- [System.Xml.Serialization.XmlElementAttribute("entries", Order = 0)]
- public CampaignGroupPerformanceTarget[] entries
- {
- get
- {
- return this.entriesField;
- }
- set
- {
- this.entriesField = value;
- }
- }
- }
-
-
- /// Base error class for all performance target related errors.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class PerformanceTargetError : ApiError
- {
- private PerformanceTargetErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// The error reason represented by an enum.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public PerformanceTargetErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The reasons for the performance target error.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "PerformanceTargetError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum PerformanceTargetErrorReason
- {
- /// Spend target requires both start date and end date to be specified.
- ///
- SPEND_TARGET_REQUIRES_DATE_RANGE = 0,
- /// Volume target value requires both start date and end date to be specified.
- ///
- VOLUME_TARGET_VALUE_REQUIRES_DATE_RANGE = 1,
- /// The end date is before the start date.
- ///
- START_DATE_AFTER_END_DATE = 2,
- /// The efficiency target type is incompatible with the volume goal type. The
- /// following mapping describes which volume goal types are compatibe with which
- /// efficiency target types. If a volume goal does not appear in the mapping, then
- /// no efficiency target types are compatible with it. Volume Goal Type : List of
- /// Efficiency Target Types MAXIMIZE_CLICKS : CPC_LESS_THAN_OR_EQUAL_TO
- /// MAXIMIZE_CONVERSIONS : CPA_LESS_THAN_OR_EQUAL_TO
- ///
- INCOMPATIBLE_EFFICIENCY_TARGET_TYPE = 3,
- /// Efficiency target value and type have to both be null or set to some value.
- ///
- EFFICIENCY_TARGET_VALUE_AND_TYPE_ARE_MUTUALLY_REQUIRED = 4,
- /// A modified or newly added performance target's date range overlaps with one or
- /// more other date ranges of other performance targets assigned to the same parent.
- ///
- OVERLAPPING_DATE_RANGE = 5,
- /// It is not possible to set performance targets that have already ended. If
- /// modifications are needed, remove the performance target first and re-create it
- /// with the desired settings.
- ///
- HISTORICAL_PERFORMANCE_TARGETS_CANNOT_BE_MODIFIED = 6,
- /// Spend target and spend target type have to both be null or set to some value.
- ///
- SPEND_TARGET_AND_SPEND_TARGET_TYPE_ARE_MUTUALLY_REQUIRED = 7,
- /// Default error Used for return value only. An
- /// enumeration could not be processed, typically due to incompatibility with your
- /// WSDL version.
- ///
- PERFORMANCE_TARGET_ERROR = 8,
- }
-
-
- /// Base error class for CampaignGroupPerformanceTargetService.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CampaignGroupPerformanceTargetError : ApiError
- {
- private CampaignGroupPerformanceTargetErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// The error reason represented by an enum.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public CampaignGroupPerformanceTargetErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The reasons for the error.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "CampaignGroupPerformanceTargetError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum CampaignGroupPerformanceTargetErrorReason
- {
- /// Default error. Used for return value only. An
- /// enumeration could not be processed, typically due to incompatibility with your
- /// WSDL version.
- ///
- UNKNOWN = 0,
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ServiceModel.ServiceContractAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", ConfigurationName = "Google.Api.Ads.AdWords.v201806.CampaignGroupPerformanceTargetServiceInterface")]
- public interface CampaignGroupPerformanceTargetServiceInterface
- {
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [System.ServiceModel.FaultContractAttribute(typeof(Google.Api.Ads.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ComparableValue))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Google.Api.Ads.AdWords.v201806.CampaignGroupPerformanceTargetPage get(Google.Api.Ads.AdWords.v201806.Selector selector);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- System.Threading.Tasks.Task getAsync(Google.Api.Ads.AdWords.v201806.Selector selector);
-
- // CODEGEN: Parameter 'operations' 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.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ComparableValue))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Wrappers.CampaignGroupPerformanceTargetService.mutateResponse mutate(Wrappers.CampaignGroupPerformanceTargetService.mutateRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- System.Threading.Tasks.Task mutateAsync(Wrappers.CampaignGroupPerformanceTargetService.mutateRequest request);
- }
-
-
- /// An operation on a campaign group performance target.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CampaignGroupPerformanceTargetOperation : Operation
- {
- private CampaignGroupPerformanceTarget operandField;
-
- /// This field is required and should not be
- /// null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public CampaignGroupPerformanceTarget operand
- {
- get
- {
- return this.operandField;
- }
- set
- {
- this.operandField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Operation.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Operation.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Operation.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// A container for return values from the CampaignGroupPerformanceTargetService.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CampaignGroupPerformanceTargetReturnValue : ListReturnValue
- {
- private CampaignGroupPerformanceTarget[] valueField;
-
- private ApiError[] partialFailureErrorsField;
-
- /// List of returned CampaignGroupPerformanceTarget values.
- ///
- [System.Xml.Serialization.XmlElementAttribute("value", Order = 0)]
- public CampaignGroupPerformanceTarget[] value
- {
- get
- {
- return this.valueField;
- }
- set
- {
- this.valueField = value;
- }
- }
-
- /// List of partial failure errors.
- ///
- [System.Xml.Serialization.XmlElementAttribute("partialFailureErrors", Order = 1)]
- public ApiError[] partialFailureErrors
- {
- get
- {
- return this.partialFailureErrorsField;
- }
- set
- {
- this.partialFailureErrorsField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ListReturnValue.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ListReturnValue.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ListReturnValue.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public interface CampaignGroupPerformanceTargetServiceInterfaceChannel : Google.Api.Ads.AdWords.v201806.CampaignGroupPerformanceTargetServiceInterface, System.ServiceModel.IClientChannel
- {
- }
-
-
- /// Use this service to manage campaign group performance targets. A CampaignGroupPerformanceTarget is an
- /// entity that specifies a time range for a campaign group and various metrics by
- /// which the performance of that campaign group can be measured for the time period
- /// that the performance target is active.
- ///
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class CampaignGroupPerformanceTargetService : AdWordsSoapClient, ICampaignGroupPerformanceTargetService
- {
- /// Creates a new instance of the class.
- public CampaignGroupPerformanceTargetService()
- {
- }
-
- /// Creates a new instance of the class.
- public CampaignGroupPerformanceTargetService(string endpointConfigurationName)
- : base(endpointConfigurationName)
- {
- }
-
- /// Creates a new instance of the class.
- public CampaignGroupPerformanceTargetService(string endpointConfigurationName, string remoteAddress)
- : base(endpointConfigurationName, remoteAddress)
- {
- }
-
- /// Creates a new instance of the class.
- public CampaignGroupPerformanceTargetService(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress)
- : base(endpointConfigurationName, remoteAddress)
- {
- }
-
- /// Creates a new instance of the class.
- public CampaignGroupPerformanceTargetService(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)
- : base(binding, remoteAddress)
- {
- }
-
- /// Returns the list of campaign group performance targets that meet the selector
- /// criteria.
- /// specifying the CampaignGroupPerformanceTargets to
- /// return.
- /// A list of campaign group performance targets.
- /// if problems occurred while fetching
- /// campaign group performance target information.
- public virtual Google.Api.Ads.AdWords.v201806.CampaignGroupPerformanceTargetPage get(Google.Api.Ads.AdWords.v201806.Selector selector)
- {
- return base.Channel.get(selector);
- }
-
- public virtual System.Threading.Tasks.Task getAsync(Google.Api.Ads.AdWords.v201806.Selector selector)
- {
- return base.Channel.getAsync(selector);
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- Wrappers.CampaignGroupPerformanceTargetService.mutateResponse Google.Api.Ads.AdWords.v201806.CampaignGroupPerformanceTargetServiceInterface.mutate(Wrappers.CampaignGroupPerformanceTargetService.mutateRequest request)
- {
- return base.Channel.mutate(request);
- }
-
- /// Adds, updates, or deletes campaign group performance targets.
- /// A list of unique operations.
- /// The list of updated campaign groups performance targets, returned in
- /// the same order as the operations array.
- /// if problems occurred while updating
- /// campaign group performance target information.
- public virtual Google.Api.Ads.AdWords.v201806.CampaignGroupPerformanceTargetReturnValue mutate(Google.Api.Ads.AdWords.v201806.CampaignGroupPerformanceTargetOperation[] operations)
- {
- Wrappers.CampaignGroupPerformanceTargetService.mutateRequest inValue = new Wrappers.CampaignGroupPerformanceTargetService.mutateRequest();
- inValue.operations = operations;
- Wrappers.CampaignGroupPerformanceTargetService.mutateResponse retVal = ((Google.Api.Ads.AdWords.v201806.CampaignGroupPerformanceTargetServiceInterface) (this)).mutate(inValue);
- return retVal.rval;
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- System.Threading.Tasks.Task Google.Api.Ads.AdWords.v201806.CampaignGroupPerformanceTargetServiceInterface.mutateAsync(Wrappers.CampaignGroupPerformanceTargetService.mutateRequest request)
- {
- return base.Channel.mutateAsync(request);
- }
-
- public virtual System.Threading.Tasks.Task mutateAsync(Google.Api.Ads.AdWords.v201806.CampaignGroupPerformanceTargetOperation[] operations)
- {
- Wrappers.CampaignGroupPerformanceTargetService.mutateRequest inValue = new Wrappers.CampaignGroupPerformanceTargetService.mutateRequest();
- inValue.operations = operations;
- return System.Threading.Tasks.Task.Factory.StartNew(() => (((Google.Api.Ads.AdWords.v201806.CampaignGroupPerformanceTargetServiceInterface) (this)).mutateAsync(inValue)).Result.rval);
- }
- }
- namespace Wrappers.ConstantDataService
- {
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "getAgeRangeCriterion", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class getAgeRangeCriterionRequest
- {
- /// Creates a new instance of the class.
- public getAgeRangeCriterionRequest()
- {
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "getAgeRangeCriterionResponse", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class getAgeRangeCriterionResponse
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- [System.Xml.Serialization.XmlElementAttribute("rval")]
- public Google.Api.Ads.AdWords.v201806.AgeRange[] rval;
-
- /// Creates a new instance of the class.
- public getAgeRangeCriterionResponse()
- {
- }
-
- /// Creates a new instance of the class.
- public getAgeRangeCriterionResponse(Google.Api.Ads.AdWords.v201806.AgeRange[] rval)
- {
- this.rval = rval;
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "getCarrierCriterion", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class getCarrierCriterionRequest
- {
- /// Creates a new instance of the
- /// class.
- public getCarrierCriterionRequest()
- {
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "getCarrierCriterionResponse", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class getCarrierCriterionResponse
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- [System.Xml.Serialization.XmlElementAttribute("rval")]
- public Google.Api.Ads.AdWords.v201806.Carrier[] rval;
-
- /// Creates a new instance of the class.
- public getCarrierCriterionResponse()
- {
- }
-
- /// Creates a new instance of the class.
- public getCarrierCriterionResponse(Google.Api.Ads.AdWords.v201806.Carrier[] rval)
- {
- this.rval = rval;
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "getGenderCriterion", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class getGenderCriterionRequest
- {
- /// Creates a new instance of the
- /// class.
- public getGenderCriterionRequest()
- {
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "getGenderCriterionResponse", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class getGenderCriterionResponse
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- [System.Xml.Serialization.XmlElementAttribute("rval")]
- public Google.Api.Ads.AdWords.v201806.Gender[] rval;
-
- /// Creates a new instance of the
- /// class.
- public getGenderCriterionResponse()
- {
- }
-
- /// Creates a new instance of the
- /// class.
- public getGenderCriterionResponse(Google.Api.Ads.AdWords.v201806.Gender[] rval)
- {
- this.rval = rval;
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "getLanguageCriterion", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class getLanguageCriterionRequest
- {
- /// Creates a new instance of the class.
- public getLanguageCriterionRequest()
- {
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "getLanguageCriterionResponse", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class getLanguageCriterionResponse
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- [System.Xml.Serialization.XmlElementAttribute("rval")]
- public Google.Api.Ads.AdWords.v201806.Language[] rval;
-
- /// Creates a new instance of the class.
- public getLanguageCriterionResponse()
- {
- }
-
- /// Creates a new instance of the class.
- public getLanguageCriterionResponse(Google.Api.Ads.AdWords.v201806.Language[] rval)
- {
- this.rval = rval;
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "getMobileAppCategoryCriterion", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class getMobileAppCategoryCriterionRequest
- {
- /// Creates a new instance of the class.
- public getMobileAppCategoryCriterionRequest()
- {
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "getMobileAppCategoryCriterionResponse", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class getMobileAppCategoryCriterionResponse
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- [System.Xml.Serialization.XmlElementAttribute("rval")]
- public Google.Api.Ads.AdWords.v201806.MobileAppCategory[] rval;
-
- /// Creates a new instance of the class.
- public getMobileAppCategoryCriterionResponse()
- {
- }
-
- /// Creates a new instance of the class.
- public getMobileAppCategoryCriterionResponse(Google.Api.Ads.AdWords.v201806.MobileAppCategory[] rval)
- {
- this.rval = rval;
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "getMobileDeviceCriterion", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class getMobileDeviceCriterionRequest
- {
- /// Creates a new instance of the class.
- public getMobileDeviceCriterionRequest()
- {
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "getMobileDeviceCriterionResponse", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class getMobileDeviceCriterionResponse
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- [System.Xml.Serialization.XmlElementAttribute("rval")]
- public Google.Api.Ads.AdWords.v201806.MobileDevice[] rval;
-
- /// Creates a new instance of the class.
- public getMobileDeviceCriterionResponse()
- {
- }
-
- /// Creates a new instance of the class.
- public getMobileDeviceCriterionResponse(Google.Api.Ads.AdWords.v201806.MobileDevice[] rval)
- {
- this.rval = rval;
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "getOperatingSystemVersionCriterion", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class getOperatingSystemVersionCriterionRequest
- {
- /// Creates a new instance of the class.
- public getOperatingSystemVersionCriterionRequest()
- {
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "getOperatingSystemVersionCriterionResponse", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class getOperatingSystemVersionCriterionResponse
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- [System.Xml.Serialization.XmlElementAttribute("rval")]
- public Google.Api.Ads.AdWords.v201806.OperatingSystemVersion[] rval;
-
- /// Creates a new instance of the class.
- public getOperatingSystemVersionCriterionResponse()
- {
- }
-
- /// Creates a new instance of the class.
- public getOperatingSystemVersionCriterionResponse(Google.Api.Ads.AdWords.v201806.OperatingSystemVersion[] rval)
- {
- this.rval = rval;
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "getProductBiddingCategoryData", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class getProductBiddingCategoryDataRequest
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- public Google.Api.Ads.AdWords.v201806.Selector selector;
-
- /// Creates a new instance of the class.
- public getProductBiddingCategoryDataRequest()
- {
- }
-
- /// Creates a new instance of the class.
- public getProductBiddingCategoryDataRequest(Google.Api.Ads.AdWords.v201806.Selector selector)
- {
- this.selector = selector;
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "getProductBiddingCategoryDataResponse", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class getProductBiddingCategoryDataResponse
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- [System.Xml.Serialization.XmlElementAttribute("rval")]
- public Google.Api.Ads.AdWords.v201806.ProductBiddingCategoryData[] rval;
-
- /// Creates a new instance of the class.
- public getProductBiddingCategoryDataResponse()
- {
- }
-
- /// Creates a new instance of the class.
- public getProductBiddingCategoryDataResponse(Google.Api.Ads.AdWords.v201806.ProductBiddingCategoryData[] rval)
- {
- this.rval = rval;
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "getUserInterestCriterion", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class getUserInterestCriterionRequest
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- public Google.Api.Ads.AdWords.v201806.ConstantDataServiceUserInterestTaxonomyType userInterestTaxonomyType;
-
- /// Creates a new instance of the class.
- public getUserInterestCriterionRequest()
- {
- }
-
- /// Creates a new instance of the class.
- public getUserInterestCriterionRequest(Google.Api.Ads.AdWords.v201806.ConstantDataServiceUserInterestTaxonomyType userInterestTaxonomyType)
- {
- this.userInterestTaxonomyType = userInterestTaxonomyType;
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "getUserInterestCriterionResponse", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class getUserInterestCriterionResponse
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- [System.Xml.Serialization.XmlElementAttribute("rval")]
- public Google.Api.Ads.AdWords.v201806.CriterionUserInterest[] rval;
-
- /// Creates a new instance of the class.
- public getUserInterestCriterionResponse()
- {
- }
-
- /// Creates a new instance of the class.
- public getUserInterestCriterionResponse(Google.Api.Ads.AdWords.v201806.CriterionUserInterest[] rval)
- {
- this.rval = rval;
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "getVerticalCriterion", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class getVerticalCriterionRequest
- {
- /// Creates a new instance of the class.
- public getVerticalCriterionRequest()
- {
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "getVerticalCriterionResponse", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class getVerticalCriterionResponse
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- [System.Xml.Serialization.XmlElementAttribute("rval")]
- public Google.Api.Ads.AdWords.v201806.Vertical[] rval;
-
- /// Creates a new instance of the class.
- public getVerticalCriterionResponse()
- {
- }
-
- /// Creates a new instance of the class.
- public getVerticalCriterionResponse(Google.Api.Ads.AdWords.v201806.Vertical[] rval)
- {
- this.rval = rval;
- }
- }
- }
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ServiceModel.ServiceContractAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", ConfigurationName = "Google.Api.Ads.AdWords.v201806.ConstantDataServiceInterface")]
- public interface ConstantDataServiceInterface
- {
- // 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.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Criterion))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Wrappers.ConstantDataService.getAgeRangeCriterionResponse getAgeRangeCriterion(Wrappers.ConstantDataService.getAgeRangeCriterionRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- System.Threading.Tasks.Task getAgeRangeCriterionAsync(Wrappers.ConstantDataService.getAgeRangeCriterionRequest request);
-
- // 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.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Criterion))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Wrappers.ConstantDataService.getCarrierCriterionResponse getCarrierCriterion(Wrappers.ConstantDataService.getCarrierCriterionRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- System.Threading.Tasks.Task getCarrierCriterionAsync(Wrappers.ConstantDataService.getCarrierCriterionRequest request);
-
- // 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.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Criterion))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Wrappers.ConstantDataService.getGenderCriterionResponse getGenderCriterion(Wrappers.ConstantDataService.getGenderCriterionRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- System.Threading.Tasks.Task getGenderCriterionAsync(Wrappers.ConstantDataService.getGenderCriterionRequest request);
-
- // 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.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Criterion))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Wrappers.ConstantDataService.getLanguageCriterionResponse getLanguageCriterion(Wrappers.ConstantDataService.getLanguageCriterionRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- System.Threading.Tasks.Task getLanguageCriterionAsync(Wrappers.ConstantDataService.getLanguageCriterionRequest request);
-
- // 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.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Criterion))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Wrappers.ConstantDataService.getMobileAppCategoryCriterionResponse getMobileAppCategoryCriterion(Wrappers.ConstantDataService.getMobileAppCategoryCriterionRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- System.Threading.Tasks.Task getMobileAppCategoryCriterionAsync(Wrappers.ConstantDataService.getMobileAppCategoryCriterionRequest request);
-
- // 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.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Criterion))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Wrappers.ConstantDataService.getMobileDeviceCriterionResponse getMobileDeviceCriterion(Wrappers.ConstantDataService.getMobileDeviceCriterionRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- System.Threading.Tasks.Task getMobileDeviceCriterionAsync(Wrappers.ConstantDataService.getMobileDeviceCriterionRequest request);
-
- // 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.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Criterion))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Wrappers.ConstantDataService.getOperatingSystemVersionCriterionResponse getOperatingSystemVersionCriterion(Wrappers.ConstantDataService.getOperatingSystemVersionCriterionRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- System.Threading.Tasks.Task getOperatingSystemVersionCriterionAsync(Wrappers.ConstantDataService.getOperatingSystemVersionCriterionRequest request);
-
- // 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.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Criterion))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Wrappers.ConstantDataService.getProductBiddingCategoryDataResponse getProductBiddingCategoryData(Wrappers.ConstantDataService.getProductBiddingCategoryDataRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- System.Threading.Tasks.Task getProductBiddingCategoryDataAsync(Wrappers.ConstantDataService.getProductBiddingCategoryDataRequest request);
-
- // 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.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Criterion))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Wrappers.ConstantDataService.getUserInterestCriterionResponse getUserInterestCriterion(Wrappers.ConstantDataService.getUserInterestCriterionRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- System.Threading.Tasks.Task getUserInterestCriterionAsync(Wrappers.ConstantDataService.getUserInterestCriterionRequest request);
-
- // 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.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Criterion))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Wrappers.ConstantDataService.getVerticalCriterionResponse getVerticalCriterion(Wrappers.ConstantDataService.getVerticalCriterionRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- System.Threading.Tasks.Task getVerticalCriterionAsync(Wrappers.ConstantDataService.getVerticalCriterionRequest request);
- }
-
-
- /// The taxonomy of ProductBiddingCategory dimension values.
Clients use this to
- /// convert between human-readable category names / display strings and
- /// ProductBiddingCategory instances.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class ProductBiddingCategoryData : ConstantData
- {
- private ProductBiddingCategory dimensionValueField;
-
- private ProductBiddingCategory parentDimensionValueField;
-
- private string countryField;
-
- private ShoppingBiddingDimensionStatus statusField;
-
- private bool statusFieldSpecified;
-
- private String_StringMapEntry[] displayValueField;
-
- /// The dimension value that corresponds to this category.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public ProductBiddingCategory dimensionValue
- {
- get
- {
- return this.dimensionValueField;
- }
- set
- {
- this.dimensionValueField = value;
- }
- }
-
- /// The dimension value that corresponds to parent category.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public ProductBiddingCategory parentDimensionValue
- {
- get
- {
- return this.parentDimensionValueField;
- }
- set
- {
- this.parentDimensionValueField = value;
- }
- }
-
- /// The country of the taxonomy. It applies to all categories from the taxonomy.
- /// This field can be selected using the value
- /// "Country".This field can be filtered
- /// on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public string country
- {
- get
- {
- return this.countryField;
- }
- set
- {
- this.countryField = value;
- }
- }
-
- /// The status of the taxonomy. It applies to all categories from the taxonomy.
- /// This field can be selected using the value
- /// "BiddingCategoryStatus".This field
- /// can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public ShoppingBiddingDimensionStatus status
- {
- get
- {
- return this.statusField;
- }
- set
- {
- this.statusField = value;
- this.statusSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool statusSpecified
- {
- get
- {
- return this.statusFieldSpecified;
- }
- set
- {
- this.statusFieldSpecified = value;
- }
- }
-
- /// A map of displayValues by their language code. The language code is a 2-letter
- /// string conforming with ISO 639-1 standard.
- ///
- [System.Xml.Serialization.XmlElementAttribute("displayValue", Order = 4)]
- public String_StringMapEntry[] displayValue
- {
- get
- {
- return this.displayValueField;
- }
- set
- {
- this.displayValueField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ConstantData.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field Country = new Field("Country", true, true);
-
- public static readonly Field BiddingCategoryStatus = new Field("BiddingCategoryStatus", true, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ConstantData.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field Country = Fields.Country;
-
- public static readonly Field BiddingCategoryStatus = Fields.BiddingCategoryStatus;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ConstantData.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field Country = Fields.Country;
-
- public static readonly Field BiddingCategoryStatus = Fields.BiddingCategoryStatus;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Status of a bidding dimension (category) in a bidding taxonomy.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum ShoppingBiddingDimensionStatus
- {
- /// Default status. Should not be used. Used for
- /// return value only. An enumeration could not be processed, typically due to
- /// incompatibility with your WSDL version.
- ///
- UNKNOWN = 0,
- /// The dimension is active and it can be used for bidding.
- ///
- ACTIVE = 1,
- /// The dimension is deprecated and should not be used for bidding.
- ///
- OBSOLETE = 2,
- }
-
-
- /// Marker interface for ConstantDataService objects. This is primarily required for
- /// field catalog generation.
- ///
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(ProductBiddingCategoryData))]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class ConstantData
- {
- private string constantDataTypeField;
-
- /// Indicates that this instance is a subtype of ConstantData. Although this field
- /// is returned in the response, it is ignored on input and cannot be selected.
- /// Specify xsi:type instead.
- ///
- [System.Xml.Serialization.XmlElementAttribute("ConstantData.Type", Order = 0)]
- public string ConstantDataType
- {
- get
- {
- return this.constantDataTypeField;
- }
- set
- {
- this.constantDataTypeField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// An enumeration of possible user interest taxonomy types.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "ConstantDataService.UserInterestTaxonomyType", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum ConstantDataServiceUserInterestTaxonomyType
- {
- /// The brand for this user interest.
- ///
- BRAND = 0,
- /// The market for this user interest.
- ///
- IN_MARKET = 1,
- /// Users known to have installed applications in the specified categories.
- ///
- MOBILE_APP_INSTALL_USER = 2,
- /// The geographical location of the interest-based vertical.
- ///
- VERTICAL_GEO = 3,
- /// User interest criteria for new smart phone users.
- ///
- NEW_SMART_PHONE_USER = 4,
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public interface ConstantDataServiceInterfaceChannel : Google.Api.Ads.AdWords.v201806.ConstantDataServiceInterface, System.ServiceModel.IClientChannel
- {
- }
-
-
- /// A service to return constant data.
- ///
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class ConstantDataService : AdWordsSoapClient, IConstantDataService
- {
- /// Creates a new instance of the class.
- ///
- public ConstantDataService()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public ConstantDataService(string endpointConfigurationName)
- : base(endpointConfigurationName)
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public ConstantDataService(string endpointConfigurationName, string remoteAddress)
- : base(endpointConfigurationName, remoteAddress)
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public ConstantDataService(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress)
- : base(endpointConfigurationName, remoteAddress)
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public ConstantDataService(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)
- : base(binding, remoteAddress)
- {
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- Wrappers.ConstantDataService.getAgeRangeCriterionResponse Google.Api.Ads.AdWords.v201806.ConstantDataServiceInterface.getAgeRangeCriterion(Wrappers.ConstantDataService.getAgeRangeCriterionRequest request)
- {
- return base.Channel.getAgeRangeCriterion(request);
- }
-
- /// Returns a list of all age range criteria.
- /// A list of age ranges.
- /// when there is at least one error with the
- /// request.
- public virtual Google.Api.Ads.AdWords.v201806.AgeRange[] getAgeRangeCriterion()
- {
- Wrappers.ConstantDataService.getAgeRangeCriterionRequest inValue = new Wrappers.ConstantDataService.getAgeRangeCriterionRequest();
- Wrappers.ConstantDataService.getAgeRangeCriterionResponse retVal = ((Google.Api.Ads.AdWords.v201806.ConstantDataServiceInterface) (this)).getAgeRangeCriterion(inValue);
- return retVal.rval;
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- System.Threading.Tasks.Task Google.Api.Ads.AdWords.v201806.ConstantDataServiceInterface.getAgeRangeCriterionAsync(Wrappers.ConstantDataService.getAgeRangeCriterionRequest request)
- {
- return base.Channel.getAgeRangeCriterionAsync(request);
- }
-
- public virtual System.Threading.Tasks.Task getAgeRangeCriterionAsync()
- {
- Wrappers.ConstantDataService.getAgeRangeCriterionRequest inValue = new Wrappers.ConstantDataService.getAgeRangeCriterionRequest();
- return System.Threading.Tasks.Task.Factory.StartNew(() => (((Google.Api.Ads.AdWords.v201806.ConstantDataServiceInterface) (this)).getAgeRangeCriterionAsync(inValue)).Result.rval);
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- Wrappers.ConstantDataService.getCarrierCriterionResponse Google.Api.Ads.AdWords.v201806.ConstantDataServiceInterface.getCarrierCriterion(Wrappers.ConstantDataService.getCarrierCriterionRequest request)
- {
- return base.Channel.getCarrierCriterion(request);
- }
-
- /// Returns a list of all carrier criteria.
- /// A list of carriers.
- /// when there is at least one error with the
- /// request.
- public virtual Google.Api.Ads.AdWords.v201806.Carrier[] getCarrierCriterion()
- {
- Wrappers.ConstantDataService.getCarrierCriterionRequest inValue = new Wrappers.ConstantDataService.getCarrierCriterionRequest();
- Wrappers.ConstantDataService.getCarrierCriterionResponse retVal = ((Google.Api.Ads.AdWords.v201806.ConstantDataServiceInterface) (this)).getCarrierCriterion(inValue);
- return retVal.rval;
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- System.Threading.Tasks.Task Google.Api.Ads.AdWords.v201806.ConstantDataServiceInterface.getCarrierCriterionAsync(Wrappers.ConstantDataService.getCarrierCriterionRequest request)
- {
- return base.Channel.getCarrierCriterionAsync(request);
- }
-
- public virtual System.Threading.Tasks.Task getCarrierCriterionAsync()
- {
- Wrappers.ConstantDataService.getCarrierCriterionRequest inValue = new Wrappers.ConstantDataService.getCarrierCriterionRequest();
- return System.Threading.Tasks.Task.Factory.StartNew(() => (((Google.Api.Ads.AdWords.v201806.ConstantDataServiceInterface) (this)).getCarrierCriterionAsync(inValue)).Result.rval);
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- Wrappers.ConstantDataService.getGenderCriterionResponse Google.Api.Ads.AdWords.v201806.ConstantDataServiceInterface.getGenderCriterion(Wrappers.ConstantDataService.getGenderCriterionRequest request)
- {
- return base.Channel.getGenderCriterion(request);
- }
-
- /// Returns a list of all gender criteria.
- /// A list of genders.
- /// when there is at least one error with the
- /// request.
- public virtual Google.Api.Ads.AdWords.v201806.Gender[] getGenderCriterion()
- {
- Wrappers.ConstantDataService.getGenderCriterionRequest inValue = new Wrappers.ConstantDataService.getGenderCriterionRequest();
- Wrappers.ConstantDataService.getGenderCriterionResponse retVal = ((Google.Api.Ads.AdWords.v201806.ConstantDataServiceInterface) (this)).getGenderCriterion(inValue);
- return retVal.rval;
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- System.Threading.Tasks.Task Google.Api.Ads.AdWords.v201806.ConstantDataServiceInterface.getGenderCriterionAsync(Wrappers.ConstantDataService.getGenderCriterionRequest request)
- {
- return base.Channel.getGenderCriterionAsync(request);
- }
-
- public virtual System.Threading.Tasks.Task getGenderCriterionAsync()
- {
- Wrappers.ConstantDataService.getGenderCriterionRequest inValue = new Wrappers.ConstantDataService.getGenderCriterionRequest();
- return System.Threading.Tasks.Task.Factory.StartNew(() => (((Google.Api.Ads.AdWords.v201806.ConstantDataServiceInterface) (this)).getGenderCriterionAsync(inValue)).Result.rval);
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- Wrappers.ConstantDataService.getLanguageCriterionResponse Google.Api.Ads.AdWords.v201806.ConstantDataServiceInterface.getLanguageCriterion(Wrappers.ConstantDataService.getLanguageCriterionRequest request)
- {
- return base.Channel.getLanguageCriterion(request);
- }
-
- /// Returns a list of all language criteria.
- /// A list of languages.
- /// when there is at least one error with the
- /// request.
- public virtual Google.Api.Ads.AdWords.v201806.Language[] getLanguageCriterion()
- {
- Wrappers.ConstantDataService.getLanguageCriterionRequest inValue = new Wrappers.ConstantDataService.getLanguageCriterionRequest();
- Wrappers.ConstantDataService.getLanguageCriterionResponse retVal = ((Google.Api.Ads.AdWords.v201806.ConstantDataServiceInterface) (this)).getLanguageCriterion(inValue);
- return retVal.rval;
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- System.Threading.Tasks.Task Google.Api.Ads.AdWords.v201806.ConstantDataServiceInterface.getLanguageCriterionAsync(Wrappers.ConstantDataService.getLanguageCriterionRequest request)
- {
- return base.Channel.getLanguageCriterionAsync(request);
- }
-
- public virtual System.Threading.Tasks.Task getLanguageCriterionAsync()
- {
- Wrappers.ConstantDataService.getLanguageCriterionRequest inValue = new Wrappers.ConstantDataService.getLanguageCriterionRequest();
- return System.Threading.Tasks.Task.Factory.StartNew(() => (((Google.Api.Ads.AdWords.v201806.ConstantDataServiceInterface) (this)).getLanguageCriterionAsync(inValue)).Result.rval);
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- Wrappers.ConstantDataService.getMobileAppCategoryCriterionResponse Google.Api.Ads.AdWords.v201806.ConstantDataServiceInterface.getMobileAppCategoryCriterion(Wrappers.ConstantDataService.getMobileAppCategoryCriterionRequest request)
- {
- return base.Channel.getMobileAppCategoryCriterion(request);
- }
-
- /// Returns a list of all mobile app category criteria.
- /// A list of mobile app categories.
- /// when there is at least one error with the
- /// request.
- public virtual Google.Api.Ads.AdWords.v201806.MobileAppCategory[] getMobileAppCategoryCriterion()
- {
- Wrappers.ConstantDataService.getMobileAppCategoryCriterionRequest inValue = new Wrappers.ConstantDataService.getMobileAppCategoryCriterionRequest();
- Wrappers.ConstantDataService.getMobileAppCategoryCriterionResponse retVal = ((Google.Api.Ads.AdWords.v201806.ConstantDataServiceInterface) (this)).getMobileAppCategoryCriterion(inValue);
- return retVal.rval;
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- System.Threading.Tasks.Task Google.Api.Ads.AdWords.v201806.ConstantDataServiceInterface.getMobileAppCategoryCriterionAsync(Wrappers.ConstantDataService.getMobileAppCategoryCriterionRequest request)
- {
- return base.Channel.getMobileAppCategoryCriterionAsync(request);
- }
-
- public virtual System.Threading.Tasks.Task getMobileAppCategoryCriterionAsync()
- {
- Wrappers.ConstantDataService.getMobileAppCategoryCriterionRequest inValue = new Wrappers.ConstantDataService.getMobileAppCategoryCriterionRequest();
- return System.Threading.Tasks.Task.Factory.StartNew(() => (((Google.Api.Ads.AdWords.v201806.ConstantDataServiceInterface) (this)).getMobileAppCategoryCriterionAsync(inValue)).Result.rval);
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- Wrappers.ConstantDataService.getMobileDeviceCriterionResponse Google.Api.Ads.AdWords.v201806.ConstantDataServiceInterface.getMobileDeviceCriterion(Wrappers.ConstantDataService.getMobileDeviceCriterionRequest request)
- {
- return base.Channel.getMobileDeviceCriterion(request);
- }
-
- /// Returns a list of all mobile devices.
- /// A list of mobile devices.
- /// when there is at least one error with the
- /// request.
- public virtual Google.Api.Ads.AdWords.v201806.MobileDevice[] getMobileDeviceCriterion()
- {
- Wrappers.ConstantDataService.getMobileDeviceCriterionRequest inValue = new Wrappers.ConstantDataService.getMobileDeviceCriterionRequest();
- Wrappers.ConstantDataService.getMobileDeviceCriterionResponse retVal = ((Google.Api.Ads.AdWords.v201806.ConstantDataServiceInterface) (this)).getMobileDeviceCriterion(inValue);
- return retVal.rval;
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- System.Threading.Tasks.Task Google.Api.Ads.AdWords.v201806.ConstantDataServiceInterface.getMobileDeviceCriterionAsync(Wrappers.ConstantDataService.getMobileDeviceCriterionRequest request)
- {
- return base.Channel.getMobileDeviceCriterionAsync(request);
- }
-
- public virtual System.Threading.Tasks.Task getMobileDeviceCriterionAsync()
- {
- Wrappers.ConstantDataService.getMobileDeviceCriterionRequest inValue = new Wrappers.ConstantDataService.getMobileDeviceCriterionRequest();
- return System.Threading.Tasks.Task.Factory.StartNew(() => (((Google.Api.Ads.AdWords.v201806.ConstantDataServiceInterface) (this)).getMobileDeviceCriterionAsync(inValue)).Result.rval);
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- Wrappers.ConstantDataService.getOperatingSystemVersionCriterionResponse Google.Api.Ads.AdWords.v201806.ConstantDataServiceInterface.getOperatingSystemVersionCriterion(Wrappers.ConstantDataService.getOperatingSystemVersionCriterionRequest request)
- {
- return base.Channel.getOperatingSystemVersionCriterion(request);
- }
-
- /// Returns a list of all operating system version criteria.
- /// A list of operating system versions.
- /// when there is at least one error with the
- /// request.
- public virtual Google.Api.Ads.AdWords.v201806.OperatingSystemVersion[] getOperatingSystemVersionCriterion()
- {
- Wrappers.ConstantDataService.getOperatingSystemVersionCriterionRequest inValue = new Wrappers.ConstantDataService.getOperatingSystemVersionCriterionRequest();
- Wrappers.ConstantDataService.getOperatingSystemVersionCriterionResponse retVal = ((Google.Api.Ads.AdWords.v201806.ConstantDataServiceInterface) (this)).getOperatingSystemVersionCriterion(inValue);
- return retVal.rval;
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- System.Threading.Tasks.Task Google.Api.Ads.AdWords.v201806.ConstantDataServiceInterface.getOperatingSystemVersionCriterionAsync(Wrappers.ConstantDataService.getOperatingSystemVersionCriterionRequest request)
- {
- return base.Channel.getOperatingSystemVersionCriterionAsync(request);
- }
-
- public virtual System.Threading.Tasks.Task getOperatingSystemVersionCriterionAsync()
- {
- Wrappers.ConstantDataService.getOperatingSystemVersionCriterionRequest inValue = new Wrappers.ConstantDataService.getOperatingSystemVersionCriterionRequest();
- return System.Threading.Tasks.Task.Factory.StartNew(() => (((Google.Api.Ads.AdWords.v201806.ConstantDataServiceInterface) (this)).getOperatingSystemVersionCriterionAsync(inValue)).Result.rval);
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- Wrappers.ConstantDataService.getProductBiddingCategoryDataResponse Google.Api.Ads.AdWords.v201806.ConstantDataServiceInterface.getProductBiddingCategoryData(Wrappers.ConstantDataService.getProductBiddingCategoryDataRequest request)
- {
- return base.Channel.getProductBiddingCategoryData(request);
- }
-
- /// Returns a list of shopping bidding categories. A country predicate must be
- /// included in the selector, only Predicate.Operator#EQUALS and Predicate.Operator#IN with a single value are
- /// supported in the country predicate. An empty parentDimensionType predicate will
- /// filter for root categories.
- /// A list of shopping bidding categories.
- /// when there is at least one error with the
- /// request.
- public virtual Google.Api.Ads.AdWords.v201806.ProductBiddingCategoryData[] getProductBiddingCategoryData(Google.Api.Ads.AdWords.v201806.Selector selector)
- {
- Wrappers.ConstantDataService.getProductBiddingCategoryDataRequest inValue = new Wrappers.ConstantDataService.getProductBiddingCategoryDataRequest();
- inValue.selector = selector;
- Wrappers.ConstantDataService.getProductBiddingCategoryDataResponse retVal = ((Google.Api.Ads.AdWords.v201806.ConstantDataServiceInterface) (this)).getProductBiddingCategoryData(inValue);
- return retVal.rval;
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- System.Threading.Tasks.Task Google.Api.Ads.AdWords.v201806.ConstantDataServiceInterface.getProductBiddingCategoryDataAsync(Wrappers.ConstantDataService.getProductBiddingCategoryDataRequest request)
- {
- return base.Channel.getProductBiddingCategoryDataAsync(request);
- }
-
- public virtual System.Threading.Tasks.Task getProductBiddingCategoryDataAsync(Google.Api.Ads.AdWords.v201806.Selector selector)
- {
- Wrappers.ConstantDataService.getProductBiddingCategoryDataRequest inValue = new Wrappers.ConstantDataService.getProductBiddingCategoryDataRequest();
- inValue.selector = selector;
- return System.Threading.Tasks.Task.Factory.StartNew(() => (((Google.Api.Ads.AdWords.v201806.ConstantDataServiceInterface) (this)).getProductBiddingCategoryDataAsync(inValue)).Result.rval);
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- Wrappers.ConstantDataService.getUserInterestCriterionResponse Google.Api.Ads.AdWords.v201806.ConstantDataServiceInterface.getUserInterestCriterion(Wrappers.ConstantDataService.getUserInterestCriterionRequest request)
- {
- return base.Channel.getUserInterestCriterion(request);
- }
-
- /// Returns a list of user interests.
- /// The type of taxonomy to use when
- /// requesting user interests.
- /// A list of user interests.
- /// when there is at least one error with the
- /// request.
- public virtual Google.Api.Ads.AdWords.v201806.CriterionUserInterest[] getUserInterestCriterion(Google.Api.Ads.AdWords.v201806.ConstantDataServiceUserInterestTaxonomyType userInterestTaxonomyType)
- {
- Wrappers.ConstantDataService.getUserInterestCriterionRequest inValue = new Wrappers.ConstantDataService.getUserInterestCriterionRequest();
- inValue.userInterestTaxonomyType = userInterestTaxonomyType;
- Wrappers.ConstantDataService.getUserInterestCriterionResponse retVal = ((Google.Api.Ads.AdWords.v201806.ConstantDataServiceInterface) (this)).getUserInterestCriterion(inValue);
- return retVal.rval;
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- System.Threading.Tasks.Task Google.Api.Ads.AdWords.v201806.ConstantDataServiceInterface.getUserInterestCriterionAsync(Wrappers.ConstantDataService.getUserInterestCriterionRequest request)
- {
- return base.Channel.getUserInterestCriterionAsync(request);
- }
-
- public virtual System.Threading.Tasks.Task getUserInterestCriterionAsync(Google.Api.Ads.AdWords.v201806.ConstantDataServiceUserInterestTaxonomyType userInterestTaxonomyType)
- {
- Wrappers.ConstantDataService.getUserInterestCriterionRequest inValue = new Wrappers.ConstantDataService.getUserInterestCriterionRequest();
- inValue.userInterestTaxonomyType = userInterestTaxonomyType;
- return System.Threading.Tasks.Task.Factory.StartNew(() => (((Google.Api.Ads.AdWords.v201806.ConstantDataServiceInterface) (this)).getUserInterestCriterionAsync(inValue)).Result.rval);
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- Wrappers.ConstantDataService.getVerticalCriterionResponse Google.Api.Ads.AdWords.v201806.ConstantDataServiceInterface.getVerticalCriterion(Wrappers.ConstantDataService.getVerticalCriterionRequest request)
- {
- return base.Channel.getVerticalCriterion(request);
- }
-
- /// Returns a list of content verticals.
- /// A list of verticals.
- /// when there is at least one error with the
- /// request.
- public virtual Google.Api.Ads.AdWords.v201806.Vertical[] getVerticalCriterion()
- {
- Wrappers.ConstantDataService.getVerticalCriterionRequest inValue = new Wrappers.ConstantDataService.getVerticalCriterionRequest();
- Wrappers.ConstantDataService.getVerticalCriterionResponse retVal = ((Google.Api.Ads.AdWords.v201806.ConstantDataServiceInterface) (this)).getVerticalCriterion(inValue);
- return retVal.rval;
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- System.Threading.Tasks.Task Google.Api.Ads.AdWords.v201806.ConstantDataServiceInterface.getVerticalCriterionAsync(Wrappers.ConstantDataService.getVerticalCriterionRequest request)
- {
- return base.Channel.getVerticalCriterionAsync(request);
- }
-
- public virtual System.Threading.Tasks.Task getVerticalCriterionAsync()
- {
- Wrappers.ConstantDataService.getVerticalCriterionRequest inValue = new Wrappers.ConstantDataService.getVerticalCriterionRequest();
- return System.Threading.Tasks.Task.Factory.StartNew(() => (((Google.Api.Ads.AdWords.v201806.ConstantDataServiceInterface) (this)).getVerticalCriterionAsync(inValue)).Result.rval);
- }
- }
- namespace Wrappers.ConversionTrackerService
- {
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "mutate", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class mutateRequest
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- [System.Xml.Serialization.XmlElementAttribute("operations")]
- public Google.Api.Ads.AdWords.v201806.ConversionTrackerOperation[] operations;
-
- /// Creates a new instance of the class.
- ///
- public mutateRequest()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public mutateRequest(Google.Api.Ads.AdWords.v201806.ConversionTrackerOperation[] operations)
- {
- this.operations = operations;
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "mutateResponse", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class mutateResponse
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- public Google.Api.Ads.AdWords.v201806.ConversionTrackerReturnValue rval;
-
- /// Creates a new instance of the class.
- ///
- public mutateResponse()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public mutateResponse(Google.Api.Ads.AdWords.v201806.ConversionTrackerReturnValue rval)
- {
- this.rval = rval;
- }
- }
- }
- /// An abstract Conversion base class.
- ///
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(WebsiteCallMetricsConversion))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(UploadConversion))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(UploadCallConversion))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AppConversion))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AdWordsConversionTracker))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AdCallMetricsConversion))]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public abstract partial class ConversionTracker
- {
- private long idField;
-
- private bool idFieldSpecified;
-
- private long originalConversionTypeIdField;
-
- private bool originalConversionTypeIdFieldSpecified;
-
- private string nameField;
-
- private ConversionTrackerStatus statusField;
-
- private bool statusFieldSpecified;
-
- private ConversionTrackerCategory categoryField;
-
- private bool categoryFieldSpecified;
-
- private string googleEventSnippetField;
-
- private string googleGlobalSiteTagField;
-
- private DataDrivenModelStatus dataDrivenModelStatusField;
-
- private bool dataDrivenModelStatusFieldSpecified;
-
- private long conversionTypeOwnerCustomerIdField;
-
- private bool conversionTypeOwnerCustomerIdFieldSpecified;
-
- private int viewthroughLookbackWindowField;
-
- private bool viewthroughLookbackWindowFieldSpecified;
-
- private int ctcLookbackWindowField;
-
- private bool ctcLookbackWindowFieldSpecified;
-
- private ConversionDeduplicationMode countingTypeField;
-
- private bool countingTypeFieldSpecified;
-
- private double defaultRevenueValueField;
-
- private bool defaultRevenueValueFieldSpecified;
-
- private string defaultRevenueCurrencyCodeField;
-
- private bool alwaysUseDefaultRevenueValueField;
-
- private bool alwaysUseDefaultRevenueValueFieldSpecified;
-
- private bool excludeFromBiddingField;
-
- private bool excludeFromBiddingFieldSpecified;
-
- private AttributionModelType attributionModelTypeField;
-
- private bool attributionModelTypeFieldSpecified;
-
- private string mostRecentConversionDateField;
-
- private string lastReceivedRequestTimeField;
-
- private string conversionTrackerTypeField;
-
- /// ID of this conversion tracker, null when creating a new one.
- ///
There are some system-defined conversion trackers that are available for all
- /// customers to use. See ConversionTrackerService#mutate for
- /// more information about how to modify these types.
179 - Calls from
- /// Ads
214 - Android Downloads
239 - Store Visits
- /// This field can be selected using the value
- /// "Id".This field can be filtered
- /// on.This field is read only and will be
- /// ignored when sent to the API for the following Operators:
- /// ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long id
- {
- get
- {
- return this.idField;
- }
- set
- {
- this.idField = value;
- this.idSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool idSpecified
- {
- get
- {
- return this.idFieldSpecified;
- }
- set
- {
- this.idFieldSpecified = value;
- }
- }
-
- /// The ID of the original conversion type on which this ConversionType is based.
- /// This is used to facilitate a connection between an existing shared conversion
- /// type (e.g. Calls from ads) and an advertiser-specific conversion type. This may
- /// only be specified for ADD operations, and can never be modified once a
- /// ConversionType is created. This field can be
- /// selected using the value "OriginalConversionTypeId".This field can be filtered on.This field is read only and will be ignored when
- /// sent to the API for the following Operators: SET.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public long originalConversionTypeId
- {
- get
- {
- return this.originalConversionTypeIdField;
- }
- set
- {
- this.originalConversionTypeIdField = value;
- this.originalConversionTypeIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool originalConversionTypeIdSpecified
- {
- get
- {
- return this.originalConversionTypeIdFieldSpecified;
- }
- set
- {
- this.originalConversionTypeIdFieldSpecified = value;
- }
- }
-
- /// Name of this conversion tracker. This field
- /// can be selected using the value "Name".This field can be filtered on.This field is required and should not be null when it is
- /// contained within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public string name
- {
- get
- {
- return this.nameField;
- }
- set
- {
- this.nameField = value;
- }
- }
-
- /// Status of this conversion tracker. This
- /// field can be selected using the value "Status".This field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public ConversionTrackerStatus status
- {
- get
- {
- return this.statusField;
- }
- set
- {
- this.statusField = value;
- this.statusSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool statusSpecified
- {
- get
- {
- return this.statusFieldSpecified;
- }
- set
- {
- this.statusFieldSpecified = value;
- }
- }
-
- /// The category of conversion that is being tracked. This field can be selected using the value "Category".This field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 4)]
- public ConversionTrackerCategory category
- {
- get
- {
- return this.categoryField;
- }
- set
- {
- this.categoryField = value;
- this.categorySpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool categorySpecified
- {
- get
- {
- return this.categoryFieldSpecified;
- }
- set
- {
- this.categoryFieldSpecified = value;
- }
- }
-
- /// The event snippet that works with the global site tag to track actions that
- /// should be counted as conversions. Returns an empty string if the conversion
- /// tracker does not use snippets. This field
- /// can be selected using the value "GoogleEventSnippet".This field can be filtered on.This field is read only and will be ignored when
- /// sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 5)]
- public string googleEventSnippet
- {
- get
- {
- return this.googleEventSnippetField;
- }
- set
- {
- this.googleEventSnippetField = value;
- }
- }
-
- /// The global site tag that adds visitors to your basic remarketing lists and sets
- /// new cookies on your domain, which will store information about the ad click that
- /// brought a user to your website. Returns an empty string if the conversion
- /// tracker does not use snippets. This field
- /// can be selected using the value "GoogleGlobalSiteTag".This field can be filtered on.This field is read only and will be ignored when
- /// sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 6)]
- public string googleGlobalSiteTag
- {
- get
- {
- return this.googleGlobalSiteTagField;
- }
- set
- {
- this.googleGlobalSiteTagField = value;
- }
- }
-
- /// The status of the data-driven attribution model for the conversion type. This field can be selected using the value
- /// "DataDrivenModelStatus".This field
- /// can be filtered on.This field is read
- /// only and will be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 7)]
- public DataDrivenModelStatus dataDrivenModelStatus
- {
- get
- {
- return this.dataDrivenModelStatusField;
- }
- set
- {
- this.dataDrivenModelStatusField = value;
- this.dataDrivenModelStatusSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool dataDrivenModelStatusSpecified
- {
- get
- {
- return this.dataDrivenModelStatusFieldSpecified;
- }
- set
- {
- this.dataDrivenModelStatusFieldSpecified = value;
- }
- }
-
- /// The external customer ID of the conversion type owner, or 0 if this is a
- /// system-defined conversion type. Only the conversion type owner may edit
- /// properties of the conversion type. This
- /// field can be selected using the value
- /// "ConversionTypeOwnerCustomerId".This
- /// field can be filtered on.This field is
- /// read only and will be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 8)]
- public long conversionTypeOwnerCustomerId
- {
- get
- {
- return this.conversionTypeOwnerCustomerIdField;
- }
- set
- {
- this.conversionTypeOwnerCustomerIdField = value;
- this.conversionTypeOwnerCustomerIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- ///
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool conversionTypeOwnerCustomerIdSpecified
- {
- get
- {
- return this.conversionTypeOwnerCustomerIdFieldSpecified;
- }
- set
- {
- this.conversionTypeOwnerCustomerIdFieldSpecified = value;
- }
- }
-
- /// Lookback window for view-through conversions in days. This is the length of time
- /// in which a conversion without a click can be attributed to an impression. This field can be selected using the value
- /// "ViewthroughLookbackWindow".This
- /// field can be filtered on.This field
- /// must be between 1 and 30, inclusive.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 9)]
- public int viewthroughLookbackWindow
- {
- get
- {
- return this.viewthroughLookbackWindowField;
- }
- set
- {
- this.viewthroughLookbackWindowField = value;
- this.viewthroughLookbackWindowSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool viewthroughLookbackWindowSpecified
- {
- get
- {
- return this.viewthroughLookbackWindowFieldSpecified;
- }
- set
- {
- this.viewthroughLookbackWindowFieldSpecified = value;
- }
- }
-
- /// The click-through conversion (ctc) lookback window is the maximum number of days
- /// between the time a conversion event happens and the previous corresponding ad
- /// click.
Conversion events that occur more than this many days after the click
- /// are ignored.
This field is only editable for Adwords Conversions and
- /// Upload Conversions, but has a system defined default for other types of
- /// conversions. The allowed range of values for this window depends on the type of
- /// conversion and may expand, but 1-90 days is the currently allowed range. This field can be selected using the value
- /// "CtcLookbackWindow".This field can be
- /// filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 10)]
- public int ctcLookbackWindow
- {
- get
- {
- return this.ctcLookbackWindowField;
- }
- set
- {
- this.ctcLookbackWindowField = value;
- this.ctcLookbackWindowSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool ctcLookbackWindowSpecified
- {
- get
- {
- return this.ctcLookbackWindowFieldSpecified;
- }
- set
- {
- this.ctcLookbackWindowFieldSpecified = value;
- }
- }
-
- /// How to count events for this conversion tracker. If countingType is
- /// MANY_PER_CLICK, then all conversion events are counted. If countingType is
- /// ONE_PER_CLICK, then only the first conversion event of this type following a
- /// given click will be counted. More information is available at
- /// https://support.google.com/adwords/answer/3438531 This field can be selected using the value
- /// "CountingType".This field can be
- /// filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 11)]
- public ConversionDeduplicationMode countingType
- {
- get
- {
- return this.countingTypeField;
- }
- set
- {
- this.countingTypeField = value;
- this.countingTypeSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool countingTypeSpecified
- {
- get
- {
- return this.countingTypeFieldSpecified;
- }
- set
- {
- this.countingTypeFieldSpecified = value;
- }
- }
-
- /// The value to use when the tag for this conversion tracker sends conversion
- /// events without values. This value is applied on the server side, and is
- /// applicable to all ConversionTracker subclasses.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 12)]
- public double defaultRevenueValue
- {
- get
- {
- return this.defaultRevenueValueField;
- }
- set
- {
- this.defaultRevenueValueField = value;
- this.defaultRevenueValueSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool defaultRevenueValueSpecified
- {
- get
- {
- return this.defaultRevenueValueFieldSpecified;
- }
- set
- {
- this.defaultRevenueValueFieldSpecified = value;
- }
- }
-
- /// The currency code to use when the tag for this conversion tracker sends
- /// conversion events without currency codes. This code is applied on the server
- /// side, and is applicable to all ConversionTracker subclasses. It must be a valid
- /// ISO4217 3-character code, such as USD.
This code is used if the code in the
- /// tag is not supplied or is unsupported, or if ConversionTracker#alwaysUseDefaultRevenueValue
- /// is set to true. If this default code is not set the currency code of the account
- /// is used as the default code.
Set the default code to XXX in order to
- /// specify that this conversion type does not have units of a currency (that is, it
- /// is unitless). In this case no currency conversion will occur even if a currency
- /// code is set in the tag. This field can be
- /// selected using the value "DefaultRevenueCurrencyCode".This field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 13)]
- public string defaultRevenueCurrencyCode
- {
- get
- {
- return this.defaultRevenueCurrencyCodeField;
- }
- set
- {
- this.defaultRevenueCurrencyCodeField = value;
- }
- }
-
- /// Controls whether conversion event values and currency codes are taken from the
- /// tag snippet or from ConversionTracker#defaultRevenueValue
- /// and ConversionTracker#defaultRevenueCurrencyCode.
- /// If alwaysUseDefaultRevenueValue is true, then conversion events will always use
- /// defaultRevenueValue and defaultRevenueCurrencyCode, even if the tag has supplied
- /// a value and/or code when reporting the conversion event. If
- /// alwaysUseDefaultRevenueValue is false, then defaultRevenueValue and
- /// defaultRevenueCurrencyCode are only used if the tag does not supply a value, or
- /// the tag's value is unparseable. This field
- /// can be selected using the value "AlwaysUseDefaultRevenueValue".This field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 14)]
- public bool alwaysUseDefaultRevenueValue
- {
- get
- {
- return this.alwaysUseDefaultRevenueValueField;
- }
- set
- {
- this.alwaysUseDefaultRevenueValueField = value;
- this.alwaysUseDefaultRevenueValueSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool alwaysUseDefaultRevenueValueSpecified
- {
- get
- {
- return this.alwaysUseDefaultRevenueValueFieldSpecified;
- }
- set
- {
- this.alwaysUseDefaultRevenueValueFieldSpecified = value;
- }
- }
-
- /// Whether this conversion tracker should be excluded from the "Conversions"
- /// columns in reports.
If true, the conversion tracker will not be counted
- /// towards Conversions. If false, it will be counted in Conversions. This is the
- /// default.
Either way, conversions will still be counted in the
- /// "AllConversions" columns in reports. This
- /// field can be selected using the value "ExcludeFromBidding".This field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 15)]
- public bool excludeFromBidding
- {
- get
- {
- return this.excludeFromBiddingField;
- }
- set
- {
- this.excludeFromBiddingField = value;
- this.excludeFromBiddingSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool excludeFromBiddingSpecified
- {
- get
- {
- return this.excludeFromBiddingFieldSpecified;
- }
- set
- {
- this.excludeFromBiddingFieldSpecified = value;
- }
- }
-
- /// Attribution models describing how to distribute credit for a particular
- /// conversion across potentially many prior interactions. See
- /// https://support.google.com/adwords/answer/6259715 for more information about
- /// attribution modeling in AdWords. This field
- /// can be selected using the value "AttributionModelType".
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 16)]
- public AttributionModelType attributionModelType
- {
- get
- {
- return this.attributionModelTypeField;
- }
- set
- {
- this.attributionModelTypeField = value;
- this.attributionModelTypeSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool attributionModelTypeSpecified
- {
- get
- {
- return this.attributionModelTypeFieldSpecified;
- }
- set
- {
- this.attributionModelTypeFieldSpecified = value;
- }
- }
-
- /// The date of the most recent ad click that led to a conversion of this conversion
- /// type.
This date is in the advertiser's defined time zone.
This field can be selected using the value
- /// "MostRecentConversionDate".This field
- /// is read only and will be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 17)]
- public string mostRecentConversionDate
- {
- get
- {
- return this.mostRecentConversionDateField;
- }
- set
- {
- this.mostRecentConversionDateField = value;
- }
- }
-
- /// The last time a conversion tag for this conversion type successfully fired and
- /// was seen by AdWords. This firing event may not have been the result of an
- /// attributable conversion (ex: because the tag was fired from a browser that did
- /// not previously click an ad from the appropriate advertiser).
This datetime is
- /// in UTC, not the advertiser's time zone.
This field can be selected using the value
- /// "LastReceivedRequestTime".This field
- /// is read only and will be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 18)]
- public string lastReceivedRequestTime
- {
- get
- {
- return this.lastReceivedRequestTimeField;
- }
- set
- {
- this.lastReceivedRequestTimeField = value;
- }
- }
-
- /// Indicates that this instance is a subtype of ConversionTracker. Although this
- /// field is returned in the response, it is ignored on input and cannot be
- /// selected. Specify xsi:type instead.
- ///
- [System.Xml.Serialization.XmlElementAttribute("ConversionTracker.Type", Order = 19)]
- public string ConversionTrackerType
- {
- get
- {
- return this.conversionTrackerTypeField;
- }
- set
- {
- this.conversionTrackerTypeField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field Id = new Field("Id", true, true);
-
- public static readonly Field OriginalConversionTypeId = new Field("OriginalConversionTypeId", true, true);
-
- public static readonly Field Name = new Field("Name", true, true);
-
- public static readonly Field Status = new Field("Status", true, true);
-
- public static readonly Field Category = new Field("Category", true, true);
-
- public static readonly Field GoogleEventSnippet = new Field("GoogleEventSnippet", true, true);
-
- public static readonly Field GoogleGlobalSiteTag = new Field("GoogleGlobalSiteTag", true, true);
-
- public static readonly Field DataDrivenModelStatus = new Field("DataDrivenModelStatus", true, true);
-
- public static readonly Field ConversionTypeOwnerCustomerId = new Field("ConversionTypeOwnerCustomerId", true, true);
-
- public static readonly Field ViewthroughLookbackWindow = new Field("ViewthroughLookbackWindow", true, true);
-
- public static readonly Field CtcLookbackWindow = new Field("CtcLookbackWindow", true, true);
-
- public static readonly Field CountingType = new Field("CountingType", true, true);
-
- public static readonly Field DefaultRevenueValue = new Field("DefaultRevenueValue", true, true);
-
- public static readonly Field DefaultRevenueCurrencyCode = new Field("DefaultRevenueCurrencyCode", true, true);
-
- public static readonly Field AlwaysUseDefaultRevenueValue = new Field("AlwaysUseDefaultRevenueValue", true, true);
-
- public static readonly Field ExcludeFromBidding = new Field("ExcludeFromBidding", true, true);
-
- public static readonly Field AttributionModelType = new Field("AttributionModelType", false, true);
-
- public static readonly Field MostRecentConversionDate = new Field("MostRecentConversionDate", false, true);
-
- public static readonly Field LastReceivedRequestTime = new Field("LastReceivedRequestTime", false, true);
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field Id = Fields.Id;
-
- public static readonly Field OriginalConversionTypeId = Fields.OriginalConversionTypeId;
-
- public static readonly Field Name = Fields.Name;
-
- public static readonly Field Status = Fields.Status;
-
- public static readonly Field Category = Fields.Category;
-
- public static readonly Field GoogleEventSnippet = Fields.GoogleEventSnippet;
-
- public static readonly Field GoogleGlobalSiteTag = Fields.GoogleGlobalSiteTag;
-
- public static readonly Field DataDrivenModelStatus = Fields.DataDrivenModelStatus;
-
- public static readonly Field ConversionTypeOwnerCustomerId = Fields.ConversionTypeOwnerCustomerId;
-
- public static readonly Field ViewthroughLookbackWindow = Fields.ViewthroughLookbackWindow;
-
- public static readonly Field CtcLookbackWindow = Fields.CtcLookbackWindow;
-
- public static readonly Field CountingType = Fields.CountingType;
-
- public static readonly Field DefaultRevenueValue = Fields.DefaultRevenueValue;
-
- public static readonly Field DefaultRevenueCurrencyCode = Fields.DefaultRevenueCurrencyCode;
-
- public static readonly Field AlwaysUseDefaultRevenueValue = Fields.AlwaysUseDefaultRevenueValue;
-
- public static readonly Field ExcludeFromBidding = Fields.ExcludeFromBidding;
-
- public static readonly Field AttributionModelType = Fields.AttributionModelType;
-
- public static readonly Field MostRecentConversionDate = Fields.MostRecentConversionDate;
-
- public static readonly Field LastReceivedRequestTime = Fields.LastReceivedRequestTime;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field Id = Fields.Id;
-
- public static readonly Field OriginalConversionTypeId = Fields.OriginalConversionTypeId;
-
- public static readonly Field Name = Fields.Name;
-
- public static readonly Field Status = Fields.Status;
-
- public static readonly Field Category = Fields.Category;
-
- public static readonly Field GoogleEventSnippet = Fields.GoogleEventSnippet;
-
- public static readonly Field GoogleGlobalSiteTag = Fields.GoogleGlobalSiteTag;
-
- public static readonly Field DataDrivenModelStatus = Fields.DataDrivenModelStatus;
-
- public static readonly Field ConversionTypeOwnerCustomerId = Fields.ConversionTypeOwnerCustomerId;
-
- public static readonly Field ViewthroughLookbackWindow = Fields.ViewthroughLookbackWindow;
-
- public static readonly Field CtcLookbackWindow = Fields.CtcLookbackWindow;
-
- public static readonly Field CountingType = Fields.CountingType;
-
- public static readonly Field DefaultRevenueValue = Fields.DefaultRevenueValue;
-
- public static readonly Field DefaultRevenueCurrencyCode = Fields.DefaultRevenueCurrencyCode;
-
- public static readonly Field AlwaysUseDefaultRevenueValue = Fields.AlwaysUseDefaultRevenueValue;
-
- public static readonly Field ExcludeFromBidding = Fields.ExcludeFromBidding;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Status of the conversion tracker. The user cannot ADD or SET the status to
- /// HIDDEN.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "ConversionTracker.Status", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum ConversionTrackerStatus
- {
- /// Visits to the conversion page will be recorded.
- ///
- ENABLED = 0,
- /// Visits to the conversion page will not be recorded.
- ///
- DISABLED = 1,
- /// Conversions will be recorded, but the conversion tracker will not appear in the
- /// UI.
- ///
- HIDDEN = 2,
- }
-
-
- /// The category of conversion tracker that is being tracked.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "ConversionTracker.Category", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum ConversionTrackerCategory
- {
- DEFAULT = 0,
- PAGE_VIEW = 1,
- PURCHASE = 2,
- SIGNUP = 3,
- LEAD = 4,
- REMARKETING = 5,
- /// Download is applicable only to AppConversion types,
- /// and is an error to use in conjunction with other types. AppConversions must use
- /// download only if they also specify AppConversion#appConversionType as
- /// DOWNLOAD or FIRST_OPEN. If any other appConversionType is used, then some other
- /// category besides DOWNLOAD must be used.
- ///
- DOWNLOAD = 6,
- }
-
-
- /// Enumerates data driven model statuses.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum DataDrivenModelStatus
- {
- /// The data driven model status is unknown.
- ///
- UNKNOWN = 0,
- /// A data driven model is available.
- ///
- AVAILABLE = 1,
- /// The data driven model is stale. It hasn't been updated for at least 7 days. It
- /// is still being used, but will become expired if it does not get updated for 30
- /// days.
- ///
- STALE = 2,
- /// The data driven model expired. It hasn't been updated for at least 30 days and
- /// cannot be used. Most commonly this is because there haven't been the required
- /// number of events in a recent 30-day period.
- ///
- EXPIRED = 3,
- /// A data driven model has never been generated. Most commonly this is because
- /// there has never been the required number of events in any 30-day period.
- ///
- NEVER_GENERATED = 4,
- }
-
-
- /// Conversion deduplication mode for Conversion Optimizer. That is, whether to
- /// optimize for number of clicks that get at least one conversion, or total number
- /// of conversions per click.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum ConversionDeduplicationMode
- {
- /// Number of clicks that get at least one conversion.
- ///
- ONE_PER_CLICK = 0,
- /// Total number of conversions per click.
- ///
- MANY_PER_CLICK = 1,
- }
-
-
- /// Attribution models describing how to distribute credit for a particular
- /// conversion across potentially many prior interactions. See
- /// https://support.google.com/adwords/answer/6259715 for more information about
- /// attribution modeling in AdWords.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum AttributionModelType
- {
- UNKNOWN = 0,
- /// Attributes all credit for a conversion to its last click.
- ///
- LAST_CLICK = 1,
- /// Attributes all credit for a conversion to its first click.
- ///
- FIRST_CLICK = 2,
- /// Attributes credit for a conversion equally across all of its clicks.
- ///
- LINEAR = 3,
- /// Attributes exponentially more credit for a conversion to its more recent clicks
- /// (half-life is 1 week).
- ///
- TIME_DECAY = 4,
- /// Attributes 40% of the credit for a conversion to its first and last clicks.
- /// Remaining 20% is evenly distributed across all other clicks.
- ///
- U_SHAPED = 5,
- /// Flexible model that uses machine learning to determine the appropriate
- /// distribution of credit among clicks.
- ///
- DATA_DRIVEN = 6,
- }
-
-
- /// A conversion that happens when a user performs the following sequence of
- /// actions:
Clicks on an advertiser's ad
Proceeds to the
- /// advertiser's website, where special javascript installed on the page produces a
- /// dynamically-generated phone number,
Calls that number from their home
- /// (or other) phone
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class WebsiteCallMetricsConversion : ConversionTracker
- {
- private long phoneCallDurationField;
-
- private bool phoneCallDurationFieldSpecified;
-
- /// This field can be selected using the value
- /// "WebsitePhoneCallDuration".This field
- /// must be between 0 and 10000, inclusive.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long phoneCallDuration
- {
- get
- {
- return this.phoneCallDurationField;
- }
- set
- {
- this.phoneCallDurationField = value;
- this.phoneCallDurationSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool phoneCallDurationSpecified
- {
- get
- {
- return this.phoneCallDurationFieldSpecified;
- }
- set
- {
- this.phoneCallDurationFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ConversionTracker.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field WebsitePhoneCallDuration = new Field("WebsitePhoneCallDuration", false, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ConversionTracker.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field WebsitePhoneCallDuration = Fields.WebsitePhoneCallDuration;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ConversionTracker.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// A conversion type that receives conversions by having them uploaded through the
- /// OfflineConversionFeedService. After successfully creating a new
- /// UploadConversion, send the name of this conversion type along with your
- /// conversion details to the OfflineConversionFeedService to attribute those
- /// conversions to this conversion type.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class UploadConversion : ConversionTracker
- {
- private bool isExternallyAttributedField;
-
- private bool isExternallyAttributedFieldSpecified;
-
- /// Whether this conversion is using an external attribution model. This field is read only and will be ignored when
- /// sent to the API for the following Operators: SET.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public bool isExternallyAttributed
- {
- get
- {
- return this.isExternallyAttributedField;
- }
- set
- {
- this.isExternallyAttributedField = value;
- this.isExternallyAttributedSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool isExternallyAttributedSpecified
- {
- get
- {
- return this.isExternallyAttributedFieldSpecified;
- }
- set
- {
- this.isExternallyAttributedFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ConversionTracker.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ConversionTracker.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ConversionTracker.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// A conversion that happens when a user performs one the following sequences of
- /// actions:
User clicks on an advertiser's ad which takes the user to the
- /// advertiser's website, where special javascript installed on the page produces a
- /// dynamically-generated phone number. Then, user calls that number from their home
- /// (or other) phone
User makes a phone call from
- /// conversion-tracked call extensions
After successfully creating a new
- /// UploadCallConversion, send the name of this conversion type along with your
- /// conversion details to the OfflineCallConversionFeedService to attribute those
- /// conversions to this conversion type.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class UploadCallConversion : ConversionTracker
- {
- }
-
-
- /// A ConversionTracker for mobile apps.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class AppConversion : ConversionTracker
- {
- private string appIdField;
-
- private AppConversionAppPlatform appPlatformField;
-
- private bool appPlatformFieldSpecified;
-
- private string snippetField;
-
- private AppConversionAppConversionType appConversionTypeField;
-
- private bool appConversionTypeFieldSpecified;
-
- private string appPostbackUrlField;
-
- /// App ID of the app conversion tracker. This field is required for certain
- /// conversion types, in particular, Android app install (first open) and Android
- /// app install (from Google Play). This field
- /// can be selected using the value "AppId".This field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public string appId
- {
- get
- {
- return this.appIdField;
- }
- set
- {
- this.appIdField = value;
- }
- }
-
- /// App platform of the app conversion tracker. This field defaults to NONE. Once it
- /// is set to a value other than NONE it cannot be changed again. It must be set at
- /// the same time as AppConversionType. This
- /// field can be selected using the value "AppPlatform".This field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public AppConversionAppPlatform appPlatform
- {
- get
- {
- return this.appPlatformField;
- }
- set
- {
- this.appPlatformField = value;
- this.appPlatformSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool appPlatformSpecified
- {
- get
- {
- return this.appPlatformFieldSpecified;
- }
- set
- {
- this.appPlatformFieldSpecified = value;
- }
- }
-
- /// The generated snippet for this conversion tracker. This snippet is
- /// auto-generated by the API, and will be ignored in mutate operands. This field
- /// will always be returned for conversion trackers using snippets. This field is read only and will be ignored when
- /// sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public string snippet
- {
- get
- {
- return this.snippetField;
- }
- set
- {
- this.snippetField = value;
- }
- }
-
- /// The type of AppConversion, which identifies a conversion as being either
- /// download or in-app purchase. This field can only be set once and future reads
- /// will populate the type appropriately. It is an error to change the value once it
- /// is set. This field must be set at the same time as AppPlatform.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public AppConversionAppConversionType appConversionType
- {
- get
- {
- return this.appConversionTypeField;
- }
- set
- {
- this.appConversionTypeField = value;
- this.appConversionTypeSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool appConversionTypeSpecified
- {
- get
- {
- return this.appConversionTypeFieldSpecified;
- }
- set
- {
- this.appConversionTypeFieldSpecified = value;
- }
- }
-
- /// The postback URL. When the conversion type specifies a postback url, Google will
- /// send information about each conversion event to that url as they happen.
- /// Details, including formatting requirements for this field:
- /// https://developers.google.com/app-conversion-tracking/docs/app-install-feedback
- /// This field can be selected using the value
- /// "AppPostbackUrl".This field can be
- /// filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 4)]
- public string appPostbackUrl
- {
- get
- {
- return this.appPostbackUrlField;
- }
- set
- {
- this.appPostbackUrlField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ConversionTracker.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field AppId = new Field("AppId", true, true);
-
- public static readonly Field AppPlatform = new Field("AppPlatform", true, true);
-
- public static readonly Field AppPostbackUrl = new Field("AppPostbackUrl", true, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ConversionTracker.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field AppId = Fields.AppId;
-
- public static readonly Field AppPlatform = Fields.AppPlatform;
-
- public static readonly Field AppPostbackUrl = Fields.AppPostbackUrl;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ConversionTracker.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field AppId = Fields.AppId;
-
- public static readonly Field AppPlatform = Fields.AppPlatform;
-
- public static readonly Field AppPostbackUrl = Fields.AppPostbackUrl;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// App platform for the AppConversionTracker.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "AppConversion.AppPlatform", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum AppConversionAppPlatform
- {
- NONE = 0,
- ITUNES = 1,
- ANDROID_MARKET = 2,
- MOBILE_APP_CHANNEL = 3,
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "AppConversion.AppConversionType", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum AppConversionAppConversionType
- {
- NONE = 0,
- DOWNLOAD = 1,
- IN_APP_PURCHASE = 2,
- FIRST_OPEN = 3,
- }
-
-
- /// A conversion tracker created through AdWords Conversion Tracking.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class AdWordsConversionTracker : ConversionTracker
- {
- private AdWordsConversionTrackerTrackingCodeType trackingCodeTypeField;
-
- private bool trackingCodeTypeFieldSpecified;
-
- /// Tracking code to use for the conversion type. This field can be selected using the value
- /// "TrackingCodeType".This field can be
- /// filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public AdWordsConversionTrackerTrackingCodeType trackingCodeType
- {
- get
- {
- return this.trackingCodeTypeField;
- }
- set
- {
- this.trackingCodeTypeField = value;
- this.trackingCodeTypeSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool trackingCodeTypeSpecified
- {
- get
- {
- return this.trackingCodeTypeFieldSpecified;
- }
- set
- {
- this.trackingCodeTypeFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ConversionTracker.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field TrackingCodeType = new Field("TrackingCodeType", true, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ConversionTracker.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field TrackingCodeType = Fields.TrackingCodeType;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ConversionTracker.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field TrackingCodeType = Fields.TrackingCodeType;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Type of snippet code to generate.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "AdWordsConversionTracker.TrackingCodeType", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum AdWordsConversionTrackerTrackingCodeType
- {
- /// The snippet that is fired as a result of a website page loading.
- ///
- WEBPAGE = 0,
- /// The snippet contains a JavaScript function which fires the tag. This function is
- /// typically called from an onClick handler added to a link or button element on
- /// the page.
- ///
- WEBPAGE_ONCLICK = 1,
- /// For embedding on a (mobile) webpage. The snippet contains a JavaScript function
- /// which fires the tag. This function is typically called from an onClick handler
- /// added to a link or button element on the page that also instructs a mobile
- /// device to dial the advertiser's phone number.
- ///
- CLICK_TO_CALL = 2,
- }
-
-
- /// A ConversionTracker for phone calls from conversion-tracked call extensions and
- /// call-only ads.
A call made from the call extension is reported as a
- /// conversion if it lasts longer than N seconds. This duration is 60 seconds by
- /// default. Each call extension can specify the desired conversion
- /// configuration.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class AdCallMetricsConversion : ConversionTracker
- {
- private long phoneCallDurationField;
-
- private bool phoneCallDurationFieldSpecified;
-
- /// The phone-call duration (in seconds) after which a conversion should be reported
- /// for this AdCallMetricsConversion. This field
- /// can be selected using the value "PhoneCallDuration".This field can be filtered on.This field must be between 0 and 10000,
- /// inclusive.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long phoneCallDuration
- {
- get
- {
- return this.phoneCallDurationField;
- }
- set
- {
- this.phoneCallDurationField = value;
- this.phoneCallDurationSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool phoneCallDurationSpecified
- {
- get
- {
- return this.phoneCallDurationFieldSpecified;
- }
- set
- {
- this.phoneCallDurationFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ConversionTracker.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field PhoneCallDuration = new Field("PhoneCallDuration", true, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ConversionTracker.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field PhoneCallDuration = Fields.PhoneCallDuration;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ConversionTracker.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field PhoneCallDuration = Fields.PhoneCallDuration;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(ConversionTrackerPage))]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CriterionBidLandscapePage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AdGroupBidLandscapePage))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(LabelPage))]
- public abstract partial class NoStatsPage : Page
- {
- }
-
-
- /// Contains a subset of ConversionTrackers
- /// resulting from the filtering and paging of the ConversionTrackerService#get call.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class ConversionTrackerPage : NoStatsPage
- {
- private ConversionTracker[] entriesField;
-
- /// The result entries in this page.
- ///
- [System.Xml.Serialization.XmlElementAttribute("entries", Order = 0)]
- public ConversionTracker[] entries
- {
- get
- {
- return this.entriesField;
- }
- set
- {
- this.entriesField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : NoStatsPage.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : NoStatsPage.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : NoStatsPage.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// An error that can occur during calls to the ConversionTypeService.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class ConversionTrackingError : ApiError
- {
- private ConversionTrackingErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public ConversionTrackingErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
- }
-
-
- /// Enumerates all the possible reasons for a ConversionTypeError.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "ConversionTrackingError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum ConversionTrackingErrorReason
- {
- /// An attempt to make a forked conversion type from a global conversion type was
- /// made, but there already exists a conversion type forked from this global
- /// conversion type.
- ///
- ALREADY_CREATED_CUSTOM_CONVERSION_TYPE = 0,
- /// This user is not whitelisted for the import of Analytics goals and profiles, and
- /// yet requested to mutate an Analytics conversion type.
- ///
- ANALYTICS_NOT_ALLOWED = 1,
- /// Cannot execute an ADD operation on this subclass of ConversionType (currently,
- /// only instances of AdWordsConversionType may be added).
- ///
- CANNOT_ADD_CONVERSION_TYPE_SUBCLASS = 2,
- /// Creating an upload conversion type with isExternallyAttributedConversion and
- /// isSalesforceConversion both set is not allowed.
- ///
- CANNOT_ADD_EXTERNALLY_ATTRIBUTED_SALESFORCE_CONVERSION = 37,
- /// AppConversions cannot change app conversion types once it has been set.
- ///
- CANNOT_CHANGE_APP_CONVERSION_TYPE = 3,
- /// AppConversions cannot change app platforms once it has been set.
- ///
- CANNOT_CHANGE_APP_PLATFORM = 4,
- /// Cannot change between subclasses of ConversionType
- ///
- CANNNOT_CHANGE_CONVERSION_SUBCLASS = 5,
- /// If a conversion type's status is initially non-hidden, it may not be changed to
- /// Hidden; nor may hidden conversion types be created through the API. Hidden
- /// conversion types are typically created by backend processes.
- ///
- CANNOT_SET_HIDDEN_STATUS = 6,
- /// The user attempted to change the Category when it was uneditable.
- ///
- CATEGORY_IS_UNEDITABLE = 28,
- /// The attribution model of the conversion type is uneditable.
- ///
- ATTRIBUTION_MODEL_IS_UNEDITABLE = 30,
- /// The attribution model of the conversion type cannot be unknown.
- ///
- ATTRIBUTION_MODEL_CANNOT_BE_UNKNOWN = 38,
- /// The attribution model cannot be set to DATA_DRIVEN because a data-driven model
- /// has never been generated.
- ///
- DATA_DRIVEN_MODEL_WAS_NEVER_GENERATED = 31,
- /// The attribution model cannot be set to DATA_DRIVEN because the data-driven model
- /// is expired.
- ///
- DATA_DRIVEN_MODEL_IS_EXPIRED = 32,
- /// The attribution model cannot be set to DATA_DRIVEN because the data-driven model
- /// is stale.
- ///
- DATA_DRIVEN_MODEL_IS_STALE = 33,
- /// The attribution model cannot be set to DATA_DRIVEN because the data-driven model
- /// is unavailable or the conversion type was newly added.
- ///
- DATA_DRIVEN_MODEL_IS_UNKNOWN = 34,
- /// An attempt to access a conversion type failed because no conversion type with
- /// this ID exists for this account.
- ///
- CONVERSION_TYPE_NOT_FOUND = 7,
- /// The user attempted to change the click-through conversion (ctc) lookback window
- /// when it is not editable.
- ///
- CTC_LOOKBACK_WINDOW_IS_UNEDITABLE = 29,
- /// An exception occurred in the domain layer during an attempt to process a
- /// ConversionTypeOperation.
- ///
- DOMAIN_EXCEPTION = 8,
- /// An attempt was made to set a counting type inconsistent with other properties.
- /// Currently, AppConversion with appConversionType = DOWNLOAD and appPlatform =
- /// ANDROID_MARKET cannot have a countingType of MANY_PER_CLICK
- ///
- INCONSISTENT_COUNTING_TYPE = 9,
- /// The user specified two identical app ids when attempting to create or modify a
- /// conversion type.
- ///
- DUPLICATE_APP_ID = 10,
- /// The user is trying to enter a double bidding conflict. A double bidding conflict
- /// is when 2 conversion types both measure downloads for the same app ID.
- ///
- TWO_CONVERSION_TYPES_BIDDING_ON_SAME_APP_DOWNLOAD = 35,
- /// The user is trying to enter a double bidding conflict with the global type. The
- /// conversion type being created/editied and the global type (or forked global
- /// download type) are both measuring downloads for the same app ID.
- ///
- CONVERSION_TYPE_BIDDING_ON_SAME_APP_DOWNLOAD_AS_GLOBAL_TYPE = 36,
- /// The user specified two identical names when attempting to create or rename
- /// multiple conversion types.
- ///
- DUPLICATE_NAME = 11,
- /// An error occurred while the server was sending the email.
- ///
- EMAIL_FAILED = 12,
- /// The maximum number of active conversion types for this account has been
- /// exceeded.
- ///
- EXCEEDED_CONVERSION_TYPE_LIMIT = 13,
- /// The user requested to modify an existing conversion type, but did not supply an
- /// ID.
- ///
- ID_IS_NULL = 14,
- /// App ids must adhere to valid Java package naming requirements.
- ///
- INVALID_APP_ID = 15,
- /// App id can not be set to forked system-defined Android download conversion type.
- ///
- CANNOT_SET_APP_ID = 16,
- /// The user attempted to set category which is not applicable to provided
- /// conversion type.
- ///
- INVALID_CATEGORY = 39,
- /// The user entered an invalid background color. The background color must be a
- /// valid HTML hex color code, such as "99ccff".
- ///
- INVALID_COLOR = 17,
- /// The date range specified in the stats selector is invalid.
- ///
- INVALID_DATE_RANGE = 18,
- /// The email address of the sender or the recipient of a snippet email was invalid.
- ///
- INVALID_EMAIL_ADDRESS = 19,
- /// Editing the settings for the system-wide default conversion trackers is not
- /// permitted in AdWords API.
- ///
- INVALID_ORIGINAL_CONVERSION_TYPE_ID = 20,
- /// The AppPlatform and AppConversionType must be set at the same time. It is an
- /// error to set just one or the other.
- ///
- MUST_SET_APP_PLATFORM_AND_APP_CONVERSION_TYPE_TOGETHER = 21,
- /// The user attempted to create a new conversion type, or to rename an existing
- /// conversion type, whose new name matches one of the other conversion types for
- /// his account.
- ///
- NAME_ALREADY_EXISTS = 22,
- /// The user asked to send a notification email, but specified no recipients.
- ///
- NO_RECIPIENTS = 23,
- /// The requested conversion type has no snippet, and thus its snippet email cannot
- /// be sent.
- ///
- NO_SNIPPET = 24,
- /// The requested date range contains too many webpages to be processed.
- ///
- TOO_MANY_WEBPAGES = 25,
- /// An unknown sorting type was specified in the selector.
- ///
- UNKNOWN_SORTING_TYPE = 26,
- /// AppConversionType cannot be set to DOWNLOAD when AppPlatform is ITUNES.
- ///
- UNSUPPORTED_APP_CONVERSION_TYPE = 27,
- }
-
-
- /// Errors returned when App Postback Url is invalid.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class AppPostbackUrlError : ApiError
- {
- private AppPostbackUrlErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public AppPostbackUrlErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "AppPostbackUrlError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum AppPostbackUrlErrorReason
- {
- /// Invalid Url format.
- ///
- INVALID_URL_FORMAT = 0,
- /// Invalid domain.
- ///
- INVALID_DOMAIN = 1,
- /// Some of the required macros were not found.
- ///
- REQUIRED_MACRO_NOT_FOUND = 2,
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ServiceModel.ServiceContractAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", ConfigurationName = "Google.Api.Ads.AdWords.v201806.ConversionTrackerServiceInterface")]
- public interface ConversionTrackerServiceInterface
- {
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [System.ServiceModel.FaultContractAttribute(typeof(Google.Api.Ads.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Google.Api.Ads.AdWords.v201806.ConversionTrackerPage get(Google.Api.Ads.AdWords.v201806.Selector serviceSelector);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- System.Threading.Tasks.Task getAsync(Google.Api.Ads.AdWords.v201806.Selector serviceSelector);
-
- // CODEGEN: Parameter 'operations' 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.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Wrappers.ConversionTrackerService.mutateResponse mutate(Wrappers.ConversionTrackerService.mutateRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- System.Threading.Tasks.Task mutateAsync(Wrappers.ConversionTrackerService.mutateRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [System.ServiceModel.FaultContractAttribute(typeof(Google.Api.Ads.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Google.Api.Ads.AdWords.v201806.ConversionTrackerPage query([System.ServiceModel.MessageParameterAttribute(Name = "query")] string query1);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- System.Threading.Tasks.Task queryAsync(string query);
- }
-
-
- /// Operations for conversion tracker.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class ConversionTrackerOperation : Operation
- {
- private ConversionTracker operandField;
-
- /// This field is required and should not be
- /// null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public ConversionTracker operand
- {
- get
- {
- return this.operandField;
- }
- set
- {
- this.operandField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Operation.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Operation.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Operation.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// A container for return values from the ConversionTrackerService.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class ConversionTrackerReturnValue : ListReturnValue
- {
- private ConversionTracker[] valueField;
-
- [System.Xml.Serialization.XmlElementAttribute("value", Order = 0)]
- public ConversionTracker[] value
- {
- get
- {
- return this.valueField;
- }
- set
- {
- this.valueField = value;
- }
- }
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public interface ConversionTrackerServiceInterfaceChannel : Google.Api.Ads.AdWords.v201806.ConversionTrackerServiceInterface, System.ServiceModel.IClientChannel
- {
- }
-
-
- /// Use this service to manage conversion trackers. A conversion tracker provides a
- /// snippet of code which records every time a user visits a page that contains it.
- /// The data this provides can be used to gauge the effectiveness of your ads and
- /// keywords.
- ///
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class ConversionTrackerService : AdWordsSoapClient, IConversionTrackerService
- {
- /// Creates a new instance of the
- /// class.
- public ConversionTrackerService()
- {
- }
-
- /// Creates a new instance of the
- /// class.
- public ConversionTrackerService(string endpointConfigurationName)
- : base(endpointConfigurationName)
- {
- }
-
- /// Creates a new instance of the
- /// class.
- public ConversionTrackerService(string endpointConfigurationName, string remoteAddress)
- : base(endpointConfigurationName, remoteAddress)
- {
- }
-
- /// Creates a new instance of the
- /// class.
- public ConversionTrackerService(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress)
- : base(endpointConfigurationName, remoteAddress)
- {
- }
-
- /// Creates a new instance of the
- /// class.
- public ConversionTrackerService(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)
- : base(binding, remoteAddress)
- {
- }
-
- /// Returns a list of the conversion trackers that match the selector. The actual
- /// objects contained in the page's list of entries will be specific subclasses of
- /// the abstract ConversionTracker class.
- /// The selector specifying the ConversionTrackers to return.
- /// List of conversion trackers specified by the selector.
- /// if problems occurred while retrieving
- /// results.
- public virtual Google.Api.Ads.AdWords.v201806.ConversionTrackerPage get(Google.Api.Ads.AdWords.v201806.Selector serviceSelector)
- {
- return base.Channel.get(serviceSelector);
- }
-
- public virtual System.Threading.Tasks.Task getAsync(Google.Api.Ads.AdWords.v201806.Selector serviceSelector)
- {
- return base.Channel.getAsync(serviceSelector);
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- Wrappers.ConversionTrackerService.mutateResponse Google.Api.Ads.AdWords.v201806.ConversionTrackerServiceInterface.mutate(Wrappers.ConversionTrackerService.mutateRequest request)
- {
- return base.Channel.mutate(request);
- }
-
- /// Applies the list of mutate operations such as adding or updating conversion
- /// trackers.
Note:ConversionTrackerOperation does not
- /// support the REMOVE operator. In order to 'disable' a conversion
- /// type, send a SET operation for the conversion tracker with the
- /// status property set to DISABLED
You can mutate
- /// any ConversionTracker that belongs to your account. You may not mutate a
- /// ConversionTracker that belongs to some other account. You may not directly
- /// mutate a system-defined ConversionTracker, but you can create a mutable copy of
- /// it in your account by sending a mutate request with an ADD operation specifying
- /// an originalConversionTypeId matching a system-defined conversion tracker's ID.
- /// That new ADDed ConversionTracker will inherit the statistics and properties of
- /// the system-defined type, but will be editable as usual.
- /// A list of mutate operations to perform.
- /// The list of the conversion trackers as they appear after mutation, in
- /// the same order as they appeared in the list of operations.
- /// if problems occurred while updating the
- /// data.
- public virtual Google.Api.Ads.AdWords.v201806.ConversionTrackerReturnValue mutate(Google.Api.Ads.AdWords.v201806.ConversionTrackerOperation[] operations)
- {
- Wrappers.ConversionTrackerService.mutateRequest inValue = new Wrappers.ConversionTrackerService.mutateRequest();
- inValue.operations = operations;
- Wrappers.ConversionTrackerService.mutateResponse retVal = ((Google.Api.Ads.AdWords.v201806.ConversionTrackerServiceInterface) (this)).mutate(inValue);
- return retVal.rval;
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- System.Threading.Tasks.Task Google.Api.Ads.AdWords.v201806.ConversionTrackerServiceInterface.mutateAsync(Wrappers.ConversionTrackerService.mutateRequest request)
- {
- return base.Channel.mutateAsync(request);
- }
-
- public virtual System.Threading.Tasks.Task mutateAsync(Google.Api.Ads.AdWords.v201806.ConversionTrackerOperation[] operations)
- {
- Wrappers.ConversionTrackerService.mutateRequest inValue = new Wrappers.ConversionTrackerService.mutateRequest();
- inValue.operations = operations;
- return System.Threading.Tasks.Task.Factory.StartNew(() => (((Google.Api.Ads.AdWords.v201806.ConversionTrackerServiceInterface) (this)).mutateAsync(inValue)).Result.rval);
- }
-
- /// Returns a list of conversion trackers that match the query.
- /// The SQL-like AWQL query string.
- /// A list of conversion trackers.
- /// if problems occur while parsing the query
- /// or fetching conversion trackers.
- public virtual Google.Api.Ads.AdWords.v201806.ConversionTrackerPage query(string query1)
- {
- return base.Channel.query(query1);
- }
-
- public virtual System.Threading.Tasks.Task queryAsync(string query)
- {
- return base.Channel.queryAsync(query);
- }
- }
- namespace Wrappers.CustomerNegativeCriterionService
- {
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "mutate", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class mutateRequest
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- [System.Xml.Serialization.XmlElementAttribute("operations")]
- public Google.Api.Ads.AdWords.v201806.CustomerNegativeCriterionOperation[] operations;
-
- /// Creates a new instance of the class.
- ///
- public mutateRequest()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public mutateRequest(Google.Api.Ads.AdWords.v201806.CustomerNegativeCriterionOperation[] operations)
- {
- this.operations = operations;
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "mutateResponse", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class mutateResponse
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- public Google.Api.Ads.AdWords.v201806.CustomerNegativeCriterionReturnValue rval;
-
- /// Creates a new instance of the class.
- ///
- public mutateResponse()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public mutateResponse(Google.Api.Ads.AdWords.v201806.CustomerNegativeCriterionReturnValue rval)
- {
- this.rval = rval;
- }
- }
- }
- /// Represents a criterion exclusion on a customer.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CustomerNegativeCriterion
- {
- private Criterion criterionField;
-
- /// This field is required and should not be
- /// null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public Criterion criterion
- {
- get
- {
- return this.criterionField;
- }
- set
- {
- this.criterionField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Contains a list of customer level criteria exclusions filtered and sorted as
- /// specified in the CustomerExclusionCriterionService#get
- /// call
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CustomerNegativeCriterionPage : Page
- {
- private CustomerNegativeCriterion[] entriesField;
-
- /// The result entries in this page
- ///
- [System.Xml.Serialization.XmlElementAttribute("entries", Order = 0)]
- public CustomerNegativeCriterion[] entries
- {
- get
- {
- return this.entriesField;
- }
- set
- {
- this.entriesField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Page.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Page.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Page.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Represents error codes for the CustomerExclusionCriterionService.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CustomerNegativeCriterionError : ApiError
- {
- private CustomerNegativeCriterionErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public CustomerNegativeCriterionErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
- }
-
-
- /// Error reasons
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "CustomerNegativeCriterionError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum CustomerNegativeCriterionErrorReason
- {
- INVALID_CRITERION_TYPE = 0,
- /// Cannot create a criterion with a deleted SharedSet.
- ///
- SHARED_SET_IS_DELETED = 1,
- /// Cannot create a criterion with an invalid SharedSetType.
- ///
- INVALID_SHARED_SET_TYPE = 2,
- PLACEMENT_LIST_TYPE_ONLY_ALLOWED_FOR_XBID = 3,
- /// Manager customer is not allowed to add customer exclusion criteria.
- ///
- MANAGER_CUSTOMER_CANNOT_ADD = 4,
- CUSTOMER_EXCLUSION_CRITERION_ERROR = 5,
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ServiceModel.ServiceContractAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", ConfigurationName = "Google.Api.Ads.AdWords.v201806.CustomerNegativeCriterionServiceInterface")]
- public interface CustomerNegativeCriterionServiceInterface
- {
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [System.ServiceModel.FaultContractAttribute(typeof(Google.Api.Ads.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Google.Api.Ads.AdWords.v201806.CustomerNegativeCriterionPage get(Google.Api.Ads.AdWords.v201806.Selector selector);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- System.Threading.Tasks.Task getAsync(Google.Api.Ads.AdWords.v201806.Selector selector);
-
- // CODEGEN: Parameter 'operations' 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.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Wrappers.CustomerNegativeCriterionService.mutateResponse mutate(Wrappers.CustomerNegativeCriterionService.mutateRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- System.Threading.Tasks.Task mutateAsync(Wrappers.CustomerNegativeCriterionService.mutateRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [System.ServiceModel.FaultContractAttribute(typeof(Google.Api.Ads.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Google.Api.Ads.AdWords.v201806.CustomerNegativeCriterionPage query([System.ServiceModel.MessageParameterAttribute(Name = "query")] string query1);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- System.Threading.Tasks.Task queryAsync(string query);
- }
-
-
- /// Operation for adding/removing a criterion associated to a customer.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CustomerNegativeCriterionOperation : Operation
- {
- private CustomerNegativeCriterion operandField;
-
- /// This field is required and should not be
- /// null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public CustomerNegativeCriterion operand
- {
- get
- {
- return this.operandField;
- }
- set
- {
- this.operandField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Operation.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Operation.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Operation.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Container for the return value from the CustomerExclusionCriterionService mutate
- /// calls.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CustomerNegativeCriterionReturnValue : ListReturnValue
- {
- private CustomerNegativeCriterion[] valueField;
-
- [System.Xml.Serialization.XmlElementAttribute("value", Order = 0)]
- public CustomerNegativeCriterion[] value
- {
- get
- {
- return this.valueField;
- }
- set
- {
- this.valueField = value;
- }
- }
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public interface CustomerNegativeCriterionServiceInterfaceChannel : Google.Api.Ads.AdWords.v201806.CustomerNegativeCriterionServiceInterface, System.ServiceModel.IClientChannel
- {
- }
-
-
- /// Manages criteria negatives for customer.
- ///
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class CustomerNegativeCriterionService : AdWordsSoapClient, ICustomerNegativeCriterionService
- {
- /// Creates a new instance of the class.
- public CustomerNegativeCriterionService()
- {
- }
-
- /// Creates a new instance of the class.
- public CustomerNegativeCriterionService(string endpointConfigurationName)
- : base(endpointConfigurationName)
- {
- }
-
- /// Creates a new instance of the class.
- public CustomerNegativeCriterionService(string endpointConfigurationName, string remoteAddress)
- : base(endpointConfigurationName, remoteAddress)
- {
- }
-
- /// Creates a new instance of the class.
- public CustomerNegativeCriterionService(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress)
- : base(endpointConfigurationName, remoteAddress)
- {
- }
-
- /// Creates a new instance of the class.
- public CustomerNegativeCriterionService(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)
- : base(binding, remoteAddress)
- {
- }
-
- /// Returns a list of CustomerNegativeCriterion that meets the selector criteria
- /// filters the criteria returned
- /// The list of CustomerNegativeCriterion
- /// AdWordsApiException
- public virtual Google.Api.Ads.AdWords.v201806.CustomerNegativeCriterionPage get(Google.Api.Ads.AdWords.v201806.Selector selector)
- {
- return base.Channel.get(selector);
- }
-
- public virtual System.Threading.Tasks.Task getAsync(Google.Api.Ads.AdWords.v201806.Selector selector)
- {
- return base.Channel.getAsync(selector);
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- Wrappers.CustomerNegativeCriterionService.mutateResponse Google.Api.Ads.AdWords.v201806.CustomerNegativeCriterionServiceInterface.mutate(Wrappers.CustomerNegativeCriterionService.mutateRequest request)
- {
- return base.Channel.mutate(request);
- }
-
- /// Adds, removes negative criteria for a customer. These negative criteria apply to
- /// all campaigns of the customer.
- /// A list of operations to apply
- /// AdWordsApiException
- public virtual Google.Api.Ads.AdWords.v201806.CustomerNegativeCriterionReturnValue mutate(Google.Api.Ads.AdWords.v201806.CustomerNegativeCriterionOperation[] operations)
- {
- Wrappers.CustomerNegativeCriterionService.mutateRequest inValue = new Wrappers.CustomerNegativeCriterionService.mutateRequest();
- inValue.operations = operations;
- Wrappers.CustomerNegativeCriterionService.mutateResponse retVal = ((Google.Api.Ads.AdWords.v201806.CustomerNegativeCriterionServiceInterface) (this)).mutate(inValue);
- return retVal.rval;
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- System.Threading.Tasks.Task Google.Api.Ads.AdWords.v201806.CustomerNegativeCriterionServiceInterface.mutateAsync(Wrappers.CustomerNegativeCriterionService.mutateRequest request)
- {
- return base.Channel.mutateAsync(request);
- }
-
- public virtual System.Threading.Tasks.Task mutateAsync(Google.Api.Ads.AdWords.v201806.CustomerNegativeCriterionOperation[] operations)
- {
- Wrappers.CustomerNegativeCriterionService.mutateRequest inValue = new Wrappers.CustomerNegativeCriterionService.mutateRequest();
- inValue.operations = operations;
- return System.Threading.Tasks.Task.Factory.StartNew(() => (((Google.Api.Ads.AdWords.v201806.CustomerNegativeCriterionServiceInterface) (this)).mutateAsync(inValue)).Result.rval);
- }
-
- /// Returns the list of CustomerNegativeCriterion that match the query.
- /// The SQL-like AWQL query string.
- /// A list of CustomerNegativeCriterion.
- /// AdWordsApiException
- public virtual Google.Api.Ads.AdWords.v201806.CustomerNegativeCriterionPage query(string query1)
- {
- return base.Channel.query(query1);
- }
-
- public virtual System.Threading.Tasks.Task queryAsync(string query)
- {
- return base.Channel.queryAsync(query);
- }
- }
- namespace Wrappers.CustomerService
- {
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "getCustomers", WrapperNamespace = "https://adwords.google.com/api/adwords/mcm/v201806", IsWrapped = true)]
- public partial class getCustomersRequest
- {
- /// Creates a new instance of the class.
- ///
- public getCustomersRequest()
- {
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "getCustomersResponse", WrapperNamespace = "https://adwords.google.com/api/adwords/mcm/v201806", IsWrapped = true)]
- public partial class getCustomersResponse
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/mcm/v201806", Order = 0)]
- [System.Xml.Serialization.XmlElementAttribute("rval")]
- public Google.Api.Ads.AdWords.v201806.Customer[] rval;
-
- /// Creates a new instance of the
- /// class.
- public getCustomersResponse()
- {
- }
-
- /// Creates a new instance of the
- /// class.
- public getCustomersResponse(Google.Api.Ads.AdWords.v201806.Customer[] rval)
- {
- this.rval = rval;
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "getServiceLinks", WrapperNamespace = "https://adwords.google.com/api/adwords/mcm/v201806", IsWrapped = true)]
- public partial class getServiceLinksRequest
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/mcm/v201806", Order = 0)]
- public Google.Api.Ads.AdWords.v201806.Selector selector;
-
- /// Creates a new instance of the
- /// class.
- public getServiceLinksRequest()
- {
- }
-
- /// Creates a new instance of the
- /// class.
- public getServiceLinksRequest(Google.Api.Ads.AdWords.v201806.Selector selector)
- {
- this.selector = selector;
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "getServiceLinksResponse", WrapperNamespace = "https://adwords.google.com/api/adwords/mcm/v201806", IsWrapped = true)]
- public partial class getServiceLinksResponse
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/mcm/v201806", Order = 0)]
- [System.Xml.Serialization.XmlElementAttribute("rval")]
- public Google.Api.Ads.AdWords.v201806.ServiceLink[] rval;
-
- /// Creates a new instance of the
- /// class.
- public getServiceLinksResponse()
- {
- }
-
- /// Creates a new instance of the
- /// class.
- public getServiceLinksResponse(Google.Api.Ads.AdWords.v201806.ServiceLink[] rval)
- {
- this.rval = rval;
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "mutateServiceLinks", WrapperNamespace = "https://adwords.google.com/api/adwords/mcm/v201806", IsWrapped = true)]
- public partial class mutateServiceLinksRequest
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/mcm/v201806", Order = 0)]
- [System.Xml.Serialization.XmlElementAttribute("operations")]
- public Google.Api.Ads.AdWords.v201806.ServiceLinkOperation[] operations;
-
- /// Creates a new instance of the
- /// class.
- public mutateServiceLinksRequest()
- {
- }
-
- /// Creates a new instance of the
- /// class.
- public mutateServiceLinksRequest(Google.Api.Ads.AdWords.v201806.ServiceLinkOperation[] operations)
- {
- this.operations = operations;
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "mutateServiceLinksResponse", WrapperNamespace = "https://adwords.google.com/api/adwords/mcm/v201806", IsWrapped = true)]
- public partial class mutateServiceLinksResponse
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/mcm/v201806", Order = 0)]
- [System.Xml.Serialization.XmlElementAttribute("rval")]
- public Google.Api.Ads.AdWords.v201806.ServiceLink[] rval;
-
- /// Creates a new instance of the
- /// class.
- public mutateServiceLinksResponse()
- {
- }
-
- /// Creates a new instance of the
- /// class.
- public mutateServiceLinksResponse(Google.Api.Ads.AdWords.v201806.ServiceLink[] rval)
- {
- this.rval = rval;
- }
- }
- }
- /// Customer-wide settings related to AdWords remarketing.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/mcm/v201806")]
- public partial class RemarketingSettings
- {
- private string snippetField;
-
- private string googleGlobalSiteTagField;
-
- /// The Adwords remarketing tag snippet for the customer. This field is read only and will be ignored when sent to the
- /// API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public string snippet
- {
- get
- {
- return this.snippetField;
- }
- set
- {
- this.snippetField = value;
- }
- }
-
- /// The google one global site tag for the customer. This field is read only and will be ignored when sent to the
- /// API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public string googleGlobalSiteTag
- {
- get
- {
- return this.googleGlobalSiteTagField;
- }
- set
- {
- this.googleGlobalSiteTagField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// A collection of customer-wide settings related to AdWords Conversion Tracking.
- /// Settings that apply at the conversion type level can be accessed and modified
- /// though .
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/mcm/v201806")]
- public partial class ConversionTrackingSettings
- {
- private long effectiveConversionTrackingIdField;
-
- private bool effectiveConversionTrackingIdFieldSpecified;
-
- private bool usesCrossAccountConversionTrackingField;
-
- private bool usesCrossAccountConversionTrackingFieldSpecified;
-
- /// With Cross-Account Conversion Tracking, a manager can share its conversion
- /// tracking ID among the clients it manages. If a customer is using a manager's
- /// conversion tracking ID we store it as the customer's effective conversion
- /// tracking ID.
This is the conversion tracking ID used for this customer. If
- /// this is 0, the customer is not using conversion tracking. If the customer is
- /// using cross-account conversion tracking, this conversion tracking ID has been
- /// shared from the manager's account. Otherwise, for a customer who is not using
- /// cross-account conversion tracking, this is the customer's own conversion
- /// tracking ID. This field is read only and will
- /// be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long effectiveConversionTrackingId
- {
- get
- {
- return this.effectiveConversionTrackingIdField;
- }
- set
- {
- this.effectiveConversionTrackingIdField = value;
- this.effectiveConversionTrackingIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- ///
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool effectiveConversionTrackingIdSpecified
- {
- get
- {
- return this.effectiveConversionTrackingIdFieldSpecified;
- }
- set
- {
- this.effectiveConversionTrackingIdFieldSpecified = value;
- }
- }
-
- /// True if a customer is using cross-account conversion tracking. False if the
- /// customer is not using conversion tracking, or if the customer is using his own
- /// conversion tracking ID. This field is read
- /// only and will be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public bool usesCrossAccountConversionTracking
- {
- get
- {
- return this.usesCrossAccountConversionTrackingField;
- }
- set
- {
- this.usesCrossAccountConversionTrackingField = value;
- this.usesCrossAccountConversionTrackingSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- ///
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool usesCrossAccountConversionTrackingSpecified
- {
- get
- {
- return this.usesCrossAccountConversionTrackingFieldSpecified;
- }
- set
- {
- this.usesCrossAccountConversionTrackingFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Represents a customer for the CustomerService.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/mcm/v201806")]
- public partial class Customer
- {
- private long customerIdField;
-
- private bool customerIdFieldSpecified;
-
- private string currencyCodeField;
-
- private string dateTimeZoneField;
-
- private string descriptiveNameField;
-
- private bool canManageClientsField;
-
- private bool canManageClientsFieldSpecified;
-
- private bool testAccountField;
-
- private bool testAccountFieldSpecified;
-
- private bool autoTaggingEnabledField;
-
- private bool autoTaggingEnabledFieldSpecified;
-
- private string trackingUrlTemplateField;
-
- private string finalUrlSuffixField;
-
- private bool parallelTrackingEnabledField;
-
- private bool parallelTrackingEnabledFieldSpecified;
-
- private ConversionTrackingSettings conversionTrackingSettingsField;
-
- private RemarketingSettings remarketingSettingsField;
-
- /// The 10-digit AdWords Customer ID. This field
- /// is read only and will be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long customerId
- {
- get
- {
- return this.customerIdField;
- }
- set
- {
- this.customerIdField = value;
- this.customerIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool customerIdSpecified
- {
- get
- {
- return this.customerIdFieldSpecified;
- }
- set
- {
- this.customerIdFieldSpecified = value;
- }
- }
-
- /// The currency in which this account operates. We support a subset of the currency
- /// codes derived from the ISO 4217 standard. See
- /// Currency Codes for the currently supported currencies. This field is read only and will be ignored when
- /// sent to the API.The length of this
- /// string should be between 3 and 3, inclusive.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public string currencyCode
- {
- get
- {
- return this.currencyCodeField;
- }
- set
- {
- this.currencyCodeField = value;
- }
- }
-
- /// The local timezone ID for this customer. See Time
- /// Zone Codes for the currently supported list. This field is read only and will be ignored when sent to the
- /// API.This string must not be
- /// empty.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public string dateTimeZone
- {
- get
- {
- return this.dateTimeZoneField;
- }
- set
- {
- this.dateTimeZoneField = value;
- }
- }
-
- /// An optional, non-unique descriptive name for this customer. This field is read only and will be ignored when
- /// sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public string descriptiveName
- {
- get
- {
- return this.descriptiveNameField;
- }
- set
- {
- this.descriptiveNameField = value;
- }
- }
-
- /// Whether this customer can manage other AdWords customers This field is read only and will be ignored when sent to the
- /// API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 4)]
- public bool canManageClients
- {
- get
- {
- return this.canManageClientsField;
- }
- set
- {
- this.canManageClientsField = value;
- this.canManageClientsSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool canManageClientsSpecified
- {
- get
- {
- return this.canManageClientsFieldSpecified;
- }
- set
- {
- this.canManageClientsFieldSpecified = value;
- }
- }
-
- /// Whether this customer's account is a test account. This field is read only and will be ignored when sent to the
- /// API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 5)]
- public bool testAccount
- {
- get
- {
- return this.testAccountField;
- }
- set
- {
- this.testAccountField = value;
- this.testAccountSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool testAccountSpecified
- {
- get
- {
- return this.testAccountFieldSpecified;
- }
- set
- {
- this.testAccountFieldSpecified = value;
- }
- }
-
- /// Whether auto-tagging is enabled for this customer.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 6)]
- public bool autoTaggingEnabled
- {
- get
- {
- return this.autoTaggingEnabledField;
- }
- set
- {
- this.autoTaggingEnabledField = value;
- this.autoTaggingEnabledSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool autoTaggingEnabledSpecified
- {
- get
- {
- return this.autoTaggingEnabledFieldSpecified;
- }
- set
- {
- this.autoTaggingEnabledFieldSpecified = value;
- }
- }
-
- /// URL template for constructing a tracking URL.
On update, empty string ("")
- /// indicates to clear the field.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 7)]
- public string trackingUrlTemplate
- {
- get
- {
- return this.trackingUrlTemplateField;
- }
- set
- {
- this.trackingUrlTemplateField = value;
- }
- }
-
- /// URL template for appending params to Final URL.
On update, empty string ("")
- /// indicates to clear the field.
This field is supported only in test
- /// accounts.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 8)]
- public string finalUrlSuffix
- {
- get
- {
- return this.finalUrlSuffixField;
- }
- set
- {
- this.finalUrlSuffixField = value;
- }
- }
-
- /// Whether parallel tracking is enabled for this customer.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 9)]
- public bool parallelTrackingEnabled
- {
- get
- {
- return this.parallelTrackingEnabledField;
- }
- set
- {
- this.parallelTrackingEnabledField = value;
- this.parallelTrackingEnabledSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool parallelTrackingEnabledSpecified
- {
- get
- {
- return this.parallelTrackingEnabledFieldSpecified;
- }
- set
- {
- this.parallelTrackingEnabledFieldSpecified = value;
- }
- }
-
- /// Customer-level AdWords Conversion Tracking settings
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 10)]
- public ConversionTrackingSettings conversionTrackingSettings
- {
- get
- {
- return this.conversionTrackingSettingsField;
- }
- set
- {
- this.conversionTrackingSettingsField = value;
- }
- }
-
- /// Customer-level AdWords Remarketing settings This field is read only and will be ignored when sent to the
- /// API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 11)]
- public RemarketingSettings remarketingSettings
- {
- get
- {
- return this.remarketingSettingsField;
- }
- set
- {
- this.remarketingSettingsField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Possible error codes in CustomerService.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/mcm/v201806")]
- public partial class CustomerError : ApiError
- {
- private CustomerErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public CustomerErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
- }
-
-
- /// The ApiErrorReason for a CustomerError.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "CustomerError.Reason", Namespace = "https://adwords.google.com/api/adwords/mcm/v201806")]
- public enum CustomerErrorReason
- {
- /// Referenced service link does not exist
- ///
- INVALID_SERVICE_LINK = 2,
- /// An ACTIVE link cannot be made PENDING
- ///
- INVALID_STATUS = 3,
- /// CustomerService cannot get an account that
- /// is not fully set up.
- ///
- ACCOUNT_NOT_SET_UP = 1,
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ServiceModel.ServiceContractAttribute(Namespace = "https://adwords.google.com/api/adwords/mcm/v201806", ConfigurationName = "Google.Api.Ads.AdWords.v201806.CustomerServiceInterface")]
- public interface CustomerServiceInterface
- {
- // 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.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Wrappers.CustomerService.getCustomersResponse getCustomers(Wrappers.CustomerService.getCustomersRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- System.Threading.Tasks.Task getCustomersAsync(Wrappers.CustomerService.getCustomersRequest request);
-
- // 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.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Wrappers.CustomerService.getServiceLinksResponse getServiceLinks(Wrappers.CustomerService.getServiceLinksRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- System.Threading.Tasks.Task getServiceLinksAsync(Wrappers.CustomerService.getServiceLinksRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [System.ServiceModel.FaultContractAttribute(typeof(Google.Api.Ads.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Google.Api.Ads.AdWords.v201806.Customer mutate(Google.Api.Ads.AdWords.v201806.Customer customer);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- System.Threading.Tasks.Task mutateAsync(Google.Api.Ads.AdWords.v201806.Customer customer);
-
- // 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.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Wrappers.CustomerService.mutateServiceLinksResponse mutateServiceLinks(Wrappers.CustomerService.mutateServiceLinksRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- System.Threading.Tasks.Task mutateServiceLinksAsync(Wrappers.CustomerService.mutateServiceLinksRequest request);
- }
-
-
- /// A data-sharing connection between an AdWords customer and another Google
- /// service.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/mcm/v201806")]
- public partial class ServiceLink
- {
- private ServiceType serviceTypeField;
-
- private bool serviceTypeFieldSpecified;
-
- private long serviceLinkIdField;
-
- private bool serviceLinkIdFieldSpecified;
-
- private ServiceLinkLinkStatus linkStatusField;
-
- private bool linkStatusFieldSpecified;
-
- private string nameField;
-
- /// The service being linked. This field can be
- /// filtered on using the value "ServiceType".This field is required and should not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public ServiceType serviceType
- {
- get
- {
- return this.serviceTypeField;
- }
- set
- {
- this.serviceTypeField = value;
- this.serviceTypeSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool serviceTypeSpecified
- {
- get
- {
- return this.serviceTypeFieldSpecified;
- }
- set
- {
- this.serviceTypeFieldSpecified = value;
- }
- }
-
- /// An ID uniquely identifying this link within a given serviceType. This field
- /// is required and should not be null when it is contained within Operators : SET, REMOVE.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public long serviceLinkId
- {
- get
- {
- return this.serviceLinkIdField;
- }
- set
- {
- this.serviceLinkIdField = value;
- this.serviceLinkIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool serviceLinkIdSpecified
- {
- get
- {
- return this.serviceLinkIdFieldSpecified;
- }
- set
- {
- this.serviceLinkIdFieldSpecified = value;
- }
- }
-
- /// Status of the link. This field is required and
- /// should not be null when it is contained within Operators : SET.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public ServiceLinkLinkStatus linkStatus
- {
- get
- {
- return this.linkStatusField;
- }
- set
- {
- this.linkStatusField = value;
- this.linkStatusSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool linkStatusSpecified
- {
- get
- {
- return this.linkStatusFieldSpecified;
- }
- set
- {
- this.linkStatusFieldSpecified = value;
- }
- }
-
- /// An identifier for the service account to which the AdWords account is linked.
- /// This field is read only and will be ignored
- /// when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public string name
- {
- get
- {
- return this.nameField;
- }
- set
- {
- this.nameField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field ServiceType = new Field("ServiceType", true, false);
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field ServiceType = Fields.ServiceType;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field ServiceType = Fields.ServiceType;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Services whose links to AdWords accounts are visible in CustomerServicee
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/mcm/v201806")]
- public enum ServiceType
- {
- /// Data from Google Merchant Center accounts can be linked for use in shopping
- /// campaigns. For more information, visit this Help Center
- /// article.
- ///
- MERCHANT_CENTER = 0,
- /// Used for return value only. An enumeration
- /// could not be processed, typically due to incompatibility with your WSDL
- /// version.
- ///
- UNKNOWN = 1,
- }
-
-
- /// Status of the link
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "ServiceLink.LinkStatus", Namespace = "https://adwords.google.com/api/adwords/mcm/v201806")]
- public enum ServiceLinkLinkStatus
- {
- /// Link is enabled and data sharing is allowed.
- ///
- ACTIVE = 0,
- /// Link was requested from the other service and is awaiting approval. To approve
- /// the link, change the status to ACTIVE via a SET
- /// operation.
- ///
- PENDING = 1,
- /// Used for return value only. An enumeration
- /// could not be processed, typically due to incompatibility with your WSDL
- /// version.
- ///
- UNKNOWN = 2,
- }
-
-
- /// An operation on an AdWords link. See ServiceType for
- /// information on the various linking types supported.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/mcm/v201806")]
- public partial class ServiceLinkOperation : Operation
- {
- private ServiceLink operandField;
-
- /// This field is required and should not be
- /// null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public ServiceLink operand
- {
- get
- {
- return this.operandField;
- }
- set
- {
- this.operandField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Operation.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Operation.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Operation.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public interface CustomerServiceInterfaceChannel : Google.Api.Ads.AdWords.v201806.CustomerServiceInterface, System.ServiceModel.IClientChannel
- {
- }
-
-
- /// Service to access basic details about any customer.
- ///
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class CustomerService : AdWordsSoapClient, ICustomerService
- {
- /// Creates a new instance of the class.
- ///
- public CustomerService()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public CustomerService(string endpointConfigurationName)
- : base(endpointConfigurationName)
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public CustomerService(string endpointConfigurationName, string remoteAddress)
- : base(endpointConfigurationName, remoteAddress)
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public CustomerService(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress)
- : base(endpointConfigurationName, remoteAddress)
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public CustomerService(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)
- : base(binding, remoteAddress)
- {
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- Wrappers.CustomerService.getCustomersResponse Google.Api.Ads.AdWords.v201806.CustomerServiceInterface.getCustomers(Wrappers.CustomerService.getCustomersRequest request)
- {
- return base.Channel.getCustomers(request);
- }
-
- /// Returns details of all the customers directly accessible by the user
- /// authenticating the call.
Note: This method will return only test accounts if
- /// the developer token used has not been approved.
Starting with v201607, if
- /// clientCustomerId is specified in the request header, only details
- /// of that customer will be returned. To do this for prior versions, use the
- /// get() method instead.
- ///
- public virtual Google.Api.Ads.AdWords.v201806.Customer[] getCustomers()
- {
- Wrappers.CustomerService.getCustomersRequest inValue = new Wrappers.CustomerService.getCustomersRequest();
- Wrappers.CustomerService.getCustomersResponse retVal = ((Google.Api.Ads.AdWords.v201806.CustomerServiceInterface) (this)).getCustomers(inValue);
- return retVal.rval;
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- System.Threading.Tasks.Task Google.Api.Ads.AdWords.v201806.CustomerServiceInterface.getCustomersAsync(Wrappers.CustomerService.getCustomersRequest request)
- {
- return base.Channel.getCustomersAsync(request);
- }
-
- public virtual System.Threading.Tasks.Task getCustomersAsync()
- {
- Wrappers.CustomerService.getCustomersRequest inValue = new Wrappers.CustomerService.getCustomersRequest();
- return System.Threading.Tasks.Task.Factory.StartNew(() => (((Google.Api.Ads.AdWords.v201806.CustomerServiceInterface) (this)).getCustomersAsync(inValue)).Result.rval);
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- Wrappers.CustomerService.getServiceLinksResponse Google.Api.Ads.AdWords.v201806.CustomerServiceInterface.getServiceLinks(Wrappers.CustomerService.getServiceLinksRequest request)
- {
- return base.Channel.getServiceLinks(request);
- }
-
- /// Retrieves the list of service links for the authorized customer. See ServiceType for information on the various linking types
- /// supported.
- /// describing which links to retrieve
- /// AdWordsApiException
- public virtual Google.Api.Ads.AdWords.v201806.ServiceLink[] getServiceLinks(Google.Api.Ads.AdWords.v201806.Selector selector)
- {
- Wrappers.CustomerService.getServiceLinksRequest inValue = new Wrappers.CustomerService.getServiceLinksRequest();
- inValue.selector = selector;
- Wrappers.CustomerService.getServiceLinksResponse retVal = ((Google.Api.Ads.AdWords.v201806.CustomerServiceInterface) (this)).getServiceLinks(inValue);
- return retVal.rval;
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- System.Threading.Tasks.Task Google.Api.Ads.AdWords.v201806.CustomerServiceInterface.getServiceLinksAsync(Wrappers.CustomerService.getServiceLinksRequest request)
- {
- return base.Channel.getServiceLinksAsync(request);
- }
-
- public virtual System.Threading.Tasks.Task getServiceLinksAsync(Google.Api.Ads.AdWords.v201806.Selector selector)
- {
- Wrappers.CustomerService.getServiceLinksRequest inValue = new Wrappers.CustomerService.getServiceLinksRequest();
- inValue.selector = selector;
- return System.Threading.Tasks.Task.Factory.StartNew(() => (((Google.Api.Ads.AdWords.v201806.CustomerServiceInterface) (this)).getServiceLinksAsync(inValue)).Result.rval);
- }
-
- /// Update the authorized customer.
- /// the requested updated value for the customer.
- /// AdWordsApiException
- public virtual Google.Api.Ads.AdWords.v201806.Customer mutate(Google.Api.Ads.AdWords.v201806.Customer customer)
- {
- return base.Channel.mutate(customer);
- }
-
- public virtual System.Threading.Tasks.Task mutateAsync(Google.Api.Ads.AdWords.v201806.Customer customer)
- {
- return base.Channel.mutateAsync(customer);
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- Wrappers.CustomerService.mutateServiceLinksResponse Google.Api.Ads.AdWords.v201806.CustomerServiceInterface.mutateServiceLinks(Wrappers.CustomerService.mutateServiceLinksRequest request)
- {
- return base.Channel.mutateServiceLinks(request);
- }
-
- /// Modifies links to other services for the authorized customer. See ServiceType for information on the various linking types
- /// supported.
- /// to perform
- /// AdWordsApiException
- public virtual Google.Api.Ads.AdWords.v201806.ServiceLink[] mutateServiceLinks(Google.Api.Ads.AdWords.v201806.ServiceLinkOperation[] operations)
- {
- Wrappers.CustomerService.mutateServiceLinksRequest inValue = new Wrappers.CustomerService.mutateServiceLinksRequest();
- inValue.operations = operations;
- Wrappers.CustomerService.mutateServiceLinksResponse retVal = ((Google.Api.Ads.AdWords.v201806.CustomerServiceInterface) (this)).mutateServiceLinks(inValue);
- return retVal.rval;
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- System.Threading.Tasks.Task Google.Api.Ads.AdWords.v201806.CustomerServiceInterface.mutateServiceLinksAsync(Wrappers.CustomerService.mutateServiceLinksRequest request)
- {
- return base.Channel.mutateServiceLinksAsync(request);
- }
-
- public virtual System.Threading.Tasks.Task mutateServiceLinksAsync(Google.Api.Ads.AdWords.v201806.ServiceLinkOperation[] operations)
- {
- Wrappers.CustomerService.mutateServiceLinksRequest inValue = new Wrappers.CustomerService.mutateServiceLinksRequest();
- inValue.operations = operations;
- return System.Threading.Tasks.Task.Factory.StartNew(() => (((Google.Api.Ads.AdWords.v201806.CustomerServiceInterface) (this)).mutateServiceLinksAsync(inValue)).Result.rval);
- }
- }
- namespace Wrappers.AdGroupFeedService
- {
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "mutate", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class mutateRequest
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- [System.Xml.Serialization.XmlElementAttribute("operations")]
- public Google.Api.Ads.AdWords.v201806.AdGroupFeedOperation[] operations;
-
- /// Creates a new instance of the class.
- ///
- public mutateRequest()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public mutateRequest(Google.Api.Ads.AdWords.v201806.AdGroupFeedOperation[] operations)
- {
- this.operations = operations;
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "mutateResponse", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class mutateResponse
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- public Google.Api.Ads.AdWords.v201806.AdGroupFeedReturnValue rval;
-
- /// Creates a new instance of the class.
- ///
- public mutateResponse()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public mutateResponse(Google.Api.Ads.AdWords.v201806.AdGroupFeedReturnValue rval)
- {
- this.rval = rval;
- }
- }
- }
- /// AdGroupFeeds are used to link a feed to an adgroup using a matching function,
- /// making the feed's feed items available in the adgroup's ads for substitution.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class AdGroupFeed
- {
- private long feedIdField;
-
- private bool feedIdFieldSpecified;
-
- private long adGroupIdField;
-
- private bool adGroupIdFieldSpecified;
-
- private Function matchingFunctionField;
-
- private int[] placeholderTypesField;
-
- private AdGroupFeedStatus statusField;
-
- private bool statusFieldSpecified;
-
- private long baseCampaignIdField;
-
- private bool baseCampaignIdFieldSpecified;
-
- private long baseAdGroupIdField;
-
- private bool baseAdGroupIdFieldSpecified;
-
- /// Id of the Feed associated with the AdGroupFeed. This field can be selected using the value "FeedId".This field can be filtered on.This field is required and should not be
- /// null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long feedId
- {
- get
- {
- return this.feedIdField;
- }
- set
- {
- this.feedIdField = value;
- this.feedIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool feedIdSpecified
- {
- get
- {
- return this.feedIdFieldSpecified;
- }
- set
- {
- this.feedIdFieldSpecified = value;
- }
- }
-
- /// Id of the AdGroup associated with the AdGroupFeed. This field can be selected using the value "AdGroupId".This field can be filtered on.This field is required and should not be
- /// null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public long adGroupId
- {
- get
- {
- return this.adGroupIdField;
- }
- set
- {
- this.adGroupIdField = value;
- this.adGroupIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool adGroupIdSpecified
- {
- get
- {
- return this.adGroupIdFieldSpecified;
- }
- set
- {
- this.adGroupIdFieldSpecified = value;
- }
- }
-
- /// Matching function associated with the AdGroupFeed. The matching function will
- /// return true/false indicating which feed items may serve. This field can be selected using the value
- /// "MatchingFunction".This field is
- /// required and should not be null when it is contained within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public Function matchingFunction
- {
- get
- {
- return this.matchingFunctionField;
- }
- set
- {
- this.matchingFunctionField = value;
- }
- }
-
- /// Indicates which placeholder types the feed may populate under the connected
- /// AdGroup. This field can be selected using
- /// the value "PlaceholderTypes".This
- /// field can be filtered on.This field is
- /// required and should not be null when it is contained within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute("placeholderTypes", Order = 3)]
- public int[] placeholderTypes
- {
- get
- {
- return this.placeholderTypesField;
- }
- set
- {
- this.placeholderTypesField = value;
- }
- }
-
- /// Status of the AdGroupFeed. This field can be
- /// selected using the value "Status".This field can be filtered on.This field is read only and will be ignored when sent to the
- /// API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 4)]
- public AdGroupFeedStatus status
- {
- get
- {
- return this.statusField;
- }
- set
- {
- this.statusField = value;
- this.statusSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool statusSpecified
- {
- get
- {
- return this.statusFieldSpecified;
- }
- set
- {
- this.statusFieldSpecified = value;
- }
- }
-
- /// ID of the base campaign from which this draft/trial ad group feed was created.
- /// This field is only returned on get requests. This field can be selected using the value
- /// "BaseCampaignId".This field can be
- /// filtered on.This field is read only
- /// and will be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 5)]
- public long baseCampaignId
- {
- get
- {
- return this.baseCampaignIdField;
- }
- set
- {
- this.baseCampaignIdField = value;
- this.baseCampaignIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool baseCampaignIdSpecified
- {
- get
- {
- return this.baseCampaignIdFieldSpecified;
- }
- set
- {
- this.baseCampaignIdFieldSpecified = value;
- }
- }
-
- /// ID of the base ad group from which this draft/trial ad group feed was created.
- /// For base ad groups this is equal to the ad group ID. If the ad group was created
- /// in the draft or trial and has no corresponding base ad group, this field is
- /// null. This field is only returned on get requests. This field can be selected using the value
- /// "BaseAdGroupId".This field can be
- /// filtered on.This field is read only
- /// and will be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 6)]
- public long baseAdGroupId
- {
- get
- {
- return this.baseAdGroupIdField;
- }
- set
- {
- this.baseAdGroupIdField = value;
- this.baseAdGroupIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool baseAdGroupIdSpecified
- {
- get
- {
- return this.baseAdGroupIdFieldSpecified;
- }
- set
- {
- this.baseAdGroupIdFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field FeedId = new Field("FeedId", true, true);
-
- public static readonly Field AdGroupId = new Field("AdGroupId", true, true);
-
- public static readonly Field MatchingFunction = new Field("MatchingFunction", false, true);
-
- public static readonly Field PlaceholderTypes = new Field("PlaceholderTypes", true, true);
-
- public static readonly Field Status = new Field("Status", true, true);
-
- public static readonly Field BaseCampaignId = new Field("BaseCampaignId", true, true);
-
- public static readonly Field BaseAdGroupId = new Field("BaseAdGroupId", true, true);
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field FeedId = Fields.FeedId;
-
- public static readonly Field AdGroupId = Fields.AdGroupId;
-
- public static readonly Field MatchingFunction = Fields.MatchingFunction;
-
- public static readonly Field PlaceholderTypes = Fields.PlaceholderTypes;
-
- public static readonly Field Status = Fields.Status;
-
- public static readonly Field BaseCampaignId = Fields.BaseCampaignId;
-
- public static readonly Field BaseAdGroupId = Fields.BaseAdGroupId;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field FeedId = Fields.FeedId;
-
- public static readonly Field AdGroupId = Fields.AdGroupId;
-
- public static readonly Field PlaceholderTypes = Fields.PlaceholderTypes;
-
- public static readonly Field Status = Fields.Status;
-
- public static readonly Field BaseCampaignId = Fields.BaseCampaignId;
-
- public static readonly Field BaseAdGroupId = Fields.BaseAdGroupId;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Status of the AdGroupFeed.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "AdGroupFeed.Status", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum AdGroupFeedStatus
- {
- /// This AdGroupFeed's data is currently being used.
- ///
- ENABLED = 0,
- /// This AdGroupFeed's data is not used anymore.
- ///
- REMOVED = 1,
- /// Unknown status. Used for return value only. An
- /// enumeration could not be processed, typically due to incompatibility with your
- /// WSDL version.
- ///
- UNKNOWN = 2,
- }
-
-
- /// The result of a call to AdGroupFeedService#get. Contains a list of associations
- /// between ad groups and feeds.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class AdGroupFeedPage : NullStatsPage
- {
- private AdGroupFeed[] entriesField;
-
- /// The resulting AdGroupFeeds.
- ///
- [System.Xml.Serialization.XmlElementAttribute("entries", Order = 0)]
- public AdGroupFeed[] entries
- {
- get
- {
- return this.entriesField;
- }
- set
- {
- this.entriesField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : NullStatsPage.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : NullStatsPage.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : NullStatsPage.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Represents an error for the AdGroupFeedService.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class AdGroupFeedError : ApiError
- {
- private AdGroupFeedErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// Error reason.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public AdGroupFeedErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Error reasons.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "AdGroupFeedError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum AdGroupFeedErrorReason
- {
- /// An active feed already exists for this adgroup and place holder type.
- ///
- FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE = 0,
- /// The specified id does not exist.
- ///
- INVALID_ID = 1,
- /// The specified feed is deleted.
- ///
- CANNOT_ADD_FOR_DELETED_FEED = 2,
- /// The AdGroupFeed already exists. SET should be used to modify the existing
- /// AdGroupFeed.
- ///
- CANNOT_ADD_ALREADY_EXISTING_ADGROUP_FEED = 3,
- /// Cannot operate on removed adgroup feed.
- ///
- CANNOT_OPERATE_ON_REMOVED_ADGROUP_FEED = 4,
- /// Invalid placeholder type ids.
- ///
- INVALID_PLACEHOLDER_TYPES = 5,
- /// Feed mapping for this placeholder type does not exist.
- ///
- MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE = 6,
- /// Location AdGroupFeeds cannot be created unless there is a location CustomerFeed
- /// for the specified feed.
- ///
- NO_EXISTING_LOCATION_CUSTOMER_FEED = 7,
- UNKNOWN = 8,
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ServiceModel.ServiceContractAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", ConfigurationName = "Google.Api.Ads.AdWords.v201806.AdGroupFeedServiceInterface")]
- public interface AdGroupFeedServiceInterface
- {
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [System.ServiceModel.FaultContractAttribute(typeof(Google.Api.Ads.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Google.Api.Ads.AdWords.v201806.AdGroupFeedPage get(Google.Api.Ads.AdWords.v201806.Selector selector);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- System.Threading.Tasks.Task getAsync(Google.Api.Ads.AdWords.v201806.Selector selector);
-
- // CODEGEN: Parameter 'operations' 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.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Wrappers.AdGroupFeedService.mutateResponse mutate(Wrappers.AdGroupFeedService.mutateRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- System.Threading.Tasks.Task mutateAsync(Wrappers.AdGroupFeedService.mutateRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [System.ServiceModel.FaultContractAttribute(typeof(Google.Api.Ads.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Google.Api.Ads.AdWords.v201806.AdGroupFeedPage query([System.ServiceModel.MessageParameterAttribute(Name = "query")] string query1);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- System.Threading.Tasks.Task queryAsync(string query);
- }
-
-
- /// Operation used to create or mutate an AdGroupFeed.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class AdGroupFeedOperation : Operation
- {
- private AdGroupFeed operandField;
-
- /// AdGroupFeed to operate on. This field is
- /// required and should not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public AdGroupFeed operand
- {
- get
- {
- return this.operandField;
- }
- set
- {
- this.operandField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Operation.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Operation.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Operation.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The result of a call to AdGroupFeedService#mutate.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class AdGroupFeedReturnValue : ListReturnValue
- {
- private AdGroupFeed[] valueField;
-
- private ApiError[] partialFailureErrorsField;
-
- /// The resulting AdGroupFeeds.
- ///
- [System.Xml.Serialization.XmlElementAttribute("value", Order = 0)]
- public AdGroupFeed[] value
- {
- get
- {
- return this.valueField;
- }
- set
- {
- this.valueField = value;
- }
- }
-
- [System.Xml.Serialization.XmlElementAttribute("partialFailureErrors", Order = 1)]
- public ApiError[] partialFailureErrors
- {
- get
- {
- return this.partialFailureErrorsField;
- }
- set
- {
- this.partialFailureErrorsField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ListReturnValue.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ListReturnValue.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ListReturnValue.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public interface AdGroupFeedServiceInterfaceChannel : Google.Api.Ads.AdWords.v201806.AdGroupFeedServiceInterface, System.ServiceModel.IClientChannel
- {
- }
-
-
- /// Service used to manage adgroup feed links, and matching functions.
- ///
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class AdGroupFeedService : AdWordsSoapClient, IAdGroupFeedService
- {
- /// Creates a new instance of the class.
- ///
- public AdGroupFeedService()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public AdGroupFeedService(string endpointConfigurationName)
- : base(endpointConfigurationName)
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public AdGroupFeedService(string endpointConfigurationName, string remoteAddress)
- : base(endpointConfigurationName, remoteAddress)
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public AdGroupFeedService(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress)
- : base(endpointConfigurationName, remoteAddress)
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public AdGroupFeedService(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)
- : base(binding, remoteAddress)
- {
- }
-
- /// Returns a list of AdGroupFeeds that meet the selector criteria.
- /// Determines which AdGroupFeeds to return. If empty all
- /// adgroup feeds are returned.
- /// The list of AdgroupFeeds.
- /// Indicates a problem with the
- /// request.
- public virtual Google.Api.Ads.AdWords.v201806.AdGroupFeedPage get(Google.Api.Ads.AdWords.v201806.Selector selector)
- {
- return base.Channel.get(selector);
- }
-
- public virtual System.Threading.Tasks.Task getAsync(Google.Api.Ads.AdWords.v201806.Selector selector)
- {
- return base.Channel.getAsync(selector);
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- Wrappers.AdGroupFeedService.mutateResponse Google.Api.Ads.AdWords.v201806.AdGroupFeedServiceInterface.mutate(Wrappers.AdGroupFeedService.mutateRequest request)
- {
- return base.Channel.mutate(request);
- }
-
- /// Adds, updates or removes AdGroupFeeds.
- /// The operations to apply.
- /// The resulting Feeds.
- /// Indicates a problem with the
- /// request.
- public virtual Google.Api.Ads.AdWords.v201806.AdGroupFeedReturnValue mutate(Google.Api.Ads.AdWords.v201806.AdGroupFeedOperation[] operations)
- {
- Wrappers.AdGroupFeedService.mutateRequest inValue = new Wrappers.AdGroupFeedService.mutateRequest();
- inValue.operations = operations;
- Wrappers.AdGroupFeedService.mutateResponse retVal = ((Google.Api.Ads.AdWords.v201806.AdGroupFeedServiceInterface) (this)).mutate(inValue);
- return retVal.rval;
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- System.Threading.Tasks.Task Google.Api.Ads.AdWords.v201806.AdGroupFeedServiceInterface.mutateAsync(Wrappers.AdGroupFeedService.mutateRequest request)
- {
- return base.Channel.mutateAsync(request);
- }
-
- public virtual System.Threading.Tasks.Task mutateAsync(Google.Api.Ads.AdWords.v201806.AdGroupFeedOperation[] operations)
- {
- Wrappers.AdGroupFeedService.mutateRequest inValue = new Wrappers.AdGroupFeedService.mutateRequest();
- inValue.operations = operations;
- return System.Threading.Tasks.Task.Factory.StartNew(() => (((Google.Api.Ads.AdWords.v201806.AdGroupFeedServiceInterface) (this)).mutateAsync(inValue)).Result.rval);
- }
-
- /// Returns the list of AdGroupFeeds that match the query.
- /// The SQL-like AWQL query string.
- /// s A list of AdGroupFeed.
- /// if problems occur while parsing the query
- /// or fetching AdGroupFeed.
- public virtual Google.Api.Ads.AdWords.v201806.AdGroupFeedPage query(string query1)
- {
- return base.Channel.query(query1);
- }
-
- public virtual System.Threading.Tasks.Task queryAsync(string query)
- {
- return base.Channel.queryAsync(query);
- }
- }
- namespace Wrappers.CustomerSyncService
- {
- }
- /// Holds information about a changed feed and any feeds items within the feed.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/ch/v201806")]
- public partial class FeedChangeData
- {
- private long feedIdField;
-
- private bool feedIdFieldSpecified;
-
- private ChangeStatus feedChangeStatusField;
-
- private bool feedChangeStatusFieldSpecified;
-
- private long[] changedFeedItemsField;
-
- private long[] removedFeedItemsField;
-
- /// The feed ID.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long feedId
- {
- get
- {
- return this.feedIdField;
- }
- set
- {
- this.feedIdField = value;
- this.feedIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool feedIdSpecified
- {
- get
- {
- return this.feedIdFieldSpecified;
- }
- set
- {
- this.feedIdFieldSpecified = value;
- }
- }
-
- /// Whether or not the fields of this feed have changed.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public ChangeStatus feedChangeStatus
- {
- get
- {
- return this.feedChangeStatusField;
- }
- set
- {
- this.feedChangeStatusField = value;
- this.feedChangeStatusSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool feedChangeStatusSpecified
- {
- get
- {
- return this.feedChangeStatusFieldSpecified;
- }
- set
- {
- this.feedChangeStatusFieldSpecified = value;
- }
- }
-
- /// A list of feed item IDs that have been added or modified within the the feed. If
- /// a feed item is deleted after a modification, it will not be included in this
- /// list.
- ///
- [System.Xml.Serialization.XmlElementAttribute("changedFeedItems", Order = 2)]
- public long[] changedFeedItems
- {
- get
- {
- return this.changedFeedItemsField;
- }
- set
- {
- this.changedFeedItemsField = value;
- }
- }
-
- /// A list feed item IDs that have been removed from the feed.
- ///
- [System.Xml.Serialization.XmlElementAttribute("removedFeedItems", Order = 3)]
- public long[] removedFeedItems
- {
- get
- {
- return this.removedFeedItemsField;
- }
- set
- {
- this.removedFeedItemsField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// An enum used to classify the types of changes that have been made to an
- /// adgroup/campaign during a specified date range. This only refers to the field of
- /// the entity itself, and not its children.
For example, if an AdGroup name
- /// changed, this status would be FIELDS_CHANGED, but if only bids on keywords
- /// belonging an AdGroup were changed this status would be FIELDS_UNCHANGED.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/ch/v201806")]
- public enum ChangeStatus
- {
- /// The fields of this entity have not changed, but there may still be changes to
- /// its children.
- ///
- FIELDS_UNCHANGED = 0,
- /// The fields of this entity have changed, for example the name of an adgroup.
- ///
- FIELDS_CHANGED = 1,
- /// This entity was created during the time frame we're looking at. We will not
- /// enumerate all of the individual changes to this entity and its children. Instead
- /// it should be loaded from the appropriate service.
- ///
- NEW = 2,
- }
-
-
- /// Holds information about a changed adgroup
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/ch/v201806")]
- public partial class AdGroupChangeData
- {
- private long adGroupIdField;
-
- private bool adGroupIdFieldSpecified;
-
- private ChangeStatus adGroupChangeStatusField;
-
- private bool adGroupChangeStatusFieldSpecified;
-
- private long[] changedAdsField;
-
- private long[] changedCriteriaField;
-
- private long[] removedCriteriaField;
-
- private long[] changedFeedsField;
-
- private long[] removedFeedsField;
-
- private long[] changedAdGroupBidModifierCriteriaField;
-
- private long[] removedAdGroupBidModifierCriteriaField;
-
- /// The ad group ID.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long adGroupId
- {
- get
- {
- return this.adGroupIdField;
- }
- set
- {
- this.adGroupIdField = value;
- this.adGroupIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool adGroupIdSpecified
- {
- get
- {
- return this.adGroupIdFieldSpecified;
- }
- set
- {
- this.adGroupIdFieldSpecified = value;
- }
- }
-
- /// Whether or not the fields of this adgroup have changed, for example the AdGroup
- /// name. Changes to the Ads and Criteria are enumerated in their respective lists
- /// and will not be reflected in this status.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public ChangeStatus adGroupChangeStatus
- {
- get
- {
- return this.adGroupChangeStatusField;
- }
- set
- {
- this.adGroupChangeStatusField = value;
- this.adGroupChangeStatusSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool adGroupChangeStatusSpecified
- {
- get
- {
- return this.adGroupChangeStatusFieldSpecified;
- }
- set
- {
- this.adGroupChangeStatusFieldSpecified = value;
- }
- }
-
- /// The IDs of any changed ads of this ad group. This includes ads that have been
- /// deleted.
- ///
- [System.Xml.Serialization.XmlElementAttribute("changedAds", Order = 2)]
- public long[] changedAds
- {
- get
- {
- return this.changedAdsField;
- }
- set
- {
- this.changedAdsField = value;
- }
- }
-
- /// The IDs of any changed criterion of this ad group.
- ///
- [System.Xml.Serialization.XmlElementAttribute("changedCriteria", Order = 3)]
- public long[] changedCriteria
- {
- get
- {
- return this.changedCriteriaField;
- }
- set
- {
- this.changedCriteriaField = value;
- }
- }
-
- /// The IDs of any deleted criterion of this ad group.
- ///
- [System.Xml.Serialization.XmlElementAttribute("removedCriteria", Order = 4)]
- public long[] removedCriteria
- {
- get
- {
- return this.removedCriteriaField;
- }
- set
- {
- this.removedCriteriaField = value;
- }
- }
-
- /// A list of feed IDs for AdGroupFeeds that have been changed in this ad group. If
- /// an AdGroupFeed is deleted after a modification, it will not be included in this
- /// list.
- ///
- [System.Xml.Serialization.XmlElementAttribute("changedFeeds", Order = 5)]
- public long[] changedFeeds
- {
- get
- {
- return this.changedFeedsField;
- }
- set
- {
- this.changedFeedsField = value;
- }
- }
-
- /// A list of feed IDs for AdGroupFeeds that have been removed from the ad group.
- ///
- [System.Xml.Serialization.XmlElementAttribute("removedFeeds", Order = 6)]
- public long[] removedFeeds
- {
- get
- {
- return this.removedFeedsField;
- }
- set
- {
- this.removedFeedsField = value;
- }
- }
-
- /// Set of campaign criterion that have a bid modifier override at ad group level.
- /// If the associated bid modifier override is deleted after a modification, it will
- /// not be included in this list.
- ///
- [System.Xml.Serialization.XmlElementAttribute("changedAdGroupBidModifierCriteria", Order = 7)]
- public long[] changedAdGroupBidModifierCriteria
- {
- get
- {
- return this.changedAdGroupBidModifierCriteriaField;
- }
- set
- {
- this.changedAdGroupBidModifierCriteriaField = value;
- }
- }
-
- /// Set of campaign criterion whose bid modifier override at ad group level has been
- /// removed.
- ///
- [System.Xml.Serialization.XmlElementAttribute("removedAdGroupBidModifierCriteria", Order = 8)]
- public long[] removedAdGroupBidModifierCriteria
- {
- get
- {
- return this.removedAdGroupBidModifierCriteriaField;
- }
- set
- {
- this.removedAdGroupBidModifierCriteriaField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Holds information about a changed campaign and any ad groups under that have
- /// changed.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/ch/v201806")]
- public partial class CampaignChangeData
- {
- private long campaignIdField;
-
- private bool campaignIdFieldSpecified;
-
- private ChangeStatus campaignChangeStatusField;
-
- private bool campaignChangeStatusFieldSpecified;
-
- private AdGroupChangeData[] changedAdGroupsField;
-
- private long[] addedCampaignCriteriaField;
-
- private long[] removedCampaignCriteriaField;
-
- private long[] changedFeedsField;
-
- private long[] removedFeedsField;
-
- /// The campaign ID.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long campaignId
- {
- get
- {
- return this.campaignIdField;
- }
- set
- {
- this.campaignIdField = value;
- this.campaignIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool campaignIdSpecified
- {
- get
- {
- return this.campaignIdFieldSpecified;
- }
- set
- {
- this.campaignIdFieldSpecified = value;
- }
- }
-
- /// Whether or not the fields of this campaign have changed. Changes to campaign
- /// level criteria and ad extensions are enumerated in their respective lists and
- /// will not be reflected in this status.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public ChangeStatus campaignChangeStatus
- {
- get
- {
- return this.campaignChangeStatusField;
- }
- set
- {
- this.campaignChangeStatusField = value;
- this.campaignChangeStatusSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool campaignChangeStatusSpecified
- {
- get
- {
- return this.campaignChangeStatusFieldSpecified;
- }
- set
- {
- this.campaignChangeStatusFieldSpecified = value;
- }
- }
-
- /// A list of change information for all changed adgroups belonging to the campaign.
- ///
- [System.Xml.Serialization.XmlElementAttribute("changedAdGroups", Order = 2)]
- public AdGroupChangeData[] changedAdGroups
- {
- get
- {
- return this.changedAdGroupsField;
- }
- set
- {
- this.changedAdGroupsField = value;
- }
- }
-
- /// A list of criteria IDs that have been added as campaign criteria. This list
- /// includes any criteria that can be downloaded using CampaignCriterionService.
- ///
- [System.Xml.Serialization.XmlElementAttribute("addedCampaignCriteria", Order = 3)]
- public long[] addedCampaignCriteria
- {
- get
- {
- return this.addedCampaignCriteriaField;
- }
- set
- {
- this.addedCampaignCriteriaField = value;
- }
- }
-
- /// A list of criteria IDs that have been deleted as campaign criteria. This list
- /// includes any criteria that can be downloaded using CampaignCriterionService.
- ///
- [System.Xml.Serialization.XmlElementAttribute("removedCampaignCriteria", Order = 4)]
- public long[] removedCampaignCriteria
- {
- get
- {
- return this.removedCampaignCriteriaField;
- }
- set
- {
- this.removedCampaignCriteriaField = value;
- }
- }
-
- /// A list of feed IDs for CampaignFeeds that have been changed in this campaign. If
- /// a CampaignFeed is deleted after a modification, it will not be included in this
- /// list.
- ///
- [System.Xml.Serialization.XmlElementAttribute("changedFeeds", Order = 5)]
- public long[] changedFeeds
- {
- get
- {
- return this.changedFeedsField;
- }
- set
- {
- this.changedFeedsField = value;
- }
- }
-
- /// A list of feed IDs for CampaignFeeds that have been removed from the campaign.
- ///
- [System.Xml.Serialization.XmlElementAttribute("removedFeeds", Order = 6)]
- public long[] removedFeeds
- {
- get
- {
- return this.removedFeedsField;
- }
- set
- {
- this.removedFeedsField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Holds information about changes to a customer
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/ch/v201806")]
- public partial class CustomerChangeData
- {
- private CampaignChangeData[] changedCampaignsField;
-
- private FeedChangeData[] changedFeedsField;
-
- private string lastChangeTimestampField;
-
- /// A list of campaign changes for the customer, as specified by the selector. If a
- /// campaign is included in the selector it will be included in this list, even if
- /// the campaign did not change.
- ///
- [System.Xml.Serialization.XmlElementAttribute("changedCampaigns", Order = 0)]
- public CampaignChangeData[] changedCampaigns
- {
- get
- {
- return this.changedCampaignsField;
- }
- set
- {
- this.changedCampaignsField = value;
- }
- }
-
- /// A list of feed changes for the customer as specified in the selector. If a feed
- /// is included in the selector then it will be included in this list, even if the
- /// feed did not change.
- ///
- [System.Xml.Serialization.XmlElementAttribute("changedFeeds", Order = 1)]
- public FeedChangeData[] changedFeeds
- {
- get
- {
- return this.changedFeedsField;
- }
- set
- {
- this.changedFeedsField = value;
- }
- }
-
- /// The timestamp for the last changed processed for this customer. It is important
- /// that this timestamp be used for subsequent requests to avoid missing any
- /// changes.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public string lastChangeTimestamp
- {
- get
- {
- return this.lastChangeTimestampField;
- }
- set
- {
- this.lastChangeTimestampField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class DateTimeRange
- {
- private string minField;
-
- private string maxField;
-
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public string min
- {
- get
- {
- return this.minField;
- }
- set
- {
- this.minField = value;
- }
- }
-
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public string max
- {
- get
- {
- return this.maxField;
- }
- set
- {
- this.maxField = value;
- }
- }
- }
-
-
- /// A filter for selecting change history data for a customer.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/ch/v201806")]
- public partial class CustomerSyncSelector
- {
- private DateTimeRange dateTimeRangeField;
-
- private long[] campaignIdsField;
-
- private long[] feedIdsField;
-
- /// Only return entities that have changed during the specified time range. String
- /// Format: yyyyMMdd HHmmss (for example, 20100609 150223
- /// America/New_York). See the Timezones
- /// page for the complete list of Timezone IDs. This field is required and should not be
- /// null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public DateTimeRange dateTimeRange
- {
- get
- {
- return this.dateTimeRangeField;
- }
- set
- {
- this.dateTimeRangeField = value;
- }
- }
-
- /// Return entities belonging to these campaigns. This field must contain distinct elements.
- ///
- [System.Xml.Serialization.XmlElementAttribute("campaignIds", Order = 1)]
- public long[] campaignIds
- {
- get
- {
- return this.campaignIdsField;
- }
- set
- {
- this.campaignIdsField = value;
- }
- }
-
- /// Return entities belonging to these feeds. This field must contain distinct elements.
- ///
- [System.Xml.Serialization.XmlElementAttribute("feedIds", Order = 2)]
- public long[] feedIds
- {
- get
- {
- return this.feedIdsField;
- }
- set
- {
- this.feedIdsField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Represents CustomerSyncService specific errors
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/ch/v201806")]
- public partial class CustomerSyncError : ApiError
- {
- private CustomerSyncErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- private long campaignIdField;
-
- private bool campaignIdFieldSpecified;
-
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public CustomerSyncErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public long campaignId
- {
- get
- {
- return this.campaignIdField;
- }
- set
- {
- this.campaignIdField = value;
- this.campaignIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool campaignIdSpecified
- {
- get
- {
- return this.campaignIdFieldSpecified;
- }
- set
- {
- this.campaignIdFieldSpecified = value;
- }
- }
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "CustomerSyncError.Reason", Namespace = "https://adwords.google.com/api/adwords/ch/v201806")]
- public enum CustomerSyncErrorReason
- {
- /// The request attempted to access a campaign that either does not exist or belongs
- /// to a different account.
- ///
- INVALID_CAMPAIGN_ID = 0,
- /// The request attempted to access a feed that either does not exist or belongs to
- /// a different account.
- ///
- INVALID_FEED_ID = 1,
- /// The request asked for an invalid date range
- ///
- INVALID_DATE_RANGE = 2,
- /// There have been too many changes to sync the campaign over the requested
- /// date/time range. To avoid this error, try specifying a smaller date/time range.
- /// If this does not work, you should assume that everything has changed and
- /// retrieve the objects using their respective services.
- ///
- TOO_MANY_CHANGES = 3,
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ServiceModel.ServiceContractAttribute(Namespace = "https://adwords.google.com/api/adwords/ch/v201806", ConfigurationName = "Google.Api.Ads.AdWords.v201806.CustomerSyncServiceInterface")]
- public interface CustomerSyncServiceInterface
- {
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [System.ServiceModel.FaultContractAttribute(typeof(Google.Api.Ads.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Google.Api.Ads.AdWords.v201806.CustomerChangeData get(Google.Api.Ads.AdWords.v201806.CustomerSyncSelector selector);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- System.Threading.Tasks.Task getAsync(Google.Api.Ads.AdWords.v201806.CustomerSyncSelector selector);
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public interface CustomerSyncServiceInterfaceChannel : Google.Api.Ads.AdWords.v201806.CustomerSyncServiceInterface, System.ServiceModel.IClientChannel
- {
- }
-
-
- /// Use this service to retrieve the changed entities for a customer account or
- /// campaign based on the given date range.
Note: There will
- /// be some delay in changes becoming visible to this service; thus, use
- /// from the response to determine the validity period for the
- /// data.
Note: CustomerSyncService only supports queries
- /// for dates within the last 90 days.
- ///
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class CustomerSyncService : AdWordsSoapClient, ICustomerSyncService
- {
- /// Creates a new instance of the class.
- ///
- public CustomerSyncService()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public CustomerSyncService(string endpointConfigurationName)
- : base(endpointConfigurationName)
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public CustomerSyncService(string endpointConfigurationName, string remoteAddress)
- : base(endpointConfigurationName, remoteAddress)
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public CustomerSyncService(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress)
- : base(endpointConfigurationName, remoteAddress)
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public CustomerSyncService(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)
- : base(binding, remoteAddress)
- {
- }
-
- /// Returns information about changed entities inside a customer's account.
- /// Specifies the filter for selecting changehistory events
- /// for a customer.
- /// A Customer->Campaign->AdGroup hierarchy containing information
- /// about the objects changed at each level. All Campaigns that are requested in the
- /// selector will be returned, regardless of whether or not they have changed, but
- /// unchanged AdGroups will be ignored.
- public virtual Google.Api.Ads.AdWords.v201806.CustomerChangeData get(Google.Api.Ads.AdWords.v201806.CustomerSyncSelector selector)
- {
- return base.Channel.get(selector);
- }
-
- public virtual System.Threading.Tasks.Task getAsync(Google.Api.Ads.AdWords.v201806.CustomerSyncSelector selector)
- {
- return base.Channel.getAsync(selector);
- }
- }
- namespace Wrappers.CustomerFeedService
- {
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "mutate", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class mutateRequest
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- [System.Xml.Serialization.XmlElementAttribute("operations")]
- public Google.Api.Ads.AdWords.v201806.CustomerFeedOperation[] operations;
-
- /// Creates a new instance of the class.
- ///
- public mutateRequest()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public mutateRequest(Google.Api.Ads.AdWords.v201806.CustomerFeedOperation[] operations)
- {
- this.operations = operations;
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "mutateResponse", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class mutateResponse
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- public Google.Api.Ads.AdWords.v201806.CustomerFeedReturnValue rval;
-
- /// Creates a new instance of the class.
- ///
- public mutateResponse()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public mutateResponse(Google.Api.Ads.AdWords.v201806.CustomerFeedReturnValue rval)
- {
- this.rval = rval;
- }
- }
- }
- /// CustomerFeeds are used to link a feed to the customer using a matching function,
- /// making the feed's feed items available in the customer's ads for substitution.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CustomerFeed
- {
- private long feedIdField;
-
- private bool feedIdFieldSpecified;
-
- private Function matchingFunctionField;
-
- private int[] placeholderTypesField;
-
- private CustomerFeedStatus statusField;
-
- private bool statusFieldSpecified;
-
- /// Id of the Feed associated with the CustomerFeed. This field can be selected using the value "FeedId".This field can be filtered on.This field is required and should not be
- /// null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long feedId
- {
- get
- {
- return this.feedIdField;
- }
- set
- {
- this.feedIdField = value;
- this.feedIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool feedIdSpecified
- {
- get
- {
- return this.feedIdFieldSpecified;
- }
- set
- {
- this.feedIdFieldSpecified = value;
- }
- }
-
- /// Matching function associated with the CustomerFeed. The matching function is
- /// used to filter the set of feed items selected. This field can be selected using the value
- /// "MatchingFunction".This field is
- /// required and should not be null when it is contained within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public Function matchingFunction
- {
- get
- {
- return this.matchingFunctionField;
- }
- set
- {
- this.matchingFunctionField = value;
- }
- }
-
- /// Indicates which placeholder
- /// types the feed may populate under the connected customer. This field can be selected using the value
- /// "PlaceholderTypes".This field can be
- /// filtered on.This field is required and
- /// should not be null when it is contained within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute("placeholderTypes", Order = 2)]
- public int[] placeholderTypes
- {
- get
- {
- return this.placeholderTypesField;
- }
- set
- {
- this.placeholderTypesField = value;
- }
- }
-
- /// Status of the CustomerFeed. This field can
- /// be selected using the value "Status".This field can be filtered on.This field is read only and will be ignored when sent to the
- /// API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public CustomerFeedStatus status
- {
- get
- {
- return this.statusField;
- }
- set
- {
- this.statusField = value;
- this.statusSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool statusSpecified
- {
- get
- {
- return this.statusFieldSpecified;
- }
- set
- {
- this.statusFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field FeedId = new Field("FeedId", true, true);
-
- public static readonly Field MatchingFunction = new Field("MatchingFunction", false, true);
-
- public static readonly Field PlaceholderTypes = new Field("PlaceholderTypes", true, true);
-
- public static readonly Field Status = new Field("Status", true, true);
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field FeedId = Fields.FeedId;
-
- public static readonly Field MatchingFunction = Fields.MatchingFunction;
-
- public static readonly Field PlaceholderTypes = Fields.PlaceholderTypes;
-
- public static readonly Field Status = Fields.Status;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field FeedId = Fields.FeedId;
-
- public static readonly Field PlaceholderTypes = Fields.PlaceholderTypes;
-
- public static readonly Field Status = Fields.Status;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Status of the CustomerFeed.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "CustomerFeed.Status", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum CustomerFeedStatus
- {
- /// Indicates that the feed is currently being used.
- ///
- ENABLED = 0,
- /// Indicates that the feed is not used anymore.
- ///
- REMOVED = 1,
- /// Used for return value only. An enumeration
- /// could not be processed, typically due to incompatibility with your WSDL
- /// version.
- ///
- UNKNOWN = 2,
- }
-
-
- /// The result of a call to CustomerFeedService#get. Contains a list of
- /// associations between customer and feeds.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CustomerFeedPage : NullStatsPage
- {
- private CustomerFeed[] entriesField;
-
- /// The resulting CustomerFeeds.
- ///
- [System.Xml.Serialization.XmlElementAttribute("entries", Order = 0)]
- public CustomerFeed[] entries
- {
- get
- {
- return this.entriesField;
- }
- set
- {
- this.entriesField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : NullStatsPage.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : NullStatsPage.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : NullStatsPage.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Represents an error for the CustomerFeedService.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CustomerFeedError : ApiError
- {
- private CustomerFeedErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// Error reason.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public CustomerFeedErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Error reasons.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "CustomerFeedError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum CustomerFeedErrorReason
- {
- /// An active feed already exists for this customer and place holder type.
- ///
- FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE = 0,
- /// The specified id does not exist.
- ///
- INVALID_ID = 1,
- /// The specified feed is deleted.
- ///
- CANNOT_ADD_FOR_DELETED_FEED = 2,
- /// The CustomerFeed already exists. SET should be used to modify the existing
- /// CustomerFeed.
- ///
- CANNOT_ADD_ALREADY_EXISTING_CUSTOMER_FEED = 3,
- /// Cannot modify removed customer feed.
- ///
- CANNOT_MODIFY_REMOVED_CUSTOMER_FEED = 4,
- /// Invalid placeholder types.
- ///
- INVALID_PLACEHOLDER_TYPES = 5,
- /// Feed mapping for this placeholder type does not exist.
- ///
- MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE = 6,
- /// Placeholder not allowed at the account level.
- ///
- PLACEHOLDER_TYPE_NOT_ALLOWED_ON_CUSTOMER_FEED = 7,
- UNKNOWN = 8,
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ServiceModel.ServiceContractAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", ConfigurationName = "Google.Api.Ads.AdWords.v201806.CustomerFeedServiceInterface")]
- public interface CustomerFeedServiceInterface
- {
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [System.ServiceModel.FaultContractAttribute(typeof(Google.Api.Ads.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Google.Api.Ads.AdWords.v201806.CustomerFeedPage get(Google.Api.Ads.AdWords.v201806.Selector selector);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- System.Threading.Tasks.Task getAsync(Google.Api.Ads.AdWords.v201806.Selector selector);
-
- // CODEGEN: Parameter 'operations' 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.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Wrappers.CustomerFeedService.mutateResponse mutate(Wrappers.CustomerFeedService.mutateRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- System.Threading.Tasks.Task mutateAsync(Wrappers.CustomerFeedService.mutateRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [System.ServiceModel.FaultContractAttribute(typeof(Google.Api.Ads.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Google.Api.Ads.AdWords.v201806.CustomerFeedPage query([System.ServiceModel.MessageParameterAttribute(Name = "query")] string query1);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- System.Threading.Tasks.Task queryAsync(string query);
- }
-
-
- /// Operation used to create or mutate a CustomerFeed.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CustomerFeedOperation : Operation
- {
- private CustomerFeed operandField;
-
- /// This field is required and should not be
- /// null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public CustomerFeed operand
- {
- get
- {
- return this.operandField;
- }
- set
- {
- this.operandField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Operation.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Operation.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Operation.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The result of a call to CustomerFeedService#mutate.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CustomerFeedReturnValue : ListReturnValue
- {
- private CustomerFeed[] valueField;
-
- [System.Xml.Serialization.XmlElementAttribute("value", Order = 0)]
- public CustomerFeed[] value
- {
- get
- {
- return this.valueField;
- }
- set
- {
- this.valueField = value;
- }
- }
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public interface CustomerFeedServiceInterfaceChannel : Google.Api.Ads.AdWords.v201806.CustomerFeedServiceInterface, System.ServiceModel.IClientChannel
- {
- }
-
-
- /// Service used to manage customer feed links, and matching functions.
- ///
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class CustomerFeedService : AdWordsSoapClient, ICustomerFeedService
- {
- /// Creates a new instance of the class.
- ///
- public CustomerFeedService()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public CustomerFeedService(string endpointConfigurationName)
- : base(endpointConfigurationName)
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public CustomerFeedService(string endpointConfigurationName, string remoteAddress)
- : base(endpointConfigurationName, remoteAddress)
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public CustomerFeedService(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress)
- : base(endpointConfigurationName, remoteAddress)
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public CustomerFeedService(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)
- : base(binding, remoteAddress)
- {
- }
-
- /// Returns a list of customer feeds that meet the selector criteria.
- /// Determines which customer feeds to return. If empty, all
- /// customer feeds are returned.
- /// The list of customer feeds.
- /// Indicates a problem with the
- /// request.
- public virtual Google.Api.Ads.AdWords.v201806.CustomerFeedPage get(Google.Api.Ads.AdWords.v201806.Selector selector)
- {
- return base.Channel.get(selector);
- }
-
- public virtual System.Threading.Tasks.Task getAsync(Google.Api.Ads.AdWords.v201806.Selector selector)
- {
- return base.Channel.getAsync(selector);
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- Wrappers.CustomerFeedService.mutateResponse Google.Api.Ads.AdWords.v201806.CustomerFeedServiceInterface.mutate(Wrappers.CustomerFeedService.mutateRequest request)
- {
- return base.Channel.mutate(request);
- }
-
- /// Adds, sets, or removes customer feeds.
- /// The operations to apply.
- /// The resulting feeds.
- /// Indicates a problem with the
- /// request.
- public virtual Google.Api.Ads.AdWords.v201806.CustomerFeedReturnValue mutate(Google.Api.Ads.AdWords.v201806.CustomerFeedOperation[] operations)
- {
- Wrappers.CustomerFeedService.mutateRequest inValue = new Wrappers.CustomerFeedService.mutateRequest();
- inValue.operations = operations;
- Wrappers.CustomerFeedService.mutateResponse retVal = ((Google.Api.Ads.AdWords.v201806.CustomerFeedServiceInterface) (this)).mutate(inValue);
- return retVal.rval;
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- System.Threading.Tasks.Task Google.Api.Ads.AdWords.v201806.CustomerFeedServiceInterface.mutateAsync(Wrappers.CustomerFeedService.mutateRequest request)
- {
- return base.Channel.mutateAsync(request);
- }
-
- public virtual System.Threading.Tasks.Task mutateAsync(Google.Api.Ads.AdWords.v201806.CustomerFeedOperation[] operations)
- {
- Wrappers.CustomerFeedService.mutateRequest inValue = new Wrappers.CustomerFeedService.mutateRequest();
- inValue.operations = operations;
- return System.Threading.Tasks.Task.Factory.StartNew(() => (((Google.Api.Ads.AdWords.v201806.CustomerFeedServiceInterface) (this)).mutateAsync(inValue)).Result.rval);
- }
-
- /// Returns the list of customer feeds that match the query.
- /// The SQL-like AWQL query string.
- /// A list of CustomerFeed.
- /// If problems occur while parsing the query
- /// or fetching CustomerFeed.
- public virtual Google.Api.Ads.AdWords.v201806.CustomerFeedPage query(string query1)
- {
- return base.Channel.query(query1);
- }
-
- public virtual System.Threading.Tasks.Task queryAsync(string query)
- {
- return base.Channel.queryAsync(query);
- }
- }
- namespace Wrappers.DataService
- {
- }
- /// Properties of the level of detail of the report being viewed.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class LevelOfDetail
- {
- private long campaignIdField;
-
- private bool campaignIdFieldSpecified;
-
- /// This field can be selected using the value
- /// "CampaignId".This field can be
- /// filtered on.This field is read only
- /// and will be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long campaignId
- {
- get
- {
- return this.campaignIdField;
- }
- set
- {
- this.campaignIdField = value;
- this.campaignIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool campaignIdSpecified
- {
- get
- {
- return this.campaignIdFieldSpecified;
- }
- set
- {
- this.campaignIdFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field CampaignId = new Field("CampaignId", true, true);
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field CampaignId = Fields.CampaignId;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field CampaignId = Fields.CampaignId;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// A set of estimates for a criterion's performance for a specific bid amount.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "BidLandscape.LandscapePoint", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class BidLandscapeLandscapePoint
- {
- private Money bidField;
-
- private long clicksField;
-
- private bool clicksFieldSpecified;
-
- private Money costField;
-
- private long impressionsField;
-
- private bool impressionsFieldSpecified;
-
- private long promotedImpressionsField;
-
- private bool promotedImpressionsFieldSpecified;
-
- private Money requiredBudgetField;
-
- private double biddableConversionsField;
-
- private bool biddableConversionsFieldSpecified;
-
- private double biddableConversionsValueField;
-
- private bool biddableConversionsValueFieldSpecified;
-
- private double bidModifierField;
-
- private bool bidModifierFieldSpecified;
-
- private long totalLocalImpressionsField;
-
- private bool totalLocalImpressionsFieldSpecified;
-
- private long totalLocalClicksField;
-
- private bool totalLocalClicksFieldSpecified;
-
- private Money totalLocalCostField;
-
- private long totalLocalPromotedImpressionsField;
-
- private bool totalLocalPromotedImpressionsFieldSpecified;
-
- /// The bid amount used to estimate this landscape point's data. Only available for
- /// ad group bid landscapes and ad group criterion bid landscapes. This field can be selected using the value
- /// "Bid".This field can be filtered
- /// on.This field is required and should
- /// not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public Money bid
- {
- get
- {
- return this.bidField;
- }
- set
- {
- this.bidField = value;
- }
- }
-
- /// Estimated number of clicks at this bid. For mobile bid modifier landscapes, this
- /// is the estimated number of clicks for mobile only. This field can be selected using the value
- /// "LocalClicks".This field can be
- /// filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public long clicks
- {
- get
- {
- return this.clicksField;
- }
- set
- {
- this.clicksField = value;
- this.clicksSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool clicksSpecified
- {
- get
- {
- return this.clicksFieldSpecified;
- }
- set
- {
- this.clicksFieldSpecified = value;
- }
- }
-
- /// Estimated cost at this bid. For mobile bid modifier landscapes, this is the
- /// estimated cost for mobile only. This field
- /// can be selected using the value "LocalCost".This field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public Money cost
- {
- get
- {
- return this.costField;
- }
- set
- {
- this.costField = value;
- }
- }
-
- /// Estimated number of impressions at this bid. For mobile bid modifier landscapes,
- /// this is the estimated number of impressions for mobile only. This field can be selected using the value
- /// "LocalImpressions".This field can be
- /// filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public long impressions
- {
- get
- {
- return this.impressionsField;
- }
- set
- {
- this.impressionsField = value;
- this.impressionsSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool impressionsSpecified
- {
- get
- {
- return this.impressionsFieldSpecified;
- }
- set
- {
- this.impressionsFieldSpecified = value;
- }
- }
-
- /// Estimated number of promoted impressions. This field can be selected using the value
- /// "PromotedImpressions".This field can
- /// be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 4)]
- public long promotedImpressions
- {
- get
- {
- return this.promotedImpressionsField;
- }
- set
- {
- this.promotedImpressionsField = value;
- this.promotedImpressionsSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool promotedImpressionsSpecified
- {
- get
- {
- return this.promotedImpressionsFieldSpecified;
- }
- set
- {
- this.promotedImpressionsFieldSpecified = value;
- }
- }
-
- /// Required daily budget to achieve the predicted stats at this bid. Only available
- /// for campaign criterion bid landscapes. This
- /// field can be selected using the value "RequiredBudget".This field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 5)]
- public Money requiredBudget
- {
- get
- {
- return this.requiredBudgetField;
- }
- set
- {
- this.requiredBudgetField = value;
- }
- }
-
- /// Estimated number of biddable conversions. Only available for ad group bid
- /// landscapes and ad group criterion bid landscapes. This field can be selected using the value
- /// "BiddableConversions".This field can
- /// be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 6)]
- public double biddableConversions
- {
- get
- {
- return this.biddableConversionsField;
- }
- set
- {
- this.biddableConversionsField = value;
- this.biddableConversionsSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool biddableConversionsSpecified
- {
- get
- {
- return this.biddableConversionsFieldSpecified;
- }
- set
- {
- this.biddableConversionsFieldSpecified = value;
- }
- }
-
- /// Estimated biddable conversions value. Only available for ad group bid landscapes
- /// and ad group criterion bid landscapes. This
- /// field can be selected using the value "BiddableConversionsValue".This field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 7)]
- public double biddableConversionsValue
- {
- get
- {
- return this.biddableConversionsValueField;
- }
- set
- {
- this.biddableConversionsValueField = value;
- this.biddableConversionsValueSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool biddableConversionsValueSpecified
- {
- get
- {
- return this.biddableConversionsValueFieldSpecified;
- }
- set
- {
- this.biddableConversionsValueFieldSpecified = value;
- }
- }
-
- /// The bid modifier value of this point. Only available for campaign criterion bid
- /// landscapes. This field can be selected using
- /// the value "BidModifier".This field
- /// can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 8)]
- public double bidModifier
- {
- get
- {
- return this.bidModifierField;
- }
- set
- {
- this.bidModifierField = value;
- this.bidModifierSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool bidModifierSpecified
- {
- get
- {
- return this.bidModifierFieldSpecified;
- }
- set
- {
- this.bidModifierFieldSpecified = value;
- }
- }
-
- /// Estimated total impressions for all devices in mobile bid modifier landscape.
- /// Only available for campaign criterion bid landscapes. This field can be selected using the value
- /// "TotalLocalImpressions".This field
- /// can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 9)]
- public long totalLocalImpressions
- {
- get
- {
- return this.totalLocalImpressionsField;
- }
- set
- {
- this.totalLocalImpressionsField = value;
- this.totalLocalImpressionsSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool totalLocalImpressionsSpecified
- {
- get
- {
- return this.totalLocalImpressionsFieldSpecified;
- }
- set
- {
- this.totalLocalImpressionsFieldSpecified = value;
- }
- }
-
- /// Estimated total clicks for all devices in mobile bid modifier landscape. Only
- /// available for campaign criterion bid landscapes. This field can be selected using the value
- /// "TotalLocalClicks".This field can be
- /// filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 10)]
- public long totalLocalClicks
- {
- get
- {
- return this.totalLocalClicksField;
- }
- set
- {
- this.totalLocalClicksField = value;
- this.totalLocalClicksSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool totalLocalClicksSpecified
- {
- get
- {
- return this.totalLocalClicksFieldSpecified;
- }
- set
- {
- this.totalLocalClicksFieldSpecified = value;
- }
- }
-
- /// Estimated total cost for all devices in mobile bid modifier landscape. Only
- /// available for campaign criterion bid landscapes. This field can be selected using the value
- /// "TotalLocalCost".This field can be
- /// filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 11)]
- public Money totalLocalCost
- {
- get
- {
- return this.totalLocalCostField;
- }
- set
- {
- this.totalLocalCostField = value;
- }
- }
-
- /// Estimated total promoted impressions for all devices in mobile bid modifier
- /// landscape. Only available for campaign criterion bid landscapes. This field can be selected using the value
- /// "TotalLocalPromotedImpressions".This
- /// field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 12)]
- public long totalLocalPromotedImpressions
- {
- get
- {
- return this.totalLocalPromotedImpressionsField;
- }
- set
- {
- this.totalLocalPromotedImpressionsField = value;
- this.totalLocalPromotedImpressionsSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- ///
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool totalLocalPromotedImpressionsSpecified
- {
- get
- {
- return this.totalLocalPromotedImpressionsFieldSpecified;
- }
- set
- {
- this.totalLocalPromotedImpressionsFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field Bid = new Field("Bid", true, true);
-
- public static readonly Field LocalClicks = new Field("LocalClicks", true, true);
-
- public static readonly Field LocalCost = new Field("LocalCost", true, true);
-
- public static readonly Field LocalImpressions = new Field("LocalImpressions", true, true);
-
- public static readonly Field PromotedImpressions = new Field("PromotedImpressions", true, true);
-
- public static readonly Field RequiredBudget = new Field("RequiredBudget", true, true);
-
- public static readonly Field BiddableConversions = new Field("BiddableConversions", true, true);
-
- public static readonly Field BiddableConversionsValue = new Field("BiddableConversionsValue", true, true);
-
- public static readonly Field BidModifier = new Field("BidModifier", true, true);
-
- public static readonly Field TotalLocalImpressions = new Field("TotalLocalImpressions", true, true);
-
- public static readonly Field TotalLocalClicks = new Field("TotalLocalClicks", true, true);
-
- public static readonly Field TotalLocalCost = new Field("TotalLocalCost", true, true);
-
- public static readonly Field TotalLocalPromotedImpressions = new Field("TotalLocalPromotedImpressions", true, true);
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field Bid = Fields.Bid;
-
- public static readonly Field LocalClicks = Fields.LocalClicks;
-
- public static readonly Field LocalCost = Fields.LocalCost;
-
- public static readonly Field LocalImpressions = Fields.LocalImpressions;
-
- public static readonly Field PromotedImpressions = Fields.PromotedImpressions;
-
- public static readonly Field RequiredBudget = Fields.RequiredBudget;
-
- public static readonly Field BiddableConversions = Fields.BiddableConversions;
-
- public static readonly Field BiddableConversionsValue = Fields.BiddableConversionsValue;
-
- public static readonly Field BidModifier = Fields.BidModifier;
-
- public static readonly Field TotalLocalImpressions = Fields.TotalLocalImpressions;
-
- public static readonly Field TotalLocalClicks = Fields.TotalLocalClicks;
-
- public static readonly Field TotalLocalCost = Fields.TotalLocalCost;
-
- public static readonly Field TotalLocalPromotedImpressions = Fields.TotalLocalPromotedImpressions;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field Bid = Fields.Bid;
-
- public static readonly Field LocalClicks = Fields.LocalClicks;
-
- public static readonly Field LocalCost = Fields.LocalCost;
-
- public static readonly Field LocalImpressions = Fields.LocalImpressions;
-
- public static readonly Field PromotedImpressions = Fields.PromotedImpressions;
-
- public static readonly Field RequiredBudget = Fields.RequiredBudget;
-
- public static readonly Field BiddableConversions = Fields.BiddableConversions;
-
- public static readonly Field BiddableConversionsValue = Fields.BiddableConversionsValue;
-
- public static readonly Field BidModifier = Fields.BidModifier;
-
- public static readonly Field TotalLocalImpressions = Fields.TotalLocalImpressions;
-
- public static readonly Field TotalLocalClicks = Fields.TotalLocalClicks;
-
- public static readonly Field TotalLocalCost = Fields.TotalLocalCost;
-
- public static readonly Field TotalLocalPromotedImpressions = Fields.TotalLocalPromotedImpressions;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The base class of all return types of the table service.
- ///
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(DimensionProperties))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(DomainCategory))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(BidLandscape))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CriterionBidLandscape))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AdGroupBidLandscape))]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public abstract partial class DataEntry
- {
- private string dataEntryTypeField;
-
- /// Indicates that this instance is a subtype of DataEntry. Although this field is
- /// returned in the response, it is ignored on input and cannot be selected. Specify
- /// xsi:type instead.
- ///
- [System.Xml.Serialization.XmlElementAttribute("DataEntry.Type", Order = 0)]
- public string DataEntryType
- {
- get
- {
- return this.dataEntryTypeField;
- }
- set
- {
- this.dataEntryTypeField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Top level class for Dimensions.
- ///
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(DomainCategory))]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public abstract partial class DimensionProperties : DataEntry
- {
- private LevelOfDetail levelOfDetailField;
-
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public LevelOfDetail levelOfDetail
- {
- get
- {
- return this.levelOfDetailField;
- }
- set
- {
- this.levelOfDetailField = value;
- }
- }
- }
-
-
- /// Represents categories that AdWords finds automatically for your website.
No
- /// categories available means that AdWords couldn't automatically find categories
- /// for your website. To control how categories are assigned, manually add
- /// breadcrumbs to your webpages.
Categories can be filtered by domain name
- /// or by a set of campaign IDs.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class DomainCategory : DimensionProperties
- {
- private string categoryField;
-
- private double coverageField;
-
- private bool coverageFieldSpecified;
-
- private string domainNameField;
-
- private string isoLanguageField;
-
- private Money recommendedCpcField;
-
- private bool hasChildField;
-
- private bool hasChildFieldSpecified;
-
- private int categoryRankField;
-
- private bool categoryRankFieldSpecified;
-
- /// Recommended category for the website domain. This field can be selected using the value "Category".This field can be filtered on.This field is read only and will be ignored when
- /// sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public string category
- {
- get
- {
- return this.categoryField;
- }
- set
- {
- this.categoryField = value;
- }
- }
-
- /// Coverage is the number of docs that match a label / number of docs that match
- /// the immediate parent label.
Example : united states/ca/sfo matches 500 docs
- /// and united states/ca matches 1000 docs. The coverage will be 50%. This field can be selected using the value
- /// "Coverage".This field is read only and
- /// will be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public double coverage
- {
- get
- {
- return this.coverageField;
- }
- set
- {
- this.coverageField = value;
- this.coverageSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool coverageSpecified
- {
- get
- {
- return this.coverageFieldSpecified;
- }
- set
- {
- this.coverageFieldSpecified = value;
- }
- }
-
- /// The domain for the website. Since many different domains can have the same
- /// categories, the domain and the language are used to uniquely identify the
- /// categories.
The domain can be specified in the DynamicSearchAdsSetting
- /// required for dynamic search ads. This field
- /// can be selected using the value "DomainName".This field can be filtered on.This field is read only and will be ignored when sent to the
- /// API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public string domainName
- {
- get
- {
- return this.domainNameField;
- }
- set
- {
- this.domainNameField = value;
- }
- }
-
- /// The language for the website. Since many different domains can have the same
- /// categories, the domain and the language are used to uniquely identify the
- /// categories.
The language can be specified in the DynamicSearchAdsSetting
- /// required for dynamic search ads. This field
- /// can be selected using the value "IsoLanguage".This field is read only and will be ignored when sent to the
- /// API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public string isoLanguage
- {
- get
- {
- return this.isoLanguageField;
- }
- set
- {
- this.isoLanguageField = value;
- }
- }
-
- /// The recommended cost per click for the category. This field can be selected using the value "RecommendedCpc".
- /// This field is read only and will be ignored
- /// when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 4)]
- public Money recommendedCpc
- {
- get
- {
- return this.recommendedCpcField;
- }
- set
- {
- this.recommendedCpcField = value;
- }
- }
-
- /// Used to determine whether a category has sub-categories associated with it.
- /// This field can be selected using the value
- /// "HasChild".This field is read only and
- /// will be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 5)]
- public bool hasChild
- {
- get
- {
- return this.hasChildField;
- }
- set
- {
- this.hasChildField = value;
- this.hasChildSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool hasChildSpecified
- {
- get
- {
- return this.hasChildFieldSpecified;
- }
- set
- {
- this.hasChildFieldSpecified = value;
- }
- }
-
- /// The position of this category in the recommended set of categories. This field can be selected using the value
- /// "CategoryRank".This field is read only
- /// and will be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 6)]
- public int categoryRank
- {
- get
- {
- return this.categoryRankField;
- }
- set
- {
- this.categoryRankField = value;
- this.categoryRankSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool categoryRankSpecified
- {
- get
- {
- return this.categoryRankFieldSpecified;
- }
- set
- {
- this.categoryRankFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : DimensionProperties.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field Category = new Field("Category", true, true);
-
- public static readonly Field Coverage = new Field("Coverage", false, true);
-
- public static readonly Field DomainName = new Field("DomainName", true, true);
-
- public static readonly Field IsoLanguage = new Field("IsoLanguage", false, true);
-
- public static readonly Field RecommendedCpc = new Field("RecommendedCpc", false, true);
-
- public static readonly Field HasChild = new Field("HasChild", false, true);
-
- public static readonly Field CategoryRank = new Field("CategoryRank", false, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : DimensionProperties.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field Category = Fields.Category;
-
- public static readonly Field Coverage = Fields.Coverage;
-
- public static readonly Field DomainName = Fields.DomainName;
-
- public static readonly Field IsoLanguage = Fields.IsoLanguage;
-
- public static readonly Field RecommendedCpc = Fields.RecommendedCpc;
-
- public static readonly Field HasChild = Fields.HasChild;
-
- public static readonly Field CategoryRank = Fields.CategoryRank;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : DimensionProperties.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field Category = Fields.Category;
-
- public static readonly Field DomainName = Fields.DomainName;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Represents data about a bid landscape for an ad group or criterion.
- ///
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(CriterionBidLandscape))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AdGroupBidLandscape))]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public abstract partial class BidLandscape : DataEntry
- {
- private long campaignIdField;
-
- private bool campaignIdFieldSpecified;
-
- private long adGroupIdField;
-
- private bool adGroupIdFieldSpecified;
-
- private string startDateField;
-
- private string endDateField;
-
- private BidLandscapeLandscapePoint[] landscapePointsField;
-
- /// ID of the campaign that contains the criterion with which this bid landscape is
- /// associated. This field can be selected using
- /// the value "CampaignId".This field can
- /// be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long campaignId
- {
- get
- {
- return this.campaignIdField;
- }
- set
- {
- this.campaignIdField = value;
- this.campaignIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool campaignIdSpecified
- {
- get
- {
- return this.campaignIdFieldSpecified;
- }
- set
- {
- this.campaignIdFieldSpecified = value;
- }
- }
-
- /// ID of the ad group that contains the criterion with which this bid landscape is
- /// associated. Only available for ad group bid landscapes and ad group criterion
- /// bid landscapes. This field can be selected
- /// using the value "AdGroupId".This
- /// field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public long adGroupId
- {
- get
- {
- return this.adGroupIdField;
- }
- set
- {
- this.adGroupIdField = value;
- this.adGroupIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool adGroupIdSpecified
- {
- get
- {
- return this.adGroupIdFieldSpecified;
- }
- set
- {
- this.adGroupIdFieldSpecified = value;
- }
- }
-
- /// First day on which this landscape is based. Typically, it could be up to a week
- /// ago. This field can be selected using the
- /// value "StartDate".This field is
- /// required and should not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public string startDate
- {
- get
- {
- return this.startDateField;
- }
- set
- {
- this.startDateField = value;
- }
- }
-
- /// Last day on which this landscape is based. This field can be selected using the value "EndDate".This field is required and should not be
- /// null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public string endDate
- {
- get
- {
- return this.endDateField;
- }
- set
- {
- this.endDateField = value;
- }
- }
-
- /// List of landscape points, each corresponding to a specifid bid amount.
- ///
- [System.Xml.Serialization.XmlElementAttribute("landscapePoints", Order = 4)]
- public BidLandscapeLandscapePoint[] landscapePoints
- {
- get
- {
- return this.landscapePointsField;
- }
- set
- {
- this.landscapePointsField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : DataEntry.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field CampaignId = new Field("CampaignId", true, true);
-
- public static readonly Field AdGroupId = new Field("AdGroupId", true, true);
-
- public static readonly Field StartDate = new Field("StartDate", false, true);
-
- public static readonly Field EndDate = new Field("EndDate", false, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : DataEntry.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field CampaignId = Fields.CampaignId;
-
- public static readonly Field AdGroupId = Fields.AdGroupId;
-
- public static readonly Field StartDate = Fields.StartDate;
-
- public static readonly Field EndDate = Fields.EndDate;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : DataEntry.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field CampaignId = Fields.CampaignId;
-
- public static readonly Field AdGroupId = Fields.AdGroupId;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The bid landscape for a criterion. A bid landscape estimates how a a criterion
- /// will perform based on different bid amounts.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CriterionBidLandscape : BidLandscape
- {
- private long criterionIdField;
-
- private bool criterionIdFieldSpecified;
-
- /// ID of the criterion associated with this landscape. This field can be selected using the value
- /// "CriterionId".This field can be
- /// filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long criterionId
- {
- get
- {
- return this.criterionIdField;
- }
- set
- {
- this.criterionIdField = value;
- this.criterionIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool criterionIdSpecified
- {
- get
- {
- return this.criterionIdFieldSpecified;
- }
- set
- {
- this.criterionIdFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : BidLandscape.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field CriterionId = new Field("CriterionId", true, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : BidLandscape.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field CriterionId = Fields.CriterionId;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : BidLandscape.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field CriterionId = Fields.CriterionId;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Represents data about a bidlandscape for an adgroup.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class AdGroupBidLandscape : BidLandscape
- {
- private AdGroupBidLandscapeType typeField;
-
- private bool typeFieldSpecified;
-
- private bool landscapeCurrentField;
-
- private bool landscapeCurrentFieldSpecified;
-
- /// This field can be selected using the value
- /// "LandscapeType".This field can be
- /// filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public AdGroupBidLandscapeType type
- {
- get
- {
- return this.typeField;
- }
- set
- {
- this.typeField = value;
- this.typeSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool typeSpecified
- {
- get
- {
- return this.typeFieldSpecified;
- }
- set
- {
- this.typeFieldSpecified = value;
- }
- }
-
- /// Only applies to landscapes with landscapeType == DEFAULT. If true,
- /// then this bid landscape contains the set of ad group criteria that
- /// currently do not have criterion-level bid overrides. If false, then
- /// this bid landscape was derived from an earlier snapshot of ad group criteria, so
- /// it may contain criteria to which bid overrides were recently added, and may not
- /// contain criteria from which bid overrides were recently removed. For other
- /// landscapeTypes null is returned. This field can be selected using the value
- /// "LandscapeCurrent".This field can be
- /// filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public bool landscapeCurrent
- {
- get
- {
- return this.landscapeCurrentField;
- }
- set
- {
- this.landscapeCurrentField = value;
- this.landscapeCurrentSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool landscapeCurrentSpecified
- {
- get
- {
- return this.landscapeCurrentFieldSpecified;
- }
- set
- {
- this.landscapeCurrentFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : BidLandscape.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field LandscapeType = new Field("LandscapeType", true, true);
-
- public static readonly Field LandscapeCurrent = new Field("LandscapeCurrent", true, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : BidLandscape.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field LandscapeType = Fields.LandscapeType;
-
- public static readonly Field LandscapeCurrent = Fields.LandscapeCurrent;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : BidLandscape.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field LandscapeType = Fields.LandscapeType;
-
- public static readonly Field LandscapeCurrent = Fields.LandscapeCurrent;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Used to specify the type of AdGroupLandscape
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "AdGroupBidLandscape.Type", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum AdGroupBidLandscapeType
- {
- /// Signifies that the bid of this ad group was applied to all criteria under the ad
- /// group. Criteria with bid overrides are included, but the overrides on
- /// these criteria were ignored when generating the landscape.
- ///
- UNIFORM = 0,
- /// Signifies that the bid of this ad group was only applied to the ad group itself.
- /// Criteria with bid overrides are excluded.
- ///
- DEFAULT = 1,
- UNKNOWN = 2,
- }
-
-
- /// Contains a subset of CriterionBidLandscapePage objects resulting
- /// from the filtering and paging of DataService#getCriterionBidLandscape
- /// call.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class CriterionBidLandscapePage : NoStatsPage
- {
- private CriterionBidLandscape[] entriesField;
-
- /// The result entries in this page.
- ///
- [System.Xml.Serialization.XmlElementAttribute("entries", Order = 0)]
- public CriterionBidLandscape[] entries
- {
- get
- {
- return this.entriesField;
- }
- set
- {
- this.entriesField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : NoStatsPage.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : NoStatsPage.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : NoStatsPage.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Contains a subset of AdGroupBidLandscape
- /// objects resulting from the filtering and paging of DataService#getAdGroupBidLandscape
- /// call.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class AdGroupBidLandscapePage : NoStatsPage
- {
- private AdGroupBidLandscape[] entriesField;
-
- /// The result entries in this page.
- ///
- [System.Xml.Serialization.XmlElementAttribute("entries", Order = 0)]
- public AdGroupBidLandscape[] entries
- {
- get
- {
- return this.entriesField;
- }
- set
- {
- this.entriesField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : NoStatsPage.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : NoStatsPage.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : NoStatsPage.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Contains a subset of DomainCategory objects
- /// resulting from the filtering and paging of DataService#getDomainCategory call.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class DomainCategoryPage : Page
- {
- private DomainCategory[] entriesField;
-
- /// The result entries in this page.
- ///
- [System.Xml.Serialization.XmlElementAttribute("entries", Order = 0)]
- public DomainCategory[] entries
- {
- get
- {
- return this.entriesField;
- }
- set
- {
- this.entriesField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Page.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Page.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Page.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Represents errors thrown by the get operation.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class DataError : ApiError
- {
- private DataErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public DataErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
- }
-
-
- /// Reasons for error.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "DataError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum DataErrorReason
- {
- CANNOT_CREATE_TABLE_ENTRY = 0,
- NO_TABLE_ENTRY_CLASS_FOR_VIEW_TYPE = 1,
- /// Used for return value only. An enumeration
- /// could not be processed, typically due to incompatibility with your WSDL
- /// version.
- ///
- TABLE_SERVICE_ERROR = 2,
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ServiceModel.ServiceContractAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", ConfigurationName = "Google.Api.Ads.AdWords.v201806.DataServiceInterface")]
- public interface DataServiceInterface
- {
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [System.ServiceModel.FaultContractAttribute(typeof(Google.Api.Ads.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ComparableValue))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DataEntry))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Google.Api.Ads.AdWords.v201806.AdGroupBidLandscapePage getAdGroupBidLandscape(Google.Api.Ads.AdWords.v201806.Selector serviceSelector);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- System.Threading.Tasks.Task getAdGroupBidLandscapeAsync(Google.Api.Ads.AdWords.v201806.Selector serviceSelector);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [System.ServiceModel.FaultContractAttribute(typeof(Google.Api.Ads.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ComparableValue))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DataEntry))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Google.Api.Ads.AdWords.v201806.CriterionBidLandscapePage getCampaignCriterionBidLandscape(Google.Api.Ads.AdWords.v201806.Selector serviceSelector);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- System.Threading.Tasks.Task getCampaignCriterionBidLandscapeAsync(Google.Api.Ads.AdWords.v201806.Selector serviceSelector);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [System.ServiceModel.FaultContractAttribute(typeof(Google.Api.Ads.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ComparableValue))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DataEntry))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Google.Api.Ads.AdWords.v201806.CriterionBidLandscapePage getCriterionBidLandscape(Google.Api.Ads.AdWords.v201806.Selector serviceSelector);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- System.Threading.Tasks.Task getCriterionBidLandscapeAsync(Google.Api.Ads.AdWords.v201806.Selector serviceSelector);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [System.ServiceModel.FaultContractAttribute(typeof(Google.Api.Ads.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ComparableValue))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DataEntry))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Google.Api.Ads.AdWords.v201806.DomainCategoryPage getDomainCategory(Google.Api.Ads.AdWords.v201806.Selector serviceSelector);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- System.Threading.Tasks.Task getDomainCategoryAsync(Google.Api.Ads.AdWords.v201806.Selector serviceSelector);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [System.ServiceModel.FaultContractAttribute(typeof(Google.Api.Ads.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ComparableValue))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DataEntry))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Google.Api.Ads.AdWords.v201806.AdGroupBidLandscapePage queryAdGroupBidLandscape(string query);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- System.Threading.Tasks.Task queryAdGroupBidLandscapeAsync(string query);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [System.ServiceModel.FaultContractAttribute(typeof(Google.Api.Ads.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ComparableValue))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DataEntry))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Google.Api.Ads.AdWords.v201806.CriterionBidLandscapePage queryCampaignCriterionBidLandscape(string query);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- System.Threading.Tasks.Task queryCampaignCriterionBidLandscapeAsync(string query);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [System.ServiceModel.FaultContractAttribute(typeof(Google.Api.Ads.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ComparableValue))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DataEntry))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Google.Api.Ads.AdWords.v201806.CriterionBidLandscapePage queryCriterionBidLandscape(string query);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- System.Threading.Tasks.Task queryCriterionBidLandscapeAsync(string query);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [System.ServiceModel.FaultContractAttribute(typeof(Google.Api.Ads.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ComparableValue))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DataEntry))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Google.Api.Ads.AdWords.v201806.DomainCategoryPage queryDomainCategory(string query);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- System.Threading.Tasks.Task queryDomainCategoryAsync(string query);
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public interface DataServiceInterfaceChannel : Google.Api.Ads.AdWords.v201806.DataServiceInterface, System.ServiceModel.IClientChannel
- {
- }
-
-
- /// A service to return Ads Campaign Management data matching a Selector. This is
- /// disabled for AdX.
- ///
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class DataService : AdWordsSoapClient, IDataService
- {
- /// Creates a new instance of the class.
- ///
- public DataService()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public DataService(string endpointConfigurationName)
- : base(endpointConfigurationName)
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public DataService(string endpointConfigurationName, string remoteAddress)
- : base(endpointConfigurationName, remoteAddress)
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public DataService(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress)
- : base(endpointConfigurationName, remoteAddress)
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public DataService(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)
- : base(binding, remoteAddress)
- {
- }
-
- /// Returns a list of AdGroupBidLandscapes for the
- /// ad groups specified in the selector. In the result, the returned LandscapePoints are grouped into AdGroupBidLandscapes by their ad groups, and
- /// numberResults of paging limits the total number of LandscapePoints instead of number of AdGroupBidLandscapes.
- /// Selects the entities to return bid landscapes
- /// for.
- /// A list of bid landscapes.
- /// when there is at least one error with the
- /// request.
- public virtual Google.Api.Ads.AdWords.v201806.AdGroupBidLandscapePage getAdGroupBidLandscape(Google.Api.Ads.AdWords.v201806.Selector serviceSelector)
- {
- return base.Channel.getAdGroupBidLandscape(serviceSelector);
- }
-
- public virtual System.Threading.Tasks.Task getAdGroupBidLandscapeAsync(Google.Api.Ads.AdWords.v201806.Selector serviceSelector)
- {
- return base.Channel.getAdGroupBidLandscapeAsync(serviceSelector);
- }
-
- /// Returns a list of CriterionBidLandscapes for
- /// the campaign criteria specified in the selector. In the result, the returned LandscapePoints are grouped into CriterionBidLandscapes by their campaign id and
- /// criterion id, and numberResults of paging limits the total number of LandscapePoints instead of number of CriterionBidLandscapes.
- /// Selects the entities to return bid landscapes
- /// for.
- /// A list of bid landscapes.
- /// when there is at least one error with the
- /// request.
- public virtual Google.Api.Ads.AdWords.v201806.CriterionBidLandscapePage getCampaignCriterionBidLandscape(Google.Api.Ads.AdWords.v201806.Selector serviceSelector)
- {
- return base.Channel.getCampaignCriterionBidLandscape(serviceSelector);
- }
-
- public virtual System.Threading.Tasks.Task getCampaignCriterionBidLandscapeAsync(Google.Api.Ads.AdWords.v201806.Selector serviceSelector)
- {
- return base.Channel.getCampaignCriterionBidLandscapeAsync(serviceSelector);
- }
-
- /// Returns a list of CriterionBidLandscapes for
- /// the criteria specified in the selector. In the result, the returned LandscapePoints are grouped into CriterionBidLandscapes by their criteria, and
- /// numberResults of paging limits the total number of LandscapePoints instead of number of CriterionBidLandscapes.
- /// Selects the entities to return bid landscapes
- /// for.
- /// A list of bid landscapes.
- /// when there is at least one error with the
- /// request.
- public virtual Google.Api.Ads.AdWords.v201806.CriterionBidLandscapePage getCriterionBidLandscape(Google.Api.Ads.AdWords.v201806.Selector serviceSelector)
- {
- return base.Channel.getCriterionBidLandscape(serviceSelector);
- }
-
- public virtual System.Threading.Tasks.Task getCriterionBidLandscapeAsync(Google.Api.Ads.AdWords.v201806.Selector serviceSelector)
- {
- return base.Channel.getCriterionBidLandscapeAsync(serviceSelector);
- }
-
- /// Returns a list of domain categories that can be used to create WebPage criterion.
- /// Selects the entities to return domain categories
- /// for.
- /// A list of domain categories.
- /// when there is at least one error with the
- /// request.
- public virtual Google.Api.Ads.AdWords.v201806.DomainCategoryPage getDomainCategory(Google.Api.Ads.AdWords.v201806.Selector serviceSelector)
- {
- return base.Channel.getDomainCategory(serviceSelector);
- }
-
- public virtual System.Threading.Tasks.Task getDomainCategoryAsync(Google.Api.Ads.AdWords.v201806.Selector serviceSelector)
- {
- return base.Channel.getDomainCategoryAsync(serviceSelector);
- }
-
- /// Returns a list of AdGroupBidLandscapes for the
- /// ad groups that match the query. In the result, the returned LandscapePoints are grouped into AdGroupBidLandscapes by their ad groups, and
- /// numberResults of paging limits the total number of LandscapePoints instead of number of AdGroupBidLandscapes.
- /// The SQL-like AWQL query string.
- /// A list of bid landscapes.
- /// if problems occur while parsing the query
- /// or fetching bid landscapes.
- public virtual Google.Api.Ads.AdWords.v201806.AdGroupBidLandscapePage queryAdGroupBidLandscape(string query)
- {
- return base.Channel.queryAdGroupBidLandscape(query);
- }
-
- public virtual System.Threading.Tasks.Task queryAdGroupBidLandscapeAsync(string query)
- {
- return base.Channel.queryAdGroupBidLandscapeAsync(query);
- }
-
- /// Returns a list of CriterionBidLandscapes for
- /// the campaign criteria that match the query. In the result, the returned LandscapePoints are grouped into CriterionBidLandscapes by their campaign id and
- /// criterion id, and numberResults of paging limits the total number of LandscapePoints instead of number of CriterionBidLandscapes.
- /// The SQL-like AWQL query string.
- /// A list of bid landscapes.
- /// if problems occur while parsing the query
- /// or fetching bid landscapes.
- public virtual Google.Api.Ads.AdWords.v201806.CriterionBidLandscapePage queryCampaignCriterionBidLandscape(string query)
- {
- return base.Channel.queryCampaignCriterionBidLandscape(query);
- }
-
- public virtual System.Threading.Tasks.Task queryCampaignCriterionBidLandscapeAsync(string query)
- {
- return base.Channel.queryCampaignCriterionBidLandscapeAsync(query);
- }
-
- /// Returns a list of CriterionBidLandscapes for
- /// the criteria that match the query. In the result, the returned LandscapePoints are grouped into CriterionBidLandscapes by their criteria, and
- /// numberResults of paging limits the total number of LandscapePoints instead of number of CriterionBidLandscapes.
- /// The SQL-like AWQL query string.
- /// A list of bid landscapes.
- /// if problems occur while parsing the query
- /// or fetching bid landscapes.
- public virtual Google.Api.Ads.AdWords.v201806.CriterionBidLandscapePage queryCriterionBidLandscape(string query)
- {
- return base.Channel.queryCriterionBidLandscape(query);
- }
-
- public virtual System.Threading.Tasks.Task queryCriterionBidLandscapeAsync(string query)
- {
- return base.Channel.queryCriterionBidLandscapeAsync(query);
- }
-
- /// Returns a list of domain categories that can be used to create WebPage criterion.
- /// The SQL-like AWQL query string.
- /// A list of domain categories.
- /// if problems occur while parsing the query
- /// or fetching domain categories.
- public virtual Google.Api.Ads.AdWords.v201806.DomainCategoryPage queryDomainCategory(string query)
- {
- return base.Channel.queryDomainCategory(query);
- }
-
- public virtual System.Threading.Tasks.Task queryDomainCategoryAsync(string query)
- {
- return base.Channel.queryDomainCategoryAsync(query);
- }
- }
- namespace Wrappers.FeedService
- {
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "mutate", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class mutateRequest
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- [System.Xml.Serialization.XmlElementAttribute("operations")]
- public Google.Api.Ads.AdWords.v201806.FeedOperation[] operations;
-
- /// Creates a new instance of the class.
- ///
- public mutateRequest()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public mutateRequest(Google.Api.Ads.AdWords.v201806.FeedOperation[] operations)
- {
- this.operations = operations;
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "mutateResponse", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class mutateResponse
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- public Google.Api.Ads.AdWords.v201806.FeedReturnValue rval;
-
- /// Creates a new instance of the class.
- ///
- public mutateResponse()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public mutateResponse(Google.Api.Ads.AdWords.v201806.FeedReturnValue rval)
- {
- this.rval = rval;
- }
- }
- }
- /// Data used for authorization using OAuth. For more information about OAuth, see:
- /// "https://developers.google.com/identity/protocols/OAuth2"
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class OAuthInfo
- {
- private string httpMethodField;
-
- private string httpRequestUrlField;
-
- private string httpAuthorizationHeaderField;
-
- /// The HTTP method used to obtain authorization.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public string httpMethod
- {
- get
- {
- return this.httpMethodField;
- }
- set
- {
- this.httpMethodField = value;
- }
- }
-
- /// The HTTP request URL used to obtain authorization.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public string httpRequestUrl
- {
- get
- {
- return this.httpRequestUrlField;
- }
- set
- {
- this.httpRequestUrlField = value;
- }
- }
-
- /// The HTTP authorization header used to obtain authorization.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public string httpAuthorizationHeader
- {
- get
- {
- return this.httpAuthorizationHeaderField;
- }
- set
- {
- this.httpAuthorizationHeaderField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Chain defines chain related metadata required in order to sync features
- /// belonging to a chain.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class Chain
- {
- private long chainIdField;
-
- private bool chainIdFieldSpecified;
-
- /// Id of the chain.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long chainId
- {
- get
- {
- return this.chainIdField;
- }
- set
- {
- this.chainIdField = value;
- this.chainIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool chainIdSpecified
- {
- get
- {
- return this.chainIdFieldSpecified;
- }
- set
- {
- this.chainIdFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Configuration data allowing feed items to be populated for a system feed.
- ///
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(PlacesLocationFeedData))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(AffiliateLocationFeedData))]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class SystemFeedGenerationData
- {
- private string systemFeedGenerationDataTypeField;
-
- /// Indicates that this instance is a subtype of SystemFeedGenerationData. Although
- /// this field is returned in the response, it is ignored on input and cannot be
- /// selected. Specify xsi:type instead.
- ///
- [System.Xml.Serialization.XmlElementAttribute("SystemFeedGenerationData.Type", Order = 0)]
- public string SystemFeedGenerationDataType
- {
- get
- {
- return this.systemFeedGenerationDataTypeField;
- }
- set
- {
- this.systemFeedGenerationDataTypeField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Data used to configure a location feed populated from Google My Business
- /// Locations.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class PlacesLocationFeedData : SystemFeedGenerationData
- {
- private OAuthInfo oAuthInfoField;
-
- private string emailAddressField;
-
- private string businessAccountIdentifierField;
-
- private string businessNameFilterField;
-
- private string[] categoryFiltersField;
-
- private string[] labelFiltersField;
-
- /// Required authentication token (from OAuth API) for the email. Use the
- /// following values when populating the oAuthInfo:
httpMethod:
- /// GET
httpRequestUrl:
- ///
httpAuthorizationHeader: Bearer *ACCESS_TOKEN* (where
- /// *ACCESS_TOKEN* is generated from OAuth credentials for the emailAddress and a
- /// scope matching httpRequestUrl)
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public OAuthInfo oAuthInfo
- {
- get
- {
- return this.oAuthInfoField;
- }
- set
- {
- this.oAuthInfoField = value;
- }
- }
-
- /// Email address of a Google My Business account or email address of a manager of
- /// the Google My Business account. This field is
- /// required and should not be null when it is contained within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public string emailAddress
- {
- get
- {
- return this.emailAddressField;
- }
- set
- {
- this.emailAddressField = value;
- }
- }
-
- /// Plus page ID of the managed business whose locations should be used. If this
- /// field is not set, then all businesses accessible by the user (specified by the
- /// emailAddress) are used.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public string businessAccountIdentifier
- {
- get
- {
- return this.businessAccountIdentifierField;
- }
- set
- {
- this.businessAccountIdentifierField = value;
- }
- }
-
- /// Used to filter Google My Business listings by business name. If
- /// businessNameFilter is set, only listings with a matching business name are
- /// candidates to be sync'd into FeedItems.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public string businessNameFilter
- {
- get
- {
- return this.businessNameFilterField;
- }
- set
- {
- this.businessNameFilterField = value;
- }
- }
-
- /// Used to filter Google My Business listings by categories. If entries exist in
- /// categoryFilters, only listings that belong to any of the categories are
- /// candidates to be sync'd into FeedItems. If no entries exist in categoryFilters,
- /// then all listings are candidates for syncing.
- ///
- [System.Xml.Serialization.XmlElementAttribute("categoryFilters", Order = 4)]
- public string[] categoryFilters
- {
- get
- {
- return this.categoryFiltersField;
- }
- set
- {
- this.categoryFiltersField = value;
- }
- }
-
- /// Used to filter Google My Business
- /// listings by labels. If entries exist in labelFilters, only listings that has any
- /// of the labels set are candidates to be synchronized into FeedItems. If no
- /// entries exist in labelFilters, then all listings are candidates for syncing.
- ///
- [System.Xml.Serialization.XmlElementAttribute("labelFilters", Order = 5)]
- public string[] labelFilters
- {
- get
- {
- return this.labelFiltersField;
- }
- set
- {
- this.labelFiltersField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : SystemFeedGenerationData.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : SystemFeedGenerationData.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : SystemFeedGenerationData.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Data used to configure an Affiliate Location Feed populated with the specified
- /// chains.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class AffiliateLocationFeedData : SystemFeedGenerationData
- {
- private Chain[] chainsField;
-
- private RelationshipType relationshipTypeField;
-
- private bool relationshipTypeFieldSpecified;
-
- /// The list of chains that the Affiliate Location Feed will sync the locations
- /// from.
- ///
- [System.Xml.Serialization.XmlElementAttribute("chains", Order = 0)]
- public Chain[] chains
- {
- get
- {
- return this.chainsField;
- }
- set
- {
- this.chainsField = value;
- }
- }
-
- /// The relationship the chains have with the advertiser.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public RelationshipType relationshipType
- {
- get
- {
- return this.relationshipTypeField;
- }
- set
- {
- this.relationshipTypeField = value;
- this.relationshipTypeSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool relationshipTypeSpecified
- {
- get
- {
- return this.relationshipTypeFieldSpecified;
- }
- set
- {
- this.relationshipTypeFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : SystemFeedGenerationData.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : SystemFeedGenerationData.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : SystemFeedGenerationData.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Relationship type affiliate locations have with the advertiser.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum RelationshipType
- {
- /// Used for return value only. An enumeration
- /// could not be processed, typically due to incompatibility with your WSDL
- /// version.
- ///
- UNKNOWN = 0,
- /// General retailer relationship
- ///
- GENERAL_RETAILERS = 1,
- }
-
-
- /// FeedAttributes define the types of data expected to be present in a Feed. A
- /// single FeedAttribute specifies the expected type of the FeedItemAttributes with
- /// the same FeedAttributeId. Optionally, a FeedAttribute can be marked as being
- /// part of a FeedItem's unique key.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class FeedAttribute
- {
- private long idField;
-
- private bool idFieldSpecified;
-
- private string nameField;
-
- private FeedAttributeType typeField;
-
- private bool typeFieldSpecified;
-
- private bool isPartOfKeyField;
-
- private bool isPartOfKeyFieldSpecified;
-
- /// Id of the attribute.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long id
- {
- get
- {
- return this.idField;
- }
- set
- {
- this.idField = value;
- this.idSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool idSpecified
- {
- get
- {
- return this.idFieldSpecified;
- }
- set
- {
- this.idFieldSpecified = value;
- }
- }
-
- /// The name of the attribute. This field is
- /// required and should not be null when it is contained within Operators : ADD, SET.The length of this string should be between 1 and 30, inclusive,
- /// (trimmed).
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public string name
- {
- get
- {
- return this.nameField;
- }
- set
- {
- this.nameField = value;
- }
- }
-
- /// The expected type of the data. This field is
- /// required and should not be null when it is contained within Operators : ADD, SET.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public FeedAttributeType type
- {
- get
- {
- return this.typeField;
- }
- set
- {
- this.typeField = value;
- this.typeSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool typeSpecified
- {
- get
- {
- return this.typeFieldSpecified;
- }
- set
- {
- this.typeFieldSpecified = value;
- }
- }
-
- /// Indicates that data corresponding to this attribute is part of a FeedItem's
- /// unique key. It defaults to false if it is unspecified. Note that a unique key is
- /// not required in a Feed's schema, in which case the FeedItems must be referenced
- /// by their FeedItemId.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public bool isPartOfKey
- {
- get
- {
- return this.isPartOfKeyField;
- }
- set
- {
- this.isPartOfKeyField = value;
- this.isPartOfKeySpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool isPartOfKeySpecified
- {
- get
- {
- return this.isPartOfKeyFieldSpecified;
- }
- set
- {
- this.isPartOfKeyFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Possible data types.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "FeedAttribute.Type", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum FeedAttributeType
- {
- INT64 = 0,
- FLOAT = 1,
- STRING = 2,
- BOOLEAN = 3,
- URL = 4,
- DATE_TIME = 5,
- INT64_LIST = 6,
- FLOAT_LIST = 7,
- STRING_LIST = 8,
- BOOLEAN_LIST = 9,
- URL_LIST = 10,
- DATE_TIME_LIST = 11,
- PRICE = 13,
- /// Used for return value only. An enumeration
- /// could not be processed, typically due to incompatibility with your WSDL
- /// version.
- ///
- UNKNOWN = 12,
- }
-
-
- /// A Feed identifies a source of data and its schema. The data for the Feed can
- /// either be user-entered via the FeedItemService or system-generated, in which
- /// case the data is provided automatically.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class Feed
- {
- private long idField;
-
- private bool idFieldSpecified;
-
- private string nameField;
-
- private FeedAttribute[] attributesField;
-
- private FeedStatus statusField;
-
- private bool statusFieldSpecified;
-
- private FeedOrigin originField;
-
- private bool originFieldSpecified;
-
- private SystemFeedGenerationData systemFeedGenerationDataField;
-
- /// Id of the Feed. This field can be selected
- /// using the value "Id".This field can
- /// be filtered on.This field is required
- /// and should not be null when it is contained within Operators : REMOVE, SET.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long id
- {
- get
- {
- return this.idField;
- }
- set
- {
- this.idField = value;
- this.idSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool idSpecified
- {
- get
- {
- return this.idFieldSpecified;
- }
- set
- {
- this.idFieldSpecified = value;
- }
- }
-
- /// Name of the Feed. This field can be selected
- /// using the value "Name".This field can
- /// be filtered on.This field is required
- /// and should not be null when it is contained within Operators : ADD.The length of this string should be between 1 and 128, inclusive,
- /// (trimmed).
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public string name
- {
- get
- {
- return this.nameField;
- }
- set
- {
- this.nameField = value;
- }
- }
-
- /// The Feed's schema. In SET operations, these attributes will be considered new
- /// attributes and will be appended to the existing list of attributes unless this
- /// list is an exact copy of the existing list (as would be obtained via FeedService#get). If an empty attributes list is
- /// provided, the existing list of attributes will not be changed. This field can be selected using the value
- /// "Attributes".This field must
- /// not contain elements.This field is required and should not be null when it is
- /// contained within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute("attributes", Order = 2)]
- public FeedAttribute[] attributes
- {
- get
- {
- return this.attributesField;
- }
- set
- {
- this.attributesField = value;
- }
- }
-
- /// Status of the Feed. This field can be
- /// selected using the value "FeedStatus".This field can be filtered on.This field is read only and will be ignored when sent to the
- /// API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public FeedStatus status
- {
- get
- {
- return this.statusField;
- }
- set
- {
- this.statusField = value;
- this.statusSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool statusSpecified
- {
- get
- {
- return this.statusFieldSpecified;
- }
- set
- {
- this.statusFieldSpecified = value;
- }
- }
-
- /// Specifies who manages the FeedAttributes for the Feed. This field can be
- /// selected using the value "Origin".This field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 4)]
- public FeedOrigin origin
- {
- get
- {
- return this.originField;
- }
- set
- {
- this.originField = value;
- this.originSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool originSpecified
- {
- get
- {
- return this.originFieldSpecified;
- }
- set
- {
- this.originFieldSpecified = value;
- }
- }
-
- /// The system data for the Feed. This data specifies information for generating the
- /// feed items of the system generated feed. This field can be selected using the value
- /// "SystemFeedGenerationData".
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 5)]
- public SystemFeedGenerationData systemFeedGenerationData
- {
- get
- {
- return this.systemFeedGenerationDataField;
- }
- set
- {
- this.systemFeedGenerationDataField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field Id = new Field("Id", true, true);
-
- public static readonly Field Name = new Field("Name", true, true);
-
- public static readonly Field Attributes = new Field("Attributes", false, true);
-
- public static readonly Field FeedStatus = new Field("FeedStatus", true, true);
-
- public static readonly Field Origin = new Field("Origin", true, true);
-
- public static readonly Field SystemFeedGenerationData = new Field("SystemFeedGenerationData", false, true);
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field Id = Fields.Id;
-
- public static readonly Field Name = Fields.Name;
-
- public static readonly Field Attributes = Fields.Attributes;
-
- public static readonly Field FeedStatus = Fields.FeedStatus;
-
- public static readonly Field Origin = Fields.Origin;
-
- public static readonly Field SystemFeedGenerationData = Fields.SystemFeedGenerationData;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field Id = Fields.Id;
-
- public static readonly Field Name = Fields.Name;
-
- public static readonly Field FeedStatus = Fields.FeedStatus;
-
- public static readonly Field Origin = Fields.Origin;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Status of the Feed.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "Feed.Status", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum FeedStatus
- {
- /// This Feed's data can be used in placeholders.
- ///
- ENABLED = 0,
- /// This Feed's data is not used anymore.
- ///
- REMOVED = 1,
- /// Unknown status. Used for return value only. An
- /// enumeration could not be processed, typically due to incompatibility with your
- /// WSDL version.
- ///
- UNKNOWN = 2,
- }
-
-
- /// Used to Specify who manages the FeedAttributes for
- /// the Feed.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "Feed.Origin", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum FeedOrigin
- {
- /// The FeedAttributes for this Feed
- /// are managed by the user. Users can add FeedAttributes to this Feed.
- ///
- USER = 0,
- /// The FeedAttributes for an ADWORDS Feed are created by ADWORDS. Occasionally the attributes defined
- /// for a particular type of Feed is expanded. In this case,
- /// older Feeds of this type can be mutated to add the expanded
- /// attributes.
- ///
- ADWORDS = 1,
- /// Used for return value only. An enumeration
- /// could not be processed, typically due to incompatibility with your WSDL
- /// version.
- ///
- UNKNOWN = 2,
- }
-
-
- /// The result of a call to FeedService#get.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class FeedPage : NullStatsPage
- {
- private Feed[] entriesField;
-
- /// The resulting Feeds.
- ///
- [System.Xml.Serialization.XmlElementAttribute("entries", Order = 0)]
- public Feed[] entries
- {
- get
- {
- return this.entriesField;
- }
- set
- {
- this.entriesField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : NullStatsPage.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : NullStatsPage.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : NullStatsPage.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// An error caused by an invalid Feed in a FeedService request.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class FeedError : ApiError
- {
- private FeedErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// The cause of the error.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public FeedErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Error reasons.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "FeedError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum FeedErrorReason
- {
- /// The names of the FeedAttributes must be unique.
- ///
- ATTRIBUTE_NAMES_NOT_UNIQUE = 0,
- /// The attribute list must be an exact copy of the existing list if the attribute
- /// id's are present.
- ///
- ATTRIBUTES_DO_NOT_MATCH_EXISTING_ATTRIBUTES = 1,
- /// Origin can only be set during Feed creation.
- ///
- CANNOT_CHANGE_ORIGIN = 2,
- /// Cannot specify USER origin for a system generated feed.
- ///
- CANNOT_SPECIFY_USER_ORIGIN_FOR_SYSTEM_FEED = 3,
- /// Cannot specify ADWORDS origin for a non-system generated feed.
- ///
- CANNOT_SPECIFY_ADWORDS_ORIGIN_FOR_NON_SYSTEM_FEED = 4,
- /// Cannot specify feed attributes for system feed.
- ///
- CANNOT_SPECIFY_FEED_ATTRIBUTES_FOR_SYSTEM_FEED = 5,
- /// Cannot update FeedAttributes on feed with origin adwords.
- ///
- CANNOT_UPDATE_FEED_ATTRIBUTES_WITH_ORIGIN_ADWORDS = 6,
- /// The given id refers to a removed Feed. Removed Feeds are immutable.
- ///
- FEED_REMOVED = 7,
- /// The origin of the feed is not valid for the client.
- ///
- INVALID_ORIGIN_VALUE = 8,
- /// A user can only create and modify feeds with user origin.
- ///
- FEED_ORIGIN_IS_NOT_USER = 9,
- /// Invalid auth token for the given email
- ///
- INVALID_AUTH_TOKEN_FOR_EMAIL = 21,
- /// Invalid email specified
- ///
- INVALID_EMAIL = 22,
- /// Feed name matches that of another active Feed.
- ///
- DUPLICATE_FEED_NAME = 10,
- /// Name of feed is not allowed.
- ///
- INVALID_FEED_NAME = 11,
- /// Missing OAuthInfo
- ///
- MISSING_OAUTH_INFO = 12,
- /// New FeedAttributes must not effect the unique key.
- ///
- NEW_ATTRIBUTE_CANNOT_BE_PART_OF_UNIQUE_KEY = 13,
- /// Too many FeedAttributes for a Feed.
- ///
- TOO_MANY_FEED_ATTRIBUTES_FOR_FEED = 14,
- /// The business account is not valid.
- ///
- INVALID_BUSINESS_ACCOUNT = 15,
- /// Business account cannot access Google My Business account.
- ///
- BUSINESS_ACCOUNT_CANNOT_ACCESS_LOCATION_ACCOUNT = 16,
- /// Invalid chain id provided for affiliate location feed.
- ///
- INVALID_AFFILIATE_CHAIN_ID = 18,
- /// Cannot change system feed generation data type
- ///
- CANNOT_CHANGE_SYSTEM_FEED_GENERATION_DATA_TYPE = 19,
- /// Unsupported relationship type
- ///
- UNSUPPORTED_AFFILIATE_LOCATION_RELATIONSHIP_TYPE = 20,
- UNKNOWN = 17,
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ServiceModel.ServiceContractAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", ConfigurationName = "Google.Api.Ads.AdWords.v201806.FeedServiceInterface")]
- public interface FeedServiceInterface
- {
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [System.ServiceModel.FaultContractAttribute(typeof(Google.Api.Ads.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Google.Api.Ads.AdWords.v201806.FeedPage get(Google.Api.Ads.AdWords.v201806.Selector selector);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- System.Threading.Tasks.Task getAsync(Google.Api.Ads.AdWords.v201806.Selector selector);
-
- // CODEGEN: Parameter 'operations' 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.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Wrappers.FeedService.mutateResponse mutate(Wrappers.FeedService.mutateRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- System.Threading.Tasks.Task mutateAsync(Wrappers.FeedService.mutateRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [System.ServiceModel.FaultContractAttribute(typeof(Google.Api.Ads.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Google.Api.Ads.AdWords.v201806.FeedPage query([System.ServiceModel.MessageParameterAttribute(Name = "query")] string query1);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- System.Threading.Tasks.Task queryAsync(string query);
- }
-
-
- /// Operation used to create or mutate a Feed.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class FeedOperation : Operation
- {
- private Feed operandField;
-
- /// The Feed to create or mutate. This field is
- /// required and should not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public Feed operand
- {
- get
- {
- return this.operandField;
- }
- set
- {
- this.operandField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Operation.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Operation.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Operation.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The result of a call to FeedService#mutate.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class FeedReturnValue : ListReturnValue
- {
- private Feed[] valueField;
-
- /// The resulting Feeds.
- ///
- [System.Xml.Serialization.XmlElementAttribute("value", Order = 0)]
- public Feed[] value
- {
- get
- {
- return this.valueField;
- }
- set
- {
- this.valueField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ListReturnValue.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ListReturnValue.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ListReturnValue.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public interface FeedServiceInterfaceChannel : Google.Api.Ads.AdWords.v201806.FeedServiceInterface, System.ServiceModel.IClientChannel
- {
- }
-
-
- /// Service used to get and mutate Feeds.
- ///
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class FeedService : AdWordsSoapClient, IFeedService
- {
- /// Creates a new instance of the class.
- ///
- public FeedService()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public FeedService(string endpointConfigurationName)
- : base(endpointConfigurationName)
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public FeedService(string endpointConfigurationName, string remoteAddress)
- : base(endpointConfigurationName, remoteAddress)
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public FeedService(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress)
- : base(endpointConfigurationName, remoteAddress)
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public FeedService(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)
- : base(binding, remoteAddress)
- {
- }
-
- /// Returns a list of Feeds that meet the selector criteria.
- /// Determines which Feeds to return. If empty all Feeds are
- /// returned.
- /// The list of Feeds.
- /// Indicates a problem with the
- /// request.
- public virtual Google.Api.Ads.AdWords.v201806.FeedPage get(Google.Api.Ads.AdWords.v201806.Selector selector)
- {
- return base.Channel.get(selector);
- }
-
- public virtual System.Threading.Tasks.Task getAsync(Google.Api.Ads.AdWords.v201806.Selector selector)
- {
- return base.Channel.getAsync(selector);
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- Wrappers.FeedService.mutateResponse Google.Api.Ads.AdWords.v201806.FeedServiceInterface.mutate(Wrappers.FeedService.mutateRequest request)
- {
- return base.Channel.mutate(request);
- }
-
- /// Add, remove, and set Feeds.
- /// The operations to apply.
- /// The resulting Feeds.
- /// Indicates a problem with the
- /// request.
- public virtual Google.Api.Ads.AdWords.v201806.FeedReturnValue mutate(Google.Api.Ads.AdWords.v201806.FeedOperation[] operations)
- {
- Wrappers.FeedService.mutateRequest inValue = new Wrappers.FeedService.mutateRequest();
- inValue.operations = operations;
- Wrappers.FeedService.mutateResponse retVal = ((Google.Api.Ads.AdWords.v201806.FeedServiceInterface) (this)).mutate(inValue);
- return retVal.rval;
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- System.Threading.Tasks.Task Google.Api.Ads.AdWords.v201806.FeedServiceInterface.mutateAsync(Wrappers.FeedService.mutateRequest request)
- {
- return base.Channel.mutateAsync(request);
- }
-
- public virtual System.Threading.Tasks.Task mutateAsync(Google.Api.Ads.AdWords.v201806.FeedOperation[] operations)
- {
- Wrappers.FeedService.mutateRequest inValue = new Wrappers.FeedService.mutateRequest();
- inValue.operations = operations;
- return System.Threading.Tasks.Task.Factory.StartNew(() => (((Google.Api.Ads.AdWords.v201806.FeedServiceInterface) (this)).mutateAsync(inValue)).Result.rval);
- }
-
- /// Returns the list of Feed that match the query.
- /// The SQL-like AWQL query string.
- /// s A list of Feed.
- /// if problems occur while parsing the query
- /// or fetching Feed.
- public virtual Google.Api.Ads.AdWords.v201806.FeedPage query(string query1)
- {
- return base.Channel.query(query1);
- }
-
- public virtual System.Threading.Tasks.Task queryAsync(string query)
- {
- return base.Channel.queryAsync(query);
- }
- }
- namespace Wrappers.FeedItemService
- {
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "mutate", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class mutateRequest
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- [System.Xml.Serialization.XmlElementAttribute("operations")]
- public Google.Api.Ads.AdWords.v201806.FeedItemOperation[] operations;
-
- /// Creates a new instance of the class.
- ///
- public mutateRequest()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public mutateRequest(Google.Api.Ads.AdWords.v201806.FeedItemOperation[] operations)
- {
- this.operations = operations;
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "mutateResponse", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class mutateResponse
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- public Google.Api.Ads.AdWords.v201806.FeedItemReturnValue rval;
-
- /// Creates a new instance of the class.
- ///
- public mutateResponse()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public mutateResponse(Google.Api.Ads.AdWords.v201806.FeedItemReturnValue rval)
- {
- this.rval = rval;
- }
- }
- }
- /// Represents a FeedItem geo restriction.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class FeedItemGeoRestriction
- {
- private GeoRestriction geoRestrictionField;
-
- private bool geoRestrictionFieldSpecified;
-
- /// The geo targeting restriction of a feed item. If null then the geo restriction
- /// is cleared. This field can be selected using
- /// the value "GeoTargetingRestriction".This field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public GeoRestriction geoRestriction
- {
- get
- {
- return this.geoRestrictionField;
- }
- set
- {
- this.geoRestrictionField = value;
- this.geoRestrictionSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool geoRestrictionSpecified
- {
- get
- {
- return this.geoRestrictionFieldSpecified;
- }
- set
- {
- this.geoRestrictionFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field GeoTargetingRestriction = new Field("GeoTargetingRestriction", true, true);
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field GeoTargetingRestriction = Fields.GeoTargetingRestriction;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field GeoTargetingRestriction = Fields.GeoTargetingRestriction;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// A restriction used to determine if the request context's geo should be matched.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum GeoRestriction
- {
- /// Used for return value only. An enumeration
- /// could not be processed, typically due to incompatibility with your WSDL
- /// version.
- ///
- UNKNOWN = 0,
- /// Indicates that request context should match the physical location of the user.
- ///
- LOCATION_OF_PRESENCE = 1,
- }
-
-
- /// Contains validation error details for a set of feed attributes.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class FeedItemAttributeError
- {
- private long[] feedAttributeIdsField;
-
- private int validationErrorCodeField;
-
- private bool validationErrorCodeFieldSpecified;
-
- private string errorInformationField;
-
- /// Contains the set of feed attribute ids whose attributes together triggered the
- /// error. Null or empty field means error code does not apply to a specific set of
- /// attributes.
- ///
- [System.Xml.Serialization.XmlElementAttribute("feedAttributeIds", Order = 0)]
- public long[] feedAttributeIds
- {
- get
- {
- return this.feedAttributeIdsField;
- }
- set
- {
- this.feedAttributeIdsField = value;
- }
- }
-
- /// Validation error code. See the list of error codes.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public int validationErrorCode
- {
- get
- {
- return this.validationErrorCodeField;
- }
- set
- {
- this.validationErrorCodeField = value;
- this.validationErrorCodeSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool validationErrorCodeSpecified
- {
- get
- {
- return this.validationErrorCodeFieldSpecified;
- }
- set
- {
- this.validationErrorCodeFieldSpecified = value;
- }
- }
-
- /// Extra information about the error, including related field IDs.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public string errorInformation
- {
- get
- {
- return this.errorInformationField;
- }
- set
- {
- this.errorInformationField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Contains offline validation, policy findings, and approval results for a
- /// FeedItem in the context of a FeedMapping.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class FeedItemPolicySummary : PolicySummaryInfo
- {
- private long feedMappingIdField;
-
- private bool feedMappingIdFieldSpecified;
-
- private FeedItemValidationStatus validationStatusField;
-
- private bool validationStatusFieldSpecified;
-
- private FeedItemAttributeError[] validationErrorsField;
-
- private FeedItemQualityApprovalStatus qualityApprovalStatusField;
-
- private bool qualityApprovalStatusFieldSpecified;
-
- private FeedItemQualityDisapprovalReasons[] qualityDisapprovalReasonsField;
-
- /// Id of FeedMapping used in validation/approvals checks.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long feedMappingId
- {
- get
- {
- return this.feedMappingIdField;
- }
- set
- {
- this.feedMappingIdField = value;
- this.feedMappingIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool feedMappingIdSpecified
- {
- get
- {
- return this.feedMappingIdFieldSpecified;
- }
- set
- {
- this.feedMappingIdFieldSpecified = value;
- }
- }
-
- /// Validation status of feed item for a particular feed mapping.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public FeedItemValidationStatus validationStatus
- {
- get
- {
- return this.validationStatusField;
- }
- set
- {
- this.validationStatusField = value;
- this.validationStatusSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool validationStatusSpecified
- {
- get
- {
- return this.validationStatusFieldSpecified;
- }
- set
- {
- this.validationStatusFieldSpecified = value;
- }
- }
-
- /// List of error codes specifying what errors were found during validation.
- ///
- [System.Xml.Serialization.XmlElementAttribute("validationErrors", Order = 2)]
- public FeedItemAttributeError[] validationErrors
- {
- get
- {
- return this.validationErrorsField;
- }
- set
- {
- this.validationErrorsField = value;
- }
- }
-
- /// Feed item quality evaluation approval status for a particular feed mapping.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public FeedItemQualityApprovalStatus qualityApprovalStatus
- {
- get
- {
- return this.qualityApprovalStatusField;
- }
- set
- {
- this.qualityApprovalStatusField = value;
- this.qualityApprovalStatusSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool qualityApprovalStatusSpecified
- {
- get
- {
- return this.qualityApprovalStatusFieldSpecified;
- }
- set
- {
- this.qualityApprovalStatusFieldSpecified = value;
- }
- }
-
- /// Feed item quality evaluation disapproval reasons.
- ///
- [System.Xml.Serialization.XmlElementAttribute("qualityDisapprovalReasons", Order = 4)]
- public FeedItemQualityDisapprovalReasons[] qualityDisapprovalReasons
- {
- get
- {
- return this.qualityDisapprovalReasonsField;
- }
- set
- {
- this.qualityDisapprovalReasonsField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : PolicySummaryInfo.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : PolicySummaryInfo.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : PolicySummaryInfo.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Validation status of a FeedItem.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum FeedItemValidationStatus
- {
- /// Validation pending.
- ///
- UNCHECKED = 0,
- /// An error was found.
- ///
- ERROR = 1,
- /// FeedItem is semantically well-formed.
- ///
- VALID = 2,
- }
-
-
- /// Feed item quality evaluation approval status.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum FeedItemQualityApprovalStatus
- {
- /// Quality evaluation pending
- ///
- UNKNOWN = 0,
- /// Approved for quality
- ///
- APPROVED = 1,
- /// Disapproved for quality
- ///
- DISAPPROVED = 2,
- }
-
-
- /// Feed item quality evaluation disapproval reasons.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum FeedItemQualityDisapprovalReasons
- {
- UNKNOWN = 0,
- /// Price contains repetitive headers
- ///
- TABLE_REPETITIVE_HEADERS = 1,
- /// Price contains repetitive description
- ///
- TABLE_REPETITIVE_DESCRIPTION = 2,
- /// Price contains inconsistent items
- ///
- TABLE_INCONSISTENT_ROWS = 3,
- /// Price qualifiers in description
- ///
- DESCRIPTION_HAS_PRICE_QUALIFIERS = 16,
- /// Unsupported language
- ///
- UNSUPPORTED_LANGUAGE = 17,
- /// Price item header is not relevant to the price type
- ///
- TABLE_ROW_HEADER_TABLE_TYPE_MISMATCH = 4,
- /// Price item header has promotional text
- ///
- TABLE_ROW_HEADER_HAS_PROMOTIONAL_TEXT = 5,
- /// Price item description is not relevant to the item header
- ///
- TABLE_ROW_DESCRIPTION_NOT_RELEVANT = 6,
- /// Price item description contains promotional text
- ///
- TABLE_ROW_DESCRIPTION_HAS_PROMOTIONAL_TEXT = 7,
- /// Price item header and description are repetitive
- ///
- TABLE_ROW_HEADER_DESCRIPTION_REPETITIVE = 8,
- /// Price item is in a foreign language, nonsense, or can't be rated
- ///
- TABLE_ROW_UNRATEABLE = 9,
- /// Price item price is invalid or inaccurate
- ///
- TABLE_ROW_PRICE_INVALID = 10,
- /// Price item url is invalid or irrelevant
- ///
- TABLE_ROW_URL_INVALID = 11,
- /// Header or description has price
- ///
- HEADER_OR_DESCRIPTION_HAS_PRICE = 18,
- /// Snippet values do not match the header
- ///
- STRUCTURED_SNIPPETS_HEADER_POLICY_VIOLATED = 12,
- /// Snippet values are repeated
- ///
- STRUCTURED_SNIPPETS_REPEATED_VALUES = 13,
- /// Snippet values violate editorial guidelines like punctuation
- ///
- STRUCTURED_SNIPPETS_EDITORIAL_GUIDELINES = 14,
- /// Snippets contain promotional text
- ///
- STRUCTURED_SNIPPETS_HAS_PROMOTIONAL_TEXT = 15,
- }
-
-
- /// Represents a money amount with currency.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class MoneyWithCurrency : ComparableValue
- {
- private Money moneyField;
-
- private string currencyCodeField;
-
- /// The amount of money. This field must be greater
- /// than or equal to 0.This field is
- /// required and should not be null when it is contained within Operators : SET, ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public Money money
- {
- get
- {
- return this.moneyField;
- }
- set
- {
- this.moneyField = value;
- }
- }
-
- /// Currency code. The length of this string
- /// should be between 3 and 3, inclusive, (trimmed).
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public string currencyCode
- {
- get
- {
- return this.currencyCodeField;
- }
- set
- {
- this.currencyCodeField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ComparableValue.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ComparableValue.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ComparableValue.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Represents a feed item's value for a particular feed attribute. A feed item's
- /// value is composed of a collection of these attribute values.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class FeedItemAttributeValue
- {
- private long feedAttributeIdField;
-
- private bool feedAttributeIdFieldSpecified;
-
- private long integerValueField;
-
- private bool integerValueFieldSpecified;
-
- private double doubleValueField;
-
- private bool doubleValueFieldSpecified;
-
- private bool booleanValueField;
-
- private bool booleanValueFieldSpecified;
-
- private string stringValueField;
-
- private long[] integerValuesField;
-
- private double[] doubleValuesField;
-
- private bool[] booleanValuesField;
-
- private string[] stringValuesField;
-
- private MoneyWithCurrency moneyWithCurrencyValueField;
-
- /// Feed attribute id
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long feedAttributeId
- {
- get
- {
- return this.feedAttributeIdField;
- }
- set
- {
- this.feedAttributeIdField = value;
- this.feedAttributeIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool feedAttributeIdSpecified
- {
- get
- {
- return this.feedAttributeIdFieldSpecified;
- }
- set
- {
- this.feedAttributeIdFieldSpecified = value;
- }
- }
-
- /// Integer value. Should be set if feedAttributeId refers to a feed attribute of
- /// type INT64. Leave empty to clear an existing INT64 attribute value.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public long integerValue
- {
- get
- {
- return this.integerValueField;
- }
- set
- {
- this.integerValueField = value;
- this.integerValueSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool integerValueSpecified
- {
- get
- {
- return this.integerValueFieldSpecified;
- }
- set
- {
- this.integerValueFieldSpecified = value;
- }
- }
-
- /// Double value. Should be set if feedAttributeId refers to a feed attribute of
- /// type FLOAT. Leave empty to clear an existing FLOAT attribute value.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public double doubleValue
- {
- get
- {
- return this.doubleValueField;
- }
- set
- {
- this.doubleValueField = value;
- this.doubleValueSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool doubleValueSpecified
- {
- get
- {
- return this.doubleValueFieldSpecified;
- }
- set
- {
- this.doubleValueFieldSpecified = value;
- }
- }
-
- /// Boolean value. Should be set if feedAttributeId refers to a feed attribute of
- /// type BOOLEAN. Leave empty to clear an existing BOOLEAN attribute value.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public bool booleanValue
- {
- get
- {
- return this.booleanValueField;
- }
- set
- {
- this.booleanValueField = value;
- this.booleanValueSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool booleanValueSpecified
- {
- get
- {
- return this.booleanValueFieldSpecified;
- }
- set
- {
- this.booleanValueFieldSpecified = value;
- }
- }
-
- /// String value. Should be set if feedAttributeId refers to a feed attribute of
- /// type STRING, URL, or DATE_TIME. The format of DATE_TIME is 'YYYYMMDD hhmmss'
- /// (e.g., 20130101 163031 to represent Jan 1, 2013 4:30:31pm). All date times are
- /// interpreted in the account's time zone. A time zone id may be appended to the
- /// date time, but it must match the account's time zone. For example '20130101
- /// 163031 America/Los_Angeles' may be specified in the above example as long as the
- /// account's time zone is America/Los_Angeles. Leave empty to clear an existing
- /// STRING, URL, or DATE_TIME attribute value.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 4)]
- public string stringValue
- {
- get
- {
- return this.stringValueField;
- }
- set
- {
- this.stringValueField = value;
- }
- }
-
- /// List of integer values. Should be set if feedAttributeId refers to a feed
- /// attribute of type INT64_LIST. Leave empty to clear an existing INT64_LIST
- /// attribute value.
- ///
- [System.Xml.Serialization.XmlElementAttribute("integerValues", Order = 5)]
- public long[] integerValues
- {
- get
- {
- return this.integerValuesField;
- }
- set
- {
- this.integerValuesField = value;
- }
- }
-
- /// List of double values. Should be set if feedAttributeId refers to a feed
- /// attribute of type FLOAT_LIST. Leave empty to clear an existing FLOAT_LIST
- /// attribute value.
- ///
- [System.Xml.Serialization.XmlElementAttribute("doubleValues", Order = 6)]
- public double[] doubleValues
- {
- get
- {
- return this.doubleValuesField;
- }
- set
- {
- this.doubleValuesField = value;
- }
- }
-
- /// List of boolean values. Should be set if feedAttributeId refers to a feed
- /// attribute of type BOOLEAN_LIST. Leave empty to clear an existing BOOLEAN_LIST
- /// attribute value.
- ///
- [System.Xml.Serialization.XmlElementAttribute("booleanValues", Order = 7)]
- public bool[] booleanValues
- {
- get
- {
- return this.booleanValuesField;
- }
- set
- {
- this.booleanValuesField = value;
- }
- }
-
- /// List of string values. Should be set if feedAttributeId refers to a feed
- /// attribute of type STRING_LIST, URL_LIST, or DATE_TIME_LIST. All strings in this
- /// list must be of the same type and format. For example, if the type is
- /// DATE_TIME_LIST, all strings in the list must be DATE_TIME formatted strings. See
- /// #stringValue for specific formatting requirements.
- ///
- [System.Xml.Serialization.XmlElementAttribute("stringValues", Order = 8)]
- public string[] stringValues
- {
- get
- {
- return this.stringValuesField;
- }
- set
- {
- this.stringValuesField = value;
- }
- }
-
- /// MoneyWithCurrency value. Should be set if feedAttributeId refers to a feed
- /// attribute of type PRICE. Leave empty to clear an existing PRICE attribute value.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 9)]
- public MoneyWithCurrency moneyWithCurrencyValue
- {
- get
- {
- return this.moneyWithCurrencyValueField;
- }
- set
- {
- this.moneyWithCurrencyValueField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Represents an item in a feed.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class FeedItem
- {
- private long feedIdField;
-
- private bool feedIdFieldSpecified;
-
- private long feedItemIdField;
-
- private bool feedItemIdFieldSpecified;
-
- private FeedItemStatus statusField;
-
- private bool statusFieldSpecified;
-
- private string startTimeField;
-
- private string endTimeField;
-
- private FeedItemAttributeValue[] attributeValuesField;
-
- private FeedItemPolicySummary[] policySummariesField;
-
- private FeedItemGeoRestriction geoTargetingRestrictionField;
-
- private CustomParameters urlCustomParametersField;
-
- /// ID of this feed item's feed This field can
- /// be selected using the value "FeedId".This field can be filtered on.This field is required and should not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long feedId
- {
- get
- {
- return this.feedIdField;
- }
- set
- {
- this.feedIdField = value;
- this.feedIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool feedIdSpecified
- {
- get
- {
- return this.feedIdFieldSpecified;
- }
- set
- {
- this.feedIdFieldSpecified = value;
- }
- }
-
- /// ID of this feed item. This may be unspecified if the user-defined key attributes
- /// are specified. This field can be selected
- /// using the value "FeedItemId".This
- /// field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public long feedItemId
- {
- get
- {
- return this.feedItemIdField;
- }
- set
- {
- this.feedItemIdField = value;
- this.feedItemIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool feedItemIdSpecified
- {
- get
- {
- return this.feedItemIdFieldSpecified;
- }
- set
- {
- this.feedItemIdFieldSpecified = value;
- }
- }
-
- /// Status of feed item This field can be
- /// selected using the value "Status".This field can be filtered on.This field is read only and will be ignored when sent to the
- /// API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public FeedItemStatus status
- {
- get
- {
- return this.statusField;
- }
- set
- {
- this.statusField = value;
- this.statusSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool statusSpecified
- {
- get
- {
- return this.statusFieldSpecified;
- }
- set
- {
- this.statusFieldSpecified = value;
- }
- }
-
- /// Start time in which this feed item is effective and can begin serving. The time
- /// zone of startTime must either match the time zone of the account or be
- /// unspecified where the time zone defaults to the account time zone. This field
- /// may be null to indicate no start time restriction. The special value "00000101
- /// 000000" may be used to clear an existing start time. This field can be selected using the value "StartTime".This field can be filtered on.This field is read only and will be ignored when
- /// sent to the API for the following Operators:
- /// REMOVE.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public string startTime
- {
- get
- {
- return this.startTimeField;
- }
- set
- {
- this.startTimeField = value;
- }
- }
-
- /// End time in which this feed item is no longer effective and will stop serving.
- /// The time zone of endTime must either match the time zone of the account or be
- /// unspecified where the time zone defaults to the account time zone. This field
- /// may be null to indicate no end time restriction. The special value "00000101
- /// 000000" may be used to clear an existing end time. This field can be selected using the value "EndTime".This field can be filtered on.This field is read only and will be ignored when
- /// sent to the API for the following Operators:
- /// REMOVE.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 4)]
- public string endTime
- {
- get
- {
- return this.endTimeField;
- }
- set
- {
- this.endTimeField = value;
- }
- }
-
- /// The feed item's attribute values. For any unset/unspecified feed attributes, the
- /// value is considered unset/null on ADD and unchanged on SET. This field can be selected using the value
- /// "AttributeValues".This field is
- /// required and should not be null when it is contained within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute("attributeValues", Order = 5)]
- public FeedItemAttributeValue[] attributeValues
- {
- get
- {
- return this.attributeValuesField;
- }
- set
- {
- this.attributeValuesField = value;
- }
- }
-
- /// Summary of a feed item's offline validation, policy findings, and approval
- /// results for active feed mappings. This field
- /// can be selected using the value "PolicySummaries".This field is read only and will be ignored when
- /// sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute("policySummaries", Order = 6)]
- public FeedItemPolicySummary[] policySummaries
- {
- get
- {
- return this.policySummariesField;
- }
- set
- {
- this.policySummariesField = value;
- }
- }
-
- /// Geo targeting restriction specifies the type of location that can be used for
- /// targeting. Only applies if the feed item has a location FeedItemTarget. On
- /// update, if the field is left unspecified, the previous geo targeting restriction
- /// state will not be changed. On update, if the field is set with a null
- /// GeoRestriction enum, the geo targeting restriction will be cleared.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 7)]
- public FeedItemGeoRestriction geoTargetingRestriction
- {
- get
- {
- return this.geoTargetingRestrictionField;
- }
- set
- {
- this.geoTargetingRestrictionField = value;
- }
- }
-
- /// A list of mappings to be used for substituting URL custom parameter tags in the
- /// trackingUrlTemplate, finalUrls, and/or finalMobileUrls. This field can be selected using the value
- /// "UrlCustomParameters".
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 8)]
- public CustomParameters urlCustomParameters
- {
- get
- {
- return this.urlCustomParametersField;
- }
- set
- {
- this.urlCustomParametersField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field FeedId = new Field("FeedId", true, true);
-
- public static readonly Field FeedItemId = new Field("FeedItemId", true, true);
-
- public static readonly Field Status = new Field("Status", true, true);
-
- public static readonly Field StartTime = new Field("StartTime", true, true);
-
- public static readonly Field EndTime = new Field("EndTime", true, true);
-
- public static readonly Field AttributeValues = new Field("AttributeValues", false, true);
-
- public static readonly Field PolicySummaries = new Field("PolicySummaries", false, true);
-
- public static readonly Field UrlCustomParameters = new Field("UrlCustomParameters", false, true);
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field FeedId = Fields.FeedId;
-
- public static readonly Field FeedItemId = Fields.FeedItemId;
-
- public static readonly Field Status = Fields.Status;
-
- public static readonly Field StartTime = Fields.StartTime;
-
- public static readonly Field EndTime = Fields.EndTime;
-
- public static readonly Field AttributeValues = Fields.AttributeValues;
-
- public static readonly Field PolicySummaries = Fields.PolicySummaries;
-
- public static readonly Field UrlCustomParameters = Fields.UrlCustomParameters;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field FeedId = Fields.FeedId;
-
- public static readonly Field FeedItemId = Fields.FeedItemId;
-
- public static readonly Field Status = Fields.Status;
-
- public static readonly Field StartTime = Fields.StartTime;
-
- public static readonly Field EndTime = Fields.EndTime;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "FeedItem.Status", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum FeedItemStatus
- {
- /// Feed item is active
- ///
- ENABLED = 0,
- /// Feed item is removed
- ///
- REMOVED = 1,
- /// Unknown status Used for return value only. An
- /// enumeration could not be processed, typically due to incompatibility with your
- /// WSDL version.
- ///
- UNKNOWN = 2,
- }
-
-
- /// Contains a subset of feed items resulting from a FeedItemService#get call.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class FeedItemPage : NullStatsPage
- {
- private FeedItem[] entriesField;
-
- /// The result entries in this page.
- ///
- [System.Xml.Serialization.XmlElementAttribute("entries", Order = 0)]
- public FeedItem[] entries
- {
- get
- {
- return this.entriesField;
- }
- set
- {
- this.entriesField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : NullStatsPage.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : NullStatsPage.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : NullStatsPage.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// FeedItemService related errors.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class FeedItemError : ApiError
- {
- private FeedItemErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public FeedItemErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
- }
-
-
- /// The reasons for the error.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "FeedItemError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum FeedItemErrorReason
- {
- /// Targeted adgroup's campaign does not match the targeted campaign.
- ///
- CAMPAIGN_TARGETING_MISMATCH = 0,
- /// Cannot convert the feed attribute value from string to its real type.
- ///
- CANNOT_CONVERT_ATTRIBUTE_VALUE_FROM_STRING = 1,
- /// Cannot operate on removed feed item.
- ///
- CANNOT_OPERATE_ON_REMOVED_FEED_ITEM = 2,
- /// Date time zone does not match the account's time zone.
- ///
- DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE = 3,
- /// Feed item with the key attributes could not be found.
- ///
- KEY_ATTRIBUTES_NOT_FOUND = 4,
- /// Unknown or unsupported device preference.
- ///
- INVALID_DEVICE_PREFERENCE = 5,
- /// Invalid feed item schedule end time (i.e., endHour = 24 and endMinute != 0).
- ///
- INVALID_SCHEDULE_END = 6,
- /// Url feed attribute value is not valid.
- ///
- INVALID_URL = 7,
- /// Some key attributes are missing.
- ///
- MISSING_KEY_ATTRIBUTES = 8,
- /// Feed item has same key attributes as another feed item.
- ///
- KEY_ATTRIBUTES_NOT_UNIQUE = 9,
- /// Cannot modify key attributes on an existing feed item.
- ///
- CANNOT_MODIFY_KEY_ATTRIBUTE_VALUE = 10,
- /// Overlapping feed item schedule times (e.g., 7-10AM and 8-11AM) are not allowed.
- ///
- OVERLAPPING_SCHEDULES = 11,
- /// Feed item schedule end time must be after start time.
- ///
- SCHEDULE_END_NOT_AFTER_START = 12,
- /// There are too many feed item schedules per day.
- ///
- TOO_MANY_SCHEDULES_PER_DAY = 13,
- /// The feed attribute value is too large.
- ///
- SIZE_TOO_LARGE_FOR_MULTI_VALUE_ATTRIBUTE = 14,
- /// Unknown error.
- ///
- UNKNOWN = 15,
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ServiceModel.ServiceContractAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", ConfigurationName = "Google.Api.Ads.AdWords.v201806.FeedItemServiceInterface")]
- public interface FeedItemServiceInterface
- {
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [System.ServiceModel.FaultContractAttribute(typeof(Google.Api.Ads.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(PolicySummaryInfo))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ComparableValue))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Google.Api.Ads.AdWords.v201806.FeedItemPage get(Google.Api.Ads.AdWords.v201806.Selector selector);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- System.Threading.Tasks.Task getAsync(Google.Api.Ads.AdWords.v201806.Selector selector);
-
- // CODEGEN: Parameter 'operations' 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.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(PolicySummaryInfo))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ComparableValue))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Wrappers.FeedItemService.mutateResponse mutate(Wrappers.FeedItemService.mutateRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- System.Threading.Tasks.Task mutateAsync(Wrappers.FeedItemService.mutateRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [System.ServiceModel.FaultContractAttribute(typeof(Google.Api.Ads.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(PolicySummaryInfo))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ComparableValue))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Google.Api.Ads.AdWords.v201806.FeedItemPage query([System.ServiceModel.MessageParameterAttribute(Name = "query")] string query1);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- System.Threading.Tasks.Task queryAsync(string query);
- }
-
-
- /// FeedItem service mutate operation.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class FeedItemOperation : Operation
- {
- private FeedItem operandField;
-
- /// FeedItem operand This field is required and
- /// should not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public FeedItem operand
- {
- get
- {
- return this.operandField;
- }
- set
- {
- this.operandField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Operation.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Operation.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Operation.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// A container for return values from FeedItemService.mutate().
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class FeedItemReturnValue : ListReturnValue
- {
- private FeedItem[] valueField;
-
- private ApiError[] partialFailureErrorsField;
-
- /// List of feed items returned from mutate.
- ///
- [System.Xml.Serialization.XmlElementAttribute("value", Order = 0)]
- public FeedItem[] value
- {
- get
- {
- return this.valueField;
- }
- set
- {
- this.valueField = value;
- }
- }
-
- /// List of partial failure errors.
- ///
- [System.Xml.Serialization.XmlElementAttribute("partialFailureErrors", Order = 1)]
- public ApiError[] partialFailureErrors
- {
- get
- {
- return this.partialFailureErrorsField;
- }
- set
- {
- this.partialFailureErrorsField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ListReturnValue.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ListReturnValue.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ListReturnValue.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public interface FeedItemServiceInterfaceChannel : Google.Api.Ads.AdWords.v201806.FeedItemServiceInterface, System.ServiceModel.IClientChannel
- {
- }
-
-
- /// Service to operate on feed items.
- ///
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class FeedItemService : AdWordsSoapClient, IFeedItemService
- {
- /// Creates a new instance of the class.
- ///
- public FeedItemService()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public FeedItemService(string endpointConfigurationName)
- : base(endpointConfigurationName)
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public FeedItemService(string endpointConfigurationName, string remoteAddress)
- : base(endpointConfigurationName, remoteAddress)
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public FeedItemService(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress)
- : base(endpointConfigurationName, remoteAddress)
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public FeedItemService(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)
- : base(binding, remoteAddress)
- {
- }
-
- /// Returns a list of FeedItems that meet the selector criteria.
- /// Determines which FeedItems to return. If empty all
- /// FeedItems are returned.
- /// The list of FeedItems.
- /// Indicates a problem with the
- /// request.
- public virtual Google.Api.Ads.AdWords.v201806.FeedItemPage get(Google.Api.Ads.AdWords.v201806.Selector selector)
- {
- return base.Channel.get(selector);
- }
-
- public virtual System.Threading.Tasks.Task getAsync(Google.Api.Ads.AdWords.v201806.Selector selector)
- {
- return base.Channel.getAsync(selector);
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- Wrappers.FeedItemService.mutateResponse Google.Api.Ads.AdWords.v201806.FeedItemServiceInterface.mutate(Wrappers.FeedItemService.mutateRequest request)
- {
- return base.Channel.mutate(request);
- }
-
- /// Add, remove, and set FeedItems.
- /// The operations to apply.
- /// The resulting FeedItems.
- /// Indicates a problem with the
- /// request.
- public virtual Google.Api.Ads.AdWords.v201806.FeedItemReturnValue mutate(Google.Api.Ads.AdWords.v201806.FeedItemOperation[] operations)
- {
- Wrappers.FeedItemService.mutateRequest inValue = new Wrappers.FeedItemService.mutateRequest();
- inValue.operations = operations;
- Wrappers.FeedItemService.mutateResponse retVal = ((Google.Api.Ads.AdWords.v201806.FeedItemServiceInterface) (this)).mutate(inValue);
- return retVal.rval;
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- System.Threading.Tasks.Task Google.Api.Ads.AdWords.v201806.FeedItemServiceInterface.mutateAsync(Wrappers.FeedItemService.mutateRequest request)
- {
- return base.Channel.mutateAsync(request);
- }
-
- public virtual System.Threading.Tasks.Task mutateAsync(Google.Api.Ads.AdWords.v201806.FeedItemOperation[] operations)
- {
- Wrappers.FeedItemService.mutateRequest inValue = new Wrappers.FeedItemService.mutateRequest();
- inValue.operations = operations;
- return System.Threading.Tasks.Task.Factory.StartNew(() => (((Google.Api.Ads.AdWords.v201806.FeedItemServiceInterface) (this)).mutateAsync(inValue)).Result.rval);
- }
-
- /// Returns the list of FeedItems that match the query.
- /// The SQL-like AWQL query string
- /// s A list of FeedItems
- /// when the query is invalid or there are
- /// errors processing the request.
- public virtual Google.Api.Ads.AdWords.v201806.FeedItemPage query(string query1)
- {
- return base.Channel.query(query1);
- }
-
- public virtual System.Threading.Tasks.Task queryAsync(string query)
- {
- return base.Channel.queryAsync(query);
- }
- }
- namespace Wrappers.FeedItemTargetService
- {
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "mutate", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class mutateRequest
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- [System.Xml.Serialization.XmlElementAttribute("operations")]
- public Google.Api.Ads.AdWords.v201806.FeedItemTargetOperation[] operations;
-
- /// Creates a new instance of the class.
- ///
- public mutateRequest()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public mutateRequest(Google.Api.Ads.AdWords.v201806.FeedItemTargetOperation[] operations)
- {
- this.operations = operations;
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "mutateResponse", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class mutateResponse
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- public Google.Api.Ads.AdWords.v201806.FeedItemTargetReturnValue rval;
-
- /// Creates a new instance of the class.
- ///
- public mutateResponse()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public mutateResponse(Google.Api.Ads.AdWords.v201806.FeedItemTargetReturnValue rval)
- {
- this.rval = rval;
- }
- }
- }
- /// Represents one target for a FeedItem.
- ///
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(FeedItemCriterionTarget))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(NegativeFeedItemCriterionTarget))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(FeedItemCampaignTarget))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(FeedItemAdGroupTarget))]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public abstract partial class FeedItemTarget
- {
- private long feedIdField;
-
- private bool feedIdFieldSpecified;
-
- private long feedItemIdField;
-
- private bool feedItemIdFieldSpecified;
-
- private FeedItemTargetType targetTypeField;
-
- private bool targetTypeFieldSpecified;
-
- private FeedItemTargetStatus statusField;
-
- private bool statusFieldSpecified;
-
- private string feedItemTargetTypeField;
-
- /// ID of the target feed item's feed. This
- /// field can be selected using the value "FeedId".This field can be filtered on.This field is required and should not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long feedId
- {
- get
- {
- return this.feedIdField;
- }
- set
- {
- this.feedIdField = value;
- this.feedIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool feedIdSpecified
- {
- get
- {
- return this.feedIdFieldSpecified;
- }
- set
- {
- this.feedIdFieldSpecified = value;
- }
- }
-
- /// ID of the target's feed item. This field can
- /// be selected using the value "FeedItemId".This field can be filtered on.This field is required and should not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public long feedItemId
- {
- get
- {
- return this.feedItemIdField;
- }
- set
- {
- this.feedItemIdField = value;
- this.feedItemIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool feedItemIdSpecified
- {
- get
- {
- return this.feedItemIdFieldSpecified;
- }
- set
- {
- this.feedItemIdFieldSpecified = value;
- }
- }
-
- /// Concrete subtype of FeedItemTarget. This
- /// field can be selected using the value "TargetType".This field can be filtered on.This field is read only and will be ignored when
- /// sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public FeedItemTargetType targetType
- {
- get
- {
- return this.targetTypeField;
- }
- set
- {
- this.targetTypeField = value;
- this.targetTypeSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool targetTypeSpecified
- {
- get
- {
- return this.targetTypeFieldSpecified;
- }
- set
- {
- this.targetTypeFieldSpecified = value;
- }
- }
-
- /// Status of feed item target. This field can
- /// be selected using the value "Status".This field can be filtered on.This field is read only and will be ignored when sent to the
- /// API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public FeedItemTargetStatus status
- {
- get
- {
- return this.statusField;
- }
- set
- {
- this.statusField = value;
- this.statusSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool statusSpecified
- {
- get
- {
- return this.statusFieldSpecified;
- }
- set
- {
- this.statusFieldSpecified = value;
- }
- }
-
- /// Indicates that this instance is a subtype of FeedItemTarget. Although this field
- /// is returned in the response, it is ignored on input and cannot be selected.
- /// Specify xsi:type instead.
- ///
- [System.Xml.Serialization.XmlElementAttribute("FeedItemTarget.Type", Order = 4)]
- public string FeedItemTargetType
- {
- get
- {
- return this.feedItemTargetTypeField;
- }
- set
- {
- this.feedItemTargetTypeField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field FeedId = new Field("FeedId", true, true);
-
- public static readonly Field FeedItemId = new Field("FeedItemId", true, true);
-
- public static readonly Field TargetType = new Field("TargetType", true, true);
-
- public static readonly Field Status = new Field("Status", true, true);
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field FeedId = Fields.FeedId;
-
- public static readonly Field FeedItemId = Fields.FeedItemId;
-
- public static readonly Field TargetType = Fields.TargetType;
-
- public static readonly Field Status = Fields.Status;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field FeedId = Fields.FeedId;
-
- public static readonly Field FeedItemId = Fields.FeedItemId;
-
- public static readonly Field TargetType = Fields.TargetType;
-
- public static readonly Field Status = Fields.Status;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The type a FeedItemTarget.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum FeedItemTargetType
- {
- /// Used for return value only. An enumeration
- /// could not be processed, typically due to incompatibility with your WSDL
- /// version.
- ///
- UNKNOWN = 0,
- /// FeedItem targets a campaign.
- ///
- CAMPAIGN = 1,
- /// FeedItem targets an ad group.
- ///
- AD_GROUP = 2,
- /// FeedItem targets a criterion ID.
- ///
- CRITERION = 3,
- }
-
-
- /// The status of a FeedItemTarget.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum FeedItemTargetStatus
- {
- /// Used for return value only. An enumeration
- /// could not be processed, typically due to incompatibility with your WSDL
- /// version.
- ///
- UNKNOWN = 0,
- ACTIVE = 1,
- REMOVED = 2,
- }
-
-
- /// Represents a feed item target for a criterion.
- ///
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(NegativeFeedItemCriterionTarget))]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class FeedItemCriterionTarget : FeedItemTarget
- {
- private Criterion criterionField;
-
- private bool isNegativeField;
-
- private bool isNegativeFieldSpecified;
-
- /// The target criterion. This field is required
- /// and should not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public Criterion criterion
- {
- get
- {
- return this.criterionField;
- }
- set
- {
- this.criterionField = value;
- }
- }
-
- /// Indicates that the target criterion is negative. Used only for filtering. Use NegativeFeedItemCriterionTarget to create a negative criterion
- /// target. This field can be selected using the
- /// value "IsNegative".This field can be
- /// filtered on.This field is read only
- /// and will be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public bool isNegative
- {
- get
- {
- return this.isNegativeField;
- }
- set
- {
- this.isNegativeField = value;
- this.isNegativeSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool isNegativeSpecified
- {
- get
- {
- return this.isNegativeFieldSpecified;
- }
- set
- {
- this.isNegativeFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : FeedItemTarget.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field IsNegative = new Field("IsNegative", true, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : FeedItemTarget.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field IsNegative = Fields.IsNegative;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : FeedItemTarget.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field IsNegative = Fields.IsNegative;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Represents a feed item target for a negative criterion.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class NegativeFeedItemCriterionTarget : FeedItemCriterionTarget
- {
- }
-
-
- /// Represents a feed item target for a campaign.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class FeedItemCampaignTarget : FeedItemTarget
- {
- private long campaignIdField;
-
- private bool campaignIdFieldSpecified;
-
- private string campaignNameField;
-
- /// ID of the target campaign. This field can be
- /// selected using the value "CampaignId".This field can be filtered on.This field is required and should not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long campaignId
- {
- get
- {
- return this.campaignIdField;
- }
- set
- {
- this.campaignIdField = value;
- this.campaignIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool campaignIdSpecified
- {
- get
- {
- return this.campaignIdFieldSpecified;
- }
- set
- {
- this.campaignIdFieldSpecified = value;
- }
- }
-
- /// Name of the target campaign. This field can
- /// be selected using the value "CampaignName".This field can be filtered on.This field is read only and will be ignored when sent to the
- /// API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public string campaignName
- {
- get
- {
- return this.campaignNameField;
- }
- set
- {
- this.campaignNameField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : FeedItemTarget.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field CampaignId = new Field("CampaignId", true, true);
-
- public static readonly Field CampaignName = new Field("CampaignName", true, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : FeedItemTarget.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field CampaignId = Fields.CampaignId;
-
- public static readonly Field CampaignName = Fields.CampaignName;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : FeedItemTarget.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field CampaignId = Fields.CampaignId;
-
- public static readonly Field CampaignName = Fields.CampaignName;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Represents a feed item target for an ad group.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class FeedItemAdGroupTarget : FeedItemTarget
- {
- private long adGroupIdField;
-
- private bool adGroupIdFieldSpecified;
-
- private string adGroupNameField;
-
- private string parentCampaignNameField;
-
- /// ID of the target ad group. This field can be
- /// selected using the value "AdGroupId".This field can be filtered on.This field is required and should not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long adGroupId
- {
- get
- {
- return this.adGroupIdField;
- }
- set
- {
- this.adGroupIdField = value;
- this.adGroupIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool adGroupIdSpecified
- {
- get
- {
- return this.adGroupIdFieldSpecified;
- }
- set
- {
- this.adGroupIdFieldSpecified = value;
- }
- }
-
- /// Name of the target ad group. This field can
- /// be selected using the value "AdGroupName".This field can be filtered on.This field is read only and will be ignored when sent to the
- /// API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public string adGroupName
- {
- get
- {
- return this.adGroupNameField;
- }
- set
- {
- this.adGroupNameField = value;
- }
- }
-
- /// Name of the target ad group's campaign. This
- /// field can be selected using the value "ParentCampaignName".This field can be filtered on.This field is read only and will be ignored when
- /// sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public string parentCampaignName
- {
- get
- {
- return this.parentCampaignNameField;
- }
- set
- {
- this.parentCampaignNameField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : FeedItemTarget.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field AdGroupId = new Field("AdGroupId", true, true);
-
- public static readonly Field AdGroupName = new Field("AdGroupName", true, true);
-
- public static readonly Field ParentCampaignName = new Field("ParentCampaignName", true, true);
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : FeedItemTarget.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field AdGroupId = Fields.AdGroupId;
-
- public static readonly Field AdGroupName = Fields.AdGroupName;
-
- public static readonly Field ParentCampaignName = Fields.ParentCampaignName;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : FeedItemTarget.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field AdGroupId = Fields.AdGroupId;
-
- public static readonly Field AdGroupName = Fields.AdGroupName;
-
- public static readonly Field ParentCampaignName = Fields.ParentCampaignName;
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The result of a call to FeedItemTargetService#get.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class FeedItemTargetPage : Page
- {
- private FeedItemTarget[] entriesField;
-
- /// The resulting FeedItemTargets.
- ///
- [System.Xml.Serialization.XmlElementAttribute("entries", Order = 0)]
- public FeedItemTarget[] entries
- {
- get
- {
- return this.entriesField;
- }
- set
- {
- this.entriesField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Page.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Page.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Page.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Errors caused by invalid usage of FeedItemTargetService.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class FeedItemTargetError : ApiError
- {
- private FeedItemTargetErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// Error reason.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public FeedItemTargetErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The reasons for the error.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "FeedItemTargetError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum FeedItemTargetErrorReason
- {
- /// The criterion type given cannot be used for targeting.
- ///
- CRITERION_TYPE_NOT_SUPPORTED = 0,
- /// The feed item target specified already exists, so it cannot be added.
- ///
- FEED_ITEM_TARGET_ALREADY_EXISTS = 1,
- /// The type of criterion is not allowed to have negative targeting.
- ///
- NEGATIVE_TARGETING_NOT_SUPPORTED_FOR_CRITERION_TYPE = 2,
- /// Only platform criterion with mobile targeting are supported.
- ///
- ONLY_MOBILE_TARGETING_IS_SUPPORTED_FOR_PLATFORM_CRITERION = 3,
- /// The schedules for a given feed item cannot overlap
- ///
- FEED_ITEM_SCHEDULES_CANNOT_OVERLAP = 4,
- /// The type of Criterion requires the criterion id to be set.
- ///
- CRITERION_ID_MUST_BE_SET_FOR_GIVEN_TYPE = 5,
- /// Too many targets of a given type were added for a single feed item.
- ///
- TARGET_LIMIT_EXCEEDED_FOR_GIVEN_TYPE = 6,
- /// Too many AdSchedules are active for the feed item for the given day.
- ///
- TOO_MANY_SCHEDULES_PER_DAY = 7,
- /// A feed item may either have an active campaign target or an active ad group
- /// target.
- ///
- CANNOT_HAVE_ACTIVE_CAMPAIGN_AND_ACTIVE_AD_GROUP_TARGETS = 8,
- UNKNOWN = 9,
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ServiceModel.ServiceContractAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", ConfigurationName = "Google.Api.Ads.AdWords.v201806.FeedItemTargetServiceInterface")]
- public interface FeedItemTargetServiceInterface
- {
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [System.ServiceModel.FaultContractAttribute(typeof(Google.Api.Ads.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Google.Api.Ads.AdWords.v201806.FeedItemTargetPage get(Google.Api.Ads.AdWords.v201806.Selector selector);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- System.Threading.Tasks.Task getAsync(Google.Api.Ads.AdWords.v201806.Selector selector);
-
- // CODEGEN: Parameter 'operations' 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.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Wrappers.FeedItemTargetService.mutateResponse mutate(Wrappers.FeedItemTargetService.mutateRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- System.Threading.Tasks.Task mutateAsync(Wrappers.FeedItemTargetService.mutateRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [System.ServiceModel.FaultContractAttribute(typeof(Google.Api.Ads.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Google.Api.Ads.AdWords.v201806.FeedItemTargetPage query([System.ServiceModel.MessageParameterAttribute(Name = "query")] string query1);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- System.Threading.Tasks.Task queryAsync(string query);
- }
-
-
- /// Operation used to create a FeedItemTarget.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class FeedItemTargetOperation : Operation
- {
- private FeedItemTarget operandField;
-
- /// The FeedItemTarget to create. This field is
- /// required and should not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public FeedItemTarget operand
- {
- get
- {
- return this.operandField;
- }
- set
- {
- this.operandField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Operation.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Operation.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Operation.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// A container for return values from a call to call.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class FeedItemTargetReturnValue : ListReturnValue
- {
- private FeedItemTarget[] valueField;
-
- private ApiError[] partialFailureErrorsField;
-
- /// The resulting FeedItemTargets.
- ///
- [System.Xml.Serialization.XmlElementAttribute("value", Order = 0)]
- public FeedItemTarget[] value
- {
- get
- {
- return this.valueField;
- }
- set
- {
- this.valueField = value;
- }
- }
-
- /// List of partial failure errors.
- ///
- [System.Xml.Serialization.XmlElementAttribute("partialFailureErrors", Order = 1)]
- public ApiError[] partialFailureErrors
- {
- get
- {
- return this.partialFailureErrorsField;
- }
- set
- {
- this.partialFailureErrorsField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ListReturnValue.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ListReturnValue.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ListReturnValue.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public interface FeedItemTargetServiceInterfaceChannel : Google.Api.Ads.AdWords.v201806.FeedItemTargetServiceInterface, System.ServiceModel.IClientChannel
- {
- }
-
-
- /// Service for getting and mutating FeedItemTargets.
- ///
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class FeedItemTargetService : AdWordsSoapClient, IFeedItemTargetService
- {
- /// Creates a new instance of the
- /// class.
- public FeedItemTargetService()
- {
- }
-
- /// Creates a new instance of the
- /// class.
- public FeedItemTargetService(string endpointConfigurationName)
- : base(endpointConfigurationName)
- {
- }
-
- /// Creates a new instance of the
- /// class.
- public FeedItemTargetService(string endpointConfigurationName, string remoteAddress)
- : base(endpointConfigurationName, remoteAddress)
- {
- }
-
- /// Creates a new instance of the
- /// class.
- public FeedItemTargetService(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress)
- : base(endpointConfigurationName, remoteAddress)
- {
- }
-
- /// Creates a new instance of the
- /// class.
- public FeedItemTargetService(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)
- : base(binding, remoteAddress)
- {
- }
-
- /// Returns a list of FeedItemTargets that meet the selector criteria.
- /// Determines which FeedItemTargets to return. If empty all
- /// FeedItemTargets are returned.
- /// The list of FeedItemTargets.
- /// Indicates a problem with the
- /// request.
- public virtual Google.Api.Ads.AdWords.v201806.FeedItemTargetPage get(Google.Api.Ads.AdWords.v201806.Selector selector)
- {
- return base.Channel.get(selector);
- }
-
- public virtual System.Threading.Tasks.Task getAsync(Google.Api.Ads.AdWords.v201806.Selector selector)
- {
- return base.Channel.getAsync(selector);
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- Wrappers.FeedItemTargetService.mutateResponse Google.Api.Ads.AdWords.v201806.FeedItemTargetServiceInterface.mutate(Wrappers.FeedItemTargetService.mutateRequest request)
- {
- return base.Channel.mutate(request);
- }
-
- /// Add and remove FeedItemTargets.
- /// The operations to apply.
- /// The resulting FeedItemTargets.
- /// Indicates a problem with the
- /// request.
- public virtual Google.Api.Ads.AdWords.v201806.FeedItemTargetReturnValue mutate(Google.Api.Ads.AdWords.v201806.FeedItemTargetOperation[] operations)
- {
- Wrappers.FeedItemTargetService.mutateRequest inValue = new Wrappers.FeedItemTargetService.mutateRequest();
- inValue.operations = operations;
- Wrappers.FeedItemTargetService.mutateResponse retVal = ((Google.Api.Ads.AdWords.v201806.FeedItemTargetServiceInterface) (this)).mutate(inValue);
- return retVal.rval;
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- System.Threading.Tasks.Task Google.Api.Ads.AdWords.v201806.FeedItemTargetServiceInterface.mutateAsync(Wrappers.FeedItemTargetService.mutateRequest request)
- {
- return base.Channel.mutateAsync(request);
- }
-
- public virtual System.Threading.Tasks.Task mutateAsync(Google.Api.Ads.AdWords.v201806.FeedItemTargetOperation[] operations)
- {
- Wrappers.FeedItemTargetService.mutateRequest inValue = new Wrappers.FeedItemTargetService.mutateRequest();
- inValue.operations = operations;
- return System.Threading.Tasks.Task.Factory.StartNew(() => (((Google.Api.Ads.AdWords.v201806.FeedItemTargetServiceInterface) (this)).mutateAsync(inValue)).Result.rval);
- }
-
- /// Returns the list of FeedItemTargets that match the query.
- /// The SQL-like AWQL query string
- /// A list of FeedItemTargets
- /// when the query is invalid or there are
- /// errors processing the request.
- public virtual Google.Api.Ads.AdWords.v201806.FeedItemTargetPage query(string query1)
- {
- return base.Channel.query(query1);
- }
-
- public virtual System.Threading.Tasks.Task queryAsync(string query)
- {
- return base.Channel.queryAsync(query);
- }
- }
- namespace Wrappers.FeedMappingService
- {
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "mutate", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class mutateRequest
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- [System.Xml.Serialization.XmlElementAttribute("operations")]
- public Google.Api.Ads.AdWords.v201806.FeedMappingOperation[] operations;
-
- /// Creates a new instance of the class.
- ///
- public mutateRequest()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public mutateRequest(Google.Api.Ads.AdWords.v201806.FeedMappingOperation[] operations)
- {
- this.operations = operations;
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "mutateResponse", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class mutateResponse
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- public Google.Api.Ads.AdWords.v201806.FeedMappingReturnValue rval;
-
- /// Creates a new instance of the class.
- ///
- public mutateResponse()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public mutateResponse(Google.Api.Ads.AdWords.v201806.FeedMappingReturnValue rval)
- {
- this.rval = rval;
- }
- }
- }
- /// Represents a mapping between a feed attribute and a placeholder field.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class AttributeFieldMapping
- {
- private long feedAttributeIdField;
-
- private bool feedAttributeIdFieldSpecified;
-
- private int fieldIdField;
-
- private bool fieldIdFieldSpecified;
-
- /// The feed attribute that this mapping references. This field is required and should not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long feedAttributeId
- {
- get
- {
- return this.feedAttributeIdField;
- }
- set
- {
- this.feedAttributeIdField = value;
- this.feedAttributeIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool feedAttributeIdSpecified
- {
- get
- {
- return this.feedAttributeIdFieldSpecified;
- }
- set
- {
- this.feedAttributeIdFieldSpecified = value;
- }
- }
-
- /// The constant placeholder field that this mapping references. This field is required and should not be
- /// null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public int fieldId
- {
- get
- {
- return this.fieldIdField;
- }
- set
- {
- this.fieldIdField = value;
- this.fieldIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool fieldIdSpecified
- {
- get
- {
- return this.fieldIdFieldSpecified;
- }
- set
- {
- this.fieldIdFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// A FeedMapping represents a mapping between feed attributes in a specific feed
- /// and placeholder fields for a specific placeholder type. This will tell the ads
- /// serving system which parts of the feed item should be used when populating a
- /// placeholder. Without this mapping the placeholder cannot be populated and the
- /// extension can not be displayed.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class FeedMapping
- {
- private long feedMappingIdField;
-
- private bool feedMappingIdFieldSpecified;
-
- private long feedIdField;
-
- private bool feedIdFieldSpecified;
-
- private int placeholderTypeField;
-
- private bool placeholderTypeFieldSpecified;
-
- private FeedMappingStatus statusField;
-
- private bool statusFieldSpecified;
-
- private AttributeFieldMapping[] attributeFieldMappingsField;
-
- private int criterionTypeField;
-
- private bool criterionTypeFieldSpecified;
-
- /// ID of this FeedMapping. This field can be
- /// selected using the value "FeedMappingId".This field can be filtered on.This field is read only and will be ignored when sent to the API for
- /// the following Operators: ADD.This field is required and should not be
- /// null when it is contained within Operators :
- /// REMOVE.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long feedMappingId
- {
- get
- {
- return this.feedMappingIdField;
- }
- set
- {
- this.feedMappingIdField = value;
- this.feedMappingIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool feedMappingIdSpecified
- {
- get
- {
- return this.feedMappingIdFieldSpecified;
- }
- set
- {
- this.feedMappingIdFieldSpecified = value;
- }
- }
-
- /// ID of the Feed that is mapped by this mapping. This field can be selected using the value "FeedId".This field can be filtered on.This field is required and should not be
- /// null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public long feedId
- {
- get
- {
- return this.feedIdField;
- }
- set
- {
- this.feedIdField = value;
- this.feedIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool feedIdSpecified
- {
- get
- {
- return this.feedIdFieldSpecified;
- }
- set
- {
- this.feedIdFieldSpecified = value;
- }
- }
-
- /// The placeholder type for this mapping. This
- /// field can be selected using the value "PlaceholderType".This field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public int placeholderType
- {
- get
- {
- return this.placeholderTypeField;
- }
- set
- {
- this.placeholderTypeField = value;
- this.placeholderTypeSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool placeholderTypeSpecified
- {
- get
- {
- return this.placeholderTypeFieldSpecified;
- }
- set
- {
- this.placeholderTypeFieldSpecified = value;
- }
- }
-
- /// Status of the mapping. This field can be
- /// selected using the value "Status".This field can be filtered on.This field is read only and will be ignored when sent to the
- /// API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public FeedMappingStatus status
- {
- get
- {
- return this.statusField;
- }
- set
- {
- this.statusField = value;
- this.statusSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool statusSpecified
- {
- get
- {
- return this.statusFieldSpecified;
- }
- set
- {
- this.statusFieldSpecified = value;
- }
- }
-
- /// The list of feed attributes to placeholder fields mappings. This field can be selected using the value
- /// "AttributeFieldMappings".This field is
- /// required and should not be null when it is contained within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute("attributeFieldMappings", Order = 4)]
- public AttributeFieldMapping[] attributeFieldMappings
- {
- get
- {
- return this.attributeFieldMappingsField;
- }
- set
- {
- this.attributeFieldMappingsField = value;
- }
- }
-
- /// The criterion type for this mapping. This field is mutually exclusive with
- /// placeholderType. This field can be selected
- /// using the value "CriterionType".This
- /// field can be filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 5)]
- public int criterionType
- {
- get
- {
- return this.criterionTypeField;
- }
- set
- {
- this.criterionTypeField = value;
- this.criterionTypeSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool criterionTypeSpecified
- {
- get
- {
- return this.criterionTypeFieldSpecified;
- }
- set
- {
- this.criterionTypeFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field FeedMappingId = new Field("FeedMappingId", true, true);
-
- public static readonly Field FeedId = new Field("FeedId", true, true);
-
- public static readonly Field PlaceholderType = new Field("PlaceholderType", true, true);
-
- public static readonly Field Status = new Field("Status", true, true);
-
- public static readonly Field AttributeFieldMappings = new Field("AttributeFieldMappings", false, true);
-
- public static readonly Field CriterionType = new Field("CriterionType", true, true);
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field FeedMappingId = Fields.FeedMappingId;
-
- public static readonly Field FeedId = Fields.FeedId;
-
- public static readonly Field PlaceholderType = Fields.PlaceholderType;
-
- public static readonly Field Status = Fields.Status;
-
- public static readonly Field AttributeFieldMappings = Fields.AttributeFieldMappings;
-
- public static readonly Field CriterionType = Fields.CriterionType;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field FeedMappingId = Fields.FeedMappingId;
-
- public static readonly Field FeedId = Fields.FeedId;
-
- public static readonly Field PlaceholderType = Fields.PlaceholderType;
-
- public static readonly Field Status = Fields.Status;
-
- public static readonly Field CriterionType = Fields.CriterionType;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "FeedMapping.Status", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum FeedMappingStatus
- {
- /// This mapping is used in feeds.
- ///
- ENABLED = 0,
- /// This mapping is not used anymore.
- ///
- REMOVED = 1,
- /// Used for return value only. An enumeration
- /// could not be processed, typically due to incompatibility with your WSDL
- /// version.
- ///
- UNKNOWN = 2,
- }
-
-
- /// The result of a call to FeedMappingService#get.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class FeedMappingPage : NullStatsPage
- {
- private FeedMapping[] entriesField;
-
- /// The resulting FeedMappings
- ///
- [System.Xml.Serialization.XmlElementAttribute("entries", Order = 0)]
- public FeedMapping[] entries
- {
- get
- {
- return this.entriesField;
- }
- set
- {
- this.entriesField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : NullStatsPage.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : NullStatsPage.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : NullStatsPage.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Errors caused by invalid usage of FeedMappingService
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class FeedMappingError : ApiError
- {
- private FeedMappingErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// The cause of the error.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public FeedMappingErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "FeedMappingError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum FeedMappingErrorReason
- {
- /// The given placeholder field does not exist.
- ///
- INVALID_PLACEHOLDER_FIELD = 0,
- /// The given criterion field does not exist.
- ///
- INVALID_CRITERION_FIELD = 1,
- /// The given placeholder type does not exist.
- ///
- INVALID_PLACEHOLDER_TYPE = 2,
- /// The given criterion type does not exist.
- ///
- INVALID_CRITERION_TYPE = 3,
- /// Cannot specify both placeholder type and criterion type.
- ///
- CANNOT_SET_PLACEHOLDER_TYPE_AND_CRITERION_TYPE = 4,
- /// A feed mapping must contain at least one attribute field mapping.
- ///
- NO_ATTRIBUTE_FIELD_MAPPINGS = 5,
- /// The type of the feed attribute referenced in the attribute field mapping must
- /// match the type of the placeholder field.
- ///
- FEED_ATTRIBUTE_TYPE_MISMATCH = 6,
- /// A feed mapping for a system generated feed cannot be operated on.
- ///
- CANNOT_OPERATE_ON_MAPPINGS_FOR_SYSTEM_GENERATED_FEED = 7,
- /// Only one feed mapping for a placeholder type is allowed per feed or customer
- /// (depending on the placeholder type).
- ///
- MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_TYPE = 8,
- /// Only one feed mapping for a criterion type is allowed per customer.
- ///
- MULTIPLE_MAPPINGS_FOR_CRITERION_TYPE = 9,
- /// Only one feed attribute mapping for a placeholder field is allowed (depending on
- /// the placeholder type).
- ///
- MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_FIELD = 10,
- /// Only one feed attribute mapping for a criterion field is allowed (depending on
- /// the criterion type).
- ///
- MULTIPLE_MAPPINGS_FOR_CRITERION_FIELD = 11,
- /// This feed mapping may not contain any explicit attribute field mappings.
- ///
- UNEXPECTED_ATTRIBUTE_FIELD_MAPPINGS = 12,
- /// Location placeholder feedmappings can only be created for Places feeds.
- ///
- LOCATION_PLACEHOLDER_ONLY_FOR_PLACES_FEEDS = 13,
- /// Mappings for typed feeds cannot be modified.
- ///
- CANNOT_MODIFY_MAPPINGS_FOR_TYPED_FEED = 14,
- /// The given placeholder type can only be mapped to system generated feeds.
- ///
- INVALID_PLACEHOLDER_TYPE_FOR_NON_SYSTEM_GENERATED_FEED = 16,
- /// The given placeholder type cannot be mapped to a system generated feed with the
- /// given type.
- ///
- INVALID_PLACEHOLDER_TYPE_FOR_SYSTEM_GENERATED_FEED_TYPE = 17,
- UNKNOWN = 15,
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ServiceModel.ServiceContractAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", ConfigurationName = "Google.Api.Ads.AdWords.v201806.FeedMappingServiceInterface")]
- public interface FeedMappingServiceInterface
- {
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [System.ServiceModel.FaultContractAttribute(typeof(Google.Api.Ads.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Google.Api.Ads.AdWords.v201806.FeedMappingPage get(Google.Api.Ads.AdWords.v201806.Selector selector);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- System.Threading.Tasks.Task getAsync(Google.Api.Ads.AdWords.v201806.Selector selector);
-
- // CODEGEN: Parameter 'operations' 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.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Wrappers.FeedMappingService.mutateResponse mutate(Wrappers.FeedMappingService.mutateRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- System.Threading.Tasks.Task mutateAsync(Wrappers.FeedMappingService.mutateRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [System.ServiceModel.FaultContractAttribute(typeof(Google.Api.Ads.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Google.Api.Ads.AdWords.v201806.FeedMappingPage query([System.ServiceModel.MessageParameterAttribute(Name = "query")] string query1);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- System.Threading.Tasks.Task queryAsync(string query);
- }
-
-
- /// Operation used to create a FeedMapping.
The following Operators are supported: ADD, REMOVE.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class FeedMappingOperation : Operation
- {
- private FeedMapping operandField;
-
- /// The FeedMapping to create This field is
- /// required and should not be null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public FeedMapping operand
- {
- get
- {
- return this.operandField;
- }
- set
- {
- this.operandField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Operation.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Operation.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Operation.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// The result of a call to FeedMappingService#mutate.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class FeedMappingReturnValue : ListReturnValue
- {
- private FeedMapping[] valueField;
-
- /// The resulting FeedMappings.
- ///
- [System.Xml.Serialization.XmlElementAttribute("value", Order = 0)]
- public FeedMapping[] value
- {
- get
- {
- return this.valueField;
- }
- set
- {
- this.valueField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ListReturnValue.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ListReturnValue.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ListReturnValue.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public interface FeedMappingServiceInterfaceChannel : Google.Api.Ads.AdWords.v201806.FeedMappingServiceInterface, System.ServiceModel.IClientChannel
- {
- }
-
-
- /// Service for getting and mutating FeedMappings.
- ///
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class FeedMappingService : AdWordsSoapClient, IFeedMappingService
- {
- /// Creates a new instance of the class.
- ///
- public FeedMappingService()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public FeedMappingService(string endpointConfigurationName)
- : base(endpointConfigurationName)
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public FeedMappingService(string endpointConfigurationName, string remoteAddress)
- : base(endpointConfigurationName, remoteAddress)
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public FeedMappingService(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress)
- : base(endpointConfigurationName, remoteAddress)
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public FeedMappingService(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)
- : base(binding, remoteAddress)
- {
- }
-
- /// Returns a list of FeedMappings that meet the selector criteria.
- /// Determines which FeedMappings to return. If empty all
- /// FeedMappings are returned.
- /// The list of FeedMappings.
- /// indicates a problem with the
- /// request.
- public virtual Google.Api.Ads.AdWords.v201806.FeedMappingPage get(Google.Api.Ads.AdWords.v201806.Selector selector)
- {
- return base.Channel.get(selector);
- }
-
- public virtual System.Threading.Tasks.Task getAsync(Google.Api.Ads.AdWords.v201806.Selector selector)
- {
- return base.Channel.getAsync(selector);
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- Wrappers.FeedMappingService.mutateResponse Google.Api.Ads.AdWords.v201806.FeedMappingServiceInterface.mutate(Wrappers.FeedMappingService.mutateRequest request)
- {
- return base.Channel.mutate(request);
- }
-
- /// Add and remove FeedMappings. The following Operators are
- /// supported: ADD, REMOVE.
- /// The operations to apply.
- /// The resulting FeedMappings.
- /// indicates a problem with the
- /// request.
- public virtual Google.Api.Ads.AdWords.v201806.FeedMappingReturnValue mutate(Google.Api.Ads.AdWords.v201806.FeedMappingOperation[] operations)
- {
- Wrappers.FeedMappingService.mutateRequest inValue = new Wrappers.FeedMappingService.mutateRequest();
- inValue.operations = operations;
- Wrappers.FeedMappingService.mutateResponse retVal = ((Google.Api.Ads.AdWords.v201806.FeedMappingServiceInterface) (this)).mutate(inValue);
- return retVal.rval;
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- System.Threading.Tasks.Task Google.Api.Ads.AdWords.v201806.FeedMappingServiceInterface.mutateAsync(Wrappers.FeedMappingService.mutateRequest request)
- {
- return base.Channel.mutateAsync(request);
- }
-
- public virtual System.Threading.Tasks.Task mutateAsync(Google.Api.Ads.AdWords.v201806.FeedMappingOperation[] operations)
- {
- Wrappers.FeedMappingService.mutateRequest inValue = new Wrappers.FeedMappingService.mutateRequest();
- inValue.operations = operations;
- return System.Threading.Tasks.Task.Factory.StartNew(() => (((Google.Api.Ads.AdWords.v201806.FeedMappingServiceInterface) (this)).mutateAsync(inValue)).Result.rval);
- }
-
- /// Returns the list of FeedMappings that match the query.
- /// The SQL-like AWQL query string
- /// s The list of FeedMappings
- /// when the query is invalid or there are
- /// errors processing the request.
- public virtual Google.Api.Ads.AdWords.v201806.FeedMappingPage query(string query1)
- {
- return base.Channel.query(query1);
- }
-
- public virtual System.Threading.Tasks.Task queryAsync(string query)
- {
- return base.Channel.queryAsync(query);
- }
- }
- namespace Wrappers.LocationCriterionService
- {
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "get", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class getRequest
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- public Google.Api.Ads.AdWords.v201806.Selector selector;
-
- /// Creates a new instance of the class.
- ///
- public getRequest()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public getRequest(Google.Api.Ads.AdWords.v201806.Selector selector)
- {
- this.selector = selector;
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "getResponse", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class getResponse
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- [System.Xml.Serialization.XmlElementAttribute("rval")]
- public Google.Api.Ads.AdWords.v201806.LocationCriterion[] rval;
-
- /// Creates a new instance of the class.
- ///
- public getResponse()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public getResponse(Google.Api.Ads.AdWords.v201806.LocationCriterion[] rval)
- {
- this.rval = rval;
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "query", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class queryRequest
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- public string query;
-
- /// Creates a new instance of the class.
- ///
- public queryRequest()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public queryRequest(string query)
- {
- this.query = query;
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "queryResponse", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class queryResponse
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- [System.Xml.Serialization.XmlElementAttribute("rval")]
- public Google.Api.Ads.AdWords.v201806.LocationCriterion[] rval;
-
- /// Creates a new instance of the class.
- ///
- public queryResponse()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public queryResponse(Google.Api.Ads.AdWords.v201806.LocationCriterion[] rval)
- {
- this.rval = rval;
- }
- }
- }
- /// Represents data that encapsulates a location criterion.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class LocationCriterion
- {
- private Location locationField;
-
- private string canonicalNameField;
-
- private long reachField;
-
- private bool reachFieldSpecified;
-
- private string localeField;
-
- private string searchTermField;
-
- private string countryCodeField;
-
- /// Location criterion.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public Location location
- {
- get
- {
- return this.locationField;
- }
- set
- {
- this.locationField = value;
- }
- }
-
- /// Canonical name of the location criterion. This field can be selected using the value "CanonicalName".
- /// This field is read only and will be ignored
- /// when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public string canonicalName
- {
- get
- {
- return this.canonicalNameField;
- }
- set
- {
- this.canonicalNameField = value;
- }
- }
-
- /// Approximate user population that will be targeted, rounded to the nearest 100.
- /// This field can be selected using the value
- /// "Reach".This field is read only and
- /// will be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public long reach
- {
- get
- {
- return this.reachField;
- }
- set
- {
- this.reachField = value;
- this.reachSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reachSpecified
- {
- get
- {
- return this.reachFieldSpecified;
- }
- set
- {
- this.reachFieldSpecified = value;
- }
- }
-
- /// Preferred locale to be used as a hint for determining the list of locations to
- /// return. This is also used for language translation. Note: If the
- /// specified locale filter is invalid, or not supported, en_US will be used by
- /// default. This field can be filtered on using
- /// the value "Locale".This field is read
- /// only and will be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public string locale
- {
- get
- {
- return this.localeField;
- }
- set
- {
- this.localeField = value;
- }
- }
-
- /// Original search term, as specified in the input request for search by name.
- /// Note: This field is useful in the case that the original search name does
- /// not match the official name of the location, for example, Florence ->
- /// Firenze.
The number of search terms is limited to 25 per request.
This field is read only and will be ignored when
- /// sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 4)]
- public string searchTerm
- {
- get
- {
- return this.searchTermField;
- }
- set
- {
- this.searchTermField = value;
- }
- }
-
- /// This is used as a hint and suggestions are restricted to this country when
- /// applicable.
This field can be
- /// filtered on using the value "CountryCode".
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 5)]
- public string countryCode
- {
- get
- {
- return this.countryCodeField;
- }
- set
- {
- this.countryCodeField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field CanonicalName = new Field("CanonicalName", false, true);
-
- public static readonly Field Reach = new Field("Reach", false, true);
-
- public static readonly Field Locale = new Field("Locale", true, false);
-
- public static readonly Field CountryCode = new Field("CountryCode", true, false);
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field CanonicalName = Fields.CanonicalName;
-
- public static readonly Field Reach = Fields.Reach;
-
- public static readonly Field Locale = Fields.Locale;
-
- public static readonly Field CountryCode = Fields.CountryCode;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field Locale = Fields.Locale;
-
- public static readonly Field CountryCode = Fields.CountryCode;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Represents errors thrown by the LocationCriterionService#get operation.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class LocationCriterionServiceError : ApiError
- {
- private LocationCriterionServiceErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public LocationCriterionServiceErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
- }
-
-
- /// Reasons for error.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "LocationCriterionServiceError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum LocationCriterionServiceErrorReason
- {
- REQUIRED_LOCATION_CRITERION_PREDICATE_MISSING = 0,
- TOO_MANY_LOCATION_CRITERION_PREDICATES_SPECIFIED = 1,
- INVALID_COUNTRY_CODE = 2,
- LOCATION_NAME_TOO_LARGE = 4,
- /// Used for return value only. An enumeration
- /// could not be processed, typically due to incompatibility with your WSDL
- /// version.
- ///
- LOCATION_CRITERION_SERVICE_ERROR = 3,
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ServiceModel.ServiceContractAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", ConfigurationName = "Google.Api.Ads.AdWords.v201806.LocationCriterionServiceInterface")]
- public interface LocationCriterionServiceInterface
- {
- // 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.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Criterion))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Wrappers.LocationCriterionService.getResponse get(Wrappers.LocationCriterionService.getRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- System.Threading.Tasks.Task getAsync(Wrappers.LocationCriterionService.getRequest request);
-
- // 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.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Criterion))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Wrappers.LocationCriterionService.queryResponse query(Wrappers.LocationCriterionService.queryRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- System.Threading.Tasks.Task queryAsync(Wrappers.LocationCriterionService.queryRequest request);
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public interface LocationCriterionServiceInterfaceChannel : Google.Api.Ads.AdWords.v201806.LocationCriterionServiceInterface, System.ServiceModel.IClientChannel
- {
- }
-
-
- /// Service that returns LocationCriterion constants
- /// that match a specified name or list of criterion id(s) as specified in the input
- /// selector.
Please note that filtering by date range is not
- /// supported.
- ///
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class LocationCriterionService : AdWordsSoapClient, ILocationCriterionService
- {
- /// Creates a new instance of the
- /// class.
- public LocationCriterionService()
- {
- }
-
- /// Creates a new instance of the
- /// class.
- public LocationCriterionService(string endpointConfigurationName)
- : base(endpointConfigurationName)
- {
- }
-
- /// Creates a new instance of the
- /// class.
- public LocationCriterionService(string endpointConfigurationName, string remoteAddress)
- : base(endpointConfigurationName, remoteAddress)
- {
- }
-
- /// Creates a new instance of the
- /// class.
- public LocationCriterionService(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress)
- : base(endpointConfigurationName, remoteAddress)
- {
- }
-
- /// Creates a new instance of the
- /// class.
- public LocationCriterionService(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)
- : base(binding, remoteAddress)
- {
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- Wrappers.LocationCriterionService.getResponse Google.Api.Ads.AdWords.v201806.LocationCriterionServiceInterface.get(Wrappers.LocationCriterionService.getRequest request)
- {
- return base.Channel.get(request);
- }
-
- /// Returns a list of LocationCriterion's that match
- /// the specified selector.
- /// filters the LocationCriterion to be returned.
- /// A list of location criterion.
- /// when there is at least one error with the
- /// request.
- public virtual Google.Api.Ads.AdWords.v201806.LocationCriterion[] get(Google.Api.Ads.AdWords.v201806.Selector selector)
- {
- Wrappers.LocationCriterionService.getRequest inValue = new Wrappers.LocationCriterionService.getRequest();
- inValue.selector = selector;
- Wrappers.LocationCriterionService.getResponse retVal = ((Google.Api.Ads.AdWords.v201806.LocationCriterionServiceInterface) (this)).get(inValue);
- return retVal.rval;
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- System.Threading.Tasks.Task Google.Api.Ads.AdWords.v201806.LocationCriterionServiceInterface.getAsync(Wrappers.LocationCriterionService.getRequest request)
- {
- return base.Channel.getAsync(request);
- }
-
- public virtual System.Threading.Tasks.Task getAsync(Google.Api.Ads.AdWords.v201806.Selector selector)
- {
- Wrappers.LocationCriterionService.getRequest inValue = new Wrappers.LocationCriterionService.getRequest();
- inValue.selector = selector;
- return System.Threading.Tasks.Task.Factory.StartNew(() => (((Google.Api.Ads.AdWords.v201806.LocationCriterionServiceInterface) (this)).getAsync(inValue)).Result.rval);
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- Wrappers.LocationCriterionService.queryResponse Google.Api.Ads.AdWords.v201806.LocationCriterionServiceInterface.query(Wrappers.LocationCriterionService.queryRequest request)
- {
- return base.Channel.query(request);
- }
-
- /// Returns the list of LocationCriterions that
- /// match the query.
- /// The SQL-like AWQL query string
- /// s The list of location criteria
- /// when the query is invalid or there are
- /// errors processing the request.
- public virtual Google.Api.Ads.AdWords.v201806.LocationCriterion[] query(string query1)
- {
- Wrappers.LocationCriterionService.queryRequest inValue = new Wrappers.LocationCriterionService.queryRequest();
- inValue.query = query1;
- Wrappers.LocationCriterionService.queryResponse retVal = ((Google.Api.Ads.AdWords.v201806.LocationCriterionServiceInterface) (this)).query(inValue);
- return retVal.rval;
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- System.Threading.Tasks.Task Google.Api.Ads.AdWords.v201806.LocationCriterionServiceInterface.queryAsync(Wrappers.LocationCriterionService.queryRequest request)
- {
- return base.Channel.queryAsync(request);
- }
-
- public virtual System.Threading.Tasks.Task queryAsync(string query)
- {
- Wrappers.LocationCriterionService.queryRequest inValue = new Wrappers.LocationCriterionService.queryRequest();
- inValue.query = query;
- return System.Threading.Tasks.Task.Factory.StartNew(() => (((Google.Api.Ads.AdWords.v201806.LocationCriterionServiceInterface) (this)).queryAsync(inValue)).Result.rval);
- }
- }
- namespace Wrappers.ManagedCustomerService
- {
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "getPendingInvitations", WrapperNamespace = "https://adwords.google.com/api/adwords/mcm/v201806", IsWrapped = true)]
- public partial class getPendingInvitationsRequest
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/mcm/v201806", Order = 0)]
- public Google.Api.Ads.AdWords.v201806.PendingInvitationSelector selector;
-
- /// Creates a new instance of the class.
- public getPendingInvitationsRequest()
- {
- }
-
- /// Creates a new instance of the class.
- public getPendingInvitationsRequest(Google.Api.Ads.AdWords.v201806.PendingInvitationSelector selector)
- {
- this.selector = selector;
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "getPendingInvitationsResponse", WrapperNamespace = "https://adwords.google.com/api/adwords/mcm/v201806", IsWrapped = true)]
- public partial class getPendingInvitationsResponse
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/mcm/v201806", Order = 0)]
- [System.Xml.Serialization.XmlElementAttribute("rval")]
- public Google.Api.Ads.AdWords.v201806.PendingInvitation[] rval;
-
- /// Creates a new instance of the class.
- public getPendingInvitationsResponse()
- {
- }
-
- /// Creates a new instance of the class.
- public getPendingInvitationsResponse(Google.Api.Ads.AdWords.v201806.PendingInvitation[] rval)
- {
- this.rval = rval;
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "mutate", WrapperNamespace = "https://adwords.google.com/api/adwords/mcm/v201806", IsWrapped = true)]
- public partial class mutateRequest
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/mcm/v201806", Order = 0)]
- [System.Xml.Serialization.XmlElementAttribute("operations")]
- public Google.Api.Ads.AdWords.v201806.ManagedCustomerOperation[] operations;
-
- /// Creates a new instance of the class.
- ///
- public mutateRequest()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public mutateRequest(Google.Api.Ads.AdWords.v201806.ManagedCustomerOperation[] operations)
- {
- this.operations = operations;
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "mutateResponse", WrapperNamespace = "https://adwords.google.com/api/adwords/mcm/v201806", IsWrapped = true)]
- public partial class mutateResponse
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/mcm/v201806", Order = 0)]
- public Google.Api.Ads.AdWords.v201806.ManagedCustomerReturnValue rval;
-
- /// Creates a new instance of the class.
- ///
- public mutateResponse()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public mutateResponse(Google.Api.Ads.AdWords.v201806.ManagedCustomerReturnValue rval)
- {
- this.rval = rval;
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "mutateLabel", WrapperNamespace = "https://adwords.google.com/api/adwords/mcm/v201806", IsWrapped = true)]
- public partial class mutateLabelRequest
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/mcm/v201806", Order = 0)]
- [System.Xml.Serialization.XmlElementAttribute("operations")]
- public Google.Api.Ads.AdWords.v201806.ManagedCustomerLabelOperation[] operations;
-
- /// Creates a new instance of the class.
- ///
- public mutateLabelRequest()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public mutateLabelRequest(Google.Api.Ads.AdWords.v201806.ManagedCustomerLabelOperation[] operations)
- {
- this.operations = operations;
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "mutateLabelResponse", WrapperNamespace = "https://adwords.google.com/api/adwords/mcm/v201806", IsWrapped = true)]
- public partial class mutateLabelResponse
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/mcm/v201806", Order = 0)]
- [System.Xml.Serialization.XmlArrayItemAttribute("value", IsNullable = false)]
- public Google.Api.Ads.AdWords.v201806.ManagedCustomerLabel[] rval;
-
- /// Creates a new instance of the class.
- ///
- public mutateLabelResponse()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public mutateLabelResponse(Google.Api.Ads.AdWords.v201806.ManagedCustomerLabel[] rval)
- {
- this.rval = rval;
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "mutateLink", WrapperNamespace = "https://adwords.google.com/api/adwords/mcm/v201806", IsWrapped = true)]
- public partial class mutateLinkRequest
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/mcm/v201806", Order = 0)]
- [System.Xml.Serialization.XmlElementAttribute("operations")]
- public Google.Api.Ads.AdWords.v201806.LinkOperation[] operations;
-
- /// Creates a new instance of the class.
- ///
- public mutateLinkRequest()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public mutateLinkRequest(Google.Api.Ads.AdWords.v201806.LinkOperation[] operations)
- {
- this.operations = operations;
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "mutateLinkResponse", WrapperNamespace = "https://adwords.google.com/api/adwords/mcm/v201806", IsWrapped = true)]
- public partial class mutateLinkResponse
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/mcm/v201806", Order = 0)]
- [System.Xml.Serialization.XmlArrayItemAttribute("links", IsNullable = false)]
- public Google.Api.Ads.AdWords.v201806.ManagedCustomerLink[] rval;
-
- /// Creates a new instance of the class.
- ///
- public mutateLinkResponse()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public mutateLinkResponse(Google.Api.Ads.AdWords.v201806.ManagedCustomerLink[] rval)
- {
- this.rval = rval;
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "mutateManager", WrapperNamespace = "https://adwords.google.com/api/adwords/mcm/v201806", IsWrapped = true)]
- public partial class mutateManagerRequest
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/mcm/v201806", Order = 0)]
- [System.Xml.Serialization.XmlElementAttribute("operations")]
- public Google.Api.Ads.AdWords.v201806.MoveOperation[] operations;
-
- /// Creates a new instance of the
- /// class.
- public mutateManagerRequest()
- {
- }
-
- /// Creates a new instance of the
- /// class.
- public mutateManagerRequest(Google.Api.Ads.AdWords.v201806.MoveOperation[] operations)
- {
- this.operations = operations;
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "mutateManagerResponse", WrapperNamespace = "https://adwords.google.com/api/adwords/mcm/v201806", IsWrapped = true)]
- public partial class mutateManagerResponse
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/mcm/v201806", Order = 0)]
- [System.Xml.Serialization.XmlArrayItemAttribute("links", IsNullable = false)]
- public Google.Api.Ads.AdWords.v201806.ManagedCustomerLink[] rval;
-
- /// Creates a new instance of the
- /// class.
- public mutateManagerResponse()
- {
- }
-
- /// Creates a new instance of the
- /// class.
- public mutateManagerResponse(Google.Api.Ads.AdWords.v201806.ManagedCustomerLink[] rval)
- {
- this.rval = rval;
- }
- }
- }
- /// Represents an AdWords manager-client link.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/mcm/v201806")]
- public partial class ManagedCustomerLink
- {
- private long managerCustomerIdField;
-
- private bool managerCustomerIdFieldSpecified;
-
- private long clientCustomerIdField;
-
- private bool clientCustomerIdFieldSpecified;
-
- private LinkStatus linkStatusField;
-
- private bool linkStatusFieldSpecified;
-
- private string pendingDescriptiveNameField;
-
- private bool isHiddenField;
-
- private bool isHiddenFieldSpecified;
-
- /// The manager customer ID in this link.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long managerCustomerId
- {
- get
- {
- return this.managerCustomerIdField;
- }
- set
- {
- this.managerCustomerIdField = value;
- this.managerCustomerIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool managerCustomerIdSpecified
- {
- get
- {
- return this.managerCustomerIdFieldSpecified;
- }
- set
- {
- this.managerCustomerIdFieldSpecified = value;
- }
- }
-
- /// The client customer ID in this link.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public long clientCustomerId
- {
- get
- {
- return this.clientCustomerIdField;
- }
- set
- {
- this.clientCustomerIdField = value;
- this.clientCustomerIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool clientCustomerIdSpecified
- {
- get
- {
- return this.clientCustomerIdFieldSpecified;
- }
- set
- {
- this.clientCustomerIdFieldSpecified = value;
- }
- }
-
- /// The status of the link.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public LinkStatus linkStatus
- {
- get
- {
- return this.linkStatusField;
- }
- set
- {
- this.linkStatusField = value;
- this.linkStatusSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool linkStatusSpecified
- {
- get
- {
- return this.linkStatusFieldSpecified;
- }
- set
- {
- this.linkStatusFieldSpecified = value;
- }
- }
-
- /// The pending descriptive name of the client for link invitations.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public string pendingDescriptiveName
- {
- get
- {
- return this.pendingDescriptiveNameField;
- }
- set
- {
- this.pendingDescriptiveNameField = value;
- }
- }
-
- /// Whether the link is hidden.
Hiding accounts removes them from your manager
- /// account views without unlinking them in the AdWords UI. Ads in those accounts
- /// will continue running normally.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 4)]
- public bool isHidden
- {
- get
- {
- return this.isHiddenField;
- }
- set
- {
- this.isHiddenField = value;
- this.isHiddenSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool isHiddenSpecified
- {
- get
- {
- return this.isHiddenFieldSpecified;
- }
- set
- {
- this.isHiddenFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Status of the link.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/mcm/v201806")]
- public enum LinkStatus
- {
- /// An active relationship.
- ///
- ACTIVE = 0,
- /// A former active relationship.
- ///
- INACTIVE = 1,
- /// An invitation that is active or has expired.
- ///
- PENDING = 2,
- /// An invitation that was refused by the invitee.
- ///
- REFUSED = 3,
- /// An invitation that was cancelled by the invitor.
- ///
- CANCELLED = 4,
- UNKNOWN = 5,
- }
-
-
- /// A label that can be attached to accounts. A manager may attach labels to
- /// accounts that s/he manages (either directly or indirectly).
Note that these
- /// are not interchangeable with campaign management labels, and are owned by
- /// manager customers.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/mcm/v201806")]
- public partial class AccountLabel
- {
- private long idField;
-
- private bool idFieldSpecified;
-
- private string nameField;
-
- /// ID of the label.
This field is selectable/filterable in AccountLabelService.
- /// To select labels or filter by label ID in ManagedCustomerService#get, use the
- /// AccountLabels field instead. This field can be selected using the value "LabelId".This field can be filtered on.This field is read only and will be ignored when
- /// sent to the API for the following Operators: ADD.
- /// This field is required and should not be
- /// null when it is contained within Operators :
- /// SET, REMOVE.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long id
- {
- get
- {
- return this.idField;
- }
- set
- {
- this.idField = value;
- this.idSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool idSpecified
- {
- get
- {
- return this.idFieldSpecified;
- }
- set
- {
- this.idFieldSpecified = value;
- }
- }
-
- /// Name of the label.
This field is selectable in AccountLabelService. To select
- /// labels in ManagedCustomerService#get,
- /// use the AccountLabels field instead. This field can be selected using the value "LabelName".This field is required and should not be
- /// null when it is contained within Operators :
- /// ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public string name
- {
- get
- {
- return this.nameField;
- }
- set
- {
- this.nameField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field LabelId = new Field("LabelId", true, true);
-
- public static readonly Field LabelName = new Field("LabelName", false, true);
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field LabelId = Fields.LabelId;
-
- public static readonly Field LabelName = Fields.LabelName;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field LabelId = Fields.LabelId;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Data object that represents a managed customer. Member of ManagedCustomerPage.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/mcm/v201806")]
- public partial class ManagedCustomer
- {
- private string nameField;
-
- private long customerIdField;
-
- private bool customerIdFieldSpecified;
-
- private bool canManageClientsField;
-
- private bool canManageClientsFieldSpecified;
-
- private string currencyCodeField;
-
- private string dateTimeZoneField;
-
- private bool testAccountField;
-
- private bool testAccountFieldSpecified;
-
- private AccountLabel[] accountLabelsField;
-
- private bool excludeHiddenAccountsField;
-
- private bool excludeHiddenAccountsFieldSpecified;
-
- /// The name used by the manager to refer to the client. This field can be selected using the value "Name".This field can be filtered on.This field is required and should not be
- /// null when it is contained within Operators :
- /// ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public string name
- {
- get
- {
- return this.nameField;
- }
- set
- {
- this.nameField = value;
- }
- }
-
- /// The 10-digit ID that uniquely identifies the AdWords account. This field can be selected using the value
- /// "CustomerId".This field can be
- /// filtered on.This field is read only
- /// and will be ignored when sent to the API for the following Operators: ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public long customerId
- {
- get
- {
- return this.customerIdField;
- }
- set
- {
- this.customerIdField = value;
- this.customerIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool customerIdSpecified
- {
- get
- {
- return this.customerIdFieldSpecified;
- }
- set
- {
- this.customerIdFieldSpecified = value;
- }
- }
-
- /// Whether this account can manage clients. This
- /// field is read only and will be ignored when sent to the API.This field can be selected using the value
- /// "CanManageClients".This field can be
- /// filtered on.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public bool canManageClients
- {
- get
- {
- return this.canManageClientsField;
- }
- set
- {
- this.canManageClientsField = value;
- this.canManageClientsSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool canManageClientsSpecified
- {
- get
- {
- return this.canManageClientsFieldSpecified;
- }
- set
- {
- this.canManageClientsFieldSpecified = value;
- }
- }
-
- /// The currency in which this account operates. We support a subset of the currency
- /// codes derived from the ISO 4217 standard. See
- /// Currency Codes for the currently supported currencies. This field can be selected using the value
- /// "CurrencyCode".This field can be
- /// filtered on.This field is required and
- /// should not be null when it is contained within Operators : ADD.The length of this string should be between 3 and 3,
- /// inclusive.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public string currencyCode
- {
- get
- {
- return this.currencyCodeField;
- }
- set
- {
- this.currencyCodeField = value;
- }
- }
-
- /// The local timezone ID for this customer. See Time
- /// Zone Codes for the currently supported list. This field can be selected using the value
- /// "DateTimeZone".This field can be
- /// filtered on.This field is required and
- /// should not be null when it is contained within Operators : ADD.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 4)]
- public string dateTimeZone
- {
- get
- {
- return this.dateTimeZoneField;
- }
- set
- {
- this.dateTimeZoneField = value;
- }
- }
-
- /// Whether this managed customer's account is a test account. This field can be selected using the value
- /// "TestAccount".This field is read only
- /// and will be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 5)]
- public bool testAccount
- {
- get
- {
- return this.testAccountField;
- }
- set
- {
- this.testAccountField = value;
- this.testAccountSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool testAccountSpecified
- {
- get
- {
- return this.testAccountFieldSpecified;
- }
- set
- {
- this.testAccountFieldSpecified = value;
- }
- }
-
- /// The list of account labels associated with this customer. Only labels owned by
- /// the requesting manager will be returned. To change the list of labels applied to
- /// this customer, see ManagedCustomerService#mutateLabels.
- /// This field can be selected using the value
- /// "AccountLabels".This field can be
- /// filtered on.This field is read only
- /// and will be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute("accountLabels", Order = 6)]
- public AccountLabel[] accountLabels
- {
- get
- {
- return this.accountLabelsField;
- }
- set
- {
- this.accountLabelsField = value;
- }
- }
-
- /// Specify ExcludeHiddenAccounts=true to exclude hidden accounts during traversal.
- /// This field can be filtered on using the
- /// value "ExcludeHiddenAccounts".This
- /// field is read only and will be ignored when sent to the API.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 7)]
- public bool excludeHiddenAccounts
- {
- get
- {
- return this.excludeHiddenAccountsField;
- }
- set
- {
- this.excludeHiddenAccountsField = value;
- this.excludeHiddenAccountsSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool excludeHiddenAccountsSpecified
- {
- get
- {
- return this.excludeHiddenAccountsFieldSpecified;
- }
- set
- {
- this.excludeHiddenAccountsFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static readonly Field Name = new Field("Name", true, true);
-
- public static readonly Field CustomerId = new Field("CustomerId", true, true);
-
- public static readonly Field CanManageClients = new Field("CanManageClients", true, true);
-
- public static readonly Field CurrencyCode = new Field("CurrencyCode", true, true);
-
- public static readonly Field DateTimeZone = new Field("DateTimeZone", true, true);
-
- public static readonly Field TestAccount = new Field("TestAccount", false, true);
-
- public static readonly Field AccountLabels = new Field("AccountLabels", true, true);
-
- public static readonly Field ExcludeHiddenAccounts = new Field("ExcludeHiddenAccounts", true, false);
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static readonly Field Name = Fields.Name;
-
- public static readonly Field CustomerId = Fields.CustomerId;
-
- public static readonly Field CanManageClients = Fields.CanManageClients;
-
- public static readonly Field CurrencyCode = Fields.CurrencyCode;
-
- public static readonly Field DateTimeZone = Fields.DateTimeZone;
-
- public static readonly Field TestAccount = Fields.TestAccount;
-
- public static readonly Field AccountLabels = Fields.AccountLabels;
-
- public static readonly Field ExcludeHiddenAccounts = Fields.ExcludeHiddenAccounts;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static readonly Field Name = Fields.Name;
-
- public static readonly Field CustomerId = Fields.CustomerId;
-
- public static readonly Field CanManageClients = Fields.CanManageClients;
-
- public static readonly Field CurrencyCode = Fields.CurrencyCode;
-
- public static readonly Field DateTimeZone = Fields.DateTimeZone;
-
- public static readonly Field AccountLabels = Fields.AccountLabels;
-
- public static readonly Field ExcludeHiddenAccounts = Fields.ExcludeHiddenAccounts;
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Return result of ManagedCustomerService
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/mcm/v201806")]
- public partial class ManagedCustomerPage : Page
- {
- private ManagedCustomer[] entriesField;
-
- private ManagedCustomerLink[] linksField;
-
- /// Subset of the managed customers' information that are being retrieved.
- ///
- [System.Xml.Serialization.XmlElementAttribute("entries", Order = 0)]
- public ManagedCustomer[] entries
- {
- get
- {
- return this.entriesField;
- }
- set
- {
- this.entriesField = value;
- }
- }
-
- /// Links between manager and client customers.
- ///
- [System.Xml.Serialization.XmlElementAttribute("links", Order = 1)]
- public ManagedCustomerLink[] links
- {
- get
- {
- return this.linksField;
- }
- set
- {
- this.linksField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Page.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Page.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Page.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Error for ManagedCustomerService
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/mcm/v201806")]
- public partial class ManagedCustomerServiceError : ApiError
- {
- private ManagedCustomerServiceErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- private long[] customerIdsField;
-
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public ManagedCustomerServiceErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// The list of customer ids associated with the error.
- ///
- [System.Xml.Serialization.XmlElementAttribute("customerIds", Order = 1)]
- public long[] customerIds
- {
- get
- {
- return this.customerIdsField;
- }
- set
- {
- this.customerIdsField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "ManagedCustomerServiceError.Reason", Namespace = "https://adwords.google.com/api/adwords/mcm/v201806")]
- public enum ManagedCustomerServiceErrorReason
- {
- /// Unknown.
- ///
- UNKNOWN = 0,
- /// The user is not authorized to perform the action.
- ///
- NOT_AUTHORIZED = 1,
- /// Invalid selector
- ///
- INVALID_SELECTOR = 2,
- /// Can't process the passed in timezone.
- ///
- INVALID_TIMEZONE = 3,
- /// Can't process the passed in currency code.
- ///
- INVALID_CURRENCY = 4,
- /// Can't process the passed in descriptive name.
- ///
- INVALID_DESCRIPTIVE_NAME = 5,
- /// Generic error during add customer process.
- ///
- ADD_CUSTOMER_FAILURE = 6,
- /// There was a problem saving the modified customers, and some of the customers may
- /// not have been saved successfully.
- ///
- SAVE_CUSTOMERS_FAILURE = 7,
- /// Attempt to establish a link with a client that is already managed by the
- /// manager.
- ///
- ALREADY_MANAGED_BY_THIS_MANAGER = 8,
- /// Attempt to invite a client that has already been invited by the manager.
- ///
- ALREADY_INVITED_BY_THIS_MANAGER = 9,
- /// Already managed by some other manager in the hierarchy.
- ///
- ALREADY_MANAGED_IN_HIERARCHY = 17,
- /// Client is managed by another manager for UI access already.
- ///
- ALREADY_MANAGED_FOR_UI_ACCESS = 18,
- /// Attempt to exceed the maximum hierarchy depth.
- ///
- MAX_LINK_DEPTH_EXCEEDED = 19,
- /// Attempt to accept an invitation that doesn't exist.
- ///
- NO_PENDING_INVITATION = 10,
- /// Manager account has the maximum number of linked accounts.
- ///
- TOO_MANY_ACCOUNTS = 11,
- /// Your manager's account has the maximum number of linked accounts.
- ///
- TOO_MANY_ACCOUNTS_AT_MANAGER = 12,
- /// The invitee has already linked with max allowed number of UI and API managers.
- ///
- TOO_MANY_UI_API_MANAGERS = 20,
- /// Error involving test accounts (mixed types) or too many child accounts.
- ///
- TEST_ACCOUNT_LINK_ERROR = 13,
- /// Label id was not found, or is not owned by the requesting customer.
- ///
- INVALID_LABEL_ID = 14,
- /// Deleted labels cannot be applied to customers.
- ///
- CANNOT_APPLY_INACTIVE_LABEL = 15,
- /// A label cannot be applied to more than 1000 customers.
- ///
- APPLIED_LABEL_TO_TOO_MANY_ACCOUNTS = 16,
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ServiceModel.ServiceContractAttribute(Namespace = "https://adwords.google.com/api/adwords/mcm/v201806", ConfigurationName = "Google.Api.Ads.AdWords.v201806.ManagedCustomerServiceInterface")]
- public interface ManagedCustomerServiceInterface
- {
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [System.ServiceModel.FaultContractAttribute(typeof(Google.Api.Ads.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Google.Api.Ads.AdWords.v201806.ManagedCustomerPage get(Google.Api.Ads.AdWords.v201806.Selector serviceSelector);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- System.Threading.Tasks.Task getAsync(Google.Api.Ads.AdWords.v201806.Selector serviceSelector);
-
- // 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.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Wrappers.ManagedCustomerService.getPendingInvitationsResponse getPendingInvitations(Wrappers.ManagedCustomerService.getPendingInvitationsRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- System.Threading.Tasks.Task getPendingInvitationsAsync(Wrappers.ManagedCustomerService.getPendingInvitationsRequest request);
-
- // CODEGEN: Parameter 'operations' 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.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Wrappers.ManagedCustomerService.mutateResponse mutate(Wrappers.ManagedCustomerService.mutateRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- System.Threading.Tasks.Task mutateAsync(Wrappers.ManagedCustomerService.mutateRequest request);
-
- // CODEGEN: Parameter 'rval' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'System.Xml.Serialization.XmlArrayItemAttribute'.
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [System.ServiceModel.FaultContractAttribute(typeof(Google.Api.Ads.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Wrappers.ManagedCustomerService.mutateLabelResponse mutateLabel(Wrappers.ManagedCustomerService.mutateLabelRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- System.Threading.Tasks.Task mutateLabelAsync(Wrappers.ManagedCustomerService.mutateLabelRequest request);
-
- // CODEGEN: Parameter 'rval' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'System.Xml.Serialization.XmlArrayItemAttribute'.
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [System.ServiceModel.FaultContractAttribute(typeof(Google.Api.Ads.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Wrappers.ManagedCustomerService.mutateLinkResponse mutateLink(Wrappers.ManagedCustomerService.mutateLinkRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- System.Threading.Tasks.Task mutateLinkAsync(Wrappers.ManagedCustomerService.mutateLinkRequest request);
-
- // CODEGEN: Parameter 'rval' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'System.Xml.Serialization.XmlArrayItemAttribute'.
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [System.ServiceModel.FaultContractAttribute(typeof(Google.Api.Ads.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Page))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Wrappers.ManagedCustomerService.mutateManagerResponse mutateManager(Wrappers.ManagedCustomerService.mutateManagerRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- System.Threading.Tasks.Task mutateManagerAsync(Wrappers.ManagedCustomerService.mutateManagerRequest request);
- }
-
-
- /// Selector for getPendingInvitations method.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/mcm/v201806")]
- public partial class PendingInvitationSelector
- {
- private long[] managerCustomerIdsField;
-
- private long[] clientCustomerIdsField;
-
- /// Manager customer IDs to check for sent invitations.
- ///
- [System.Xml.Serialization.XmlElementAttribute("managerCustomerIds", Order = 0)]
- public long[] managerCustomerIds
- {
- get
- {
- return this.managerCustomerIdsField;
- }
- set
- {
- this.managerCustomerIdsField = value;
- }
- }
-
- /// Client customer IDs to check for received invitations.
- ///
- [System.Xml.Serialization.XmlElementAttribute("clientCustomerIds", Order = 1)]
- public long[] clientCustomerIds
- {
- get
- {
- return this.clientCustomerIdsField;
- }
- set
- {
- this.clientCustomerIdsField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Pending invitation result for the getPendingInvitations method.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/mcm/v201806")]
- public partial class PendingInvitation
- {
- private ManagedCustomer managerField;
-
- private ManagedCustomer clientField;
-
- private string creationDateField;
-
- private string expirationDateField;
-
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public ManagedCustomer manager
- {
- get
- {
- return this.managerField;
- }
- set
- {
- this.managerField = value;
- }
- }
-
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public ManagedCustomer client
- {
- get
- {
- return this.clientField;
- }
- set
- {
- this.clientField = value;
- }
- }
-
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public string creationDate
- {
- get
- {
- return this.creationDateField;
- }
- set
- {
- this.creationDateField = value;
- }
- }
-
- [System.Xml.Serialization.XmlElementAttribute(Order = 3)]
- public string expirationDate
- {
- get
- {
- return this.expirationDateField;
- }
- set
- {
- this.expirationDateField = value;
- }
- }
- }
-
-
- /// An operation to create or modify a managed customer.
Note: The
- /// REMOVE operator is not supported.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/mcm/v201806")]
- public partial class ManagedCustomerOperation : Operation
- {
- private ManagedCustomer operandField;
-
- private string inviteeEmailField;
-
- private AccessRole inviteeRoleField;
-
- private bool inviteeRoleFieldSpecified;
-
- /// This field is required and should not be
- /// null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public ManagedCustomer operand
- {
- get
- {
- return this.operandField;
- }
- set
- {
- this.operandField = value;
- }
- }
-
- /// Email invitee.
Email address of the user who should be invited on the created
- /// managed customer. Accessible to whitelisted customers only.
Note: This is only supported for ADD operator.
- /// This field is read only and will be ignored
- /// when sent to the API for the following Operators: REMOVE
- /// and SET.
The proposed role of @{code inviteeEmail} on the created
- /// managed customer. Accessible to whitelisted customers only.
Note: This is only supported for ADD operator.
- /// This field is read only and will be ignored
- /// when sent to the API for the following Operators: REMOVE
- /// and SET.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 2)]
- public AccessRole inviteeRole
- {
- get
- {
- return this.inviteeRoleField;
- }
- set
- {
- this.inviteeRoleField = value;
- this.inviteeRoleSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool inviteeRoleSpecified
- {
- get
- {
- return this.inviteeRoleFieldSpecified;
- }
- set
- {
- this.inviteeRoleFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Operation.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Operation.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Operation.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Access role of user on the customer.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/mcm/v201806")]
- public enum AccessRole
- {
- ADMINISTRATIVE = 0,
- STANDARD = 1,
- READ_ONLY = 2,
- }
-
-
- /// Operation for moving ManagedCustomer links. See ManagedCustomerService#mutateManager.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/mcm/v201806")]
- public partial class MoveOperation : Operation
- {
- private ManagedCustomerLink operandField;
-
- private long oldManagerCustomerIdField;
-
- private bool oldManagerCustomerIdFieldSpecified;
-
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public ManagedCustomerLink operand
- {
- get
- {
- return this.operandField;
- }
- set
- {
- this.operandField = value;
- }
- }
-
- /// The ID of the old Manager.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public long oldManagerCustomerId
- {
- get
- {
- return this.oldManagerCustomerIdField;
- }
- set
- {
- this.oldManagerCustomerIdField = value;
- this.oldManagerCustomerIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool oldManagerCustomerIdSpecified
- {
- get
- {
- return this.oldManagerCustomerIdFieldSpecified;
- }
- set
- {
- this.oldManagerCustomerIdFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Operation.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Operation.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Operation.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// An operation to apply or remove an account label from a managed customer.
Note: The SET operator is not supported.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/mcm/v201806")]
- public partial class ManagedCustomerLabelOperation : Operation
- {
- private ManagedCustomerLabel operandField;
-
- /// This field is required and should not be
- /// null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public ManagedCustomerLabel operand
- {
- get
- {
- return this.operandField;
- }
- set
- {
- this.operandField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Operation.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Operation.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Operation.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// A label ID and customer ID the label applies to.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/mcm/v201806")]
- public partial class ManagedCustomerLabel
- {
- private long labelIdField;
-
- private bool labelIdFieldSpecified;
-
- private long customerIdField;
-
- private bool customerIdFieldSpecified;
-
- /// The ID of an existing label to be applied to the account. This field is required and should not be
- /// null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public long labelId
- {
- get
- {
- return this.labelIdField;
- }
- set
- {
- this.labelIdField = value;
- this.labelIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool labelIdSpecified
- {
- get
- {
- return this.labelIdFieldSpecified;
- }
- set
- {
- this.labelIdFieldSpecified = value;
- }
- }
-
- /// The 10-digit customer ID that identifies this account. Note that this is a
- /// long (do not include hyphens in the middle), just like ManagedCustomer#customerId. This field is required and should not be
- /// null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public long customerId
- {
- get
- {
- return this.customerIdField;
- }
- set
- {
- this.customerIdField = value;
- this.customerIdSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool customerIdSpecified
- {
- get
- {
- return this.customerIdFieldSpecified;
- }
- set
- {
- this.customerIdFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Operation for modifying ManagedCustomer links. See ManagedCustomerService#mutateLink.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/mcm/v201806")]
- public partial class LinkOperation : Operation
- {
- private ManagedCustomerLink operandField;
-
- /// This field is required and should not be
- /// null.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public ManagedCustomerLink operand
- {
- get
- {
- return this.operandField;
- }
- set
- {
- this.operandField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : Operation.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : Operation.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : Operation.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// A container for return values from the ManagedCustomerService.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/mcm/v201806")]
- public partial class ManagedCustomerReturnValue
- {
- private ManagedCustomer[] valueField;
-
- /// List of managed customers.
- ///
- [System.Xml.Serialization.XmlElementAttribute("value", Order = 0)]
- public ManagedCustomer[] value
- {
- get
- {
- return this.valueField;
- }
- set
- {
- this.valueField = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public interface ManagedCustomerServiceInterfaceChannel : Google.Api.Ads.AdWords.v201806.ManagedCustomerServiceInterface, System.ServiceModel.IClientChannel
- {
- }
-
-
- /// Customer Manager Service.
- ///
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class ManagedCustomerService : AdWordsSoapClient, IManagedCustomerService
- {
- /// Creates a new instance of the
- /// class.
- public ManagedCustomerService()
- {
- }
-
- /// Creates a new instance of the
- /// class.
- public ManagedCustomerService(string endpointConfigurationName)
- : base(endpointConfigurationName)
- {
- }
-
- /// Creates a new instance of the
- /// class.
- public ManagedCustomerService(string endpointConfigurationName, string remoteAddress)
- : base(endpointConfigurationName, remoteAddress)
- {
- }
-
- /// Creates a new instance of the
- /// class.
- public ManagedCustomerService(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress)
- : base(endpointConfigurationName, remoteAddress)
- {
- }
-
- /// Creates a new instance of the
- /// class.
- public ManagedCustomerService(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)
- : base(binding, remoteAddress)
- {
- }
-
- /// Returns the list of customers that meet the selector criteria.
- /// The selector specifying the ManagedCustomers to return.
- /// List of customers identified by the selector.
- /// When there is at least one error with the
- /// request.
- public virtual Google.Api.Ads.AdWords.v201806.ManagedCustomerPage get(Google.Api.Ads.AdWords.v201806.Selector serviceSelector)
- {
- return base.Channel.get(serviceSelector);
- }
-
- public virtual System.Threading.Tasks.Task getAsync(Google.Api.Ads.AdWords.v201806.Selector serviceSelector)
- {
- return base.Channel.getAsync(serviceSelector);
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- Wrappers.ManagedCustomerService.getPendingInvitationsResponse Google.Api.Ads.AdWords.v201806.ManagedCustomerServiceInterface.getPendingInvitations(Wrappers.ManagedCustomerService.getPendingInvitationsRequest request)
- {
- return base.Channel.getPendingInvitations(request);
- }
-
- /// Returns the pending invitations for the customer IDs in the selector.
- /// the manager customer ids (inviters) or the client
- /// customer ids (invitees)
- /// when there is at least one error with the
- /// request
- public virtual Google.Api.Ads.AdWords.v201806.PendingInvitation[] getPendingInvitations(Google.Api.Ads.AdWords.v201806.PendingInvitationSelector selector)
- {
- Wrappers.ManagedCustomerService.getPendingInvitationsRequest inValue = new Wrappers.ManagedCustomerService.getPendingInvitationsRequest();
- inValue.selector = selector;
- Wrappers.ManagedCustomerService.getPendingInvitationsResponse retVal = ((Google.Api.Ads.AdWords.v201806.ManagedCustomerServiceInterface) (this)).getPendingInvitations(inValue);
- return retVal.rval;
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- System.Threading.Tasks.Task Google.Api.Ads.AdWords.v201806.ManagedCustomerServiceInterface.getPendingInvitationsAsync(Wrappers.ManagedCustomerService.getPendingInvitationsRequest request)
- {
- return base.Channel.getPendingInvitationsAsync(request);
- }
-
- public virtual System.Threading.Tasks.Task getPendingInvitationsAsync(Google.Api.Ads.AdWords.v201806.PendingInvitationSelector selector)
- {
- Wrappers.ManagedCustomerService.getPendingInvitationsRequest inValue = new Wrappers.ManagedCustomerService.getPendingInvitationsRequest();
- inValue.selector = selector;
- return System.Threading.Tasks.Task.Factory.StartNew(() => (((Google.Api.Ads.AdWords.v201806.ManagedCustomerServiceInterface) (this)).getPendingInvitationsAsync(inValue)).Result.rval);
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- Wrappers.ManagedCustomerService.mutateResponse Google.Api.Ads.AdWords.v201806.ManagedCustomerServiceInterface.mutate(Wrappers.ManagedCustomerService.mutateRequest request)
- {
- return base.Channel.mutate(request);
- }
-
- /// Modifies or creates new ManagedCustomers.
SET
- /// + INACTIVE: manager/client terminates links
SET + ACTIVE: client
- /// accepts invitations
SET + REFUSED: client declines invitations
- ///
In addition to these, active links can also be marked hidden / unhidden.
- ///
An ACTIVE link can be marked hidden with SET + ACTIVE along with
- /// setting the isHidden bit to true.
An ACTIVE link can be marked unhidden
- /// with SET + ACTIVE along with setting the isHidden bit to false.
- /// the list of operations
- /// results for the given operations
- /// with a ManagedCustomerServiceError
- public virtual Google.Api.Ads.AdWords.v201806.ManagedCustomerLink[] mutateLink(Google.Api.Ads.AdWords.v201806.LinkOperation[] operations)
- {
- Wrappers.ManagedCustomerService.mutateLinkRequest inValue = new Wrappers.ManagedCustomerService.mutateLinkRequest();
- inValue.operations = operations;
- Wrappers.ManagedCustomerService.mutateLinkResponse retVal = ((Google.Api.Ads.AdWords.v201806.ManagedCustomerServiceInterface) (this)).mutateLink(inValue);
- return retVal.rval;
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- System.Threading.Tasks.Task Google.Api.Ads.AdWords.v201806.ManagedCustomerServiceInterface.mutateLinkAsync(Wrappers.ManagedCustomerService.mutateLinkRequest request)
- {
- return base.Channel.mutateLinkAsync(request);
- }
-
- public virtual System.Threading.Tasks.Task mutateLinkAsync(Google.Api.Ads.AdWords.v201806.LinkOperation[] operations)
- {
- Wrappers.ManagedCustomerService.mutateLinkRequest inValue = new Wrappers.ManagedCustomerService.mutateLinkRequest();
- inValue.operations = operations;
- return System.Threading.Tasks.Task.Factory.StartNew(() => (((Google.Api.Ads.AdWords.v201806.ManagedCustomerServiceInterface) (this)).mutateLinkAsync(inValue)).Result.rval);
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- Wrappers.ManagedCustomerService.mutateManagerResponse Google.Api.Ads.AdWords.v201806.ManagedCustomerServiceInterface.mutateManager(Wrappers.ManagedCustomerService.mutateManagerRequest request)
- {
- return base.Channel.mutateManager(request);
- }
-
- /// Moves client customers to new managers (moving links). Only the following action
- /// is possible:
SET + ACTIVE: manager moves client customers to new
- /// managers within the same manager account hierarchy
- /// List of unique operations.
- /// results for the given operations
- /// with a ManagedCustomerServiceError
- public virtual Google.Api.Ads.AdWords.v201806.ManagedCustomerLink[] mutateManager(Google.Api.Ads.AdWords.v201806.MoveOperation[] operations)
- {
- Wrappers.ManagedCustomerService.mutateManagerRequest inValue = new Wrappers.ManagedCustomerService.mutateManagerRequest();
- inValue.operations = operations;
- Wrappers.ManagedCustomerService.mutateManagerResponse retVal = ((Google.Api.Ads.AdWords.v201806.ManagedCustomerServiceInterface) (this)).mutateManager(inValue);
- return retVal.rval;
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- System.Threading.Tasks.Task Google.Api.Ads.AdWords.v201806.ManagedCustomerServiceInterface.mutateManagerAsync(Wrappers.ManagedCustomerService.mutateManagerRequest request)
- {
- return base.Channel.mutateManagerAsync(request);
- }
-
- public virtual System.Threading.Tasks.Task mutateManagerAsync(Google.Api.Ads.AdWords.v201806.MoveOperation[] operations)
- {
- Wrappers.ManagedCustomerService.mutateManagerRequest inValue = new Wrappers.ManagedCustomerService.mutateManagerRequest();
- inValue.operations = operations;
- return System.Threading.Tasks.Task.Factory.StartNew(() => (((Google.Api.Ads.AdWords.v201806.ManagedCustomerServiceInterface) (this)).mutateManagerAsync(inValue)).Result.rval);
- }
- }
- namespace Wrappers.MediaService
- {
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "upload", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class uploadRequest
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- [System.Xml.Serialization.XmlElementAttribute("media")]
- public Google.Api.Ads.AdWords.v201806.Media[] media;
-
- /// Creates a new instance of the class.
- ///
- public uploadRequest()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public uploadRequest(Google.Api.Ads.AdWords.v201806.Media[] media)
- {
- this.media = media;
- }
- }
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(WrapperName = "uploadResponse", WrapperNamespace = "https://adwords.google.com/api/adwords/cm/v201806", IsWrapped = true)]
- public partial class uploadResponse
- {
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", Order = 0)]
- [System.Xml.Serialization.XmlElementAttribute("rval")]
- public Google.Api.Ads.AdWords.v201806.Media[] rval;
-
- /// Creates a new instance of the class.
- ///
- public uploadResponse()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public uploadResponse(Google.Api.Ads.AdWords.v201806.Media[] rval)
- {
- this.rval = rval;
- }
- }
- }
- /// Page of media returned by the MediaService which
- /// includes the media.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class MediaPage
- {
- private Media[] entriesField;
-
- private int totalNumEntriesField;
-
- private bool totalNumEntriesFieldSpecified;
-
- /// The result entries in this page.
- ///
- [System.Xml.Serialization.XmlElementAttribute("entries", Order = 0)]
- public Media[] entries
- {
- get
- {
- return this.entriesField;
- }
- set
- {
- this.entriesField = value;
- }
- }
-
- /// Total number of entries in the result that this page is a part of.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 1)]
- public int totalNumEntries
- {
- get
- {
- return this.totalNumEntriesField;
- }
- set
- {
- this.totalNumEntriesField = value;
- this.totalNumEntriesSpecified = true;
- }
- }
-
- /// true, if a value is specified for , false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool totalNumEntriesSpecified
- {
- get
- {
- return this.totalNumEntriesFieldSpecified;
- }
- set
- {
- this.totalNumEntriesFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public class Fields : BaseFields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public class SelectableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public class FilterableFields : BaseFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- /// Error class for errors associated with parsing video data.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class VideoError : ApiError
- {
- private VideoErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// The error reason represented by an enum.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public VideoErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "VideoError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum VideoErrorReason
- {
- /// Invalid video.
- ///
- INVALID_VIDEO = 0,
- /// Storage error.
- ///
- STORAGE_ERROR = 1,
- /// Bad request.
- ///
- BAD_REQUEST = 2,
- /// Server error.
- ///
- ERROR_GENERATING_STREAMING_URL = 3,
- /// Unexpected size.
- ///
- UNEXPECTED_SIZE = 4,
- /// Server error.
- ///
- SERVER_ERROR = 5,
- /// File too large.
- ///
- FILE_TOO_LARGE = 6,
- /// Video processing error.
- ///
- VIDEO_PROCESSING_ERROR = 7,
- /// Invalid input.
- ///
- INVALID_INPUT = 8,
- /// Problem reading file.
- ///
- PROBLEM_READING_FILE = 9,
- /// Invalid ISCI.
- ///
- INVALID_ISCI = 10,
- /// Invalid AD-ID.
- ///
- INVALID_AD_ID = 11,
- }
-
-
- /// Error class for errors associated with parsing audio data.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public partial class AudioError : ApiError
- {
- private AudioErrorReason reasonField;
-
- private bool reasonFieldSpecified;
-
- /// The error reason represented by an enum.
- ///
- [System.Xml.Serialization.XmlElementAttribute(Order = 0)]
- public AudioErrorReason reason
- {
- get
- {
- return this.reasonField;
- }
- set
- {
- this.reasonField = value;
- this.reasonSpecified = true;
- }
- }
-
- /// true, if a value is specified for ,
- /// false otherwise.
- [System.Xml.Serialization.XmlIgnoreAttribute()]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool reasonSpecified
- {
- get
- {
- return this.reasonFieldSpecified;
- }
- set
- {
- this.reasonFieldSpecified = value;
- }
- }
-
- /// List of all supported fields for the class.
- ///
- public new class Fields : ApiError.Fields
- {
- /// Creates a new instance of the class.
- protected Fields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported selectable fields for the
- /// class.
- public new class SelectableFields : ApiError.SelectableFields
- {
- /// Creates a new instance of the class.
- ///
- protected SelectableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
-
-
- /// List of all supported filterable fields for the
- /// class.
- public new class FilterableFields : ApiError.FilterableFields
- {
- /// Creates a new instance of the class.
- ///
- protected FilterableFields()
- {
- }
-
- public static new Field[] All
- {
- get
- {
- return BaseFields.GetAllFields(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- }
- }
- }
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "4.6.1055.0")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(TypeName = "AudioError.Reason", Namespace = "https://adwords.google.com/api/adwords/cm/v201806")]
- public enum AudioErrorReason
- {
- INVALID_AUDIO = 0,
- PROBLEM_READING_AUDIO_FILE = 1,
- ERROR_STORING_AUDIO = 2,
- FILE_TOO_LARGE = 3,
- UNSUPPORTED_AUDIO = 4,
- ERROR_GENERATING_STREAMING_URL = 5,
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ServiceModel.ServiceContractAttribute(Namespace = "https://adwords.google.com/api/adwords/cm/v201806", ConfigurationName = "Google.Api.Ads.AdWords.v201806.MediaServiceInterface")]
- public interface MediaServiceInterface
- {
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [System.ServiceModel.FaultContractAttribute(typeof(Google.Api.Ads.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Google.Api.Ads.AdWords.v201806.MediaPage get(Google.Api.Ads.AdWords.v201806.Selector serviceSelector);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- System.Threading.Tasks.Task getAsync(Google.Api.Ads.AdWords.v201806.Selector serviceSelector);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [System.ServiceModel.FaultContractAttribute(typeof(Google.Api.Ads.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Google.Api.Ads.AdWords.v201806.MediaPage query([System.ServiceModel.MessageParameterAttribute(Name = "query")] string query1);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- System.Threading.Tasks.Task queryAsync(string query);
-
- // 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.AdWords.v201806.ApiException), Action = "", Name = "ApiExceptionFault")]
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ApplicationException))]
- [return: System.ServiceModel.MessageParameterAttribute(Name = "rval")]
- Wrappers.MediaService.uploadResponse upload(Wrappers.MediaService.uploadRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
- System.Threading.Tasks.Task uploadAsync(Wrappers.MediaService.uploadRequest request);
- }
-
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public interface MediaServiceInterfaceChannel : Google.Api.Ads.AdWords.v201806.MediaServiceInterface, System.ServiceModel.IClientChannel
- {
- }
-
-
- /// Use this service to manage media.
- ///
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class MediaService : AdWordsSoapClient, IMediaService
- {
- /// Creates a new instance of the class.
- ///
- public MediaService()
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public MediaService(string endpointConfigurationName)
- : base(endpointConfigurationName)
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public MediaService(string endpointConfigurationName, string remoteAddress)
- : base(endpointConfigurationName, remoteAddress)
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public MediaService(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress)
- : base(endpointConfigurationName, remoteAddress)
- {
- }
-
- /// Creates a new instance of the class.
- ///
- public MediaService(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)
- : base(binding, remoteAddress)
- {
- }
-
- /// Returns a list of media that meet the criteria specified by the selector.
Note:MediaService will not return any ImageAd image files.
- /// Selects which media objects to return.
- /// A list of Media objects.
- public virtual Google.Api.Ads.AdWords.v201806.MediaPage get(Google.Api.Ads.AdWords.v201806.Selector serviceSelector)
- {
- return base.Channel.get(serviceSelector);
- }
-
- public virtual System.Threading.Tasks.Task getAsync(Google.Api.Ads.AdWords.v201806.Selector serviceSelector)
- {
- return base.Channel.getAsync(serviceSelector);
- }
-
- /// Returns the list of Media objects that match the query.
- /// The SQL-like AWQL query string
- /// s A list of Media objects.
- /// when the query is invalid or there are
- /// errors processing the request.
- public virtual Google.Api.Ads.AdWords.v201806.MediaPage query(string query1)
- {
- return base.Channel.query(query1);
- }
-
- public virtual System.Threading.Tasks.Task queryAsync(string query)
- {
- return base.Channel.queryAsync(query);
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- Wrappers.MediaService.uploadResponse Google.Api.Ads.AdWords.v201806.MediaServiceInterface.upload(Wrappers.MediaService.uploadRequest request)
- {
- return base.Channel.upload(request);
- }
-
- /// Uploads new media. Currently, you can upload Image files and
- /// MediaBundles.
- /// A list of Media objects, each containing the
- /// data to be uploaded.
- /// A list of uploaded media in the same order as the argument
- /// list.
- public virtual Google.Api.Ads.AdWords.v201806.Media[] upload(Google.Api.Ads.AdWords.v201806.Media[] media)
- {
- Wrappers.MediaService.uploadRequest inValue = new Wrappers.MediaService.uploadRequest();
- inValue.media = media;
- Wrappers.MediaService.uploadResponse retVal = ((Google.Api.Ads.AdWords.v201806.MediaServiceInterface) (this)).upload(inValue);
- return retVal.rval;
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- System.Threading.Tasks.Task Google.Api.Ads.AdWords.v201806.MediaServiceInterface.uploadAsync(Wrappers.MediaService.uploadRequest request)
- {
- return base.Channel.uploadAsync(request);
- }
-
- public virtual System.Threading.Tasks.Task uploadAsync(Google.Api.Ads.AdWords.v201806.Media[] media)
- {
- Wrappers.MediaService.uploadRequest inValue = new Wrappers.MediaService.uploadRequest();
- inValue.media = media;
- return System.Threading.Tasks.Task