# DCM/DFA Reporting And Trafficking API . placements

## Instance Methods

Close httplib2 connections.

Generates tags for a placement.

Gets one placement by ID.

Inserts a new placement.

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

Retrieves the next page of results.

Updates an existing placement. This method supports patch semantics.

Updates an existing placement.

### Method Details

`close()`

    Close httplib2 connections.

`generatetags(profileId, tagFormats=None, campaignId=None, placementIds=None, x__xgafv=None)`

    Generates tags for a placement.

    Args:
      profileId: string, User profile ID associated with this request. (required)
      tagFormats: string, Tag formats to generate for these placements. *Note:* PLACEMENT_TAG_STANDARD can only be generated for 1x1 placements. (repeated)
        Allowed values
          PLACEMENT_TAG_STANDARD -
          PLACEMENT_TAG_IFRAME_JAVASCRIPT -
          PLACEMENT_TAG_IFRAME_ILAYER -
          PLACEMENT_TAG_INTERNAL_REDIRECT -
          PLACEMENT_TAG_JAVASCRIPT -
          PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT -
          PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT -
          PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT -
          PLACEMENT_TAG_CLICK_COMMANDS -
          PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH -
          PLACEMENT_TAG_TRACKING -
          PLACEMENT_TAG_TRACKING_IFRAME -
          PLACEMENT_TAG_TRACKING_JAVASCRIPT -
          PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3 -
          PLACEMENT_TAG_IFRAME_JAVASCRIPT_LEGACY -
          PLACEMENT_TAG_JAVASCRIPT_LEGACY -
          PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT_LEGACY -
          PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT_LEGACY -
          PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4 -
      campaignId: string, Generate placements belonging to this campaign. This is a required field.
      placementIds: string, Generate tags for these placements. (repeated)
      x__xgafv: string, V1 error format.
        Allowed values
          1 - v1 error format
          2 - v2 error format

    Returns:
      An object of the form:

        { # Placement GenerateTags Response
        "placementTags": [ # Set of generated tags for the specified placements.
          { # Placement Tag
            "placementId": "A String", # Placement ID
            "tagDatas": [ # Tags generated for this placement.
              { # Placement Tag Data
                "impressionTag": "A String", # Tag string for serving an ad.
                "creativeId": "A String", # Creative associated with this placement tag. Applicable only when format is PLACEMENT_TAG_TRACKING.
                "format": "A String", # TagData tag format of this tag.
                "adId": "A String", # Ad associated with this placement tag. Applicable only when format is PLACEMENT_TAG_TRACKING.
                "clickTag": "A String", # Tag string to record a click.
              },
            ],
          },
        ],
        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#placementsGenerateTagsResponse".
      }

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

    Gets one placement by ID.

    Args:
      profileId: string, User profile ID associated with this request. (required)
      id: string, Placement 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 placement.
        "siteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
          "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.
          "dimensionName": "A String", # The name of the dimension.
          "etag": "A String", # The eTag of this response for caching purposes.
          "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
          "value": "A String", # The value of the dimension.
          "id": "A String", # The ID associated with the value if available.
        },
        "keyName": "A String", # Key name of this placement. This is a read-only, auto-generated field.
        "publisherUpdateInfo": { # Modification timestamp. # Information about the last publisher update. This is a read-only field.
          "time": "A String", # Timestamp of the last change in milliseconds since epoch.
        },
        "campaignIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
          "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.
          "dimensionName": "A String", # The name of the dimension.
          "etag": "A String", # The eTag of this response for caching purposes.
          "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
          "value": "A String", # The value of the dimension.
          "id": "A String", # The ID associated with the value if available.
        },
        "additionalSizes": [ # Additional sizes associated with this placement. When inserting or updating a placement, only the size ID field is used.
          { # Represents the dimensions of ads, placements, creatives, or creative assets.
            "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
            "id": "A String", # ID of this size. This is a read-only, auto-generated field.
            "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
            "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
            "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
          },
        ],
        "videoActiveViewOptOut": True or False, # Whether Verification and ActiveView are disabled for in-stream video creatives for this placement. The same setting videoActiveViewOptOut exists on the site level -- the opt out occurs if either of these settings are true. These settings are distinct from DirectorySites.settings.activeViewOptOut or Sites.siteSettings.activeViewOptOut which only apply to display ads. However, Accounts.activeViewOptOut opts out both video traffic, as well as display ads, from Verification and ActiveView.
        "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this placement.
          "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive.
          "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive.
        },
        "archived": True or False, # Whether this placement is archived.
        "paymentSource": "A String", # Payment source for this placement. This is a required field that is read-only after insertion.
        "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this placement. This is a read-only field.
          "time": "A String", # Timestamp of the last change in milliseconds since epoch.
        },
        "status": "A String", # Third-party placement status.
        "primary": True or False, # Whether this placement is the primary placement of a roadblock (placement group). You cannot change this field from true to false. Setting this field to true will automatically set the primary field on the original primary placement of the roadblock to false, and it will automatically set the roadblock's primaryPlacementId field to the ID of this placement.
        "sslRequired": True or False, # Whether creatives assigned to this placement must be SSL-compliant.
        "adBlockingOptOut": True or False, # Whether this placement opts out of ad blocking. When true, ad blocking is disabled for this placement. When false, the campaign and site settings take effect.
        "campaignId": "A String", # Campaign ID of this placement. This field is a required field on insertion.
        "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
          "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.
          "dimensionName": "A String", # The name of the dimension.
          "etag": "A String", # The eTag of this response for caching purposes.
          "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
          "value": "A String", # The value of the dimension.
          "id": "A String", # The ID associated with the value if available.
        },
        "vpaidAdapterChoice": "A String", # VPAID adapter setting for this placement. Controls which VPAID format the measurement adapter will use for in-stream video creatives assigned to this placement. *Note:* Flash is no longer supported. This field now defaults to HTML5 when the following values are provided: FLASH, BOTH.
        "comment": "A String", # Comments for this placement.
        "compatibility": "A String", # Placement compatibility. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering on desktop, on mobile devices or in mobile apps for regular or interstitial ads respectively. APP and APP_INTERSTITIAL are no longer allowed for new placement insertions. Instead, use DISPLAY or DISPLAY_INTERSTITIAL. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. This field is required on insertion.
        "subaccountId": "A String", # Subaccount ID of this placement. This field can be left blank.
        "siteId": "A String", # Site ID associated with this placement. On insert, you must set either this field or the directorySiteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
        "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this placement. This is a read-only, auto-generated field.
          "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.
          "dimensionName": "A String", # The name of the dimension.
          "etag": "A String", # The eTag of this response for caching purposes.
          "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
          "value": "A String", # The value of the dimension.
          "id": "A String", # The ID associated with the value if available.
        },
        "placementGroupId": "A String", # ID of this placement's group, if applicable.
        "pricingSchedule": { # Pricing Schedule # Pricing schedule of this placement. This field is required on insertion, specifically subfields startDate, endDate and pricingType.
          "endDate": "A String",
          "flighted": True or False, # Whether this placement is flighted. If true, pricing periods will be computed automatically.
          "startDate": "A String",
          "pricingPeriods": [ # Pricing periods for this placement.
            { # Pricing Period
              "startDate": "A String",
              "pricingComment": "A String", # Comments for this pricing period.
              "rateOrCostNanos": "A String", # Rate or cost of this pricing period in nanos (i.e., multipled by 1000000000). Acceptable values are 0 to 1000000000000000000, inclusive.
              "endDate": "A String",
              "units": "A String", # Units of this pricing period. Acceptable values are 0 to 10000000000, inclusive.
            },
          ],
          "testingStartDate": "A String",
          "pricingType": "A String", # Placement pricing type. This field is required on insertion.
          "capCostOption": "A String", # Placement cap cost option.
          "disregardOverdelivery": True or False, # Whether cap costs are ignored by ad serving.
          "floodlightActivityId": "A String", # Floodlight activity ID associated with this placement. This field should be set when placement pricing type is set to PRICING_TYPE_CPA.
        },
        "tagFormats": [ # Tag formats to generate for this placement. This field is required on insertion. Acceptable values are: - "PLACEMENT_TAG_STANDARD" - "PLACEMENT_TAG_IFRAME_JAVASCRIPT" - "PLACEMENT_TAG_IFRAME_ILAYER" - "PLACEMENT_TAG_INTERNAL_REDIRECT" - "PLACEMENT_TAG_JAVASCRIPT" - "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT" - "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT" - "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT" - "PLACEMENT_TAG_CLICK_COMMANDS" - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH" - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3" - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4" - "PLACEMENT_TAG_TRACKING" - "PLACEMENT_TAG_TRACKING_IFRAME" - "PLACEMENT_TAG_TRACKING_JAVASCRIPT"
          "A String",
        ],
        "placementStrategyId": "A String", # ID of the placement strategy assigned to this placement.
        "id": "A String", # ID of this placement. This is a read-only, auto-generated field.
        "directorySiteId": "A String", # Directory site ID of this placement. On insert, you must set either this field or the siteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
        "createInfo": { # Modification timestamp. # Information about the creation of this placement. This is a read-only field.
          "time": "A String", # Timestamp of the last change in milliseconds since epoch.
        },
        "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this placement. When inserting or updating a placement, only the size ID field is used. This field is required on insertion.
          "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
          "id": "A String", # ID of this size. This is a read-only, auto-generated field.
          "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
          "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
        },
        "accountId": "A String", # Account ID of this placement. This field can be left blank.
        "advertiserId": "A String", # Advertiser ID of this placement. This field can be left blank.
        "paymentApproved": True or False, # Whether payment was approved for this placement. This is a read-only field relevant only to publisher-paid placements.
        "contentCategoryId": "A String", # ID of the content category assigned to this placement.
        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#placement".
        "externalId": "A String", # External ID for this placement.
        "placementGroupIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the placement group. This is a read-only, auto-generated field.
          "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.
          "dimensionName": "A String", # The name of the dimension.
          "etag": "A String", # The eTag of this response for caching purposes.
          "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
          "value": "A String", # The value of the dimension.
          "id": "A String", # The ID associated with the value if available.
        },
        "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
          "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.
          "dimensionName": "A String", # The name of the dimension.
          "etag": "A String", # The eTag of this response for caching purposes.
          "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
          "value": "A String", # The value of the dimension.
          "id": "A String", # The ID associated with the value if available.
        },
        "tagSetting": { # Tag Settings # Tag settings for this placement.
          "includeClickThroughUrls": True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements.
          "additionalKeyValues": "A String", # Additional key-values to be included in tags. Each key-value pair must be of the form key=value, and pairs must be separated by a semicolon (;). Keys and values must not contain commas. For example, id=2;color=red is a valid value for this field.
          "keywordOption": "A String", # Option specifying how keywords are embedded in ad tags. This setting can be used to specify whether keyword placeholders are inserted in placement tags for this site. Publishers can then add keywords to those placeholders.
          "includeClickTracking": True or False, # Whether click-tracking string should be included in the tags.
        },
        "name": "A String", # Name of this placement.This is a required field and must be less than 256 characters long.
        "videoSettings": { # Video Settings # A collection of settings which affect video creatives served through this placement. Applicable to placements with IN_STREAM_VIDEO compatibility.
          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#videoSettings".
          "companionSettings": { # Companion Settings # Settings for the companion creatives of video creatives served to this placement.
            "imageOnly": True or False, # Whether to serve only static images as companions.
            "enabledSizes": [ # Whitelist of companion sizes to be served to this placement. Set this list to null or empty to serve all companion sizes.
              { # Represents the dimensions of ads, placements, creatives, or creative assets.
                "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
                "id": "A String", # ID of this size. This is a read-only, auto-generated field.
                "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
                "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
                "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
              },
            ],
            "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#companionSetting".
            "companionsDisabled": True or False, # Whether companions are disabled for this placement.
          },
          "orientation": "A String", # Orientation of a video placement. If this value is set, placement will return assets matching the specified orientation.
          "transcodeSettings": { # Transcode Settings # Settings for the transcodes of video creatives served to this placement. If this object is provided, the creative-level transcode settings will be overridden.
            "enabledVideoFormats": [ # Whitelist of video formats to be served to this placement. Set this list to null or empty to serve all video formats.
              42,
            ],
            "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#transcodeSetting".
          },
          "skippableSettings": { # Skippable Settings # Settings for the skippability of video creatives served to this placement. If this object is provided, the creative-level skippable settings will be overridden.
            "skippable": True or False, # Whether the user can skip creatives served to this placement.
            "skipOffset": { # Video Offset # Amount of time to play videos served to this placement before the skip button should appear. Applicable when skippable is true.
              "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
              "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.
            },
            "progressOffset": { # Video Offset # Amount of time to play videos served to this placement before counting a view. Applicable when skippable is true.
              "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
              "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.
            },
            "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#skippableSetting".
          },
        },
      }

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

    Inserts a new placement.

    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 placement.
      "siteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
        "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.
        "dimensionName": "A String", # The name of the dimension.
        "etag": "A String", # The eTag of this response for caching purposes.
        "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
        "value": "A String", # The value of the dimension.
        "id": "A String", # The ID associated with the value if available.
      },
      "keyName": "A String", # Key name of this placement. This is a read-only, auto-generated field.
      "publisherUpdateInfo": { # Modification timestamp. # Information about the last publisher update. This is a read-only field.
        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
      },
      "campaignIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
        "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.
        "dimensionName": "A String", # The name of the dimension.
        "etag": "A String", # The eTag of this response for caching purposes.
        "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
        "value": "A String", # The value of the dimension.
        "id": "A String", # The ID associated with the value if available.
      },
      "additionalSizes": [ # Additional sizes associated with this placement. When inserting or updating a placement, only the size ID field is used.
        { # Represents the dimensions of ads, placements, creatives, or creative assets.
          "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
          "id": "A String", # ID of this size. This is a read-only, auto-generated field.
          "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
          "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
        },
      ],
      "videoActiveViewOptOut": True or False, # Whether Verification and ActiveView are disabled for in-stream video creatives for this placement. The same setting videoActiveViewOptOut exists on the site level -- the opt out occurs if either of these settings are true. These settings are distinct from DirectorySites.settings.activeViewOptOut or Sites.siteSettings.activeViewOptOut which only apply to display ads. However, Accounts.activeViewOptOut opts out both video traffic, as well as display ads, from Verification and ActiveView.
      "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this placement.
        "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive.
        "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive.
      },
      "archived": True or False, # Whether this placement is archived.
      "paymentSource": "A String", # Payment source for this placement. This is a required field that is read-only after insertion.
      "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this placement. This is a read-only field.
        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
      },
      "status": "A String", # Third-party placement status.
      "primary": True or False, # Whether this placement is the primary placement of a roadblock (placement group). You cannot change this field from true to false. Setting this field to true will automatically set the primary field on the original primary placement of the roadblock to false, and it will automatically set the roadblock's primaryPlacementId field to the ID of this placement.
      "sslRequired": True or False, # Whether creatives assigned to this placement must be SSL-compliant.
      "adBlockingOptOut": True or False, # Whether this placement opts out of ad blocking. When true, ad blocking is disabled for this placement. When false, the campaign and site settings take effect.
      "campaignId": "A String", # Campaign ID of this placement. This field is a required field on insertion.
      "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
        "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.
        "dimensionName": "A String", # The name of the dimension.
        "etag": "A String", # The eTag of this response for caching purposes.
        "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
        "value": "A String", # The value of the dimension.
        "id": "A String", # The ID associated with the value if available.
      },
      "vpaidAdapterChoice": "A String", # VPAID adapter setting for this placement. Controls which VPAID format the measurement adapter will use for in-stream video creatives assigned to this placement. *Note:* Flash is no longer supported. This field now defaults to HTML5 when the following values are provided: FLASH, BOTH.
      "comment": "A String", # Comments for this placement.
      "compatibility": "A String", # Placement compatibility. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering on desktop, on mobile devices or in mobile apps for regular or interstitial ads respectively. APP and APP_INTERSTITIAL are no longer allowed for new placement insertions. Instead, use DISPLAY or DISPLAY_INTERSTITIAL. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. This field is required on insertion.
      "subaccountId": "A String", # Subaccount ID of this placement. This field can be left blank.
      "siteId": "A String", # Site ID associated with this placement. On insert, you must set either this field or the directorySiteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this placement. This is a read-only, auto-generated field.
        "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.
        "dimensionName": "A String", # The name of the dimension.
        "etag": "A String", # The eTag of this response for caching purposes.
        "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
        "value": "A String", # The value of the dimension.
        "id": "A String", # The ID associated with the value if available.
      },
      "placementGroupId": "A String", # ID of this placement's group, if applicable.
      "pricingSchedule": { # Pricing Schedule # Pricing schedule of this placement. This field is required on insertion, specifically subfields startDate, endDate and pricingType.
        "endDate": "A String",
        "flighted": True or False, # Whether this placement is flighted. If true, pricing periods will be computed automatically.
        "startDate": "A String",
        "pricingPeriods": [ # Pricing periods for this placement.
          { # Pricing Period
            "startDate": "A String",
            "pricingComment": "A String", # Comments for this pricing period.
            "rateOrCostNanos": "A String", # Rate or cost of this pricing period in nanos (i.e., multipled by 1000000000). Acceptable values are 0 to 1000000000000000000, inclusive.
            "endDate": "A String",
            "units": "A String", # Units of this pricing period. Acceptable values are 0 to 10000000000, inclusive.
          },
        ],
        "testingStartDate": "A String",
        "pricingType": "A String", # Placement pricing type. This field is required on insertion.
        "capCostOption": "A String", # Placement cap cost option.
        "disregardOverdelivery": True or False, # Whether cap costs are ignored by ad serving.
        "floodlightActivityId": "A String", # Floodlight activity ID associated with this placement. This field should be set when placement pricing type is set to PRICING_TYPE_CPA.
      },
      "tagFormats": [ # Tag formats to generate for this placement. This field is required on insertion. Acceptable values are: - "PLACEMENT_TAG_STANDARD" - "PLACEMENT_TAG_IFRAME_JAVASCRIPT" - "PLACEMENT_TAG_IFRAME_ILAYER" - "PLACEMENT_TAG_INTERNAL_REDIRECT" - "PLACEMENT_TAG_JAVASCRIPT" - "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT" - "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT" - "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT" - "PLACEMENT_TAG_CLICK_COMMANDS" - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH" - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3" - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4" - "PLACEMENT_TAG_TRACKING" - "PLACEMENT_TAG_TRACKING_IFRAME" - "PLACEMENT_TAG_TRACKING_JAVASCRIPT"
        "A String",
      ],
      "placementStrategyId": "A String", # ID of the placement strategy assigned to this placement.
      "id": "A String", # ID of this placement. This is a read-only, auto-generated field.
      "directorySiteId": "A String", # Directory site ID of this placement. On insert, you must set either this field or the siteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
      "createInfo": { # Modification timestamp. # Information about the creation of this placement. This is a read-only field.
        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
      },
      "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this placement. When inserting or updating a placement, only the size ID field is used. This field is required on insertion.
        "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
        "id": "A String", # ID of this size. This is a read-only, auto-generated field.
        "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
        "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
      },
      "accountId": "A String", # Account ID of this placement. This field can be left blank.
      "advertiserId": "A String", # Advertiser ID of this placement. This field can be left blank.
      "paymentApproved": True or False, # Whether payment was approved for this placement. This is a read-only field relevant only to publisher-paid placements.
      "contentCategoryId": "A String", # ID of the content category assigned to this placement.
      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#placement".
      "externalId": "A String", # External ID for this placement.
      "placementGroupIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the placement group. This is a read-only, auto-generated field.
        "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.
        "dimensionName": "A String", # The name of the dimension.
        "etag": "A String", # The eTag of this response for caching purposes.
        "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
        "value": "A String", # The value of the dimension.
        "id": "A String", # The ID associated with the value if available.
      },
      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
        "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.
        "dimensionName": "A String", # The name of the dimension.
        "etag": "A String", # The eTag of this response for caching purposes.
        "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
        "value": "A String", # The value of the dimension.
        "id": "A String", # The ID associated with the value if available.
      },
      "tagSetting": { # Tag Settings # Tag settings for this placement.
        "includeClickThroughUrls": True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements.
        "additionalKeyValues": "A String", # Additional key-values to be included in tags. Each key-value pair must be of the form key=value, and pairs must be separated by a semicolon (;). Keys and values must not contain commas. For example, id=2;color=red is a valid value for this field.
        "keywordOption": "A String", # Option specifying how keywords are embedded in ad tags. This setting can be used to specify whether keyword placeholders are inserted in placement tags for this site. Publishers can then add keywords to those placeholders.
        "includeClickTracking": True or False, # Whether click-tracking string should be included in the tags.
      },
      "name": "A String", # Name of this placement.This is a required field and must be less than 256 characters long.
      "videoSettings": { # Video Settings # A collection of settings which affect video creatives served through this placement. Applicable to placements with IN_STREAM_VIDEO compatibility.
        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#videoSettings".
        "companionSettings": { # Companion Settings # Settings for the companion creatives of video creatives served to this placement.
          "imageOnly": True or False, # Whether to serve only static images as companions.
          "enabledSizes": [ # Whitelist of companion sizes to be served to this placement. Set this list to null or empty to serve all companion sizes.
            { # Represents the dimensions of ads, placements, creatives, or creative assets.
              "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
              "id": "A String", # ID of this size. This is a read-only, auto-generated field.
              "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
              "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
              "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
            },
          ],
          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#companionSetting".
          "companionsDisabled": True or False, # Whether companions are disabled for this placement.
        },
        "orientation": "A String", # Orientation of a video placement. If this value is set, placement will return assets matching the specified orientation.
        "transcodeSettings": { # Transcode Settings # Settings for the transcodes of video creatives served to this placement. If this object is provided, the creative-level transcode settings will be overridden.
          "enabledVideoFormats": [ # Whitelist of video formats to be served to this placement. Set this list to null or empty to serve all video formats.
            42,
          ],
          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#transcodeSetting".
        },
        "skippableSettings": { # Skippable Settings # Settings for the skippability of video creatives served to this placement. If this object is provided, the creative-level skippable settings will be overridden.
          "skippable": True or False, # Whether the user can skip creatives served to this placement.
          "skipOffset": { # Video Offset # Amount of time to play videos served to this placement before the skip button should appear. Applicable when skippable is true.
            "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
            "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.
          },
          "progressOffset": { # Video Offset # Amount of time to play videos served to this placement before counting a view. Applicable when skippable is true.
            "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
            "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.
          },
          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#skippableSetting".
        },
      },
    }

      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 placement.
        "siteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
          "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.
          "dimensionName": "A String", # The name of the dimension.
          "etag": "A String", # The eTag of this response for caching purposes.
          "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
          "value": "A String", # The value of the dimension.
          "id": "A String", # The ID associated with the value if available.
        },
        "keyName": "A String", # Key name of this placement. This is a read-only, auto-generated field.
        "publisherUpdateInfo": { # Modification timestamp. # Information about the last publisher update. This is a read-only field.
          "time": "A String", # Timestamp of the last change in milliseconds since epoch.
        },
        "campaignIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
          "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.
          "dimensionName": "A String", # The name of the dimension.
          "etag": "A String", # The eTag of this response for caching purposes.
          "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
          "value": "A String", # The value of the dimension.
          "id": "A String", # The ID associated with the value if available.
        },
        "additionalSizes": [ # Additional sizes associated with this placement. When inserting or updating a placement, only the size ID field is used.
          { # Represents the dimensions of ads, placements, creatives, or creative assets.
            "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
            "id": "A String", # ID of this size. This is a read-only, auto-generated field.
            "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
            "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
            "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
          },
        ],
        "videoActiveViewOptOut": True or False, # Whether Verification and ActiveView are disabled for in-stream video creatives for this placement. The same setting videoActiveViewOptOut exists on the site level -- the opt out occurs if either of these settings are true. These settings are distinct from DirectorySites.settings.activeViewOptOut or Sites.siteSettings.activeViewOptOut which only apply to display ads. However, Accounts.activeViewOptOut opts out both video traffic, as well as display ads, from Verification and ActiveView.
        "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this placement.
          "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive.
          "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive.
        },
        "archived": True or False, # Whether this placement is archived.
        "paymentSource": "A String", # Payment source for this placement. This is a required field that is read-only after insertion.
        "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this placement. This is a read-only field.
          "time": "A String", # Timestamp of the last change in milliseconds since epoch.
        },
        "status": "A String", # Third-party placement status.
        "primary": True or False, # Whether this placement is the primary placement of a roadblock (placement group). You cannot change this field from true to false. Setting this field to true will automatically set the primary field on the original primary placement of the roadblock to false, and it will automatically set the roadblock's primaryPlacementId field to the ID of this placement.
        "sslRequired": True or False, # Whether creatives assigned to this placement must be SSL-compliant.
        "adBlockingOptOut": True or False, # Whether this placement opts out of ad blocking. When true, ad blocking is disabled for this placement. When false, the campaign and site settings take effect.
        "campaignId": "A String", # Campaign ID of this placement. This field is a required field on insertion.
        "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
          "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.
          "dimensionName": "A String", # The name of the dimension.
          "etag": "A String", # The eTag of this response for caching purposes.
          "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
          "value": "A String", # The value of the dimension.
          "id": "A String", # The ID associated with the value if available.
        },
        "vpaidAdapterChoice": "A String", # VPAID adapter setting for this placement. Controls which VPAID format the measurement adapter will use for in-stream video creatives assigned to this placement. *Note:* Flash is no longer supported. This field now defaults to HTML5 when the following values are provided: FLASH, BOTH.
        "comment": "A String", # Comments for this placement.
        "compatibility": "A String", # Placement compatibility. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering on desktop, on mobile devices or in mobile apps for regular or interstitial ads respectively. APP and APP_INTERSTITIAL are no longer allowed for new placement insertions. Instead, use DISPLAY or DISPLAY_INTERSTITIAL. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. This field is required on insertion.
        "subaccountId": "A String", # Subaccount ID of this placement. This field can be left blank.
        "siteId": "A String", # Site ID associated with this placement. On insert, you must set either this field or the directorySiteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
        "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this placement. This is a read-only, auto-generated field.
          "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.
          "dimensionName": "A String", # The name of the dimension.
          "etag": "A String", # The eTag of this response for caching purposes.
          "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
          "value": "A String", # The value of the dimension.
          "id": "A String", # The ID associated with the value if available.
        },
        "placementGroupId": "A String", # ID of this placement's group, if applicable.
        "pricingSchedule": { # Pricing Schedule # Pricing schedule of this placement. This field is required on insertion, specifically subfields startDate, endDate and pricingType.
          "endDate": "A String",
          "flighted": True or False, # Whether this placement is flighted. If true, pricing periods will be computed automatically.
          "startDate": "A String",
          "pricingPeriods": [ # Pricing periods for this placement.
            { # Pricing Period
              "startDate": "A String",
              "pricingComment": "A String", # Comments for this pricing period.
              "rateOrCostNanos": "A String", # Rate or cost of this pricing period in nanos (i.e., multipled by 1000000000). Acceptable values are 0 to 1000000000000000000, inclusive.
              "endDate": "A String",
              "units": "A String", # Units of this pricing period. Acceptable values are 0 to 10000000000, inclusive.
            },
          ],
          "testingStartDate": "A String",
          "pricingType": "A String", # Placement pricing type. This field is required on insertion.
          "capCostOption": "A String", # Placement cap cost option.
          "disregardOverdelivery": True or False, # Whether cap costs are ignored by ad serving.
          "floodlightActivityId": "A String", # Floodlight activity ID associated with this placement. This field should be set when placement pricing type is set to PRICING_TYPE_CPA.
        },
        "tagFormats": [ # Tag formats to generate for this placement. This field is required on insertion. Acceptable values are: - "PLACEMENT_TAG_STANDARD" - "PLACEMENT_TAG_IFRAME_JAVASCRIPT" - "PLACEMENT_TAG_IFRAME_ILAYER" - "PLACEMENT_TAG_INTERNAL_REDIRECT" - "PLACEMENT_TAG_JAVASCRIPT" - "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT" - "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT" - "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT" - "PLACEMENT_TAG_CLICK_COMMANDS" - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH" - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3" - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4" - "PLACEMENT_TAG_TRACKING" - "PLACEMENT_TAG_TRACKING_IFRAME" - "PLACEMENT_TAG_TRACKING_JAVASCRIPT"
          "A String",
        ],
        "placementStrategyId": "A String", # ID of the placement strategy assigned to this placement.
        "id": "A String", # ID of this placement. This is a read-only, auto-generated field.
        "directorySiteId": "A String", # Directory site ID of this placement. On insert, you must set either this field or the siteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
        "createInfo": { # Modification timestamp. # Information about the creation of this placement. This is a read-only field.
          "time": "A String", # Timestamp of the last change in milliseconds since epoch.
        },
        "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this placement. When inserting or updating a placement, only the size ID field is used. This field is required on insertion.
          "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
          "id": "A String", # ID of this size. This is a read-only, auto-generated field.
          "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
          "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
        },
        "accountId": "A String", # Account ID of this placement. This field can be left blank.
        "advertiserId": "A String", # Advertiser ID of this placement. This field can be left blank.
        "paymentApproved": True or False, # Whether payment was approved for this placement. This is a read-only field relevant only to publisher-paid placements.
        "contentCategoryId": "A String", # ID of the content category assigned to this placement.
        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#placement".
        "externalId": "A String", # External ID for this placement.
        "placementGroupIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the placement group. This is a read-only, auto-generated field.
          "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.
          "dimensionName": "A String", # The name of the dimension.
          "etag": "A String", # The eTag of this response for caching purposes.
          "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
          "value": "A String", # The value of the dimension.
          "id": "A String", # The ID associated with the value if available.
        },
        "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
          "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.
          "dimensionName": "A String", # The name of the dimension.
          "etag": "A String", # The eTag of this response for caching purposes.
          "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
          "value": "A String", # The value of the dimension.
          "id": "A String", # The ID associated with the value if available.
        },
        "tagSetting": { # Tag Settings # Tag settings for this placement.
          "includeClickThroughUrls": True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements.
          "additionalKeyValues": "A String", # Additional key-values to be included in tags. Each key-value pair must be of the form key=value, and pairs must be separated by a semicolon (;). Keys and values must not contain commas. For example, id=2;color=red is a valid value for this field.
          "keywordOption": "A String", # Option specifying how keywords are embedded in ad tags. This setting can be used to specify whether keyword placeholders are inserted in placement tags for this site. Publishers can then add keywords to those placeholders.
          "includeClickTracking": True or False, # Whether click-tracking string should be included in the tags.
        },
        "name": "A String", # Name of this placement.This is a required field and must be less than 256 characters long.
        "videoSettings": { # Video Settings # A collection of settings which affect video creatives served through this placement. Applicable to placements with IN_STREAM_VIDEO compatibility.
          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#videoSettings".
          "companionSettings": { # Companion Settings # Settings for the companion creatives of video creatives served to this placement.
            "imageOnly": True or False, # Whether to serve only static images as companions.
            "enabledSizes": [ # Whitelist of companion sizes to be served to this placement. Set this list to null or empty to serve all companion sizes.
              { # Represents the dimensions of ads, placements, creatives, or creative assets.
                "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
                "id": "A String", # ID of this size. This is a read-only, auto-generated field.
                "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
                "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
                "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
              },
            ],
            "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#companionSetting".
            "companionsDisabled": True or False, # Whether companions are disabled for this placement.
          },
          "orientation": "A String", # Orientation of a video placement. If this value is set, placement will return assets matching the specified orientation.
          "transcodeSettings": { # Transcode Settings # Settings for the transcodes of video creatives served to this placement. If this object is provided, the creative-level transcode settings will be overridden.
            "enabledVideoFormats": [ # Whitelist of video formats to be served to this placement. Set this list to null or empty to serve all video formats.
              42,
            ],
            "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#transcodeSetting".
          },
          "skippableSettings": { # Skippable Settings # Settings for the skippability of video creatives served to this placement. If this object is provided, the creative-level skippable settings will be overridden.
            "skippable": True or False, # Whether the user can skip creatives served to this placement.
            "skipOffset": { # Video Offset # Amount of time to play videos served to this placement before the skip button should appear. Applicable when skippable is true.
              "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
              "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.
            },
            "progressOffset": { # Video Offset # Amount of time to play videos served to this placement before counting a view. Applicable when skippable is true.
              "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
              "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.
            },
            "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#skippableSetting".
          },
        },
      }

`list(profileId, minStartDate=None, maxEndDate=None, compatibilities=None, contentCategoryIds=None, searchString=None, ids=None, maxResults=None, paymentSource=None, directorySiteIds=None, advertiserIds=None, minEndDate=None, campaignIds=None, pricingTypes=None, archived=None, pageToken=None, sizeIds=None, groupIds=None, siteIds=None, sortField=None, maxStartDate=None, placementStrategyIds=None, sortOrder=None, x__xgafv=None)`

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

    Args:
      profileId: string, User profile ID associated with this request. (required)
      minStartDate: string, Select only placements or placement groups whose start date is on or after the specified minStartDate. The date should be formatted as "yyyy-MM-dd".
      maxEndDate: string, Select only placements or placement groups whose end date is on or before the specified maxEndDate. The date should be formatted as "yyyy-MM-dd".
      compatibilities: string, Select only placements that are associated with these compatibilities. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering either on desktop or on mobile devices for regular or interstitial ads respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. (repeated)
        Allowed values
          DISPLAY -
          DISPLAY_INTERSTITIAL -
          APP -
          APP_INTERSTITIAL -
          IN_STREAM_VIDEO -
          IN_STREAM_AUDIO -
      contentCategoryIds: string, Select only placements that are associated with these content categories. (repeated)
      searchString: string, Allows searching for placements by name or ID. Wildcards (*) are allowed. For example, "placement*2015" will return placements with names like "placement June 2015", "placement May 2015", or simply "placements 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 "placement" will match placements with name "my placement", "placement 2015", or simply "placement" .
      ids: string, Select only placements with these IDs. (repeated)
      maxResults: integer, Maximum number of results to return.
      paymentSource: string, Select only placements with this payment source.
        Allowed values
          PLACEMENT_AGENCY_PAID -
          PLACEMENT_PUBLISHER_PAID -
      directorySiteIds: string, Select only placements that are associated with these directory sites. (repeated)
      advertiserIds: string, Select only placements that belong to these advertisers. (repeated)
      minEndDate: string, Select only placements or placement groups whose end date is on or after the specified minEndDate. The date should be formatted as "yyyy-MM-dd".
      campaignIds: string, Select only placements that belong to these campaigns. (repeated)
      pricingTypes: string, Select only placements with these pricing types. (repeated)
        Allowed values
          PRICING_TYPE_CPM -
          PRICING_TYPE_CPC -
          PRICING_TYPE_CPA -
          PRICING_TYPE_FLAT_RATE_IMPRESSIONS -
          PRICING_TYPE_FLAT_RATE_CLICKS -
          PRICING_TYPE_CPM_ACTIVEVIEW -
      archived: boolean, Select only archived placements. Don't set this field to select both archived and non-archived placements.
      pageToken: string, Value of the nextPageToken from the previous result page.
      sizeIds: string, Select only placements that are associated with these sizes. (repeated)
      groupIds: string, Select only placements that belong to these placement groups. (repeated)
      siteIds: string, Select only placements that are associated with these sites. (repeated)
      sortField: string, Field by which to sort the list.
        Allowed values
          ID -
          NAME -
      maxStartDate: string, Select only placements or placement groups whose start date is on or before the specified maxStartDate. The date should be formatted as "yyyy-MM-dd".
      placementStrategyIds: string, Select only placements that are associated with these placement strategies. (repeated)
      sortOrder: string, Order of sorted results.
        Allowed values
          ASCENDING -
          DESCENDING -
      x__xgafv: string, V1 error format.
        Allowed values
          1 - v1 error format
          2 - v2 error format

    Returns:
      An object of the form:

        { # Placement List Response
        "placements": [ # Placement collection.
          { # Contains properties of a placement.
            "siteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
              "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.
              "dimensionName": "A String", # The name of the dimension.
              "etag": "A String", # The eTag of this response for caching purposes.
              "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
              "value": "A String", # The value of the dimension.
              "id": "A String", # The ID associated with the value if available.
            },
            "keyName": "A String", # Key name of this placement. This is a read-only, auto-generated field.
            "publisherUpdateInfo": { # Modification timestamp. # Information about the last publisher update. This is a read-only field.
              "time": "A String", # Timestamp of the last change in milliseconds since epoch.
            },
            "campaignIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
              "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.
              "dimensionName": "A String", # The name of the dimension.
              "etag": "A String", # The eTag of this response for caching purposes.
              "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
              "value": "A String", # The value of the dimension.
              "id": "A String", # The ID associated with the value if available.
            },
            "additionalSizes": [ # Additional sizes associated with this placement. When inserting or updating a placement, only the size ID field is used.
              { # Represents the dimensions of ads, placements, creatives, or creative assets.
                "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
                "id": "A String", # ID of this size. This is a read-only, auto-generated field.
                "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
                "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
                "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
              },
            ],
            "videoActiveViewOptOut": True or False, # Whether Verification and ActiveView are disabled for in-stream video creatives for this placement. The same setting videoActiveViewOptOut exists on the site level -- the opt out occurs if either of these settings are true. These settings are distinct from DirectorySites.settings.activeViewOptOut or Sites.siteSettings.activeViewOptOut which only apply to display ads. However, Accounts.activeViewOptOut opts out both video traffic, as well as display ads, from Verification and ActiveView.
            "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this placement.
              "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive.
              "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive.
            },
            "archived": True or False, # Whether this placement is archived.
            "paymentSource": "A String", # Payment source for this placement. This is a required field that is read-only after insertion.
            "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this placement. This is a read-only field.
              "time": "A String", # Timestamp of the last change in milliseconds since epoch.
            },
            "status": "A String", # Third-party placement status.
            "primary": True or False, # Whether this placement is the primary placement of a roadblock (placement group). You cannot change this field from true to false. Setting this field to true will automatically set the primary field on the original primary placement of the roadblock to false, and it will automatically set the roadblock's primaryPlacementId field to the ID of this placement.
            "sslRequired": True or False, # Whether creatives assigned to this placement must be SSL-compliant.
            "adBlockingOptOut": True or False, # Whether this placement opts out of ad blocking. When true, ad blocking is disabled for this placement. When false, the campaign and site settings take effect.
            "campaignId": "A String", # Campaign ID of this placement. This field is a required field on insertion.
            "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
              "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.
              "dimensionName": "A String", # The name of the dimension.
              "etag": "A String", # The eTag of this response for caching purposes.
              "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
              "value": "A String", # The value of the dimension.
              "id": "A String", # The ID associated with the value if available.
            },
            "vpaidAdapterChoice": "A String", # VPAID adapter setting for this placement. Controls which VPAID format the measurement adapter will use for in-stream video creatives assigned to this placement. *Note:* Flash is no longer supported. This field now defaults to HTML5 when the following values are provided: FLASH, BOTH.
            "comment": "A String", # Comments for this placement.
            "compatibility": "A String", # Placement compatibility. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering on desktop, on mobile devices or in mobile apps for regular or interstitial ads respectively. APP and APP_INTERSTITIAL are no longer allowed for new placement insertions. Instead, use DISPLAY or DISPLAY_INTERSTITIAL. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. This field is required on insertion.
            "subaccountId": "A String", # Subaccount ID of this placement. This field can be left blank.
            "siteId": "A String", # Site ID associated with this placement. On insert, you must set either this field or the directorySiteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
            "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this placement. This is a read-only, auto-generated field.
              "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.
              "dimensionName": "A String", # The name of the dimension.
              "etag": "A String", # The eTag of this response for caching purposes.
              "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
              "value": "A String", # The value of the dimension.
              "id": "A String", # The ID associated with the value if available.
            },
            "placementGroupId": "A String", # ID of this placement's group, if applicable.
            "pricingSchedule": { # Pricing Schedule # Pricing schedule of this placement. This field is required on insertion, specifically subfields startDate, endDate and pricingType.
              "endDate": "A String",
              "flighted": True or False, # Whether this placement is flighted. If true, pricing periods will be computed automatically.
              "startDate": "A String",
              "pricingPeriods": [ # Pricing periods for this placement.
                { # Pricing Period
                  "startDate": "A String",
                  "pricingComment": "A String", # Comments for this pricing period.
                  "rateOrCostNanos": "A String", # Rate or cost of this pricing period in nanos (i.e., multipled by 1000000000). Acceptable values are 0 to 1000000000000000000, inclusive.
                  "endDate": "A String",
                  "units": "A String", # Units of this pricing period. Acceptable values are 0 to 10000000000, inclusive.
                },
              ],
              "testingStartDate": "A String",
              "pricingType": "A String", # Placement pricing type. This field is required on insertion.
              "capCostOption": "A String", # Placement cap cost option.
              "disregardOverdelivery": True or False, # Whether cap costs are ignored by ad serving.
              "floodlightActivityId": "A String", # Floodlight activity ID associated with this placement. This field should be set when placement pricing type is set to PRICING_TYPE_CPA.
            },
            "tagFormats": [ # Tag formats to generate for this placement. This field is required on insertion. Acceptable values are: - "PLACEMENT_TAG_STANDARD" - "PLACEMENT_TAG_IFRAME_JAVASCRIPT" - "PLACEMENT_TAG_IFRAME_ILAYER" - "PLACEMENT_TAG_INTERNAL_REDIRECT" - "PLACEMENT_TAG_JAVASCRIPT" - "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT" - "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT" - "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT" - "PLACEMENT_TAG_CLICK_COMMANDS" - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH" - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3" - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4" - "PLACEMENT_TAG_TRACKING" - "PLACEMENT_TAG_TRACKING_IFRAME" - "PLACEMENT_TAG_TRACKING_JAVASCRIPT"
              "A String",
            ],
            "placementStrategyId": "A String", # ID of the placement strategy assigned to this placement.
            "id": "A String", # ID of this placement. This is a read-only, auto-generated field.
            "directorySiteId": "A String", # Directory site ID of this placement. On insert, you must set either this field or the siteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
            "createInfo": { # Modification timestamp. # Information about the creation of this placement. This is a read-only field.
              "time": "A String", # Timestamp of the last change in milliseconds since epoch.
            },
            "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this placement. When inserting or updating a placement, only the size ID field is used. This field is required on insertion.
              "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
              "id": "A String", # ID of this size. This is a read-only, auto-generated field.
              "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
              "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
              "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
            },
            "accountId": "A String", # Account ID of this placement. This field can be left blank.
            "advertiserId": "A String", # Advertiser ID of this placement. This field can be left blank.
            "paymentApproved": True or False, # Whether payment was approved for this placement. This is a read-only field relevant only to publisher-paid placements.
            "contentCategoryId": "A String", # ID of the content category assigned to this placement.
            "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#placement".
            "externalId": "A String", # External ID for this placement.
            "placementGroupIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the placement group. This is a read-only, auto-generated field.
              "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.
              "dimensionName": "A String", # The name of the dimension.
              "etag": "A String", # The eTag of this response for caching purposes.
              "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
              "value": "A String", # The value of the dimension.
              "id": "A String", # The ID associated with the value if available.
            },
            "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
              "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.
              "dimensionName": "A String", # The name of the dimension.
              "etag": "A String", # The eTag of this response for caching purposes.
              "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
              "value": "A String", # The value of the dimension.
              "id": "A String", # The ID associated with the value if available.
            },
            "tagSetting": { # Tag Settings # Tag settings for this placement.
              "includeClickThroughUrls": True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements.
              "additionalKeyValues": "A String", # Additional key-values to be included in tags. Each key-value pair must be of the form key=value, and pairs must be separated by a semicolon (;). Keys and values must not contain commas. For example, id=2;color=red is a valid value for this field.
              "keywordOption": "A String", # Option specifying how keywords are embedded in ad tags. This setting can be used to specify whether keyword placeholders are inserted in placement tags for this site. Publishers can then add keywords to those placeholders.
              "includeClickTracking": True or False, # Whether click-tracking string should be included in the tags.
            },
            "name": "A String", # Name of this placement.This is a required field and must be less than 256 characters long.
            "videoSettings": { # Video Settings # A collection of settings which affect video creatives served through this placement. Applicable to placements with IN_STREAM_VIDEO compatibility.
              "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#videoSettings".
              "companionSettings": { # Companion Settings # Settings for the companion creatives of video creatives served to this placement.
                "imageOnly": True or False, # Whether to serve only static images as companions.
                "enabledSizes": [ # Whitelist of companion sizes to be served to this placement. Set this list to null or empty to serve all companion sizes.
                  { # Represents the dimensions of ads, placements, creatives, or creative assets.
                    "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
                    "id": "A String", # ID of this size. This is a read-only, auto-generated field.
                    "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
                    "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
                    "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
                  },
                ],
                "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#companionSetting".
                "companionsDisabled": True or False, # Whether companions are disabled for this placement.
              },
              "orientation": "A String", # Orientation of a video placement. If this value is set, placement will return assets matching the specified orientation.
              "transcodeSettings": { # Transcode Settings # Settings for the transcodes of video creatives served to this placement. If this object is provided, the creative-level transcode settings will be overridden.
                "enabledVideoFormats": [ # Whitelist of video formats to be served to this placement. Set this list to null or empty to serve all video formats.
                  42,
                ],
                "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#transcodeSetting".
              },
              "skippableSettings": { # Skippable Settings # Settings for the skippability of video creatives served to this placement. If this object is provided, the creative-level skippable settings will be overridden.
                "skippable": True or False, # Whether the user can skip creatives served to this placement.
                "skipOffset": { # Video Offset # Amount of time to play videos served to this placement before the skip button should appear. Applicable when skippable is true.
                  "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
                  "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.
                },
                "progressOffset": { # Video Offset # Amount of time to play videos served to this placement before counting a view. Applicable when skippable is true.
                  "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
                  "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.
                },
                "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#skippableSetting".
              },
            },
          },
        ],
        "nextPageToken": "A String", # Pagination token to be used for the next list operation.
        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#placementsListResponse".
      }

`list_next(previous_request, previous_response)`

    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 placement. This method supports patch semantics.

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

    { # Contains properties of a placement.
      "siteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
        "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.
        "dimensionName": "A String", # The name of the dimension.
        "etag": "A String", # The eTag of this response for caching purposes.
        "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
        "value": "A String", # The value of the dimension.
        "id": "A String", # The ID associated with the value if available.
      },
      "keyName": "A String", # Key name of this placement. This is a read-only, auto-generated field.
      "publisherUpdateInfo": { # Modification timestamp. # Information about the last publisher update. This is a read-only field.
        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
      },
      "campaignIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
        "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.
        "dimensionName": "A String", # The name of the dimension.
        "etag": "A String", # The eTag of this response for caching purposes.
        "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
        "value": "A String", # The value of the dimension.
        "id": "A String", # The ID associated with the value if available.
      },
      "additionalSizes": [ # Additional sizes associated with this placement. When inserting or updating a placement, only the size ID field is used.
        { # Represents the dimensions of ads, placements, creatives, or creative assets.
          "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
          "id": "A String", # ID of this size. This is a read-only, auto-generated field.
          "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
          "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
        },
      ],
      "videoActiveViewOptOut": True or False, # Whether Verification and ActiveView are disabled for in-stream video creatives for this placement. The same setting videoActiveViewOptOut exists on the site level -- the opt out occurs if either of these settings are true. These settings are distinct from DirectorySites.settings.activeViewOptOut or Sites.siteSettings.activeViewOptOut which only apply to display ads. However, Accounts.activeViewOptOut opts out both video traffic, as well as display ads, from Verification and ActiveView.
      "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this placement.
        "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive.
        "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive.
      },
      "archived": True or False, # Whether this placement is archived.
      "paymentSource": "A String", # Payment source for this placement. This is a required field that is read-only after insertion.
      "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this placement. This is a read-only field.
        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
      },
      "status": "A String", # Third-party placement status.
      "primary": True or False, # Whether this placement is the primary placement of a roadblock (placement group). You cannot change this field from true to false. Setting this field to true will automatically set the primary field on the original primary placement of the roadblock to false, and it will automatically set the roadblock's primaryPlacementId field to the ID of this placement.
      "sslRequired": True or False, # Whether creatives assigned to this placement must be SSL-compliant.
      "adBlockingOptOut": True or False, # Whether this placement opts out of ad blocking. When true, ad blocking is disabled for this placement. When false, the campaign and site settings take effect.
      "campaignId": "A String", # Campaign ID of this placement. This field is a required field on insertion.
      "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
        "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.
        "dimensionName": "A String", # The name of the dimension.
        "etag": "A String", # The eTag of this response for caching purposes.
        "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
        "value": "A String", # The value of the dimension.
        "id": "A String", # The ID associated with the value if available.
      },
      "vpaidAdapterChoice": "A String", # VPAID adapter setting for this placement. Controls which VPAID format the measurement adapter will use for in-stream video creatives assigned to this placement. *Note:* Flash is no longer supported. This field now defaults to HTML5 when the following values are provided: FLASH, BOTH.
      "comment": "A String", # Comments for this placement.
      "compatibility": "A String", # Placement compatibility. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering on desktop, on mobile devices or in mobile apps for regular or interstitial ads respectively. APP and APP_INTERSTITIAL are no longer allowed for new placement insertions. Instead, use DISPLAY or DISPLAY_INTERSTITIAL. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. This field is required on insertion.
      "subaccountId": "A String", # Subaccount ID of this placement. This field can be left blank.
      "siteId": "A String", # Site ID associated with this placement. On insert, you must set either this field or the directorySiteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this placement. This is a read-only, auto-generated field.
        "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.
        "dimensionName": "A String", # The name of the dimension.
        "etag": "A String", # The eTag of this response for caching purposes.
        "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
        "value": "A String", # The value of the dimension.
        "id": "A String", # The ID associated with the value if available.
      },
      "placementGroupId": "A String", # ID of this placement's group, if applicable.
      "pricingSchedule": { # Pricing Schedule # Pricing schedule of this placement. This field is required on insertion, specifically subfields startDate, endDate and pricingType.
        "endDate": "A String",
        "flighted": True or False, # Whether this placement is flighted. If true, pricing periods will be computed automatically.
        "startDate": "A String",
        "pricingPeriods": [ # Pricing periods for this placement.
          { # Pricing Period
            "startDate": "A String",
            "pricingComment": "A String", # Comments for this pricing period.
            "rateOrCostNanos": "A String", # Rate or cost of this pricing period in nanos (i.e., multipled by 1000000000). Acceptable values are 0 to 1000000000000000000, inclusive.
            "endDate": "A String",
            "units": "A String", # Units of this pricing period. Acceptable values are 0 to 10000000000, inclusive.
          },
        ],
        "testingStartDate": "A String",
        "pricingType": "A String", # Placement pricing type. This field is required on insertion.
        "capCostOption": "A String", # Placement cap cost option.
        "disregardOverdelivery": True or False, # Whether cap costs are ignored by ad serving.
        "floodlightActivityId": "A String", # Floodlight activity ID associated with this placement. This field should be set when placement pricing type is set to PRICING_TYPE_CPA.
      },
      "tagFormats": [ # Tag formats to generate for this placement. This field is required on insertion. Acceptable values are: - "PLACEMENT_TAG_STANDARD" - "PLACEMENT_TAG_IFRAME_JAVASCRIPT" - "PLACEMENT_TAG_IFRAME_ILAYER" - "PLACEMENT_TAG_INTERNAL_REDIRECT" - "PLACEMENT_TAG_JAVASCRIPT" - "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT" - "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT" - "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT" - "PLACEMENT_TAG_CLICK_COMMANDS" - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH" - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3" - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4" - "PLACEMENT_TAG_TRACKING" - "PLACEMENT_TAG_TRACKING_IFRAME" - "PLACEMENT_TAG_TRACKING_JAVASCRIPT"
        "A String",
      ],
      "placementStrategyId": "A String", # ID of the placement strategy assigned to this placement.
      "id": "A String", # ID of this placement. This is a read-only, auto-generated field.
      "directorySiteId": "A String", # Directory site ID of this placement. On insert, you must set either this field or the siteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
      "createInfo": { # Modification timestamp. # Information about the creation of this placement. This is a read-only field.
        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
      },
      "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this placement. When inserting or updating a placement, only the size ID field is used. This field is required on insertion.
        "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
        "id": "A String", # ID of this size. This is a read-only, auto-generated field.
        "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
        "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
      },
      "accountId": "A String", # Account ID of this placement. This field can be left blank.
      "advertiserId": "A String", # Advertiser ID of this placement. This field can be left blank.
      "paymentApproved": True or False, # Whether payment was approved for this placement. This is a read-only field relevant only to publisher-paid placements.
      "contentCategoryId": "A String", # ID of the content category assigned to this placement.
      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#placement".
      "externalId": "A String", # External ID for this placement.
      "placementGroupIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the placement group. This is a read-only, auto-generated field.
        "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.
        "dimensionName": "A String", # The name of the dimension.
        "etag": "A String", # The eTag of this response for caching purposes.
        "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
        "value": "A String", # The value of the dimension.
        "id": "A String", # The ID associated with the value if available.
      },
      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
        "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.
        "dimensionName": "A String", # The name of the dimension.
        "etag": "A String", # The eTag of this response for caching purposes.
        "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
        "value": "A String", # The value of the dimension.
        "id": "A String", # The ID associated with the value if available.
      },
      "tagSetting": { # Tag Settings # Tag settings for this placement.
        "includeClickThroughUrls": True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements.
        "additionalKeyValues": "A String", # Additional key-values to be included in tags. Each key-value pair must be of the form key=value, and pairs must be separated by a semicolon (;). Keys and values must not contain commas. For example, id=2;color=red is a valid value for this field.
        "keywordOption": "A String", # Option specifying how keywords are embedded in ad tags. This setting can be used to specify whether keyword placeholders are inserted in placement tags for this site. Publishers can then add keywords to those placeholders.
        "includeClickTracking": True or False, # Whether click-tracking string should be included in the tags.
      },
      "name": "A String", # Name of this placement.This is a required field and must be less than 256 characters long.
      "videoSettings": { # Video Settings # A collection of settings which affect video creatives served through this placement. Applicable to placements with IN_STREAM_VIDEO compatibility.
        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#videoSettings".
        "companionSettings": { # Companion Settings # Settings for the companion creatives of video creatives served to this placement.
          "imageOnly": True or False, # Whether to serve only static images as companions.
          "enabledSizes": [ # Whitelist of companion sizes to be served to this placement. Set this list to null or empty to serve all companion sizes.
            { # Represents the dimensions of ads, placements, creatives, or creative assets.
              "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
              "id": "A String", # ID of this size. This is a read-only, auto-generated field.
              "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
              "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
              "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
            },
          ],
          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#companionSetting".
          "companionsDisabled": True or False, # Whether companions are disabled for this placement.
        },
        "orientation": "A String", # Orientation of a video placement. If this value is set, placement will return assets matching the specified orientation.
        "transcodeSettings": { # Transcode Settings # Settings for the transcodes of video creatives served to this placement. If this object is provided, the creative-level transcode settings will be overridden.
          "enabledVideoFormats": [ # Whitelist of video formats to be served to this placement. Set this list to null or empty to serve all video formats.
            42,
          ],
          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#transcodeSetting".
        },
        "skippableSettings": { # Skippable Settings # Settings for the skippability of video creatives served to this placement. If this object is provided, the creative-level skippable settings will be overridden.
          "skippable": True or False, # Whether the user can skip creatives served to this placement.
          "skipOffset": { # Video Offset # Amount of time to play videos served to this placement before the skip button should appear. Applicable when skippable is true.
            "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
            "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.
          },
          "progressOffset": { # Video Offset # Amount of time to play videos served to this placement before counting a view. Applicable when skippable is true.
            "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
            "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.
          },
          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#skippableSetting".
        },
      },
    }

      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 placement.
        "siteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
          "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.
          "dimensionName": "A String", # The name of the dimension.
          "etag": "A String", # The eTag of this response for caching purposes.
          "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
          "value": "A String", # The value of the dimension.
          "id": "A String", # The ID associated with the value if available.
        },
        "keyName": "A String", # Key name of this placement. This is a read-only, auto-generated field.
        "publisherUpdateInfo": { # Modification timestamp. # Information about the last publisher update. This is a read-only field.
          "time": "A String", # Timestamp of the last change in milliseconds since epoch.
        },
        "campaignIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
          "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.
          "dimensionName": "A String", # The name of the dimension.
          "etag": "A String", # The eTag of this response for caching purposes.
          "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
          "value": "A String", # The value of the dimension.
          "id": "A String", # The ID associated with the value if available.
        },
        "additionalSizes": [ # Additional sizes associated with this placement. When inserting or updating a placement, only the size ID field is used.
          { # Represents the dimensions of ads, placements, creatives, or creative assets.
            "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
            "id": "A String", # ID of this size. This is a read-only, auto-generated field.
            "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
            "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
            "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
          },
        ],
        "videoActiveViewOptOut": True or False, # Whether Verification and ActiveView are disabled for in-stream video creatives for this placement. The same setting videoActiveViewOptOut exists on the site level -- the opt out occurs if either of these settings are true. These settings are distinct from DirectorySites.settings.activeViewOptOut or Sites.siteSettings.activeViewOptOut which only apply to display ads. However, Accounts.activeViewOptOut opts out both video traffic, as well as display ads, from Verification and ActiveView.
        "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this placement.
          "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive.
          "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive.
        },
        "archived": True or False, # Whether this placement is archived.
        "paymentSource": "A String", # Payment source for this placement. This is a required field that is read-only after insertion.
        "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this placement. This is a read-only field.
          "time": "A String", # Timestamp of the last change in milliseconds since epoch.
        },
        "status": "A String", # Third-party placement status.
        "primary": True or False, # Whether this placement is the primary placement of a roadblock (placement group). You cannot change this field from true to false. Setting this field to true will automatically set the primary field on the original primary placement of the roadblock to false, and it will automatically set the roadblock's primaryPlacementId field to the ID of this placement.
        "sslRequired": True or False, # Whether creatives assigned to this placement must be SSL-compliant.
        "adBlockingOptOut": True or False, # Whether this placement opts out of ad blocking. When true, ad blocking is disabled for this placement. When false, the campaign and site settings take effect.
        "campaignId": "A String", # Campaign ID of this placement. This field is a required field on insertion.
        "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
          "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.
          "dimensionName": "A String", # The name of the dimension.
          "etag": "A String", # The eTag of this response for caching purposes.
          "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
          "value": "A String", # The value of the dimension.
          "id": "A String", # The ID associated with the value if available.
        },
        "vpaidAdapterChoice": "A String", # VPAID adapter setting for this placement. Controls which VPAID format the measurement adapter will use for in-stream video creatives assigned to this placement. *Note:* Flash is no longer supported. This field now defaults to HTML5 when the following values are provided: FLASH, BOTH.
        "comment": "A String", # Comments for this placement.
        "compatibility": "A String", # Placement compatibility. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering on desktop, on mobile devices or in mobile apps for regular or interstitial ads respectively. APP and APP_INTERSTITIAL are no longer allowed for new placement insertions. Instead, use DISPLAY or DISPLAY_INTERSTITIAL. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. This field is required on insertion.
        "subaccountId": "A String", # Subaccount ID of this placement. This field can be left blank.
        "siteId": "A String", # Site ID associated with this placement. On insert, you must set either this field or the directorySiteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
        "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this placement. This is a read-only, auto-generated field.
          "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.
          "dimensionName": "A String", # The name of the dimension.
          "etag": "A String", # The eTag of this response for caching purposes.
          "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
          "value": "A String", # The value of the dimension.
          "id": "A String", # The ID associated with the value if available.
        },
        "placementGroupId": "A String", # ID of this placement's group, if applicable.
        "pricingSchedule": { # Pricing Schedule # Pricing schedule of this placement. This field is required on insertion, specifically subfields startDate, endDate and pricingType.
          "endDate": "A String",
          "flighted": True or False, # Whether this placement is flighted. If true, pricing periods will be computed automatically.
          "startDate": "A String",
          "pricingPeriods": [ # Pricing periods for this placement.
            { # Pricing Period
              "startDate": "A String",
              "pricingComment": "A String", # Comments for this pricing period.
              "rateOrCostNanos": "A String", # Rate or cost of this pricing period in nanos (i.e., multipled by 1000000000). Acceptable values are 0 to 1000000000000000000, inclusive.
              "endDate": "A String",
              "units": "A String", # Units of this pricing period. Acceptable values are 0 to 10000000000, inclusive.
            },
          ],
          "testingStartDate": "A String",
          "pricingType": "A String", # Placement pricing type. This field is required on insertion.
          "capCostOption": "A String", # Placement cap cost option.
          "disregardOverdelivery": True or False, # Whether cap costs are ignored by ad serving.
          "floodlightActivityId": "A String", # Floodlight activity ID associated with this placement. This field should be set when placement pricing type is set to PRICING_TYPE_CPA.
        },
        "tagFormats": [ # Tag formats to generate for this placement. This field is required on insertion. Acceptable values are: - "PLACEMENT_TAG_STANDARD" - "PLACEMENT_TAG_IFRAME_JAVASCRIPT" - "PLACEMENT_TAG_IFRAME_ILAYER" - "PLACEMENT_TAG_INTERNAL_REDIRECT" - "PLACEMENT_TAG_JAVASCRIPT" - "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT" - "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT" - "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT" - "PLACEMENT_TAG_CLICK_COMMANDS" - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH" - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3" - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4" - "PLACEMENT_TAG_TRACKING" - "PLACEMENT_TAG_TRACKING_IFRAME" - "PLACEMENT_TAG_TRACKING_JAVASCRIPT"
          "A String",
        ],
        "placementStrategyId": "A String", # ID of the placement strategy assigned to this placement.
        "id": "A String", # ID of this placement. This is a read-only, auto-generated field.
        "directorySiteId": "A String", # Directory site ID of this placement. On insert, you must set either this field or the siteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
        "createInfo": { # Modification timestamp. # Information about the creation of this placement. This is a read-only field.
          "time": "A String", # Timestamp of the last change in milliseconds since epoch.
        },
        "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this placement. When inserting or updating a placement, only the size ID field is used. This field is required on insertion.
          "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
          "id": "A String", # ID of this size. This is a read-only, auto-generated field.
          "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
          "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
        },
        "accountId": "A String", # Account ID of this placement. This field can be left blank.
        "advertiserId": "A String", # Advertiser ID of this placement. This field can be left blank.
        "paymentApproved": True or False, # Whether payment was approved for this placement. This is a read-only field relevant only to publisher-paid placements.
        "contentCategoryId": "A String", # ID of the content category assigned to this placement.
        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#placement".
        "externalId": "A String", # External ID for this placement.
        "placementGroupIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the placement group. This is a read-only, auto-generated field.
          "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.
          "dimensionName": "A String", # The name of the dimension.
          "etag": "A String", # The eTag of this response for caching purposes.
          "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
          "value": "A String", # The value of the dimension.
          "id": "A String", # The ID associated with the value if available.
        },
        "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
          "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.
          "dimensionName": "A String", # The name of the dimension.
          "etag": "A String", # The eTag of this response for caching purposes.
          "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
          "value": "A String", # The value of the dimension.
          "id": "A String", # The ID associated with the value if available.
        },
        "tagSetting": { # Tag Settings # Tag settings for this placement.
          "includeClickThroughUrls": True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements.
          "additionalKeyValues": "A String", # Additional key-values to be included in tags. Each key-value pair must be of the form key=value, and pairs must be separated by a semicolon (;). Keys and values must not contain commas. For example, id=2;color=red is a valid value for this field.
          "keywordOption": "A String", # Option specifying how keywords are embedded in ad tags. This setting can be used to specify whether keyword placeholders are inserted in placement tags for this site. Publishers can then add keywords to those placeholders.
          "includeClickTracking": True or False, # Whether click-tracking string should be included in the tags.
        },
        "name": "A String", # Name of this placement.This is a required field and must be less than 256 characters long.
        "videoSettings": { # Video Settings # A collection of settings which affect video creatives served through this placement. Applicable to placements with IN_STREAM_VIDEO compatibility.
          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#videoSettings".
          "companionSettings": { # Companion Settings # Settings for the companion creatives of video creatives served to this placement.
            "imageOnly": True or False, # Whether to serve only static images as companions.
            "enabledSizes": [ # Whitelist of companion sizes to be served to this placement. Set this list to null or empty to serve all companion sizes.
              { # Represents the dimensions of ads, placements, creatives, or creative assets.
                "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
                "id": "A String", # ID of this size. This is a read-only, auto-generated field.
                "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
                "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
                "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
              },
            ],
            "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#companionSetting".
            "companionsDisabled": True or False, # Whether companions are disabled for this placement.
          },
          "orientation": "A String", # Orientation of a video placement. If this value is set, placement will return assets matching the specified orientation.
          "transcodeSettings": { # Transcode Settings # Settings for the transcodes of video creatives served to this placement. If this object is provided, the creative-level transcode settings will be overridden.
            "enabledVideoFormats": [ # Whitelist of video formats to be served to this placement. Set this list to null or empty to serve all video formats.
              42,
            ],
            "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#transcodeSetting".
          },
          "skippableSettings": { # Skippable Settings # Settings for the skippability of video creatives served to this placement. If this object is provided, the creative-level skippable settings will be overridden.
            "skippable": True or False, # Whether the user can skip creatives served to this placement.
            "skipOffset": { # Video Offset # Amount of time to play videos served to this placement before the skip button should appear. Applicable when skippable is true.
              "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
              "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.
            },
            "progressOffset": { # Video Offset # Amount of time to play videos served to this placement before counting a view. Applicable when skippable is true.
              "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
              "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.
            },
            "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#skippableSetting".
          },
        },
      }

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

    Updates an existing placement.

    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 placement.
      "siteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
        "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.
        "dimensionName": "A String", # The name of the dimension.
        "etag": "A String", # The eTag of this response for caching purposes.
        "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
        "value": "A String", # The value of the dimension.
        "id": "A String", # The ID associated with the value if available.
      },
      "keyName": "A String", # Key name of this placement. This is a read-only, auto-generated field.
      "publisherUpdateInfo": { # Modification timestamp. # Information about the last publisher update. This is a read-only field.
        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
      },
      "campaignIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
        "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.
        "dimensionName": "A String", # The name of the dimension.
        "etag": "A String", # The eTag of this response for caching purposes.
        "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
        "value": "A String", # The value of the dimension.
        "id": "A String", # The ID associated with the value if available.
      },
      "additionalSizes": [ # Additional sizes associated with this placement. When inserting or updating a placement, only the size ID field is used.
        { # Represents the dimensions of ads, placements, creatives, or creative assets.
          "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
          "id": "A String", # ID of this size. This is a read-only, auto-generated field.
          "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
          "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
        },
      ],
      "videoActiveViewOptOut": True or False, # Whether Verification and ActiveView are disabled for in-stream video creatives for this placement. The same setting videoActiveViewOptOut exists on the site level -- the opt out occurs if either of these settings are true. These settings are distinct from DirectorySites.settings.activeViewOptOut or Sites.siteSettings.activeViewOptOut which only apply to display ads. However, Accounts.activeViewOptOut opts out both video traffic, as well as display ads, from Verification and ActiveView.
      "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this placement.
        "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive.
        "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive.
      },
      "archived": True or False, # Whether this placement is archived.
      "paymentSource": "A String", # Payment source for this placement. This is a required field that is read-only after insertion.
      "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this placement. This is a read-only field.
        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
      },
      "status": "A String", # Third-party placement status.
      "primary": True or False, # Whether this placement is the primary placement of a roadblock (placement group). You cannot change this field from true to false. Setting this field to true will automatically set the primary field on the original primary placement of the roadblock to false, and it will automatically set the roadblock's primaryPlacementId field to the ID of this placement.
      "sslRequired": True or False, # Whether creatives assigned to this placement must be SSL-compliant.
      "adBlockingOptOut": True or False, # Whether this placement opts out of ad blocking. When true, ad blocking is disabled for this placement. When false, the campaign and site settings take effect.
      "campaignId": "A String", # Campaign ID of this placement. This field is a required field on insertion.
      "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
        "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.
        "dimensionName": "A String", # The name of the dimension.
        "etag": "A String", # The eTag of this response for caching purposes.
        "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
        "value": "A String", # The value of the dimension.
        "id": "A String", # The ID associated with the value if available.
      },
      "vpaidAdapterChoice": "A String", # VPAID adapter setting for this placement. Controls which VPAID format the measurement adapter will use for in-stream video creatives assigned to this placement. *Note:* Flash is no longer supported. This field now defaults to HTML5 when the following values are provided: FLASH, BOTH.
      "comment": "A String", # Comments for this placement.
      "compatibility": "A String", # Placement compatibility. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering on desktop, on mobile devices or in mobile apps for regular or interstitial ads respectively. APP and APP_INTERSTITIAL are no longer allowed for new placement insertions. Instead, use DISPLAY or DISPLAY_INTERSTITIAL. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. This field is required on insertion.
      "subaccountId": "A String", # Subaccount ID of this placement. This field can be left blank.
      "siteId": "A String", # Site ID associated with this placement. On insert, you must set either this field or the directorySiteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this placement. This is a read-only, auto-generated field.
        "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.
        "dimensionName": "A String", # The name of the dimension.
        "etag": "A String", # The eTag of this response for caching purposes.
        "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
        "value": "A String", # The value of the dimension.
        "id": "A String", # The ID associated with the value if available.
      },
      "placementGroupId": "A String", # ID of this placement's group, if applicable.
      "pricingSchedule": { # Pricing Schedule # Pricing schedule of this placement. This field is required on insertion, specifically subfields startDate, endDate and pricingType.
        "endDate": "A String",
        "flighted": True or False, # Whether this placement is flighted. If true, pricing periods will be computed automatically.
        "startDate": "A String",
        "pricingPeriods": [ # Pricing periods for this placement.
          { # Pricing Period
            "startDate": "A String",
            "pricingComment": "A String", # Comments for this pricing period.
            "rateOrCostNanos": "A String", # Rate or cost of this pricing period in nanos (i.e., multipled by 1000000000). Acceptable values are 0 to 1000000000000000000, inclusive.
            "endDate": "A String",
            "units": "A String", # Units of this pricing period. Acceptable values are 0 to 10000000000, inclusive.
          },
        ],
        "testingStartDate": "A String",
        "pricingType": "A String", # Placement pricing type. This field is required on insertion.
        "capCostOption": "A String", # Placement cap cost option.
        "disregardOverdelivery": True or False, # Whether cap costs are ignored by ad serving.
        "floodlightActivityId": "A String", # Floodlight activity ID associated with this placement. This field should be set when placement pricing type is set to PRICING_TYPE_CPA.
      },
      "tagFormats": [ # Tag formats to generate for this placement. This field is required on insertion. Acceptable values are: - "PLACEMENT_TAG_STANDARD" - "PLACEMENT_TAG_IFRAME_JAVASCRIPT" - "PLACEMENT_TAG_IFRAME_ILAYER" - "PLACEMENT_TAG_INTERNAL_REDIRECT" - "PLACEMENT_TAG_JAVASCRIPT" - "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT" - "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT" - "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT" - "PLACEMENT_TAG_CLICK_COMMANDS" - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH" - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3" - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4" - "PLACEMENT_TAG_TRACKING" - "PLACEMENT_TAG_TRACKING_IFRAME" - "PLACEMENT_TAG_TRACKING_JAVASCRIPT"
        "A String",
      ],
      "placementStrategyId": "A String", # ID of the placement strategy assigned to this placement.
      "id": "A String", # ID of this placement. This is a read-only, auto-generated field.
      "directorySiteId": "A String", # Directory site ID of this placement. On insert, you must set either this field or the siteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
      "createInfo": { # Modification timestamp. # Information about the creation of this placement. This is a read-only field.
        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
      },
      "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this placement. When inserting or updating a placement, only the size ID field is used. This field is required on insertion.
        "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
        "id": "A String", # ID of this size. This is a read-only, auto-generated field.
        "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
        "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
      },
      "accountId": "A String", # Account ID of this placement. This field can be left blank.
      "advertiserId": "A String", # Advertiser ID of this placement. This field can be left blank.
      "paymentApproved": True or False, # Whether payment was approved for this placement. This is a read-only field relevant only to publisher-paid placements.
      "contentCategoryId": "A String", # ID of the content category assigned to this placement.
      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#placement".
      "externalId": "A String", # External ID for this placement.
      "placementGroupIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the placement group. This is a read-only, auto-generated field.
        "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.
        "dimensionName": "A String", # The name of the dimension.
        "etag": "A String", # The eTag of this response for caching purposes.
        "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
        "value": "A String", # The value of the dimension.
        "id": "A String", # The ID associated with the value if available.
      },
      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
        "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.
        "dimensionName": "A String", # The name of the dimension.
        "etag": "A String", # The eTag of this response for caching purposes.
        "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
        "value": "A String", # The value of the dimension.
        "id": "A String", # The ID associated with the value if available.
      },
      "tagSetting": { # Tag Settings # Tag settings for this placement.
        "includeClickThroughUrls": True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements.
        "additionalKeyValues": "A String", # Additional key-values to be included in tags. Each key-value pair must be of the form key=value, and pairs must be separated by a semicolon (;). Keys and values must not contain commas. For example, id=2;color=red is a valid value for this field.
        "keywordOption": "A String", # Option specifying how keywords are embedded in ad tags. This setting can be used to specify whether keyword placeholders are inserted in placement tags for this site. Publishers can then add keywords to those placeholders.
        "includeClickTracking": True or False, # Whether click-tracking string should be included in the tags.
      },
      "name": "A String", # Name of this placement.This is a required field and must be less than 256 characters long.
      "videoSettings": { # Video Settings # A collection of settings which affect video creatives served through this placement. Applicable to placements with IN_STREAM_VIDEO compatibility.
        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#videoSettings".
        "companionSettings": { # Companion Settings # Settings for the companion creatives of video creatives served to this placement.
          "imageOnly": True or False, # Whether to serve only static images as companions.
          "enabledSizes": [ # Whitelist of companion sizes to be served to this placement. Set this list to null or empty to serve all companion sizes.
            { # Represents the dimensions of ads, placements, creatives, or creative assets.
              "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
              "id": "A String", # ID of this size. This is a read-only, auto-generated field.
              "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
              "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
              "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
            },
          ],
          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#companionSetting".
          "companionsDisabled": True or False, # Whether companions are disabled for this placement.
        },
        "orientation": "A String", # Orientation of a video placement. If this value is set, placement will return assets matching the specified orientation.
        "transcodeSettings": { # Transcode Settings # Settings for the transcodes of video creatives served to this placement. If this object is provided, the creative-level transcode settings will be overridden.
          "enabledVideoFormats": [ # Whitelist of video formats to be served to this placement. Set this list to null or empty to serve all video formats.
            42,
          ],
          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#transcodeSetting".
        },
        "skippableSettings": { # Skippable Settings # Settings for the skippability of video creatives served to this placement. If this object is provided, the creative-level skippable settings will be overridden.
          "skippable": True or False, # Whether the user can skip creatives served to this placement.
          "skipOffset": { # Video Offset # Amount of time to play videos served to this placement before the skip button should appear. Applicable when skippable is true.
            "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
            "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.
          },
          "progressOffset": { # Video Offset # Amount of time to play videos served to this placement before counting a view. Applicable when skippable is true.
            "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
            "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.
          },
          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#skippableSetting".
        },
      },
    }

      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 placement.
        "siteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
          "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.
          "dimensionName": "A String", # The name of the dimension.
          "etag": "A String", # The eTag of this response for caching purposes.
          "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
          "value": "A String", # The value of the dimension.
          "id": "A String", # The ID associated with the value if available.
        },
        "keyName": "A String", # Key name of this placement. This is a read-only, auto-generated field.
        "publisherUpdateInfo": { # Modification timestamp. # Information about the last publisher update. This is a read-only field.
          "time": "A String", # Timestamp of the last change in milliseconds since epoch.
        },
        "campaignIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
          "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.
          "dimensionName": "A String", # The name of the dimension.
          "etag": "A String", # The eTag of this response for caching purposes.
          "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
          "value": "A String", # The value of the dimension.
          "id": "A String", # The ID associated with the value if available.
        },
        "additionalSizes": [ # Additional sizes associated with this placement. When inserting or updating a placement, only the size ID field is used.
          { # Represents the dimensions of ads, placements, creatives, or creative assets.
            "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
            "id": "A String", # ID of this size. This is a read-only, auto-generated field.
            "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
            "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
            "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
          },
        ],
        "videoActiveViewOptOut": True or False, # Whether Verification and ActiveView are disabled for in-stream video creatives for this placement. The same setting videoActiveViewOptOut exists on the site level -- the opt out occurs if either of these settings are true. These settings are distinct from DirectorySites.settings.activeViewOptOut or Sites.siteSettings.activeViewOptOut which only apply to display ads. However, Accounts.activeViewOptOut opts out both video traffic, as well as display ads, from Verification and ActiveView.
        "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this placement.
          "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive.
          "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive.
        },
        "archived": True or False, # Whether this placement is archived.
        "paymentSource": "A String", # Payment source for this placement. This is a required field that is read-only after insertion.
        "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this placement. This is a read-only field.
          "time": "A String", # Timestamp of the last change in milliseconds since epoch.
        },
        "status": "A String", # Third-party placement status.
        "primary": True or False, # Whether this placement is the primary placement of a roadblock (placement group). You cannot change this field from true to false. Setting this field to true will automatically set the primary field on the original primary placement of the roadblock to false, and it will automatically set the roadblock's primaryPlacementId field to the ID of this placement.
        "sslRequired": True or False, # Whether creatives assigned to this placement must be SSL-compliant.
        "adBlockingOptOut": True or False, # Whether this placement opts out of ad blocking. When true, ad blocking is disabled for this placement. When false, the campaign and site settings take effect.
        "campaignId": "A String", # Campaign ID of this placement. This field is a required field on insertion.
        "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
          "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.
          "dimensionName": "A String", # The name of the dimension.
          "etag": "A String", # The eTag of this response for caching purposes.
          "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
          "value": "A String", # The value of the dimension.
          "id": "A String", # The ID associated with the value if available.
        },
        "vpaidAdapterChoice": "A String", # VPAID adapter setting for this placement. Controls which VPAID format the measurement adapter will use for in-stream video creatives assigned to this placement. *Note:* Flash is no longer supported. This field now defaults to HTML5 when the following values are provided: FLASH, BOTH.
        "comment": "A String", # Comments for this placement.
        "compatibility": "A String", # Placement compatibility. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering on desktop, on mobile devices or in mobile apps for regular or interstitial ads respectively. APP and APP_INTERSTITIAL are no longer allowed for new placement insertions. Instead, use DISPLAY or DISPLAY_INTERSTITIAL. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. This field is required on insertion.
        "subaccountId": "A String", # Subaccount ID of this placement. This field can be left blank.
        "siteId": "A String", # Site ID associated with this placement. On insert, you must set either this field or the directorySiteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
        "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this placement. This is a read-only, auto-generated field.
          "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.
          "dimensionName": "A String", # The name of the dimension.
          "etag": "A String", # The eTag of this response for caching purposes.
          "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
          "value": "A String", # The value of the dimension.
          "id": "A String", # The ID associated with the value if available.
        },
        "placementGroupId": "A String", # ID of this placement's group, if applicable.
        "pricingSchedule": { # Pricing Schedule # Pricing schedule of this placement. This field is required on insertion, specifically subfields startDate, endDate and pricingType.
          "endDate": "A String",
          "flighted": True or False, # Whether this placement is flighted. If true, pricing periods will be computed automatically.
          "startDate": "A String",
          "pricingPeriods": [ # Pricing periods for this placement.
            { # Pricing Period
              "startDate": "A String",
              "pricingComment": "A String", # Comments for this pricing period.
              "rateOrCostNanos": "A String", # Rate or cost of this pricing period in nanos (i.e., multipled by 1000000000). Acceptable values are 0 to 1000000000000000000, inclusive.
              "endDate": "A String",
              "units": "A String", # Units of this pricing period. Acceptable values are 0 to 10000000000, inclusive.
            },
          ],
          "testingStartDate": "A String",
          "pricingType": "A String", # Placement pricing type. This field is required on insertion.
          "capCostOption": "A String", # Placement cap cost option.
          "disregardOverdelivery": True or False, # Whether cap costs are ignored by ad serving.
          "floodlightActivityId": "A String", # Floodlight activity ID associated with this placement. This field should be set when placement pricing type is set to PRICING_TYPE_CPA.
        },
        "tagFormats": [ # Tag formats to generate for this placement. This field is required on insertion. Acceptable values are: - "PLACEMENT_TAG_STANDARD" - "PLACEMENT_TAG_IFRAME_JAVASCRIPT" - "PLACEMENT_TAG_IFRAME_ILAYER" - "PLACEMENT_TAG_INTERNAL_REDIRECT" - "PLACEMENT_TAG_JAVASCRIPT" - "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT" - "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT" - "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT" - "PLACEMENT_TAG_CLICK_COMMANDS" - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH" - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3" - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4" - "PLACEMENT_TAG_TRACKING" - "PLACEMENT_TAG_TRACKING_IFRAME" - "PLACEMENT_TAG_TRACKING_JAVASCRIPT"
          "A String",
        ],
        "placementStrategyId": "A String", # ID of the placement strategy assigned to this placement.
        "id": "A String", # ID of this placement. This is a read-only, auto-generated field.
        "directorySiteId": "A String", # Directory site ID of this placement. On insert, you must set either this field or the siteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
        "createInfo": { # Modification timestamp. # Information about the creation of this placement. This is a read-only field.
          "time": "A String", # Timestamp of the last change in milliseconds since epoch.
        },
        "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this placement. When inserting or updating a placement, only the size ID field is used. This field is required on insertion.
          "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
          "id": "A String", # ID of this size. This is a read-only, auto-generated field.
          "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
          "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
        },
        "accountId": "A String", # Account ID of this placement. This field can be left blank.
        "advertiserId": "A String", # Advertiser ID of this placement. This field can be left blank.
        "paymentApproved": True or False, # Whether payment was approved for this placement. This is a read-only field relevant only to publisher-paid placements.
        "contentCategoryId": "A String", # ID of the content category assigned to this placement.
        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#placement".
        "externalId": "A String", # External ID for this placement.
        "placementGroupIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the placement group. This is a read-only, auto-generated field.
          "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.
          "dimensionName": "A String", # The name of the dimension.
          "etag": "A String", # The eTag of this response for caching purposes.
          "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
          "value": "A String", # The value of the dimension.
          "id": "A String", # The ID associated with the value if available.
        },
        "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
          "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.
          "dimensionName": "A String", # The name of the dimension.
          "etag": "A String", # The eTag of this response for caching purposes.
          "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
          "value": "A String", # The value of the dimension.
          "id": "A String", # The ID associated with the value if available.
        },
        "tagSetting": { # Tag Settings # Tag settings for this placement.
          "includeClickThroughUrls": True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements.
          "additionalKeyValues": "A String", # Additional key-values to be included in tags. Each key-value pair must be of the form key=value, and pairs must be separated by a semicolon (;). Keys and values must not contain commas. For example, id=2;color=red is a valid value for this field.
          "keywordOption": "A String", # Option specifying how keywords are embedded in ad tags. This setting can be used to specify whether keyword placeholders are inserted in placement tags for this site. Publishers can then add keywords to those placeholders.
          "includeClickTracking": True or False, # Whether click-tracking string should be included in the tags.
        },
        "name": "A String", # Name of this placement.This is a required field and must be less than 256 characters long.
        "videoSettings": { # Video Settings # A collection of settings which affect video creatives served through this placement. Applicable to placements with IN_STREAM_VIDEO compatibility.
          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#videoSettings".
          "companionSettings": { # Companion Settings # Settings for the companion creatives of video creatives served to this placement.
            "imageOnly": True or False, # Whether to serve only static images as companions.
            "enabledSizes": [ # Whitelist of companion sizes to be served to this placement. Set this list to null or empty to serve all companion sizes.
              { # Represents the dimensions of ads, placements, creatives, or creative assets.
                "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
                "id": "A String", # ID of this size. This is a read-only, auto-generated field.
                "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
                "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
                "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
              },
            ],
            "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#companionSetting".
            "companionsDisabled": True or False, # Whether companions are disabled for this placement.
          },
          "orientation": "A String", # Orientation of a video placement. If this value is set, placement will return assets matching the specified orientation.
          "transcodeSettings": { # Transcode Settings # Settings for the transcodes of video creatives served to this placement. If this object is provided, the creative-level transcode settings will be overridden.
            "enabledVideoFormats": [ # Whitelist of video formats to be served to this placement. Set this list to null or empty to serve all video formats.
              42,
            ],
            "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#transcodeSetting".
          },
          "skippableSettings": { # Skippable Settings # Settings for the skippability of video creatives served to this placement. If this object is provided, the creative-level skippable settings will be overridden.
            "skippable": True or False, # Whether the user can skip creatives served to this placement.
            "skipOffset": { # Video Offset # Amount of time to play videos served to this placement before the skip button should appear. Applicable when skippable is true.
              "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
              "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.
            },
            "progressOffset": { # Video Offset # Amount of time to play videos served to this placement before counting a view. Applicable when skippable is true.
              "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
              "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.
            },
            "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#skippableSetting".
          },
        },
      }