# Campaign Manager 360 API . campaigns

## Instance Methods

Close httplib2 connections.

Gets one campaign by ID.

Inserts a new campaign.

Retrieves a list of campaigns, possibly filtered. This method supports paging.

Retrieves the next page of results.

Updates an existing campaign. This method supports patch semantics.

Updates an existing campaign.

### Method Details

`close()`

    Close httplib2 connections.

`get(profileId, id, x__xgafv=None)`

    Gets one campaign by ID.

    Args:
      profileId: string, User profile ID associated with this request. (required)
      id: string, Campaign ID. (required)
      x__xgafv: string, V1 error format.
        Allowed values
          1 - v1 error format
          2 - v2 error format

    Returns:
      An object of the form:

        { # Contains properties of a Campaign Manager campaign.
      "accountId": "A String", # Account ID of this campaign. This is a read-only field that can be left blank.
      "adBlockingConfiguration": { # Campaign ad blocking settings. # Ad blocking settings for this campaign.
        "enabled": True or False, # Whether this campaign has enabled ad blocking. When true, ad blocking is enabled for placements in the campaign, but this may be overridden by site and placement settings. When false, ad blocking is disabled for all placements under the campaign, regardless of site and placement settings.
      },
      "additionalCreativeOptimizationConfigurations": [ # Additional creative optimization configurations for the campaign.
        { # Creative optimization settings.
          "id": "A String", # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.
          "name": "A String", # Name of this creative optimization config. This is a required field and must be less than 129 characters long.
          "optimizationActivitys": [ # List of optimization activities associated with this configuration.
            { # Creative optimization activity.
              "floodlightActivityId": "A String", # Floodlight activity ID of this optimization activity. This is a required field.
              "floodlightActivityIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field.
                "dimensionName": "A String", # The name of the dimension.
                "etag": "A String", # The eTag of this response for caching purposes.
                "id": "A String", # The ID associated with the value if available.
                "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
                "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
                "value": "A String", # The value of the dimension.
              },
              "weight": 42, # Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1.
            },
          ],
          "optimizationModel": "A String", # Optimization model for this configuration.
        },
      ],
      "advertiserGroupId": "A String", # Advertiser group ID of the associated advertiser.
      "advertiserId": "A String", # Advertiser ID of this campaign. This is a required field.
      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the advertiser ID of this campaign. This is a read-only, auto-generated field.
        "dimensionName": "A String", # The name of the dimension.
        "etag": "A String", # The eTag of this response for caching purposes.
        "id": "A String", # The ID associated with the value if available.
        "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
        "value": "A String", # The value of the dimension.
      },
      "archived": True or False, # Whether this campaign has been archived.
      "audienceSegmentGroups": [ # Audience segment groups assigned to this campaign. Cannot have more than 300 segment groups.
        { # Audience Segment Group.
          "audienceSegments": [ # Audience segments assigned to this group. The number of segments must be between 2 and 100.
            { # Audience Segment.
              "allocation": 42, # Weight allocated to this segment. The weight assigned will be understood in proportion to the weights assigned to other segments in the same segment group. Acceptable values are 1 to 1000, inclusive.
              "id": "A String", # ID of this audience segment. This is a read-only, auto-generated field.
              "name": "A String", # Name of this audience segment. This is a required field and must be less than 65 characters long.
            },
          ],
          "id": "A String", # ID of this audience segment group. This is a read-only, auto-generated field.
          "name": "A String", # Name of this audience segment group. This is a required field and must be less than 65 characters long.
        },
      ],
      "billingInvoiceCode": "A String", # Billing invoice code included in the Campaign Manager client billing invoices associated with the campaign.
      "clickThroughUrlSuffixProperties": { # Click Through URL Suffix settings. # Click-through URL suffix override properties for this campaign.
        "clickThroughUrlSuffix": "A String", # Click-through URL suffix to apply to all ads in this entity's scope. Must be less than 128 characters long.
        "overrideInheritedSuffix": True or False, # Whether this entity should override the inherited click-through URL suffix with its own defined value.
      },
      "comment": "A String", # Arbitrary comments about this campaign. Must be less than 256 characters long.
      "createInfo": { # Modification timestamp. # Information about the creation of this campaign. This is a read-only field.
        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
      },
      "creativeGroupIds": [ # List of creative group IDs that are assigned to the campaign.
        "A String",
      ],
      "creativeOptimizationConfiguration": { # Creative optimization settings. # Creative optimization configuration for the campaign.
        "id": "A String", # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.
        "name": "A String", # Name of this creative optimization config. This is a required field and must be less than 129 characters long.
        "optimizationActivitys": [ # List of optimization activities associated with this configuration.
          { # Creative optimization activity.
            "floodlightActivityId": "A String", # Floodlight activity ID of this optimization activity. This is a required field.
            "floodlightActivityIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field.
              "dimensionName": "A String", # The name of the dimension.
              "etag": "A String", # The eTag of this response for caching purposes.
              "id": "A String", # The ID associated with the value if available.
              "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
              "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
              "value": "A String", # The value of the dimension.
            },
            "weight": 42, # Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1.
          },
        ],
        "optimizationModel": "A String", # Optimization model for this configuration.
      },
      "defaultClickThroughEventTagProperties": { # Properties of inheriting and overriding the default click-through event tag. A campaign may override the event tag defined at the advertiser level, and an ad may also override the campaign's setting further. # Click-through event tag ID override properties for this campaign.
        "defaultClickThroughEventTagId": "A String", # ID of the click-through event tag to apply to all ads in this entity's scope.
        "overrideInheritedEventTag": True or False, # Whether this entity should override the inherited default click-through event tag with its own defined value.
      },
      "defaultLandingPageId": "A String", # The default landing page ID for this campaign.
      "endDate": "A String",
      "eventTagOverrides": [ # Overrides that can be used to activate or deactivate advertiser event tags.
        { # Event tag override information.
          "enabled": True or False, # Whether this override is enabled.
          "id": "A String", # ID of this event tag override. This is a read-only, auto-generated field.
        },
      ],
      "externalId": "A String", # External ID for this campaign.
      "id": "A String", # ID of this campaign. This is a read-only auto-generated field.
      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this campaign. This is a read-only, auto-generated field.
        "dimensionName": "A String", # The name of the dimension.
        "etag": "A String", # The eTag of this response for caching purposes.
        "id": "A String", # The ID associated with the value if available.
        "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
        "value": "A String", # The value of the dimension.
      },
      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#campaign".
      "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this campaign. This is a read-only field.
        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
      },
      "measurementPartnerLink": { # Measurement partner campaign link for tag wrapping.
        "linkStatus": "A String", # .
        "measurementPartner": "A String", # Measurement partner used for tag wrapping.
        "partnerCampaignId": "A String", # Partner campaign ID needed for establishing linking with Measurement partner.
      },
      "name": "A String", # Name of this campaign. This is a required field and must be less than 512 characters long and unique among campaigns of the same advertiser.
      "nielsenOcrEnabled": True or False, # Whether Nielsen reports are enabled for this campaign.
      "startDate": "A String",
      "subaccountId": "A String", # Subaccount ID of this campaign. This is a read-only field that can be left blank.
      "traffickerEmails": [ # Campaign trafficker contact emails.
        "A String",
      ],
    }

`insert(profileId, body=None, x__xgafv=None)`

    Inserts a new campaign.

    Args:
      profileId: string, User profile ID associated with this request. (required)
      body: object, The request body.
        The object takes the form of:

    { # Contains properties of a Campaign Manager campaign.
      "accountId": "A String", # Account ID of this campaign. This is a read-only field that can be left blank.
      "adBlockingConfiguration": { # Campaign ad blocking settings. # Ad blocking settings for this campaign.
        "enabled": True or False, # Whether this campaign has enabled ad blocking. When true, ad blocking is enabled for placements in the campaign, but this may be overridden by site and placement settings. When false, ad blocking is disabled for all placements under the campaign, regardless of site and placement settings.
      },
      "additionalCreativeOptimizationConfigurations": [ # Additional creative optimization configurations for the campaign.
        { # Creative optimization settings.
          "id": "A String", # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.
          "name": "A String", # Name of this creative optimization config. This is a required field and must be less than 129 characters long.
          "optimizationActivitys": [ # List of optimization activities associated with this configuration.
            { # Creative optimization activity.
              "floodlightActivityId": "A String", # Floodlight activity ID of this optimization activity. This is a required field.
              "floodlightActivityIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field.
                "dimensionName": "A String", # The name of the dimension.
                "etag": "A String", # The eTag of this response for caching purposes.
                "id": "A String", # The ID associated with the value if available.
                "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
                "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
                "value": "A String", # The value of the dimension.
              },
              "weight": 42, # Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1.
            },
          ],
          "optimizationModel": "A String", # Optimization model for this configuration.
        },
      ],
      "advertiserGroupId": "A String", # Advertiser group ID of the associated advertiser.
      "advertiserId": "A String", # Advertiser ID of this campaign. This is a required field.
      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the advertiser ID of this campaign. This is a read-only, auto-generated field.
        "dimensionName": "A String", # The name of the dimension.
        "etag": "A String", # The eTag of this response for caching purposes.
        "id": "A String", # The ID associated with the value if available.
        "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
        "value": "A String", # The value of the dimension.
      },
      "archived": True or False, # Whether this campaign has been archived.
      "audienceSegmentGroups": [ # Audience segment groups assigned to this campaign. Cannot have more than 300 segment groups.
        { # Audience Segment Group.
          "audienceSegments": [ # Audience segments assigned to this group. The number of segments must be between 2 and 100.
            { # Audience Segment.
              "allocation": 42, # Weight allocated to this segment. The weight assigned will be understood in proportion to the weights assigned to other segments in the same segment group. Acceptable values are 1 to 1000, inclusive.
              "id": "A String", # ID of this audience segment. This is a read-only, auto-generated field.
              "name": "A String", # Name of this audience segment. This is a required field and must be less than 65 characters long.
            },
          ],
          "id": "A String", # ID of this audience segment group. This is a read-only, auto-generated field.
          "name": "A String", # Name of this audience segment group. This is a required field and must be less than 65 characters long.
        },
      ],
      "billingInvoiceCode": "A String", # Billing invoice code included in the Campaign Manager client billing invoices associated with the campaign.
      "clickThroughUrlSuffixProperties": { # Click Through URL Suffix settings. # Click-through URL suffix override properties for this campaign.
        "clickThroughUrlSuffix": "A String", # Click-through URL suffix to apply to all ads in this entity's scope. Must be less than 128 characters long.
        "overrideInheritedSuffix": True or False, # Whether this entity should override the inherited click-through URL suffix with its own defined value.
      },
      "comment": "A String", # Arbitrary comments about this campaign. Must be less than 256 characters long.
      "createInfo": { # Modification timestamp. # Information about the creation of this campaign. This is a read-only field.
        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
      },
      "creativeGroupIds": [ # List of creative group IDs that are assigned to the campaign.
        "A String",
      ],
      "creativeOptimizationConfiguration": { # Creative optimization settings. # Creative optimization configuration for the campaign.
        "id": "A String", # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.
        "name": "A String", # Name of this creative optimization config. This is a required field and must be less than 129 characters long.
        "optimizationActivitys": [ # List of optimization activities associated with this configuration.
          { # Creative optimization activity.
            "floodlightActivityId": "A String", # Floodlight activity ID of this optimization activity. This is a required field.
            "floodlightActivityIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field.
              "dimensionName": "A String", # The name of the dimension.
              "etag": "A String", # The eTag of this response for caching purposes.
              "id": "A String", # The ID associated with the value if available.
              "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
              "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
              "value": "A String", # The value of the dimension.
            },
            "weight": 42, # Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1.
          },
        ],
        "optimizationModel": "A String", # Optimization model for this configuration.
      },
      "defaultClickThroughEventTagProperties": { # Properties of inheriting and overriding the default click-through event tag. A campaign may override the event tag defined at the advertiser level, and an ad may also override the campaign's setting further. # Click-through event tag ID override properties for this campaign.
        "defaultClickThroughEventTagId": "A String", # ID of the click-through event tag to apply to all ads in this entity's scope.
        "overrideInheritedEventTag": True or False, # Whether this entity should override the inherited default click-through event tag with its own defined value.
      },
      "defaultLandingPageId": "A String", # The default landing page ID for this campaign.
      "endDate": "A String",
      "eventTagOverrides": [ # Overrides that can be used to activate or deactivate advertiser event tags.
        { # Event tag override information.
          "enabled": True or False, # Whether this override is enabled.
          "id": "A String", # ID of this event tag override. This is a read-only, auto-generated field.
        },
      ],
      "externalId": "A String", # External ID for this campaign.
      "id": "A String", # ID of this campaign. This is a read-only auto-generated field.
      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this campaign. This is a read-only, auto-generated field.
        "dimensionName": "A String", # The name of the dimension.
        "etag": "A String", # The eTag of this response for caching purposes.
        "id": "A String", # The ID associated with the value if available.
        "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
        "value": "A String", # The value of the dimension.
      },
      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#campaign".
      "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this campaign. This is a read-only field.
        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
      },
      "measurementPartnerLink": { # Measurement partner campaign link for tag wrapping.
        "linkStatus": "A String", # .
        "measurementPartner": "A String", # Measurement partner used for tag wrapping.
        "partnerCampaignId": "A String", # Partner campaign ID needed for establishing linking with Measurement partner.
      },
      "name": "A String", # Name of this campaign. This is a required field and must be less than 512 characters long and unique among campaigns of the same advertiser.
      "nielsenOcrEnabled": True or False, # Whether Nielsen reports are enabled for this campaign.
      "startDate": "A String",
      "subaccountId": "A String", # Subaccount ID of this campaign. This is a read-only field that can be left blank.
      "traffickerEmails": [ # Campaign trafficker contact emails.
        "A String",
      ],
    }

      x__xgafv: string, V1 error format.
        Allowed values
          1 - v1 error format
          2 - v2 error format

    Returns:
      An object of the form:

        { # Contains properties of a Campaign Manager campaign.
      "accountId": "A String", # Account ID of this campaign. This is a read-only field that can be left blank.
      "adBlockingConfiguration": { # Campaign ad blocking settings. # Ad blocking settings for this campaign.
        "enabled": True or False, # Whether this campaign has enabled ad blocking. When true, ad blocking is enabled for placements in the campaign, but this may be overridden by site and placement settings. When false, ad blocking is disabled for all placements under the campaign, regardless of site and placement settings.
      },
      "additionalCreativeOptimizationConfigurations": [ # Additional creative optimization configurations for the campaign.
        { # Creative optimization settings.
          "id": "A String", # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.
          "name": "A String", # Name of this creative optimization config. This is a required field and must be less than 129 characters long.
          "optimizationActivitys": [ # List of optimization activities associated with this configuration.
            { # Creative optimization activity.
              "floodlightActivityId": "A String", # Floodlight activity ID of this optimization activity. This is a required field.
              "floodlightActivityIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field.
                "dimensionName": "A String", # The name of the dimension.
                "etag": "A String", # The eTag of this response for caching purposes.
                "id": "A String", # The ID associated with the value if available.
                "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
                "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
                "value": "A String", # The value of the dimension.
              },
              "weight": 42, # Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1.
            },
          ],
          "optimizationModel": "A String", # Optimization model for this configuration.
        },
      ],
      "advertiserGroupId": "A String", # Advertiser group ID of the associated advertiser.
      "advertiserId": "A String", # Advertiser ID of this campaign. This is a required field.
      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the advertiser ID of this campaign. This is a read-only, auto-generated field.
        "dimensionName": "A String", # The name of the dimension.
        "etag": "A String", # The eTag of this response for caching purposes.
        "id": "A String", # The ID associated with the value if available.
        "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
        "value": "A String", # The value of the dimension.
      },
      "archived": True or False, # Whether this campaign has been archived.
      "audienceSegmentGroups": [ # Audience segment groups assigned to this campaign. Cannot have more than 300 segment groups.
        { # Audience Segment Group.
          "audienceSegments": [ # Audience segments assigned to this group. The number of segments must be between 2 and 100.
            { # Audience Segment.
              "allocation": 42, # Weight allocated to this segment. The weight assigned will be understood in proportion to the weights assigned to other segments in the same segment group. Acceptable values are 1 to 1000, inclusive.
              "id": "A String", # ID of this audience segment. This is a read-only, auto-generated field.
              "name": "A String", # Name of this audience segment. This is a required field and must be less than 65 characters long.
            },
          ],
          "id": "A String", # ID of this audience segment group. This is a read-only, auto-generated field.
          "name": "A String", # Name of this audience segment group. This is a required field and must be less than 65 characters long.
        },
      ],
      "billingInvoiceCode": "A String", # Billing invoice code included in the Campaign Manager client billing invoices associated with the campaign.
      "clickThroughUrlSuffixProperties": { # Click Through URL Suffix settings. # Click-through URL suffix override properties for this campaign.
        "clickThroughUrlSuffix": "A String", # Click-through URL suffix to apply to all ads in this entity's scope. Must be less than 128 characters long.
        "overrideInheritedSuffix": True or False, # Whether this entity should override the inherited click-through URL suffix with its own defined value.
      },
      "comment": "A String", # Arbitrary comments about this campaign. Must be less than 256 characters long.
      "createInfo": { # Modification timestamp. # Information about the creation of this campaign. This is a read-only field.
        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
      },
      "creativeGroupIds": [ # List of creative group IDs that are assigned to the campaign.
        "A String",
      ],
      "creativeOptimizationConfiguration": { # Creative optimization settings. # Creative optimization configuration for the campaign.
        "id": "A String", # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.
        "name": "A String", # Name of this creative optimization config. This is a required field and must be less than 129 characters long.
        "optimizationActivitys": [ # List of optimization activities associated with this configuration.
          { # Creative optimization activity.
            "floodlightActivityId": "A String", # Floodlight activity ID of this optimization activity. This is a required field.
            "floodlightActivityIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field.
              "dimensionName": "A String", # The name of the dimension.
              "etag": "A String", # The eTag of this response for caching purposes.
              "id": "A String", # The ID associated with the value if available.
              "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
              "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
              "value": "A String", # The value of the dimension.
            },
            "weight": 42, # Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1.
          },
        ],
        "optimizationModel": "A String", # Optimization model for this configuration.
      },
      "defaultClickThroughEventTagProperties": { # Properties of inheriting and overriding the default click-through event tag. A campaign may override the event tag defined at the advertiser level, and an ad may also override the campaign's setting further. # Click-through event tag ID override properties for this campaign.
        "defaultClickThroughEventTagId": "A String", # ID of the click-through event tag to apply to all ads in this entity's scope.
        "overrideInheritedEventTag": True or False, # Whether this entity should override the inherited default click-through event tag with its own defined value.
      },
      "defaultLandingPageId": "A String", # The default landing page ID for this campaign.
      "endDate": "A String",
      "eventTagOverrides": [ # Overrides that can be used to activate or deactivate advertiser event tags.
        { # Event tag override information.
          "enabled": True or False, # Whether this override is enabled.
          "id": "A String", # ID of this event tag override. This is a read-only, auto-generated field.
        },
      ],
      "externalId": "A String", # External ID for this campaign.
      "id": "A String", # ID of this campaign. This is a read-only auto-generated field.
      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this campaign. This is a read-only, auto-generated field.
        "dimensionName": "A String", # The name of the dimension.
        "etag": "A String", # The eTag of this response for caching purposes.
        "id": "A String", # The ID associated with the value if available.
        "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
        "value": "A String", # The value of the dimension.
      },
      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#campaign".
      "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this campaign. This is a read-only field.
        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
      },
      "measurementPartnerLink": { # Measurement partner campaign link for tag wrapping.
        "linkStatus": "A String", # .
        "measurementPartner": "A String", # Measurement partner used for tag wrapping.
        "partnerCampaignId": "A String", # Partner campaign ID needed for establishing linking with Measurement partner.
      },
      "name": "A String", # Name of this campaign. This is a required field and must be less than 512 characters long and unique among campaigns of the same advertiser.
      "nielsenOcrEnabled": True or False, # Whether Nielsen reports are enabled for this campaign.
      "startDate": "A String",
      "subaccountId": "A String", # Subaccount ID of this campaign. This is a read-only field that can be left blank.
      "traffickerEmails": [ # Campaign trafficker contact emails.
        "A String",
      ],
    }

`list(profileId, advertiserGroupIds=None, advertiserIds=None, archived=None, atLeastOneOptimizationActivity=None, excludedIds=None, ids=None, maxResults=None, overriddenEventTagId=None, pageToken=None, searchString=None, sortField=None, sortOrder=None, subaccountId=None, x__xgafv=None)`

    Retrieves a list of campaigns, possibly filtered. This method supports paging.

    Args:
      profileId: string, User profile ID associated with this request. (required)
      advertiserGroupIds: string, Select only campaigns whose advertisers belong to these advertiser groups. (repeated)
      advertiserIds: string, Select only campaigns that belong to these advertisers. (repeated)
      archived: boolean, Select only archived campaigns. Don't set this field to select both archived and non-archived campaigns.
      atLeastOneOptimizationActivity: boolean, Select only campaigns that have at least one optimization activity.
      excludedIds: string, Exclude campaigns with these IDs. (repeated)
      ids: string, Select only campaigns with these IDs. (repeated)
      maxResults: integer, Maximum number of results to return.
      overriddenEventTagId: string, Select only campaigns that have overridden this event tag ID.
      pageToken: string, Value of the nextPageToken from the previous result page.
      searchString: string, Allows searching for campaigns by name or ID. Wildcards (*) are allowed. For example, "campaign*2015" will return campaigns with names like "campaign June 2015", "campaign April 2015", or simply "campaign 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "campaign" will match campaigns with name "my campaign", "campaign 2015", or simply "campaign".
      sortField: string, Field by which to sort the list.
        Allowed values
          ID -
          NAME -
      sortOrder: string, Order of sorted results.
        Allowed values
          ASCENDING -
          DESCENDING -
      subaccountId: string, Select only campaigns that belong to this subaccount.
      x__xgafv: string, V1 error format.
        Allowed values
          1 - v1 error format
          2 - v2 error format

    Returns:
      An object of the form:

        { # Campaign List Response
      "campaigns": [ # Campaign collection.
        { # Contains properties of a Campaign Manager campaign.
          "accountId": "A String", # Account ID of this campaign. This is a read-only field that can be left blank.
          "adBlockingConfiguration": { # Campaign ad blocking settings. # Ad blocking settings for this campaign.
            "enabled": True or False, # Whether this campaign has enabled ad blocking. When true, ad blocking is enabled for placements in the campaign, but this may be overridden by site and placement settings. When false, ad blocking is disabled for all placements under the campaign, regardless of site and placement settings.
          },
          "additionalCreativeOptimizationConfigurations": [ # Additional creative optimization configurations for the campaign.
            { # Creative optimization settings.
              "id": "A String", # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.
              "name": "A String", # Name of this creative optimization config. This is a required field and must be less than 129 characters long.
              "optimizationActivitys": [ # List of optimization activities associated with this configuration.
                { # Creative optimization activity.
                  "floodlightActivityId": "A String", # Floodlight activity ID of this optimization activity. This is a required field.
                  "floodlightActivityIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field.
                    "dimensionName": "A String", # The name of the dimension.
                    "etag": "A String", # The eTag of this response for caching purposes.
                    "id": "A String", # The ID associated with the value if available.
                    "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
                    "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
                    "value": "A String", # The value of the dimension.
                  },
                  "weight": 42, # Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1.
                },
              ],
              "optimizationModel": "A String", # Optimization model for this configuration.
            },
          ],
          "advertiserGroupId": "A String", # Advertiser group ID of the associated advertiser.
          "advertiserId": "A String", # Advertiser ID of this campaign. This is a required field.
          "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the advertiser ID of this campaign. This is a read-only, auto-generated field.
            "dimensionName": "A String", # The name of the dimension.
            "etag": "A String", # The eTag of this response for caching purposes.
            "id": "A String", # The ID associated with the value if available.
            "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
            "value": "A String", # The value of the dimension.
          },
          "archived": True or False, # Whether this campaign has been archived.
          "audienceSegmentGroups": [ # Audience segment groups assigned to this campaign. Cannot have more than 300 segment groups.
            { # Audience Segment Group.
              "audienceSegments": [ # Audience segments assigned to this group. The number of segments must be between 2 and 100.
                { # Audience Segment.
                  "allocation": 42, # Weight allocated to this segment. The weight assigned will be understood in proportion to the weights assigned to other segments in the same segment group. Acceptable values are 1 to 1000, inclusive.
                  "id": "A String", # ID of this audience segment. This is a read-only, auto-generated field.
                  "name": "A String", # Name of this audience segment. This is a required field and must be less than 65 characters long.
                },
              ],
              "id": "A String", # ID of this audience segment group. This is a read-only, auto-generated field.
              "name": "A String", # Name of this audience segment group. This is a required field and must be less than 65 characters long.
            },
          ],
          "billingInvoiceCode": "A String", # Billing invoice code included in the Campaign Manager client billing invoices associated with the campaign.
          "clickThroughUrlSuffixProperties": { # Click Through URL Suffix settings. # Click-through URL suffix override properties for this campaign.
            "clickThroughUrlSuffix": "A String", # Click-through URL suffix to apply to all ads in this entity's scope. Must be less than 128 characters long.
            "overrideInheritedSuffix": True or False, # Whether this entity should override the inherited click-through URL suffix with its own defined value.
          },
          "comment": "A String", # Arbitrary comments about this campaign. Must be less than 256 characters long.
          "createInfo": { # Modification timestamp. # Information about the creation of this campaign. This is a read-only field.
            "time": "A String", # Timestamp of the last change in milliseconds since epoch.
          },
          "creativeGroupIds": [ # List of creative group IDs that are assigned to the campaign.
            "A String",
          ],
          "creativeOptimizationConfiguration": { # Creative optimization settings. # Creative optimization configuration for the campaign.
            "id": "A String", # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.
            "name": "A String", # Name of this creative optimization config. This is a required field and must be less than 129 characters long.
            "optimizationActivitys": [ # List of optimization activities associated with this configuration.
              { # Creative optimization activity.
                "floodlightActivityId": "A String", # Floodlight activity ID of this optimization activity. This is a required field.
                "floodlightActivityIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field.
                  "dimensionName": "A String", # The name of the dimension.
                  "etag": "A String", # The eTag of this response for caching purposes.
                  "id": "A String", # The ID associated with the value if available.
                  "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
                  "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
                  "value": "A String", # The value of the dimension.
                },
                "weight": 42, # Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1.
              },
            ],
            "optimizationModel": "A String", # Optimization model for this configuration.
          },
          "defaultClickThroughEventTagProperties": { # Properties of inheriting and overriding the default click-through event tag. A campaign may override the event tag defined at the advertiser level, and an ad may also override the campaign's setting further. # Click-through event tag ID override properties for this campaign.
            "defaultClickThroughEventTagId": "A String", # ID of the click-through event tag to apply to all ads in this entity's scope.
            "overrideInheritedEventTag": True or False, # Whether this entity should override the inherited default click-through event tag with its own defined value.
          },
          "defaultLandingPageId": "A String", # The default landing page ID for this campaign.
          "endDate": "A String",
          "eventTagOverrides": [ # Overrides that can be used to activate or deactivate advertiser event tags.
            { # Event tag override information.
              "enabled": True or False, # Whether this override is enabled.
              "id": "A String", # ID of this event tag override. This is a read-only, auto-generated field.
            },
          ],
          "externalId": "A String", # External ID for this campaign.
          "id": "A String", # ID of this campaign. This is a read-only auto-generated field.
          "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this campaign. This is a read-only, auto-generated field.
            "dimensionName": "A String", # The name of the dimension.
            "etag": "A String", # The eTag of this response for caching purposes.
            "id": "A String", # The ID associated with the value if available.
            "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
            "value": "A String", # The value of the dimension.
          },
          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#campaign".
          "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this campaign. This is a read-only field.
            "time": "A String", # Timestamp of the last change in milliseconds since epoch.
          },
          "measurementPartnerLink": { # Measurement partner campaign link for tag wrapping.
            "linkStatus": "A String", # .
            "measurementPartner": "A String", # Measurement partner used for tag wrapping.
            "partnerCampaignId": "A String", # Partner campaign ID needed for establishing linking with Measurement partner.
          },
          "name": "A String", # Name of this campaign. This is a required field and must be less than 512 characters long and unique among campaigns of the same advertiser.
          "nielsenOcrEnabled": True or False, # Whether Nielsen reports are enabled for this campaign.
          "startDate": "A String",
          "subaccountId": "A String", # Subaccount ID of this campaign. This is a read-only field that can be left blank.
          "traffickerEmails": [ # Campaign trafficker contact emails.
            "A String",
          ],
        },
      ],
      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#campaignsListResponse".
      "nextPageToken": "A String", # Pagination token to be used for the next list operation.
    }

`list_next()`

    Retrieves the next page of results.

            Args:
              previous_request: The request for the previous page. (required)
              previous_response: The response from the request for the previous page. (required)

            Returns:
              A request object that you can call 'execute()' on to request the next
              page. Returns None if there are no more items in the collection.

`patch(profileId, id, body=None, x__xgafv=None)`

    Updates an existing campaign. This method supports patch semantics.

    Args:
      profileId: string, User profile ID associated with this request. (required)
      id: string, Campaign ID. (required)
      body: object, The request body.
        The object takes the form of:

    { # Contains properties of a Campaign Manager campaign.
      "accountId": "A String", # Account ID of this campaign. This is a read-only field that can be left blank.
      "adBlockingConfiguration": { # Campaign ad blocking settings. # Ad blocking settings for this campaign.
        "enabled": True or False, # Whether this campaign has enabled ad blocking. When true, ad blocking is enabled for placements in the campaign, but this may be overridden by site and placement settings. When false, ad blocking is disabled for all placements under the campaign, regardless of site and placement settings.
      },
      "additionalCreativeOptimizationConfigurations": [ # Additional creative optimization configurations for the campaign.
        { # Creative optimization settings.
          "id": "A String", # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.
          "name": "A String", # Name of this creative optimization config. This is a required field and must be less than 129 characters long.
          "optimizationActivitys": [ # List of optimization activities associated with this configuration.
            { # Creative optimization activity.
              "floodlightActivityId": "A String", # Floodlight activity ID of this optimization activity. This is a required field.
              "floodlightActivityIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field.
                "dimensionName": "A String", # The name of the dimension.
                "etag": "A String", # The eTag of this response for caching purposes.
                "id": "A String", # The ID associated with the value if available.
                "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
                "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
                "value": "A String", # The value of the dimension.
              },
              "weight": 42, # Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1.
            },
          ],
          "optimizationModel": "A String", # Optimization model for this configuration.
        },
      ],
      "advertiserGroupId": "A String", # Advertiser group ID of the associated advertiser.
      "advertiserId": "A String", # Advertiser ID of this campaign. This is a required field.
      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the advertiser ID of this campaign. This is a read-only, auto-generated field.
        "dimensionName": "A String", # The name of the dimension.
        "etag": "A String", # The eTag of this response for caching purposes.
        "id": "A String", # The ID associated with the value if available.
        "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
        "value": "A String", # The value of the dimension.
      },
      "archived": True or False, # Whether this campaign has been archived.
      "audienceSegmentGroups": [ # Audience segment groups assigned to this campaign. Cannot have more than 300 segment groups.
        { # Audience Segment Group.
          "audienceSegments": [ # Audience segments assigned to this group. The number of segments must be between 2 and 100.
            { # Audience Segment.
              "allocation": 42, # Weight allocated to this segment. The weight assigned will be understood in proportion to the weights assigned to other segments in the same segment group. Acceptable values are 1 to 1000, inclusive.
              "id": "A String", # ID of this audience segment. This is a read-only, auto-generated field.
              "name": "A String", # Name of this audience segment. This is a required field and must be less than 65 characters long.
            },
          ],
          "id": "A String", # ID of this audience segment group. This is a read-only, auto-generated field.
          "name": "A String", # Name of this audience segment group. This is a required field and must be less than 65 characters long.
        },
      ],
      "billingInvoiceCode": "A String", # Billing invoice code included in the Campaign Manager client billing invoices associated with the campaign.
      "clickThroughUrlSuffixProperties": { # Click Through URL Suffix settings. # Click-through URL suffix override properties for this campaign.
        "clickThroughUrlSuffix": "A String", # Click-through URL suffix to apply to all ads in this entity's scope. Must be less than 128 characters long.
        "overrideInheritedSuffix": True or False, # Whether this entity should override the inherited click-through URL suffix with its own defined value.
      },
      "comment": "A String", # Arbitrary comments about this campaign. Must be less than 256 characters long.
      "createInfo": { # Modification timestamp. # Information about the creation of this campaign. This is a read-only field.
        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
      },
      "creativeGroupIds": [ # List of creative group IDs that are assigned to the campaign.
        "A String",
      ],
      "creativeOptimizationConfiguration": { # Creative optimization settings. # Creative optimization configuration for the campaign.
        "id": "A String", # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.
        "name": "A String", # Name of this creative optimization config. This is a required field and must be less than 129 characters long.
        "optimizationActivitys": [ # List of optimization activities associated with this configuration.
          { # Creative optimization activity.
            "floodlightActivityId": "A String", # Floodlight activity ID of this optimization activity. This is a required field.
            "floodlightActivityIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field.
              "dimensionName": "A String", # The name of the dimension.
              "etag": "A String", # The eTag of this response for caching purposes.
              "id": "A String", # The ID associated with the value if available.
              "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
              "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
              "value": "A String", # The value of the dimension.
            },
            "weight": 42, # Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1.
          },
        ],
        "optimizationModel": "A String", # Optimization model for this configuration.
      },
      "defaultClickThroughEventTagProperties": { # Properties of inheriting and overriding the default click-through event tag. A campaign may override the event tag defined at the advertiser level, and an ad may also override the campaign's setting further. # Click-through event tag ID override properties for this campaign.
        "defaultClickThroughEventTagId": "A String", # ID of the click-through event tag to apply to all ads in this entity's scope.
        "overrideInheritedEventTag": True or False, # Whether this entity should override the inherited default click-through event tag with its own defined value.
      },
      "defaultLandingPageId": "A String", # The default landing page ID for this campaign.
      "endDate": "A String",
      "eventTagOverrides": [ # Overrides that can be used to activate or deactivate advertiser event tags.
        { # Event tag override information.
          "enabled": True or False, # Whether this override is enabled.
          "id": "A String", # ID of this event tag override. This is a read-only, auto-generated field.
        },
      ],
      "externalId": "A String", # External ID for this campaign.
      "id": "A String", # ID of this campaign. This is a read-only auto-generated field.
      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this campaign. This is a read-only, auto-generated field.
        "dimensionName": "A String", # The name of the dimension.
        "etag": "A String", # The eTag of this response for caching purposes.
        "id": "A String", # The ID associated with the value if available.
        "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
        "value": "A String", # The value of the dimension.
      },
      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#campaign".
      "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this campaign. This is a read-only field.
        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
      },
      "measurementPartnerLink": { # Measurement partner campaign link for tag wrapping.
        "linkStatus": "A String", # .
        "measurementPartner": "A String", # Measurement partner used for tag wrapping.
        "partnerCampaignId": "A String", # Partner campaign ID needed for establishing linking with Measurement partner.
      },
      "name": "A String", # Name of this campaign. This is a required field and must be less than 512 characters long and unique among campaigns of the same advertiser.
      "nielsenOcrEnabled": True or False, # Whether Nielsen reports are enabled for this campaign.
      "startDate": "A String",
      "subaccountId": "A String", # Subaccount ID of this campaign. This is a read-only field that can be left blank.
      "traffickerEmails": [ # Campaign trafficker contact emails.
        "A String",
      ],
    }

      x__xgafv: string, V1 error format.
        Allowed values
          1 - v1 error format
          2 - v2 error format

    Returns:
      An object of the form:

        { # Contains properties of a Campaign Manager campaign.
      "accountId": "A String", # Account ID of this campaign. This is a read-only field that can be left blank.
      "adBlockingConfiguration": { # Campaign ad blocking settings. # Ad blocking settings for this campaign.
        "enabled": True or False, # Whether this campaign has enabled ad blocking. When true, ad blocking is enabled for placements in the campaign, but this may be overridden by site and placement settings. When false, ad blocking is disabled for all placements under the campaign, regardless of site and placement settings.
      },
      "additionalCreativeOptimizationConfigurations": [ # Additional creative optimization configurations for the campaign.
        { # Creative optimization settings.
          "id": "A String", # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.
          "name": "A String", # Name of this creative optimization config. This is a required field and must be less than 129 characters long.
          "optimizationActivitys": [ # List of optimization activities associated with this configuration.
            { # Creative optimization activity.
              "floodlightActivityId": "A String", # Floodlight activity ID of this optimization activity. This is a required field.
              "floodlightActivityIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field.
                "dimensionName": "A String", # The name of the dimension.
                "etag": "A String", # The eTag of this response for caching purposes.
                "id": "A String", # The ID associated with the value if available.
                "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
                "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
                "value": "A String", # The value of the dimension.
              },
              "weight": 42, # Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1.
            },
          ],
          "optimizationModel": "A String", # Optimization model for this configuration.
        },
      ],
      "advertiserGroupId": "A String", # Advertiser group ID of the associated advertiser.
      "advertiserId": "A String", # Advertiser ID of this campaign. This is a required field.
      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the advertiser ID of this campaign. This is a read-only, auto-generated field.
        "dimensionName": "A String", # The name of the dimension.
        "etag": "A String", # The eTag of this response for caching purposes.
        "id": "A String", # The ID associated with the value if available.
        "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
        "value": "A String", # The value of the dimension.
      },
      "archived": True or False, # Whether this campaign has been archived.
      "audienceSegmentGroups": [ # Audience segment groups assigned to this campaign. Cannot have more than 300 segment groups.
        { # Audience Segment Group.
          "audienceSegments": [ # Audience segments assigned to this group. The number of segments must be between 2 and 100.
            { # Audience Segment.
              "allocation": 42, # Weight allocated to this segment. The weight assigned will be understood in proportion to the weights assigned to other segments in the same segment group. Acceptable values are 1 to 1000, inclusive.
              "id": "A String", # ID of this audience segment. This is a read-only, auto-generated field.
              "name": "A String", # Name of this audience segment. This is a required field and must be less than 65 characters long.
            },
          ],
          "id": "A String", # ID of this audience segment group. This is a read-only, auto-generated field.
          "name": "A String", # Name of this audience segment group. This is a required field and must be less than 65 characters long.
        },
      ],
      "billingInvoiceCode": "A String", # Billing invoice code included in the Campaign Manager client billing invoices associated with the campaign.
      "clickThroughUrlSuffixProperties": { # Click Through URL Suffix settings. # Click-through URL suffix override properties for this campaign.
        "clickThroughUrlSuffix": "A String", # Click-through URL suffix to apply to all ads in this entity's scope. Must be less than 128 characters long.
        "overrideInheritedSuffix": True or False, # Whether this entity should override the inherited click-through URL suffix with its own defined value.
      },
      "comment": "A String", # Arbitrary comments about this campaign. Must be less than 256 characters long.
      "createInfo": { # Modification timestamp. # Information about the creation of this campaign. This is a read-only field.
        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
      },
      "creativeGroupIds": [ # List of creative group IDs that are assigned to the campaign.
        "A String",
      ],
      "creativeOptimizationConfiguration": { # Creative optimization settings. # Creative optimization configuration for the campaign.
        "id": "A String", # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.
        "name": "A String", # Name of this creative optimization config. This is a required field and must be less than 129 characters long.
        "optimizationActivitys": [ # List of optimization activities associated with this configuration.
          { # Creative optimization activity.
            "floodlightActivityId": "A String", # Floodlight activity ID of this optimization activity. This is a required field.
            "floodlightActivityIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field.
              "dimensionName": "A String", # The name of the dimension.
              "etag": "A String", # The eTag of this response for caching purposes.
              "id": "A String", # The ID associated with the value if available.
              "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
              "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
              "value": "A String", # The value of the dimension.
            },
            "weight": 42, # Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1.
          },
        ],
        "optimizationModel": "A String", # Optimization model for this configuration.
      },
      "defaultClickThroughEventTagProperties": { # Properties of inheriting and overriding the default click-through event tag. A campaign may override the event tag defined at the advertiser level, and an ad may also override the campaign's setting further. # Click-through event tag ID override properties for this campaign.
        "defaultClickThroughEventTagId": "A String", # ID of the click-through event tag to apply to all ads in this entity's scope.
        "overrideInheritedEventTag": True or False, # Whether this entity should override the inherited default click-through event tag with its own defined value.
      },
      "defaultLandingPageId": "A String", # The default landing page ID for this campaign.
      "endDate": "A String",
      "eventTagOverrides": [ # Overrides that can be used to activate or deactivate advertiser event tags.
        { # Event tag override information.
          "enabled": True or False, # Whether this override is enabled.
          "id": "A String", # ID of this event tag override. This is a read-only, auto-generated field.
        },
      ],
      "externalId": "A String", # External ID for this campaign.
      "id": "A String", # ID of this campaign. This is a read-only auto-generated field.
      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this campaign. This is a read-only, auto-generated field.
        "dimensionName": "A String", # The name of the dimension.
        "etag": "A String", # The eTag of this response for caching purposes.
        "id": "A String", # The ID associated with the value if available.
        "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
        "value": "A String", # The value of the dimension.
      },
      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#campaign".
      "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this campaign. This is a read-only field.
        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
      },
      "measurementPartnerLink": { # Measurement partner campaign link for tag wrapping.
        "linkStatus": "A String", # .
        "measurementPartner": "A String", # Measurement partner used for tag wrapping.
        "partnerCampaignId": "A String", # Partner campaign ID needed for establishing linking with Measurement partner.
      },
      "name": "A String", # Name of this campaign. This is a required field and must be less than 512 characters long and unique among campaigns of the same advertiser.
      "nielsenOcrEnabled": True or False, # Whether Nielsen reports are enabled for this campaign.
      "startDate": "A String",
      "subaccountId": "A String", # Subaccount ID of this campaign. This is a read-only field that can be left blank.
      "traffickerEmails": [ # Campaign trafficker contact emails.
        "A String",
      ],
    }

`update(profileId, body=None, x__xgafv=None)`

    Updates an existing campaign.

    Args:
      profileId: string, User profile ID associated with this request. (required)
      body: object, The request body.
        The object takes the form of:

    { # Contains properties of a Campaign Manager campaign.
      "accountId": "A String", # Account ID of this campaign. This is a read-only field that can be left blank.
      "adBlockingConfiguration": { # Campaign ad blocking settings. # Ad blocking settings for this campaign.
        "enabled": True or False, # Whether this campaign has enabled ad blocking. When true, ad blocking is enabled for placements in the campaign, but this may be overridden by site and placement settings. When false, ad blocking is disabled for all placements under the campaign, regardless of site and placement settings.
      },
      "additionalCreativeOptimizationConfigurations": [ # Additional creative optimization configurations for the campaign.
        { # Creative optimization settings.
          "id": "A String", # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.
          "name": "A String", # Name of this creative optimization config. This is a required field and must be less than 129 characters long.
          "optimizationActivitys": [ # List of optimization activities associated with this configuration.
            { # Creative optimization activity.
              "floodlightActivityId": "A String", # Floodlight activity ID of this optimization activity. This is a required field.
              "floodlightActivityIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field.
                "dimensionName": "A String", # The name of the dimension.
                "etag": "A String", # The eTag of this response for caching purposes.
                "id": "A String", # The ID associated with the value if available.
                "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
                "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
                "value": "A String", # The value of the dimension.
              },
              "weight": 42, # Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1.
            },
          ],
          "optimizationModel": "A String", # Optimization model for this configuration.
        },
      ],
      "advertiserGroupId": "A String", # Advertiser group ID of the associated advertiser.
      "advertiserId": "A String", # Advertiser ID of this campaign. This is a required field.
      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the advertiser ID of this campaign. This is a read-only, auto-generated field.
        "dimensionName": "A String", # The name of the dimension.
        "etag": "A String", # The eTag of this response for caching purposes.
        "id": "A String", # The ID associated with the value if available.
        "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
        "value": "A String", # The value of the dimension.
      },
      "archived": True or False, # Whether this campaign has been archived.
      "audienceSegmentGroups": [ # Audience segment groups assigned to this campaign. Cannot have more than 300 segment groups.
        { # Audience Segment Group.
          "audienceSegments": [ # Audience segments assigned to this group. The number of segments must be between 2 and 100.
            { # Audience Segment.
              "allocation": 42, # Weight allocated to this segment. The weight assigned will be understood in proportion to the weights assigned to other segments in the same segment group. Acceptable values are 1 to 1000, inclusive.
              "id": "A String", # ID of this audience segment. This is a read-only, auto-generated field.
              "name": "A String", # Name of this audience segment. This is a required field and must be less than 65 characters long.
            },
          ],
          "id": "A String", # ID of this audience segment group. This is a read-only, auto-generated field.
          "name": "A String", # Name of this audience segment group. This is a required field and must be less than 65 characters long.
        },
      ],
      "billingInvoiceCode": "A String", # Billing invoice code included in the Campaign Manager client billing invoices associated with the campaign.
      "clickThroughUrlSuffixProperties": { # Click Through URL Suffix settings. # Click-through URL suffix override properties for this campaign.
        "clickThroughUrlSuffix": "A String", # Click-through URL suffix to apply to all ads in this entity's scope. Must be less than 128 characters long.
        "overrideInheritedSuffix": True or False, # Whether this entity should override the inherited click-through URL suffix with its own defined value.
      },
      "comment": "A String", # Arbitrary comments about this campaign. Must be less than 256 characters long.
      "createInfo": { # Modification timestamp. # Information about the creation of this campaign. This is a read-only field.
        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
      },
      "creativeGroupIds": [ # List of creative group IDs that are assigned to the campaign.
        "A String",
      ],
      "creativeOptimizationConfiguration": { # Creative optimization settings. # Creative optimization configuration for the campaign.
        "id": "A String", # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.
        "name": "A String", # Name of this creative optimization config. This is a required field and must be less than 129 characters long.
        "optimizationActivitys": [ # List of optimization activities associated with this configuration.
          { # Creative optimization activity.
            "floodlightActivityId": "A String", # Floodlight activity ID of this optimization activity. This is a required field.
            "floodlightActivityIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field.
              "dimensionName": "A String", # The name of the dimension.
              "etag": "A String", # The eTag of this response for caching purposes.
              "id": "A String", # The ID associated with the value if available.
              "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
              "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
              "value": "A String", # The value of the dimension.
            },
            "weight": 42, # Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1.
          },
        ],
        "optimizationModel": "A String", # Optimization model for this configuration.
      },
      "defaultClickThroughEventTagProperties": { # Properties of inheriting and overriding the default click-through event tag. A campaign may override the event tag defined at the advertiser level, and an ad may also override the campaign's setting further. # Click-through event tag ID override properties for this campaign.
        "defaultClickThroughEventTagId": "A String", # ID of the click-through event tag to apply to all ads in this entity's scope.
        "overrideInheritedEventTag": True or False, # Whether this entity should override the inherited default click-through event tag with its own defined value.
      },
      "defaultLandingPageId": "A String", # The default landing page ID for this campaign.
      "endDate": "A String",
      "eventTagOverrides": [ # Overrides that can be used to activate or deactivate advertiser event tags.
        { # Event tag override information.
          "enabled": True or False, # Whether this override is enabled.
          "id": "A String", # ID of this event tag override. This is a read-only, auto-generated field.
        },
      ],
      "externalId": "A String", # External ID for this campaign.
      "id": "A String", # ID of this campaign. This is a read-only auto-generated field.
      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this campaign. This is a read-only, auto-generated field.
        "dimensionName": "A String", # The name of the dimension.
        "etag": "A String", # The eTag of this response for caching purposes.
        "id": "A String", # The ID associated with the value if available.
        "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
        "value": "A String", # The value of the dimension.
      },
      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#campaign".
      "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this campaign. This is a read-only field.
        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
      },
      "measurementPartnerLink": { # Measurement partner campaign link for tag wrapping.
        "linkStatus": "A String", # .
        "measurementPartner": "A String", # Measurement partner used for tag wrapping.
        "partnerCampaignId": "A String", # Partner campaign ID needed for establishing linking with Measurement partner.
      },
      "name": "A String", # Name of this campaign. This is a required field and must be less than 512 characters long and unique among campaigns of the same advertiser.
      "nielsenOcrEnabled": True or False, # Whether Nielsen reports are enabled for this campaign.
      "startDate": "A String",
      "subaccountId": "A String", # Subaccount ID of this campaign. This is a read-only field that can be left blank.
      "traffickerEmails": [ # Campaign trafficker contact emails.
        "A String",
      ],
    }

      x__xgafv: string, V1 error format.
        Allowed values
          1 - v1 error format
          2 - v2 error format

    Returns:
      An object of the form:

        { # Contains properties of a Campaign Manager campaign.
      "accountId": "A String", # Account ID of this campaign. This is a read-only field that can be left blank.
      "adBlockingConfiguration": { # Campaign ad blocking settings. # Ad blocking settings for this campaign.
        "enabled": True or False, # Whether this campaign has enabled ad blocking. When true, ad blocking is enabled for placements in the campaign, but this may be overridden by site and placement settings. When false, ad blocking is disabled for all placements under the campaign, regardless of site and placement settings.
      },
      "additionalCreativeOptimizationConfigurations": [ # Additional creative optimization configurations for the campaign.
        { # Creative optimization settings.
          "id": "A String", # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.
          "name": "A String", # Name of this creative optimization config. This is a required field and must be less than 129 characters long.
          "optimizationActivitys": [ # List of optimization activities associated with this configuration.
            { # Creative optimization activity.
              "floodlightActivityId": "A String", # Floodlight activity ID of this optimization activity. This is a required field.
              "floodlightActivityIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field.
                "dimensionName": "A String", # The name of the dimension.
                "etag": "A String", # The eTag of this response for caching purposes.
                "id": "A String", # The ID associated with the value if available.
                "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
                "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
                "value": "A String", # The value of the dimension.
              },
              "weight": 42, # Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1.
            },
          ],
          "optimizationModel": "A String", # Optimization model for this configuration.
        },
      ],
      "advertiserGroupId": "A String", # Advertiser group ID of the associated advertiser.
      "advertiserId": "A String", # Advertiser ID of this campaign. This is a required field.
      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the advertiser ID of this campaign. This is a read-only, auto-generated field.
        "dimensionName": "A String", # The name of the dimension.
        "etag": "A String", # The eTag of this response for caching purposes.
        "id": "A String", # The ID associated with the value if available.
        "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
        "value": "A String", # The value of the dimension.
      },
      "archived": True or False, # Whether this campaign has been archived.
      "audienceSegmentGroups": [ # Audience segment groups assigned to this campaign. Cannot have more than 300 segment groups.
        { # Audience Segment Group.
          "audienceSegments": [ # Audience segments assigned to this group. The number of segments must be between 2 and 100.
            { # Audience Segment.
              "allocation": 42, # Weight allocated to this segment. The weight assigned will be understood in proportion to the weights assigned to other segments in the same segment group. Acceptable values are 1 to 1000, inclusive.
              "id": "A String", # ID of this audience segment. This is a read-only, auto-generated field.
              "name": "A String", # Name of this audience segment. This is a required field and must be less than 65 characters long.
            },
          ],
          "id": "A String", # ID of this audience segment group. This is a read-only, auto-generated field.
          "name": "A String", # Name of this audience segment group. This is a required field and must be less than 65 characters long.
        },
      ],
      "billingInvoiceCode": "A String", # Billing invoice code included in the Campaign Manager client billing invoices associated with the campaign.
      "clickThroughUrlSuffixProperties": { # Click Through URL Suffix settings. # Click-through URL suffix override properties for this campaign.
        "clickThroughUrlSuffix": "A String", # Click-through URL suffix to apply to all ads in this entity's scope. Must be less than 128 characters long.
        "overrideInheritedSuffix": True or False, # Whether this entity should override the inherited click-through URL suffix with its own defined value.
      },
      "comment": "A String", # Arbitrary comments about this campaign. Must be less than 256 characters long.
      "createInfo": { # Modification timestamp. # Information about the creation of this campaign. This is a read-only field.
        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
      },
      "creativeGroupIds": [ # List of creative group IDs that are assigned to the campaign.
        "A String",
      ],
      "creativeOptimizationConfiguration": { # Creative optimization settings. # Creative optimization configuration for the campaign.
        "id": "A String", # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.
        "name": "A String", # Name of this creative optimization config. This is a required field and must be less than 129 characters long.
        "optimizationActivitys": [ # List of optimization activities associated with this configuration.
          { # Creative optimization activity.
            "floodlightActivityId": "A String", # Floodlight activity ID of this optimization activity. This is a required field.
            "floodlightActivityIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field.
              "dimensionName": "A String", # The name of the dimension.
              "etag": "A String", # The eTag of this response for caching purposes.
              "id": "A String", # The ID associated with the value if available.
              "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
              "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
              "value": "A String", # The value of the dimension.
            },
            "weight": 42, # Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1.
          },
        ],
        "optimizationModel": "A String", # Optimization model for this configuration.
      },
      "defaultClickThroughEventTagProperties": { # Properties of inheriting and overriding the default click-through event tag. A campaign may override the event tag defined at the advertiser level, and an ad may also override the campaign's setting further. # Click-through event tag ID override properties for this campaign.
        "defaultClickThroughEventTagId": "A String", # ID of the click-through event tag to apply to all ads in this entity's scope.
        "overrideInheritedEventTag": True or False, # Whether this entity should override the inherited default click-through event tag with its own defined value.
      },
      "defaultLandingPageId": "A String", # The default landing page ID for this campaign.
      "endDate": "A String",
      "eventTagOverrides": [ # Overrides that can be used to activate or deactivate advertiser event tags.
        { # Event tag override information.
          "enabled": True or False, # Whether this override is enabled.
          "id": "A String", # ID of this event tag override. This is a read-only, auto-generated field.
        },
      ],
      "externalId": "A String", # External ID for this campaign.
      "id": "A String", # ID of this campaign. This is a read-only auto-generated field.
      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this campaign. This is a read-only, auto-generated field.
        "dimensionName": "A String", # The name of the dimension.
        "etag": "A String", # The eTag of this response for caching purposes.
        "id": "A String", # The ID associated with the value if available.
        "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
        "value": "A String", # The value of the dimension.
      },
      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#campaign".
      "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this campaign. This is a read-only field.
        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
      },
      "measurementPartnerLink": { # Measurement partner campaign link for tag wrapping.
        "linkStatus": "A String", # .
        "measurementPartner": "A String", # Measurement partner used for tag wrapping.
        "partnerCampaignId": "A String", # Partner campaign ID needed for establishing linking with Measurement partner.
      },
      "name": "A String", # Name of this campaign. This is a required field and must be less than 512 characters long and unique among campaigns of the same advertiser.
      "nielsenOcrEnabled": True or False, # Whether Nielsen reports are enabled for this campaign.
      "startDate": "A String",
      "subaccountId": "A String", # Subaccount ID of this campaign. This is a read-only field that can be left blank.
      "traffickerEmails": [ # Campaign trafficker contact emails.
        "A String",
      ],
    }