Campaign Manager 360 API . placements

Instance Methods

close()

Close httplib2 connections.

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

Generates tags for a placement.

get(profileId, id, x__xgafv=None)

Gets one placement by ID.

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

Inserts a new placement.

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

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

list_next()

Retrieves the next page of results.

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

Updates an existing placement. This method supports patch semantics.

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

Updates an existing placement.

Method Details

close()
Close httplib2 connections.
generatetags(profileId, campaignId=None, placementIds=None, tagFormats=None, x__xgafv=None)
Generates tags for a placement.

Args:
  profileId: string, User profile ID associated with this request. (required)
  campaignId: string, Generate placements belonging to this campaign. This is a required field.
  placementIds: string, Generate tags for these placements. (repeated)
  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 - 
      PLACEMENT_TAG_TRACKING_THIRD_PARTY_MEASUREMENT - 
  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
  "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#placementsGenerateTagsResponse".
  "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
          "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.
          "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.
          "impressionTag": "A String", # Tag string for serving an ad.
        },
      ],
    },
  ],
}
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.
  "accountId": "A String", # Account ID of this placement. This field can be left blank.
  "activeStatus": "A String", # Whether this placement is active, inactive, archived or permanently archived.
  "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.
  "adServingPlatformId": "A String", # Optional. Ad serving platform ID to identify the ad serving platform used by the placement. Measurement partners can use this field to add ad-server specific macros. Possible values are: * `1`, Adelphic * `2`, Adform * `3`, Adobe * `4`, Amobee * `5`, Basis (Centro) * `6`, Beeswax * `7`, Amazon * `8`, DV360 (DBM) * `9`, Innovid * `10`, MediaMath * `11`, Roku OneView DSP * `12`, TabMo Hawk * `13`, The Trade Desk * `14`, Xandr Invest DSP * `15`, Yahoo DSP * `16`, Zeta Global * `17`, Scaleout * `18`, Bidtellect * `19`, Unicorn * `20`, Teads * `21`, Quantcast * `22`, Cognitiv
  "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.
      "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
      "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
      "id": "A String", # ID of this size. This is a read-only, auto-generated field.
      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
      "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
    },
  ],
  "advertiserId": "A String", # Advertiser ID of this placement. This field can be left blank.
  "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
    "dimensionName": "A String", # The name of the dimension.
    "etag": "A String", # The eTag of this response for caching purposes.
    "id": "A String", # The ID associated with the value if available.
    "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
    "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
    "value": "A String", # The value of the dimension.
  },
  "campaignId": "A String", # Campaign ID of this placement. This field is a required field on insertion.
  "campaignIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
    "dimensionName": "A String", # The name of the dimension.
    "etag": "A String", # The eTag of this response for caching purposes.
    "id": "A String", # The ID associated with the value if available.
    "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
    "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
    "value": "A String", # The value of the dimension.
  },
  "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.
  "contentCategoryId": "A String", # ID of the content category assigned to this placement.
  "conversionDomainOverride": { # Optional. Conversion domain overrides for a placement.
    "conversionDomains": [
      {
        "conversionDomainId": "A String",
        "conversionDomainValue": "A String",
      },
    ],
  },
  "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.
  },
  "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.
  "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
    "dimensionName": "A String", # The name of the dimension.
    "etag": "A String", # The eTag of this response for caching purposes.
    "id": "A String", # The ID associated with the value if available.
    "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
    "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
    "value": "A String", # The value of the dimension.
  },
  "externalId": "A String", # External ID for this placement.
  "id": "A String", # ID of this placement. This is a read-only, auto-generated field.
  "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this placement. This is a read-only, auto-generated field.
    "dimensionName": "A String", # The name of the dimension.
    "etag": "A String", # The eTag of this response for caching purposes.
    "id": "A String", # The ID associated with the value if available.
    "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
    "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
    "value": "A String", # The value of the dimension.
  },
  "keyName": "A String", # Key name of this placement. This is a read-only, auto-generated field.
  "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#placement".
  "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.
  },
  "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this placement.
    "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.
    "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.
  },
  "name": "A String", # Name of this placement.This is a required field and must be less than or equal to 512 characters long.
  "partnerWrappingData": { # Placement tag wrapping # Measurement partner provided settings for a wrapped placement.
    "linkStatus": "A String", # Placement wrapping status.
    "measurementPartner": "A String", # Measurement partner used for wrapping the placement.
    "tagWrappingMode": "A String", # Measurement mode for the wrapped placement.
    "wrappedTag": "A String", # Tag provided by the measurement partner during wrapping.
  },
  "paymentApproved": True or False, # Whether payment was approved for this placement. This is a read-only field relevant only to publisher-paid placements.
  "paymentSource": "A String", # Payment source for this placement. This is a required field that is read-only after insertion.
  "placementGroupId": "A String", # ID of this placement's group, if applicable.
  "placementGroupIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the placement group. This is a read-only, auto-generated field.
    "dimensionName": "A String", # The name of the dimension.
    "etag": "A String", # The eTag of this response for caching purposes.
    "id": "A String", # The ID associated with the value if available.
    "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
    "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
    "value": "A String", # The value of the dimension.
  },
  "placementStrategyId": "A String", # ID of the placement strategy assigned to this placement.
  "pricingSchedule": { # Pricing Schedule # Pricing schedule of this placement. This field is required on insertion, specifically subfields startDate, endDate and pricingType.
    "capCostOption": "A String", # Placement cap cost option.
    "endDate": "A String",
    "flighted": True or False, # Whether this placement is flighted. If true, pricing periods will be computed automatically.
    "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.
    "pricingPeriods": [ # Pricing periods for this placement.
      { # Pricing Period
        "endDate": "A String",
        "pricingComment": "A String", # Comments for this pricing period.
        "rateOrCostNanos": "A String", # Rate or cost of this pricing period in nanos (i.e., multiplied by 1000000000). Acceptable values are 0 to 1000000000000000000, inclusive.
        "startDate": "A String",
        "units": "A String", # Units of this pricing period. Acceptable values are 0 to 10000000000, inclusive.
      },
    ],
    "pricingType": "A String", # Placement pricing type. This field is required on insertion.
    "startDate": "A String",
    "testingStartDate": "A String",
  },
  "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.
  "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.
  },
  "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.
  "siteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
    "dimensionName": "A String", # The name of the dimension.
    "etag": "A String", # The eTag of this response for caching purposes.
    "id": "A String", # The ID associated with the value if available.
    "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
    "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
    "value": "A String", # The value of the dimension.
  },
  "siteServed": True or False, # Optional. Whether the ads in the placement are served by another platform and CM is only used for tracking or they are served by CM. A false value indicates the ad is served by CM.
  "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.
    "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
    "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
    "id": "A String", # ID of this size. This is a read-only, auto-generated field.
    "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
    "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
  },
  "sslRequired": True or False, # Whether creatives assigned to this placement must be SSL-compliant.
  "status": "A String", # Third-party placement status.
  "subaccountId": "A String", # Subaccount ID of this placement. This field can be left blank.
  "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",
  ],
  "tagSetting": { # Tag Settings # Tag settings for this placement.
    "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.
    "includeClickThroughUrls": True or False, # Whether static landing page URLs should be included in the tags. New placements will default to the value set on their site.
    "includeClickTracking": True or False, # Whether click-tracking string should be included in the tags.
    "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.
  },
  "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.
  "videoSettings": { # Video Settings # A collection of settings which affect video creatives served through this placement. Applicable to placements with IN_STREAM_VIDEO compatibility.
    "companionSettings": { # Companion Settings # Settings for the companion creatives of video creatives served to this placement.
      "companionsDisabled": True or False, # Whether companions are disabled for this placement.
      "enabledSizes": [ # Allowlist 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.
          "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
          "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
          "id": "A String", # ID of this size. This is a read-only, auto-generated field.
          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
          "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
        },
      ],
      "imageOnly": True or False, # Whether to serve only static images as companions.
      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#companionSetting".
    },
    "durationSeconds": 42, # Duration of a video placement in seconds.
    "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#videoSettings".
    "obaEnabled": True or False, # Whether OBA icons are enabled for this placement.
    "obaSettings": { # Online Behavioral Advertiser icon. # Settings for the OBA icon of video creatives served to this placement. If this object is provided, the creative-level OBA settings will be overridden.
      "iconClickThroughUrl": "A String", # URL to redirect to when an OBA icon is clicked.
      "iconClickTrackingUrl": "A String", # URL to track click when an OBA icon is clicked.
      "iconViewTrackingUrl": "A String", # URL to track view when an OBA icon is clicked.
      "program": "A String", # Identifies the industry initiative that the icon supports. For example, AdChoices.
      "resourceUrl": "A String", # OBA icon resource URL. Campaign Manager only supports image and JavaScript icons. Learn more
      "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # OBA icon size.
        "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
        "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
        "id": "A String", # ID of this size. This is a read-only, auto-generated field.
        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
        "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
      },
      "xPosition": "A String", # OBA icon x coordinate position. Accepted values are left or right.
      "yPosition": "A String", # OBA icon y coordinate position. Accepted values are top or bottom.
    },
    "orientation": "A String", # Orientation of a video placement. If this value is set, placement will return assets matching the specified orientation.
    "publisherSpecificationId": "A String", # Publisher specification ID of a video placement. Possible values are: * `1`, Hulu * `2`, NBC * `3`, CBS * `4`, CBS Desktop * `5`, Discovery * `6`, VEVO HD * `7`, VEVO Vertical * `8`, Fox * `9`, CW Network * `10`, Disney * `11`, IGN * `12`, NFL.com * `13`, Turner Broadcasting * `14`, Tubi on Fox * `15`, Hearst Corporation * `16`, Twitch Desktop * `17`, ABC * `18`, Univision * `19`, MLB.com * `20`, MLB.com Mobile * `21`, MLB.com OTT * `22`, Polsat * `23`, TVN * `24`, Mediaset * `25`, Antena 3 * `26`, Mediamond * `27`, Sky Italia * `28`, Tubi on CBS * `29`, Spotify * `30`, Paramount * `31`, Max
    "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.
      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#skippableSetting".
      "progressOffset": { # Video Offset # Amount of time to play videos served to this placement before counting a view. Applicable when skippable is true.
        "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.
        "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
      },
      "skipOffset": { # Video Offset # Amount of time to play videos served to this placement before the skip button should appear. Applicable when skippable is true.
        "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.
        "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
      },
      "skippable": True or False, # Whether the user can skip creatives served to this placement.
    },
    "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": [ # Allowlist 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".
    },
  },
  "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.
  "wrappingOptOut": True or False, # Whether this placement opts out of tag wrapping.
}
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.
  "accountId": "A String", # Account ID of this placement. This field can be left blank.
  "activeStatus": "A String", # Whether this placement is active, inactive, archived or permanently archived.
  "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.
  "adServingPlatformId": "A String", # Optional. Ad serving platform ID to identify the ad serving platform used by the placement. Measurement partners can use this field to add ad-server specific macros. Possible values are: * `1`, Adelphic * `2`, Adform * `3`, Adobe * `4`, Amobee * `5`, Basis (Centro) * `6`, Beeswax * `7`, Amazon * `8`, DV360 (DBM) * `9`, Innovid * `10`, MediaMath * `11`, Roku OneView DSP * `12`, TabMo Hawk * `13`, The Trade Desk * `14`, Xandr Invest DSP * `15`, Yahoo DSP * `16`, Zeta Global * `17`, Scaleout * `18`, Bidtellect * `19`, Unicorn * `20`, Teads * `21`, Quantcast * `22`, Cognitiv
  "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.
      "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
      "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
      "id": "A String", # ID of this size. This is a read-only, auto-generated field.
      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
      "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
    },
  ],
  "advertiserId": "A String", # Advertiser ID of this placement. This field can be left blank.
  "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
    "dimensionName": "A String", # The name of the dimension.
    "etag": "A String", # The eTag of this response for caching purposes.
    "id": "A String", # The ID associated with the value if available.
    "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
    "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
    "value": "A String", # The value of the dimension.
  },
  "campaignId": "A String", # Campaign ID of this placement. This field is a required field on insertion.
  "campaignIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
    "dimensionName": "A String", # The name of the dimension.
    "etag": "A String", # The eTag of this response for caching purposes.
    "id": "A String", # The ID associated with the value if available.
    "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
    "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
    "value": "A String", # The value of the dimension.
  },
  "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.
  "contentCategoryId": "A String", # ID of the content category assigned to this placement.
  "conversionDomainOverride": { # Optional. Conversion domain overrides for a placement.
    "conversionDomains": [
      {
        "conversionDomainId": "A String",
        "conversionDomainValue": "A String",
      },
    ],
  },
  "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.
  },
  "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.
  "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
    "dimensionName": "A String", # The name of the dimension.
    "etag": "A String", # The eTag of this response for caching purposes.
    "id": "A String", # The ID associated with the value if available.
    "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
    "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
    "value": "A String", # The value of the dimension.
  },
  "externalId": "A String", # External ID for this placement.
  "id": "A String", # ID of this placement. This is a read-only, auto-generated field.
  "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this placement. This is a read-only, auto-generated field.
    "dimensionName": "A String", # The name of the dimension.
    "etag": "A String", # The eTag of this response for caching purposes.
    "id": "A String", # The ID associated with the value if available.
    "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
    "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
    "value": "A String", # The value of the dimension.
  },
  "keyName": "A String", # Key name of this placement. This is a read-only, auto-generated field.
  "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#placement".
  "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.
  },
  "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this placement.
    "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.
    "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.
  },
  "name": "A String", # Name of this placement.This is a required field and must be less than or equal to 512 characters long.
  "partnerWrappingData": { # Placement tag wrapping # Measurement partner provided settings for a wrapped placement.
    "linkStatus": "A String", # Placement wrapping status.
    "measurementPartner": "A String", # Measurement partner used for wrapping the placement.
    "tagWrappingMode": "A String", # Measurement mode for the wrapped placement.
    "wrappedTag": "A String", # Tag provided by the measurement partner during wrapping.
  },
  "paymentApproved": True or False, # Whether payment was approved for this placement. This is a read-only field relevant only to publisher-paid placements.
  "paymentSource": "A String", # Payment source for this placement. This is a required field that is read-only after insertion.
  "placementGroupId": "A String", # ID of this placement's group, if applicable.
  "placementGroupIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the placement group. This is a read-only, auto-generated field.
    "dimensionName": "A String", # The name of the dimension.
    "etag": "A String", # The eTag of this response for caching purposes.
    "id": "A String", # The ID associated with the value if available.
    "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
    "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
    "value": "A String", # The value of the dimension.
  },
  "placementStrategyId": "A String", # ID of the placement strategy assigned to this placement.
  "pricingSchedule": { # Pricing Schedule # Pricing schedule of this placement. This field is required on insertion, specifically subfields startDate, endDate and pricingType.
    "capCostOption": "A String", # Placement cap cost option.
    "endDate": "A String",
    "flighted": True or False, # Whether this placement is flighted. If true, pricing periods will be computed automatically.
    "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.
    "pricingPeriods": [ # Pricing periods for this placement.
      { # Pricing Period
        "endDate": "A String",
        "pricingComment": "A String", # Comments for this pricing period.
        "rateOrCostNanos": "A String", # Rate or cost of this pricing period in nanos (i.e., multiplied by 1000000000). Acceptable values are 0 to 1000000000000000000, inclusive.
        "startDate": "A String",
        "units": "A String", # Units of this pricing period. Acceptable values are 0 to 10000000000, inclusive.
      },
    ],
    "pricingType": "A String", # Placement pricing type. This field is required on insertion.
    "startDate": "A String",
    "testingStartDate": "A String",
  },
  "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.
  "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.
  },
  "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.
  "siteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
    "dimensionName": "A String", # The name of the dimension.
    "etag": "A String", # The eTag of this response for caching purposes.
    "id": "A String", # The ID associated with the value if available.
    "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
    "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
    "value": "A String", # The value of the dimension.
  },
  "siteServed": True or False, # Optional. Whether the ads in the placement are served by another platform and CM is only used for tracking or they are served by CM. A false value indicates the ad is served by CM.
  "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.
    "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
    "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
    "id": "A String", # ID of this size. This is a read-only, auto-generated field.
    "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
    "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
  },
  "sslRequired": True or False, # Whether creatives assigned to this placement must be SSL-compliant.
  "status": "A String", # Third-party placement status.
  "subaccountId": "A String", # Subaccount ID of this placement. This field can be left blank.
  "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",
  ],
  "tagSetting": { # Tag Settings # Tag settings for this placement.
    "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.
    "includeClickThroughUrls": True or False, # Whether static landing page URLs should be included in the tags. New placements will default to the value set on their site.
    "includeClickTracking": True or False, # Whether click-tracking string should be included in the tags.
    "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.
  },
  "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.
  "videoSettings": { # Video Settings # A collection of settings which affect video creatives served through this placement. Applicable to placements with IN_STREAM_VIDEO compatibility.
    "companionSettings": { # Companion Settings # Settings for the companion creatives of video creatives served to this placement.
      "companionsDisabled": True or False, # Whether companions are disabled for this placement.
      "enabledSizes": [ # Allowlist 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.
          "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
          "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
          "id": "A String", # ID of this size. This is a read-only, auto-generated field.
          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
          "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
        },
      ],
      "imageOnly": True or False, # Whether to serve only static images as companions.
      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#companionSetting".
    },
    "durationSeconds": 42, # Duration of a video placement in seconds.
    "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#videoSettings".
    "obaEnabled": True or False, # Whether OBA icons are enabled for this placement.
    "obaSettings": { # Online Behavioral Advertiser icon. # Settings for the OBA icon of video creatives served to this placement. If this object is provided, the creative-level OBA settings will be overridden.
      "iconClickThroughUrl": "A String", # URL to redirect to when an OBA icon is clicked.
      "iconClickTrackingUrl": "A String", # URL to track click when an OBA icon is clicked.
      "iconViewTrackingUrl": "A String", # URL to track view when an OBA icon is clicked.
      "program": "A String", # Identifies the industry initiative that the icon supports. For example, AdChoices.
      "resourceUrl": "A String", # OBA icon resource URL. Campaign Manager only supports image and JavaScript icons. Learn more
      "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # OBA icon size.
        "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
        "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
        "id": "A String", # ID of this size. This is a read-only, auto-generated field.
        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
        "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
      },
      "xPosition": "A String", # OBA icon x coordinate position. Accepted values are left or right.
      "yPosition": "A String", # OBA icon y coordinate position. Accepted values are top or bottom.
    },
    "orientation": "A String", # Orientation of a video placement. If this value is set, placement will return assets matching the specified orientation.
    "publisherSpecificationId": "A String", # Publisher specification ID of a video placement. Possible values are: * `1`, Hulu * `2`, NBC * `3`, CBS * `4`, CBS Desktop * `5`, Discovery * `6`, VEVO HD * `7`, VEVO Vertical * `8`, Fox * `9`, CW Network * `10`, Disney * `11`, IGN * `12`, NFL.com * `13`, Turner Broadcasting * `14`, Tubi on Fox * `15`, Hearst Corporation * `16`, Twitch Desktop * `17`, ABC * `18`, Univision * `19`, MLB.com * `20`, MLB.com Mobile * `21`, MLB.com OTT * `22`, Polsat * `23`, TVN * `24`, Mediaset * `25`, Antena 3 * `26`, Mediamond * `27`, Sky Italia * `28`, Tubi on CBS * `29`, Spotify * `30`, Paramount * `31`, Max
    "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.
      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#skippableSetting".
      "progressOffset": { # Video Offset # Amount of time to play videos served to this placement before counting a view. Applicable when skippable is true.
        "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.
        "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
      },
      "skipOffset": { # Video Offset # Amount of time to play videos served to this placement before the skip button should appear. Applicable when skippable is true.
        "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.
        "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
      },
      "skippable": True or False, # Whether the user can skip creatives served to this placement.
    },
    "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": [ # Allowlist 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".
    },
  },
  "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.
  "wrappingOptOut": True or False, # Whether this placement opts out of tag wrapping.
}

  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.
  "accountId": "A String", # Account ID of this placement. This field can be left blank.
  "activeStatus": "A String", # Whether this placement is active, inactive, archived or permanently archived.
  "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.
  "adServingPlatformId": "A String", # Optional. Ad serving platform ID to identify the ad serving platform used by the placement. Measurement partners can use this field to add ad-server specific macros. Possible values are: * `1`, Adelphic * `2`, Adform * `3`, Adobe * `4`, Amobee * `5`, Basis (Centro) * `6`, Beeswax * `7`, Amazon * `8`, DV360 (DBM) * `9`, Innovid * `10`, MediaMath * `11`, Roku OneView DSP * `12`, TabMo Hawk * `13`, The Trade Desk * `14`, Xandr Invest DSP * `15`, Yahoo DSP * `16`, Zeta Global * `17`, Scaleout * `18`, Bidtellect * `19`, Unicorn * `20`, Teads * `21`, Quantcast * `22`, Cognitiv
  "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.
      "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
      "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
      "id": "A String", # ID of this size. This is a read-only, auto-generated field.
      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
      "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
    },
  ],
  "advertiserId": "A String", # Advertiser ID of this placement. This field can be left blank.
  "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
    "dimensionName": "A String", # The name of the dimension.
    "etag": "A String", # The eTag of this response for caching purposes.
    "id": "A String", # The ID associated with the value if available.
    "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
    "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
    "value": "A String", # The value of the dimension.
  },
  "campaignId": "A String", # Campaign ID of this placement. This field is a required field on insertion.
  "campaignIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
    "dimensionName": "A String", # The name of the dimension.
    "etag": "A String", # The eTag of this response for caching purposes.
    "id": "A String", # The ID associated with the value if available.
    "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
    "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
    "value": "A String", # The value of the dimension.
  },
  "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.
  "contentCategoryId": "A String", # ID of the content category assigned to this placement.
  "conversionDomainOverride": { # Optional. Conversion domain overrides for a placement.
    "conversionDomains": [
      {
        "conversionDomainId": "A String",
        "conversionDomainValue": "A String",
      },
    ],
  },
  "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.
  },
  "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.
  "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
    "dimensionName": "A String", # The name of the dimension.
    "etag": "A String", # The eTag of this response for caching purposes.
    "id": "A String", # The ID associated with the value if available.
    "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
    "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
    "value": "A String", # The value of the dimension.
  },
  "externalId": "A String", # External ID for this placement.
  "id": "A String", # ID of this placement. This is a read-only, auto-generated field.
  "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this placement. This is a read-only, auto-generated field.
    "dimensionName": "A String", # The name of the dimension.
    "etag": "A String", # The eTag of this response for caching purposes.
    "id": "A String", # The ID associated with the value if available.
    "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
    "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
    "value": "A String", # The value of the dimension.
  },
  "keyName": "A String", # Key name of this placement. This is a read-only, auto-generated field.
  "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#placement".
  "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.
  },
  "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this placement.
    "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.
    "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.
  },
  "name": "A String", # Name of this placement.This is a required field and must be less than or equal to 512 characters long.
  "partnerWrappingData": { # Placement tag wrapping # Measurement partner provided settings for a wrapped placement.
    "linkStatus": "A String", # Placement wrapping status.
    "measurementPartner": "A String", # Measurement partner used for wrapping the placement.
    "tagWrappingMode": "A String", # Measurement mode for the wrapped placement.
    "wrappedTag": "A String", # Tag provided by the measurement partner during wrapping.
  },
  "paymentApproved": True or False, # Whether payment was approved for this placement. This is a read-only field relevant only to publisher-paid placements.
  "paymentSource": "A String", # Payment source for this placement. This is a required field that is read-only after insertion.
  "placementGroupId": "A String", # ID of this placement's group, if applicable.
  "placementGroupIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the placement group. This is a read-only, auto-generated field.
    "dimensionName": "A String", # The name of the dimension.
    "etag": "A String", # The eTag of this response for caching purposes.
    "id": "A String", # The ID associated with the value if available.
    "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
    "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
    "value": "A String", # The value of the dimension.
  },
  "placementStrategyId": "A String", # ID of the placement strategy assigned to this placement.
  "pricingSchedule": { # Pricing Schedule # Pricing schedule of this placement. This field is required on insertion, specifically subfields startDate, endDate and pricingType.
    "capCostOption": "A String", # Placement cap cost option.
    "endDate": "A String",
    "flighted": True or False, # Whether this placement is flighted. If true, pricing periods will be computed automatically.
    "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.
    "pricingPeriods": [ # Pricing periods for this placement.
      { # Pricing Period
        "endDate": "A String",
        "pricingComment": "A String", # Comments for this pricing period.
        "rateOrCostNanos": "A String", # Rate or cost of this pricing period in nanos (i.e., multiplied by 1000000000). Acceptable values are 0 to 1000000000000000000, inclusive.
        "startDate": "A String",
        "units": "A String", # Units of this pricing period. Acceptable values are 0 to 10000000000, inclusive.
      },
    ],
    "pricingType": "A String", # Placement pricing type. This field is required on insertion.
    "startDate": "A String",
    "testingStartDate": "A String",
  },
  "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.
  "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.
  },
  "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.
  "siteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
    "dimensionName": "A String", # The name of the dimension.
    "etag": "A String", # The eTag of this response for caching purposes.
    "id": "A String", # The ID associated with the value if available.
    "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
    "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
    "value": "A String", # The value of the dimension.
  },
  "siteServed": True or False, # Optional. Whether the ads in the placement are served by another platform and CM is only used for tracking or they are served by CM. A false value indicates the ad is served by CM.
  "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.
    "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
    "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
    "id": "A String", # ID of this size. This is a read-only, auto-generated field.
    "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
    "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
  },
  "sslRequired": True or False, # Whether creatives assigned to this placement must be SSL-compliant.
  "status": "A String", # Third-party placement status.
  "subaccountId": "A String", # Subaccount ID of this placement. This field can be left blank.
  "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",
  ],
  "tagSetting": { # Tag Settings # Tag settings for this placement.
    "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.
    "includeClickThroughUrls": True or False, # Whether static landing page URLs should be included in the tags. New placements will default to the value set on their site.
    "includeClickTracking": True or False, # Whether click-tracking string should be included in the tags.
    "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.
  },
  "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.
  "videoSettings": { # Video Settings # A collection of settings which affect video creatives served through this placement. Applicable to placements with IN_STREAM_VIDEO compatibility.
    "companionSettings": { # Companion Settings # Settings for the companion creatives of video creatives served to this placement.
      "companionsDisabled": True or False, # Whether companions are disabled for this placement.
      "enabledSizes": [ # Allowlist 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.
          "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
          "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
          "id": "A String", # ID of this size. This is a read-only, auto-generated field.
          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
          "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
        },
      ],
      "imageOnly": True or False, # Whether to serve only static images as companions.
      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#companionSetting".
    },
    "durationSeconds": 42, # Duration of a video placement in seconds.
    "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#videoSettings".
    "obaEnabled": True or False, # Whether OBA icons are enabled for this placement.
    "obaSettings": { # Online Behavioral Advertiser icon. # Settings for the OBA icon of video creatives served to this placement. If this object is provided, the creative-level OBA settings will be overridden.
      "iconClickThroughUrl": "A String", # URL to redirect to when an OBA icon is clicked.
      "iconClickTrackingUrl": "A String", # URL to track click when an OBA icon is clicked.
      "iconViewTrackingUrl": "A String", # URL to track view when an OBA icon is clicked.
      "program": "A String", # Identifies the industry initiative that the icon supports. For example, AdChoices.
      "resourceUrl": "A String", # OBA icon resource URL. Campaign Manager only supports image and JavaScript icons. Learn more
      "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # OBA icon size.
        "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
        "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
        "id": "A String", # ID of this size. This is a read-only, auto-generated field.
        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
        "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
      },
      "xPosition": "A String", # OBA icon x coordinate position. Accepted values are left or right.
      "yPosition": "A String", # OBA icon y coordinate position. Accepted values are top or bottom.
    },
    "orientation": "A String", # Orientation of a video placement. If this value is set, placement will return assets matching the specified orientation.
    "publisherSpecificationId": "A String", # Publisher specification ID of a video placement. Possible values are: * `1`, Hulu * `2`, NBC * `3`, CBS * `4`, CBS Desktop * `5`, Discovery * `6`, VEVO HD * `7`, VEVO Vertical * `8`, Fox * `9`, CW Network * `10`, Disney * `11`, IGN * `12`, NFL.com * `13`, Turner Broadcasting * `14`, Tubi on Fox * `15`, Hearst Corporation * `16`, Twitch Desktop * `17`, ABC * `18`, Univision * `19`, MLB.com * `20`, MLB.com Mobile * `21`, MLB.com OTT * `22`, Polsat * `23`, TVN * `24`, Mediaset * `25`, Antena 3 * `26`, Mediamond * `27`, Sky Italia * `28`, Tubi on CBS * `29`, Spotify * `30`, Paramount * `31`, Max
    "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.
      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#skippableSetting".
      "progressOffset": { # Video Offset # Amount of time to play videos served to this placement before counting a view. Applicable when skippable is true.
        "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.
        "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
      },
      "skipOffset": { # Video Offset # Amount of time to play videos served to this placement before the skip button should appear. Applicable when skippable is true.
        "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.
        "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
      },
      "skippable": True or False, # Whether the user can skip creatives served to this placement.
    },
    "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": [ # Allowlist 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".
    },
  },
  "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.
  "wrappingOptOut": True or False, # Whether this placement opts out of tag wrapping.
}
list(profileId, activeStatus=None, advertiserIds=None, campaignIds=None, compatibilities=None, contentCategoryIds=None, directorySiteIds=None, groupIds=None, ids=None, maxEndDate=None, maxResults=None, maxStartDate=None, minEndDate=None, minStartDate=None, pageToken=None, paymentSource=None, placementStrategyIds=None, pricingTypes=None, searchString=None, siteIds=None, sizeIds=None, sortField=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)
  activeStatus: string, Select only placements with these active statuses. (repeated)
    Allowed values
      PLACEMENT_STATUS_UNKNOWN - 
      PLACEMENT_STATUS_ACTIVE - 
      PLACEMENT_STATUS_INACTIVE - 
      PLACEMENT_STATUS_ARCHIVED - 
      PLACEMENT_STATUS_PERMANENTLY_ARCHIVED - 
  advertiserIds: string, Select only placements that belong to these advertisers. (repeated)
  campaignIds: string, Select only placements that belong to these campaigns. (repeated)
  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 - Deprecated enum value. No longer supported.
      APP_INTERSTITIAL - Deprecated enum value. No longer supported.
      IN_STREAM_VIDEO - 
      IN_STREAM_AUDIO - 
  contentCategoryIds: string, Select only placements that are associated with these content categories. (repeated)
  directorySiteIds: string, Select only placements that are associated with these directory sites. (repeated)
  groupIds: string, Select only placements that belong to these placement groups. (repeated)
  ids: string, Select only placements with these IDs. (repeated)
  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".
  maxResults: integer, Maximum number of results to return.
  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".
  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".
  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".
  pageToken: string, Value of the nextPageToken from the previous result page.
  paymentSource: string, Select only placements with this payment source.
    Allowed values
      PLACEMENT_AGENCY_PAID - 
      PLACEMENT_PUBLISHER_PAID - 
  placementStrategyIds: string, Select only placements that are associated with these placement strategies. (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 - 
  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" .
  siteIds: string, Select only placements that are associated with these sites. (repeated)
  sizeIds: string, Select only placements that are associated with these sizes. (repeated)
  sortField: string, Field by which to sort the list.
    Allowed values
      ID - 
      NAME - 
  sortOrder: string, Order of sorted results.
    Allowed values
      ASCENDING - Ascending order.
      DESCENDING - Descending order.
  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
  "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#placementsListResponse".
  "nextPageToken": "A String", # Pagination token to be used for the next list operation.
  "placements": [ # Placement collection.
    { # Contains properties of a placement.
      "accountId": "A String", # Account ID of this placement. This field can be left blank.
      "activeStatus": "A String", # Whether this placement is active, inactive, archived or permanently archived.
      "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.
      "adServingPlatformId": "A String", # Optional. Ad serving platform ID to identify the ad serving platform used by the placement. Measurement partners can use this field to add ad-server specific macros. Possible values are: * `1`, Adelphic * `2`, Adform * `3`, Adobe * `4`, Amobee * `5`, Basis (Centro) * `6`, Beeswax * `7`, Amazon * `8`, DV360 (DBM) * `9`, Innovid * `10`, MediaMath * `11`, Roku OneView DSP * `12`, TabMo Hawk * `13`, The Trade Desk * `14`, Xandr Invest DSP * `15`, Yahoo DSP * `16`, Zeta Global * `17`, Scaleout * `18`, Bidtellect * `19`, Unicorn * `20`, Teads * `21`, Quantcast * `22`, Cognitiv
      "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.
          "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
          "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
          "id": "A String", # ID of this size. This is a read-only, auto-generated field.
          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
          "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
        },
      ],
      "advertiserId": "A String", # Advertiser ID of this placement. This field can be left blank.
      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
        "dimensionName": "A String", # The name of the dimension.
        "etag": "A String", # The eTag of this response for caching purposes.
        "id": "A String", # The ID associated with the value if available.
        "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
        "value": "A String", # The value of the dimension.
      },
      "campaignId": "A String", # Campaign ID of this placement. This field is a required field on insertion.
      "campaignIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
        "dimensionName": "A String", # The name of the dimension.
        "etag": "A String", # The eTag of this response for caching purposes.
        "id": "A String", # The ID associated with the value if available.
        "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
        "value": "A String", # The value of the dimension.
      },
      "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.
      "contentCategoryId": "A String", # ID of the content category assigned to this placement.
      "conversionDomainOverride": { # Optional. Conversion domain overrides for a placement.
        "conversionDomains": [
          {
            "conversionDomainId": "A String",
            "conversionDomainValue": "A String",
          },
        ],
      },
      "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.
      },
      "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.
      "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
        "dimensionName": "A String", # The name of the dimension.
        "etag": "A String", # The eTag of this response for caching purposes.
        "id": "A String", # The ID associated with the value if available.
        "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
        "value": "A String", # The value of the dimension.
      },
      "externalId": "A String", # External ID for this placement.
      "id": "A String", # ID of this placement. This is a read-only, auto-generated field.
      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this placement. This is a read-only, auto-generated field.
        "dimensionName": "A String", # The name of the dimension.
        "etag": "A String", # The eTag of this response for caching purposes.
        "id": "A String", # The ID associated with the value if available.
        "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
        "value": "A String", # The value of the dimension.
      },
      "keyName": "A String", # Key name of this placement. This is a read-only, auto-generated field.
      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#placement".
      "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.
      },
      "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this placement.
        "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.
        "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.
      },
      "name": "A String", # Name of this placement.This is a required field and must be less than or equal to 512 characters long.
      "partnerWrappingData": { # Placement tag wrapping # Measurement partner provided settings for a wrapped placement.
        "linkStatus": "A String", # Placement wrapping status.
        "measurementPartner": "A String", # Measurement partner used for wrapping the placement.
        "tagWrappingMode": "A String", # Measurement mode for the wrapped placement.
        "wrappedTag": "A String", # Tag provided by the measurement partner during wrapping.
      },
      "paymentApproved": True or False, # Whether payment was approved for this placement. This is a read-only field relevant only to publisher-paid placements.
      "paymentSource": "A String", # Payment source for this placement. This is a required field that is read-only after insertion.
      "placementGroupId": "A String", # ID of this placement's group, if applicable.
      "placementGroupIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the placement group. This is a read-only, auto-generated field.
        "dimensionName": "A String", # The name of the dimension.
        "etag": "A String", # The eTag of this response for caching purposes.
        "id": "A String", # The ID associated with the value if available.
        "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
        "value": "A String", # The value of the dimension.
      },
      "placementStrategyId": "A String", # ID of the placement strategy assigned to this placement.
      "pricingSchedule": { # Pricing Schedule # Pricing schedule of this placement. This field is required on insertion, specifically subfields startDate, endDate and pricingType.
        "capCostOption": "A String", # Placement cap cost option.
        "endDate": "A String",
        "flighted": True or False, # Whether this placement is flighted. If true, pricing periods will be computed automatically.
        "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.
        "pricingPeriods": [ # Pricing periods for this placement.
          { # Pricing Period
            "endDate": "A String",
            "pricingComment": "A String", # Comments for this pricing period.
            "rateOrCostNanos": "A String", # Rate or cost of this pricing period in nanos (i.e., multiplied by 1000000000). Acceptable values are 0 to 1000000000000000000, inclusive.
            "startDate": "A String",
            "units": "A String", # Units of this pricing period. Acceptable values are 0 to 10000000000, inclusive.
          },
        ],
        "pricingType": "A String", # Placement pricing type. This field is required on insertion.
        "startDate": "A String",
        "testingStartDate": "A String",
      },
      "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.
      "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.
      },
      "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.
      "siteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
        "dimensionName": "A String", # The name of the dimension.
        "etag": "A String", # The eTag of this response for caching purposes.
        "id": "A String", # The ID associated with the value if available.
        "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
        "value": "A String", # The value of the dimension.
      },
      "siteServed": True or False, # Optional. Whether the ads in the placement are served by another platform and CM is only used for tracking or they are served by CM. A false value indicates the ad is served by CM.
      "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.
        "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
        "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
        "id": "A String", # ID of this size. This is a read-only, auto-generated field.
        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
        "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
      },
      "sslRequired": True or False, # Whether creatives assigned to this placement must be SSL-compliant.
      "status": "A String", # Third-party placement status.
      "subaccountId": "A String", # Subaccount ID of this placement. This field can be left blank.
      "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",
      ],
      "tagSetting": { # Tag Settings # Tag settings for this placement.
        "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.
        "includeClickThroughUrls": True or False, # Whether static landing page URLs should be included in the tags. New placements will default to the value set on their site.
        "includeClickTracking": True or False, # Whether click-tracking string should be included in the tags.
        "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.
      },
      "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.
      "videoSettings": { # Video Settings # A collection of settings which affect video creatives served through this placement. Applicable to placements with IN_STREAM_VIDEO compatibility.
        "companionSettings": { # Companion Settings # Settings for the companion creatives of video creatives served to this placement.
          "companionsDisabled": True or False, # Whether companions are disabled for this placement.
          "enabledSizes": [ # Allowlist 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.
              "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
              "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
              "id": "A String", # ID of this size. This is a read-only, auto-generated field.
              "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
              "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
            },
          ],
          "imageOnly": True or False, # Whether to serve only static images as companions.
          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#companionSetting".
        },
        "durationSeconds": 42, # Duration of a video placement in seconds.
        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#videoSettings".
        "obaEnabled": True or False, # Whether OBA icons are enabled for this placement.
        "obaSettings": { # Online Behavioral Advertiser icon. # Settings for the OBA icon of video creatives served to this placement. If this object is provided, the creative-level OBA settings will be overridden.
          "iconClickThroughUrl": "A String", # URL to redirect to when an OBA icon is clicked.
          "iconClickTrackingUrl": "A String", # URL to track click when an OBA icon is clicked.
          "iconViewTrackingUrl": "A String", # URL to track view when an OBA icon is clicked.
          "program": "A String", # Identifies the industry initiative that the icon supports. For example, AdChoices.
          "resourceUrl": "A String", # OBA icon resource URL. Campaign Manager only supports image and JavaScript icons. Learn more
          "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # OBA icon size.
            "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
            "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
            "id": "A String", # ID of this size. This is a read-only, auto-generated field.
            "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
            "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
          },
          "xPosition": "A String", # OBA icon x coordinate position. Accepted values are left or right.
          "yPosition": "A String", # OBA icon y coordinate position. Accepted values are top or bottom.
        },
        "orientation": "A String", # Orientation of a video placement. If this value is set, placement will return assets matching the specified orientation.
        "publisherSpecificationId": "A String", # Publisher specification ID of a video placement. Possible values are: * `1`, Hulu * `2`, NBC * `3`, CBS * `4`, CBS Desktop * `5`, Discovery * `6`, VEVO HD * `7`, VEVO Vertical * `8`, Fox * `9`, CW Network * `10`, Disney * `11`, IGN * `12`, NFL.com * `13`, Turner Broadcasting * `14`, Tubi on Fox * `15`, Hearst Corporation * `16`, Twitch Desktop * `17`, ABC * `18`, Univision * `19`, MLB.com * `20`, MLB.com Mobile * `21`, MLB.com OTT * `22`, Polsat * `23`, TVN * `24`, Mediaset * `25`, Antena 3 * `26`, Mediamond * `27`, Sky Italia * `28`, Tubi on CBS * `29`, Spotify * `30`, Paramount * `31`, Max
        "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.
          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#skippableSetting".
          "progressOffset": { # Video Offset # Amount of time to play videos served to this placement before counting a view. Applicable when skippable is true.
            "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.
            "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
          },
          "skipOffset": { # Video Offset # Amount of time to play videos served to this placement before the skip button should appear. Applicable when skippable is true.
            "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.
            "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
          },
          "skippable": True or False, # Whether the user can skip creatives served to this placement.
        },
        "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": [ # Allowlist 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".
        },
      },
      "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.
      "wrappingOptOut": True or False, # Whether this placement opts out of tag wrapping.
    },
  ],
}
list_next()
Retrieves the next page of results.

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

        Returns:
          A request object that you can call 'execute()' on to request the next
          page. Returns None if there are no more items in the collection.
        
patch(profileId, id, body=None, x__xgafv=None)
Updates an existing placement. This method supports patch semantics.

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

{ # Contains properties of a placement.
  "accountId": "A String", # Account ID of this placement. This field can be left blank.
  "activeStatus": "A String", # Whether this placement is active, inactive, archived or permanently archived.
  "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.
  "adServingPlatformId": "A String", # Optional. Ad serving platform ID to identify the ad serving platform used by the placement. Measurement partners can use this field to add ad-server specific macros. Possible values are: * `1`, Adelphic * `2`, Adform * `3`, Adobe * `4`, Amobee * `5`, Basis (Centro) * `6`, Beeswax * `7`, Amazon * `8`, DV360 (DBM) * `9`, Innovid * `10`, MediaMath * `11`, Roku OneView DSP * `12`, TabMo Hawk * `13`, The Trade Desk * `14`, Xandr Invest DSP * `15`, Yahoo DSP * `16`, Zeta Global * `17`, Scaleout * `18`, Bidtellect * `19`, Unicorn * `20`, Teads * `21`, Quantcast * `22`, Cognitiv
  "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.
      "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
      "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
      "id": "A String", # ID of this size. This is a read-only, auto-generated field.
      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
      "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
    },
  ],
  "advertiserId": "A String", # Advertiser ID of this placement. This field can be left blank.
  "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
    "dimensionName": "A String", # The name of the dimension.
    "etag": "A String", # The eTag of this response for caching purposes.
    "id": "A String", # The ID associated with the value if available.
    "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
    "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
    "value": "A String", # The value of the dimension.
  },
  "campaignId": "A String", # Campaign ID of this placement. This field is a required field on insertion.
  "campaignIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
    "dimensionName": "A String", # The name of the dimension.
    "etag": "A String", # The eTag of this response for caching purposes.
    "id": "A String", # The ID associated with the value if available.
    "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
    "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
    "value": "A String", # The value of the dimension.
  },
  "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.
  "contentCategoryId": "A String", # ID of the content category assigned to this placement.
  "conversionDomainOverride": { # Optional. Conversion domain overrides for a placement.
    "conversionDomains": [
      {
        "conversionDomainId": "A String",
        "conversionDomainValue": "A String",
      },
    ],
  },
  "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.
  },
  "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.
  "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
    "dimensionName": "A String", # The name of the dimension.
    "etag": "A String", # The eTag of this response for caching purposes.
    "id": "A String", # The ID associated with the value if available.
    "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
    "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
    "value": "A String", # The value of the dimension.
  },
  "externalId": "A String", # External ID for this placement.
  "id": "A String", # ID of this placement. This is a read-only, auto-generated field.
  "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this placement. This is a read-only, auto-generated field.
    "dimensionName": "A String", # The name of the dimension.
    "etag": "A String", # The eTag of this response for caching purposes.
    "id": "A String", # The ID associated with the value if available.
    "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
    "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
    "value": "A String", # The value of the dimension.
  },
  "keyName": "A String", # Key name of this placement. This is a read-only, auto-generated field.
  "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#placement".
  "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.
  },
  "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this placement.
    "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.
    "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.
  },
  "name": "A String", # Name of this placement.This is a required field and must be less than or equal to 512 characters long.
  "partnerWrappingData": { # Placement tag wrapping # Measurement partner provided settings for a wrapped placement.
    "linkStatus": "A String", # Placement wrapping status.
    "measurementPartner": "A String", # Measurement partner used for wrapping the placement.
    "tagWrappingMode": "A String", # Measurement mode for the wrapped placement.
    "wrappedTag": "A String", # Tag provided by the measurement partner during wrapping.
  },
  "paymentApproved": True or False, # Whether payment was approved for this placement. This is a read-only field relevant only to publisher-paid placements.
  "paymentSource": "A String", # Payment source for this placement. This is a required field that is read-only after insertion.
  "placementGroupId": "A String", # ID of this placement's group, if applicable.
  "placementGroupIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the placement group. This is a read-only, auto-generated field.
    "dimensionName": "A String", # The name of the dimension.
    "etag": "A String", # The eTag of this response for caching purposes.
    "id": "A String", # The ID associated with the value if available.
    "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
    "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
    "value": "A String", # The value of the dimension.
  },
  "placementStrategyId": "A String", # ID of the placement strategy assigned to this placement.
  "pricingSchedule": { # Pricing Schedule # Pricing schedule of this placement. This field is required on insertion, specifically subfields startDate, endDate and pricingType.
    "capCostOption": "A String", # Placement cap cost option.
    "endDate": "A String",
    "flighted": True or False, # Whether this placement is flighted. If true, pricing periods will be computed automatically.
    "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.
    "pricingPeriods": [ # Pricing periods for this placement.
      { # Pricing Period
        "endDate": "A String",
        "pricingComment": "A String", # Comments for this pricing period.
        "rateOrCostNanos": "A String", # Rate or cost of this pricing period in nanos (i.e., multiplied by 1000000000). Acceptable values are 0 to 1000000000000000000, inclusive.
        "startDate": "A String",
        "units": "A String", # Units of this pricing period. Acceptable values are 0 to 10000000000, inclusive.
      },
    ],
    "pricingType": "A String", # Placement pricing type. This field is required on insertion.
    "startDate": "A String",
    "testingStartDate": "A String",
  },
  "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.
  "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.
  },
  "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.
  "siteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
    "dimensionName": "A String", # The name of the dimension.
    "etag": "A String", # The eTag of this response for caching purposes.
    "id": "A String", # The ID associated with the value if available.
    "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
    "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
    "value": "A String", # The value of the dimension.
  },
  "siteServed": True or False, # Optional. Whether the ads in the placement are served by another platform and CM is only used for tracking or they are served by CM. A false value indicates the ad is served by CM.
  "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.
    "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
    "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
    "id": "A String", # ID of this size. This is a read-only, auto-generated field.
    "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
    "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
  },
  "sslRequired": True or False, # Whether creatives assigned to this placement must be SSL-compliant.
  "status": "A String", # Third-party placement status.
  "subaccountId": "A String", # Subaccount ID of this placement. This field can be left blank.
  "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",
  ],
  "tagSetting": { # Tag Settings # Tag settings for this placement.
    "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.
    "includeClickThroughUrls": True or False, # Whether static landing page URLs should be included in the tags. New placements will default to the value set on their site.
    "includeClickTracking": True or False, # Whether click-tracking string should be included in the tags.
    "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.
  },
  "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.
  "videoSettings": { # Video Settings # A collection of settings which affect video creatives served through this placement. Applicable to placements with IN_STREAM_VIDEO compatibility.
    "companionSettings": { # Companion Settings # Settings for the companion creatives of video creatives served to this placement.
      "companionsDisabled": True or False, # Whether companions are disabled for this placement.
      "enabledSizes": [ # Allowlist 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.
          "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
          "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
          "id": "A String", # ID of this size. This is a read-only, auto-generated field.
          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
          "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
        },
      ],
      "imageOnly": True or False, # Whether to serve only static images as companions.
      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#companionSetting".
    },
    "durationSeconds": 42, # Duration of a video placement in seconds.
    "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#videoSettings".
    "obaEnabled": True or False, # Whether OBA icons are enabled for this placement.
    "obaSettings": { # Online Behavioral Advertiser icon. # Settings for the OBA icon of video creatives served to this placement. If this object is provided, the creative-level OBA settings will be overridden.
      "iconClickThroughUrl": "A String", # URL to redirect to when an OBA icon is clicked.
      "iconClickTrackingUrl": "A String", # URL to track click when an OBA icon is clicked.
      "iconViewTrackingUrl": "A String", # URL to track view when an OBA icon is clicked.
      "program": "A String", # Identifies the industry initiative that the icon supports. For example, AdChoices.
      "resourceUrl": "A String", # OBA icon resource URL. Campaign Manager only supports image and JavaScript icons. Learn more
      "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # OBA icon size.
        "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
        "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
        "id": "A String", # ID of this size. This is a read-only, auto-generated field.
        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
        "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
      },
      "xPosition": "A String", # OBA icon x coordinate position. Accepted values are left or right.
      "yPosition": "A String", # OBA icon y coordinate position. Accepted values are top or bottom.
    },
    "orientation": "A String", # Orientation of a video placement. If this value is set, placement will return assets matching the specified orientation.
    "publisherSpecificationId": "A String", # Publisher specification ID of a video placement. Possible values are: * `1`, Hulu * `2`, NBC * `3`, CBS * `4`, CBS Desktop * `5`, Discovery * `6`, VEVO HD * `7`, VEVO Vertical * `8`, Fox * `9`, CW Network * `10`, Disney * `11`, IGN * `12`, NFL.com * `13`, Turner Broadcasting * `14`, Tubi on Fox * `15`, Hearst Corporation * `16`, Twitch Desktop * `17`, ABC * `18`, Univision * `19`, MLB.com * `20`, MLB.com Mobile * `21`, MLB.com OTT * `22`, Polsat * `23`, TVN * `24`, Mediaset * `25`, Antena 3 * `26`, Mediamond * `27`, Sky Italia * `28`, Tubi on CBS * `29`, Spotify * `30`, Paramount * `31`, Max
    "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.
      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#skippableSetting".
      "progressOffset": { # Video Offset # Amount of time to play videos served to this placement before counting a view. Applicable when skippable is true.
        "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.
        "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
      },
      "skipOffset": { # Video Offset # Amount of time to play videos served to this placement before the skip button should appear. Applicable when skippable is true.
        "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.
        "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
      },
      "skippable": True or False, # Whether the user can skip creatives served to this placement.
    },
    "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": [ # Allowlist 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".
    },
  },
  "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.
  "wrappingOptOut": True or False, # Whether this placement opts out of tag wrapping.
}

  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.
  "accountId": "A String", # Account ID of this placement. This field can be left blank.
  "activeStatus": "A String", # Whether this placement is active, inactive, archived or permanently archived.
  "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.
  "adServingPlatformId": "A String", # Optional. Ad serving platform ID to identify the ad serving platform used by the placement. Measurement partners can use this field to add ad-server specific macros. Possible values are: * `1`, Adelphic * `2`, Adform * `3`, Adobe * `4`, Amobee * `5`, Basis (Centro) * `6`, Beeswax * `7`, Amazon * `8`, DV360 (DBM) * `9`, Innovid * `10`, MediaMath * `11`, Roku OneView DSP * `12`, TabMo Hawk * `13`, The Trade Desk * `14`, Xandr Invest DSP * `15`, Yahoo DSP * `16`, Zeta Global * `17`, Scaleout * `18`, Bidtellect * `19`, Unicorn * `20`, Teads * `21`, Quantcast * `22`, Cognitiv
  "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.
      "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
      "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
      "id": "A String", # ID of this size. This is a read-only, auto-generated field.
      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
      "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
    },
  ],
  "advertiserId": "A String", # Advertiser ID of this placement. This field can be left blank.
  "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
    "dimensionName": "A String", # The name of the dimension.
    "etag": "A String", # The eTag of this response for caching purposes.
    "id": "A String", # The ID associated with the value if available.
    "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
    "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
    "value": "A String", # The value of the dimension.
  },
  "campaignId": "A String", # Campaign ID of this placement. This field is a required field on insertion.
  "campaignIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
    "dimensionName": "A String", # The name of the dimension.
    "etag": "A String", # The eTag of this response for caching purposes.
    "id": "A String", # The ID associated with the value if available.
    "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
    "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
    "value": "A String", # The value of the dimension.
  },
  "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.
  "contentCategoryId": "A String", # ID of the content category assigned to this placement.
  "conversionDomainOverride": { # Optional. Conversion domain overrides for a placement.
    "conversionDomains": [
      {
        "conversionDomainId": "A String",
        "conversionDomainValue": "A String",
      },
    ],
  },
  "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.
  },
  "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.
  "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
    "dimensionName": "A String", # The name of the dimension.
    "etag": "A String", # The eTag of this response for caching purposes.
    "id": "A String", # The ID associated with the value if available.
    "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
    "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
    "value": "A String", # The value of the dimension.
  },
  "externalId": "A String", # External ID for this placement.
  "id": "A String", # ID of this placement. This is a read-only, auto-generated field.
  "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this placement. This is a read-only, auto-generated field.
    "dimensionName": "A String", # The name of the dimension.
    "etag": "A String", # The eTag of this response for caching purposes.
    "id": "A String", # The ID associated with the value if available.
    "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
    "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
    "value": "A String", # The value of the dimension.
  },
  "keyName": "A String", # Key name of this placement. This is a read-only, auto-generated field.
  "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#placement".
  "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.
  },
  "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this placement.
    "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.
    "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.
  },
  "name": "A String", # Name of this placement.This is a required field and must be less than or equal to 512 characters long.
  "partnerWrappingData": { # Placement tag wrapping # Measurement partner provided settings for a wrapped placement.
    "linkStatus": "A String", # Placement wrapping status.
    "measurementPartner": "A String", # Measurement partner used for wrapping the placement.
    "tagWrappingMode": "A String", # Measurement mode for the wrapped placement.
    "wrappedTag": "A String", # Tag provided by the measurement partner during wrapping.
  },
  "paymentApproved": True or False, # Whether payment was approved for this placement. This is a read-only field relevant only to publisher-paid placements.
  "paymentSource": "A String", # Payment source for this placement. This is a required field that is read-only after insertion.
  "placementGroupId": "A String", # ID of this placement's group, if applicable.
  "placementGroupIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the placement group. This is a read-only, auto-generated field.
    "dimensionName": "A String", # The name of the dimension.
    "etag": "A String", # The eTag of this response for caching purposes.
    "id": "A String", # The ID associated with the value if available.
    "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
    "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
    "value": "A String", # The value of the dimension.
  },
  "placementStrategyId": "A String", # ID of the placement strategy assigned to this placement.
  "pricingSchedule": { # Pricing Schedule # Pricing schedule of this placement. This field is required on insertion, specifically subfields startDate, endDate and pricingType.
    "capCostOption": "A String", # Placement cap cost option.
    "endDate": "A String",
    "flighted": True or False, # Whether this placement is flighted. If true, pricing periods will be computed automatically.
    "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.
    "pricingPeriods": [ # Pricing periods for this placement.
      { # Pricing Period
        "endDate": "A String",
        "pricingComment": "A String", # Comments for this pricing period.
        "rateOrCostNanos": "A String", # Rate or cost of this pricing period in nanos (i.e., multiplied by 1000000000). Acceptable values are 0 to 1000000000000000000, inclusive.
        "startDate": "A String",
        "units": "A String", # Units of this pricing period. Acceptable values are 0 to 10000000000, inclusive.
      },
    ],
    "pricingType": "A String", # Placement pricing type. This field is required on insertion.
    "startDate": "A String",
    "testingStartDate": "A String",
  },
  "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.
  "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.
  },
  "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.
  "siteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
    "dimensionName": "A String", # The name of the dimension.
    "etag": "A String", # The eTag of this response for caching purposes.
    "id": "A String", # The ID associated with the value if available.
    "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
    "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
    "value": "A String", # The value of the dimension.
  },
  "siteServed": True or False, # Optional. Whether the ads in the placement are served by another platform and CM is only used for tracking or they are served by CM. A false value indicates the ad is served by CM.
  "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.
    "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
    "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
    "id": "A String", # ID of this size. This is a read-only, auto-generated field.
    "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
    "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
  },
  "sslRequired": True or False, # Whether creatives assigned to this placement must be SSL-compliant.
  "status": "A String", # Third-party placement status.
  "subaccountId": "A String", # Subaccount ID of this placement. This field can be left blank.
  "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",
  ],
  "tagSetting": { # Tag Settings # Tag settings for this placement.
    "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.
    "includeClickThroughUrls": True or False, # Whether static landing page URLs should be included in the tags. New placements will default to the value set on their site.
    "includeClickTracking": True or False, # Whether click-tracking string should be included in the tags.
    "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.
  },
  "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.
  "videoSettings": { # Video Settings # A collection of settings which affect video creatives served through this placement. Applicable to placements with IN_STREAM_VIDEO compatibility.
    "companionSettings": { # Companion Settings # Settings for the companion creatives of video creatives served to this placement.
      "companionsDisabled": True or False, # Whether companions are disabled for this placement.
      "enabledSizes": [ # Allowlist 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.
          "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
          "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
          "id": "A String", # ID of this size. This is a read-only, auto-generated field.
          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
          "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
        },
      ],
      "imageOnly": True or False, # Whether to serve only static images as companions.
      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#companionSetting".
    },
    "durationSeconds": 42, # Duration of a video placement in seconds.
    "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#videoSettings".
    "obaEnabled": True or False, # Whether OBA icons are enabled for this placement.
    "obaSettings": { # Online Behavioral Advertiser icon. # Settings for the OBA icon of video creatives served to this placement. If this object is provided, the creative-level OBA settings will be overridden.
      "iconClickThroughUrl": "A String", # URL to redirect to when an OBA icon is clicked.
      "iconClickTrackingUrl": "A String", # URL to track click when an OBA icon is clicked.
      "iconViewTrackingUrl": "A String", # URL to track view when an OBA icon is clicked.
      "program": "A String", # Identifies the industry initiative that the icon supports. For example, AdChoices.
      "resourceUrl": "A String", # OBA icon resource URL. Campaign Manager only supports image and JavaScript icons. Learn more
      "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # OBA icon size.
        "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
        "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
        "id": "A String", # ID of this size. This is a read-only, auto-generated field.
        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
        "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
      },
      "xPosition": "A String", # OBA icon x coordinate position. Accepted values are left or right.
      "yPosition": "A String", # OBA icon y coordinate position. Accepted values are top or bottom.
    },
    "orientation": "A String", # Orientation of a video placement. If this value is set, placement will return assets matching the specified orientation.
    "publisherSpecificationId": "A String", # Publisher specification ID of a video placement. Possible values are: * `1`, Hulu * `2`, NBC * `3`, CBS * `4`, CBS Desktop * `5`, Discovery * `6`, VEVO HD * `7`, VEVO Vertical * `8`, Fox * `9`, CW Network * `10`, Disney * `11`, IGN * `12`, NFL.com * `13`, Turner Broadcasting * `14`, Tubi on Fox * `15`, Hearst Corporation * `16`, Twitch Desktop * `17`, ABC * `18`, Univision * `19`, MLB.com * `20`, MLB.com Mobile * `21`, MLB.com OTT * `22`, Polsat * `23`, TVN * `24`, Mediaset * `25`, Antena 3 * `26`, Mediamond * `27`, Sky Italia * `28`, Tubi on CBS * `29`, Spotify * `30`, Paramount * `31`, Max
    "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.
      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#skippableSetting".
      "progressOffset": { # Video Offset # Amount of time to play videos served to this placement before counting a view. Applicable when skippable is true.
        "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.
        "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
      },
      "skipOffset": { # Video Offset # Amount of time to play videos served to this placement before the skip button should appear. Applicable when skippable is true.
        "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.
        "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
      },
      "skippable": True or False, # Whether the user can skip creatives served to this placement.
    },
    "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": [ # Allowlist 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".
    },
  },
  "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.
  "wrappingOptOut": True or False, # Whether this placement opts out of tag wrapping.
}
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.
  "accountId": "A String", # Account ID of this placement. This field can be left blank.
  "activeStatus": "A String", # Whether this placement is active, inactive, archived or permanently archived.
  "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.
  "adServingPlatformId": "A String", # Optional. Ad serving platform ID to identify the ad serving platform used by the placement. Measurement partners can use this field to add ad-server specific macros. Possible values are: * `1`, Adelphic * `2`, Adform * `3`, Adobe * `4`, Amobee * `5`, Basis (Centro) * `6`, Beeswax * `7`, Amazon * `8`, DV360 (DBM) * `9`, Innovid * `10`, MediaMath * `11`, Roku OneView DSP * `12`, TabMo Hawk * `13`, The Trade Desk * `14`, Xandr Invest DSP * `15`, Yahoo DSP * `16`, Zeta Global * `17`, Scaleout * `18`, Bidtellect * `19`, Unicorn * `20`, Teads * `21`, Quantcast * `22`, Cognitiv
  "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.
      "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
      "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
      "id": "A String", # ID of this size. This is a read-only, auto-generated field.
      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
      "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
    },
  ],
  "advertiserId": "A String", # Advertiser ID of this placement. This field can be left blank.
  "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
    "dimensionName": "A String", # The name of the dimension.
    "etag": "A String", # The eTag of this response for caching purposes.
    "id": "A String", # The ID associated with the value if available.
    "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
    "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
    "value": "A String", # The value of the dimension.
  },
  "campaignId": "A String", # Campaign ID of this placement. This field is a required field on insertion.
  "campaignIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
    "dimensionName": "A String", # The name of the dimension.
    "etag": "A String", # The eTag of this response for caching purposes.
    "id": "A String", # The ID associated with the value if available.
    "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
    "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
    "value": "A String", # The value of the dimension.
  },
  "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.
  "contentCategoryId": "A String", # ID of the content category assigned to this placement.
  "conversionDomainOverride": { # Optional. Conversion domain overrides for a placement.
    "conversionDomains": [
      {
        "conversionDomainId": "A String",
        "conversionDomainValue": "A String",
      },
    ],
  },
  "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.
  },
  "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.
  "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
    "dimensionName": "A String", # The name of the dimension.
    "etag": "A String", # The eTag of this response for caching purposes.
    "id": "A String", # The ID associated with the value if available.
    "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
    "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
    "value": "A String", # The value of the dimension.
  },
  "externalId": "A String", # External ID for this placement.
  "id": "A String", # ID of this placement. This is a read-only, auto-generated field.
  "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this placement. This is a read-only, auto-generated field.
    "dimensionName": "A String", # The name of the dimension.
    "etag": "A String", # The eTag of this response for caching purposes.
    "id": "A String", # The ID associated with the value if available.
    "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
    "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
    "value": "A String", # The value of the dimension.
  },
  "keyName": "A String", # Key name of this placement. This is a read-only, auto-generated field.
  "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#placement".
  "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.
  },
  "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this placement.
    "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.
    "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.
  },
  "name": "A String", # Name of this placement.This is a required field and must be less than or equal to 512 characters long.
  "partnerWrappingData": { # Placement tag wrapping # Measurement partner provided settings for a wrapped placement.
    "linkStatus": "A String", # Placement wrapping status.
    "measurementPartner": "A String", # Measurement partner used for wrapping the placement.
    "tagWrappingMode": "A String", # Measurement mode for the wrapped placement.
    "wrappedTag": "A String", # Tag provided by the measurement partner during wrapping.
  },
  "paymentApproved": True or False, # Whether payment was approved for this placement. This is a read-only field relevant only to publisher-paid placements.
  "paymentSource": "A String", # Payment source for this placement. This is a required field that is read-only after insertion.
  "placementGroupId": "A String", # ID of this placement's group, if applicable.
  "placementGroupIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the placement group. This is a read-only, auto-generated field.
    "dimensionName": "A String", # The name of the dimension.
    "etag": "A String", # The eTag of this response for caching purposes.
    "id": "A String", # The ID associated with the value if available.
    "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
    "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
    "value": "A String", # The value of the dimension.
  },
  "placementStrategyId": "A String", # ID of the placement strategy assigned to this placement.
  "pricingSchedule": { # Pricing Schedule # Pricing schedule of this placement. This field is required on insertion, specifically subfields startDate, endDate and pricingType.
    "capCostOption": "A String", # Placement cap cost option.
    "endDate": "A String",
    "flighted": True or False, # Whether this placement is flighted. If true, pricing periods will be computed automatically.
    "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.
    "pricingPeriods": [ # Pricing periods for this placement.
      { # Pricing Period
        "endDate": "A String",
        "pricingComment": "A String", # Comments for this pricing period.
        "rateOrCostNanos": "A String", # Rate or cost of this pricing period in nanos (i.e., multiplied by 1000000000). Acceptable values are 0 to 1000000000000000000, inclusive.
        "startDate": "A String",
        "units": "A String", # Units of this pricing period. Acceptable values are 0 to 10000000000, inclusive.
      },
    ],
    "pricingType": "A String", # Placement pricing type. This field is required on insertion.
    "startDate": "A String",
    "testingStartDate": "A String",
  },
  "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.
  "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.
  },
  "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.
  "siteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
    "dimensionName": "A String", # The name of the dimension.
    "etag": "A String", # The eTag of this response for caching purposes.
    "id": "A String", # The ID associated with the value if available.
    "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
    "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
    "value": "A String", # The value of the dimension.
  },
  "siteServed": True or False, # Optional. Whether the ads in the placement are served by another platform and CM is only used for tracking or they are served by CM. A false value indicates the ad is served by CM.
  "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.
    "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
    "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
    "id": "A String", # ID of this size. This is a read-only, auto-generated field.
    "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
    "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
  },
  "sslRequired": True or False, # Whether creatives assigned to this placement must be SSL-compliant.
  "status": "A String", # Third-party placement status.
  "subaccountId": "A String", # Subaccount ID of this placement. This field can be left blank.
  "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",
  ],
  "tagSetting": { # Tag Settings # Tag settings for this placement.
    "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.
    "includeClickThroughUrls": True or False, # Whether static landing page URLs should be included in the tags. New placements will default to the value set on their site.
    "includeClickTracking": True or False, # Whether click-tracking string should be included in the tags.
    "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.
  },
  "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.
  "videoSettings": { # Video Settings # A collection of settings which affect video creatives served through this placement. Applicable to placements with IN_STREAM_VIDEO compatibility.
    "companionSettings": { # Companion Settings # Settings for the companion creatives of video creatives served to this placement.
      "companionsDisabled": True or False, # Whether companions are disabled for this placement.
      "enabledSizes": [ # Allowlist 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.
          "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
          "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
          "id": "A String", # ID of this size. This is a read-only, auto-generated field.
          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
          "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
        },
      ],
      "imageOnly": True or False, # Whether to serve only static images as companions.
      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#companionSetting".
    },
    "durationSeconds": 42, # Duration of a video placement in seconds.
    "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#videoSettings".
    "obaEnabled": True or False, # Whether OBA icons are enabled for this placement.
    "obaSettings": { # Online Behavioral Advertiser icon. # Settings for the OBA icon of video creatives served to this placement. If this object is provided, the creative-level OBA settings will be overridden.
      "iconClickThroughUrl": "A String", # URL to redirect to when an OBA icon is clicked.
      "iconClickTrackingUrl": "A String", # URL to track click when an OBA icon is clicked.
      "iconViewTrackingUrl": "A String", # URL to track view when an OBA icon is clicked.
      "program": "A String", # Identifies the industry initiative that the icon supports. For example, AdChoices.
      "resourceUrl": "A String", # OBA icon resource URL. Campaign Manager only supports image and JavaScript icons. Learn more
      "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # OBA icon size.
        "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
        "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
        "id": "A String", # ID of this size. This is a read-only, auto-generated field.
        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
        "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
      },
      "xPosition": "A String", # OBA icon x coordinate position. Accepted values are left or right.
      "yPosition": "A String", # OBA icon y coordinate position. Accepted values are top or bottom.
    },
    "orientation": "A String", # Orientation of a video placement. If this value is set, placement will return assets matching the specified orientation.
    "publisherSpecificationId": "A String", # Publisher specification ID of a video placement. Possible values are: * `1`, Hulu * `2`, NBC * `3`, CBS * `4`, CBS Desktop * `5`, Discovery * `6`, VEVO HD * `7`, VEVO Vertical * `8`, Fox * `9`, CW Network * `10`, Disney * `11`, IGN * `12`, NFL.com * `13`, Turner Broadcasting * `14`, Tubi on Fox * `15`, Hearst Corporation * `16`, Twitch Desktop * `17`, ABC * `18`, Univision * `19`, MLB.com * `20`, MLB.com Mobile * `21`, MLB.com OTT * `22`, Polsat * `23`, TVN * `24`, Mediaset * `25`, Antena 3 * `26`, Mediamond * `27`, Sky Italia * `28`, Tubi on CBS * `29`, Spotify * `30`, Paramount * `31`, Max
    "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.
      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#skippableSetting".
      "progressOffset": { # Video Offset # Amount of time to play videos served to this placement before counting a view. Applicable when skippable is true.
        "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.
        "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
      },
      "skipOffset": { # Video Offset # Amount of time to play videos served to this placement before the skip button should appear. Applicable when skippable is true.
        "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.
        "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
      },
      "skippable": True or False, # Whether the user can skip creatives served to this placement.
    },
    "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": [ # Allowlist 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".
    },
  },
  "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.
  "wrappingOptOut": True or False, # Whether this placement opts out of tag wrapping.
}

  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.
  "accountId": "A String", # Account ID of this placement. This field can be left blank.
  "activeStatus": "A String", # Whether this placement is active, inactive, archived or permanently archived.
  "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.
  "adServingPlatformId": "A String", # Optional. Ad serving platform ID to identify the ad serving platform used by the placement. Measurement partners can use this field to add ad-server specific macros. Possible values are: * `1`, Adelphic * `2`, Adform * `3`, Adobe * `4`, Amobee * `5`, Basis (Centro) * `6`, Beeswax * `7`, Amazon * `8`, DV360 (DBM) * `9`, Innovid * `10`, MediaMath * `11`, Roku OneView DSP * `12`, TabMo Hawk * `13`, The Trade Desk * `14`, Xandr Invest DSP * `15`, Yahoo DSP * `16`, Zeta Global * `17`, Scaleout * `18`, Bidtellect * `19`, Unicorn * `20`, Teads * `21`, Quantcast * `22`, Cognitiv
  "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.
      "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
      "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
      "id": "A String", # ID of this size. This is a read-only, auto-generated field.
      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
      "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
    },
  ],
  "advertiserId": "A String", # Advertiser ID of this placement. This field can be left blank.
  "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
    "dimensionName": "A String", # The name of the dimension.
    "etag": "A String", # The eTag of this response for caching purposes.
    "id": "A String", # The ID associated with the value if available.
    "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
    "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
    "value": "A String", # The value of the dimension.
  },
  "campaignId": "A String", # Campaign ID of this placement. This field is a required field on insertion.
  "campaignIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
    "dimensionName": "A String", # The name of the dimension.
    "etag": "A String", # The eTag of this response for caching purposes.
    "id": "A String", # The ID associated with the value if available.
    "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
    "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
    "value": "A String", # The value of the dimension.
  },
  "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.
  "contentCategoryId": "A String", # ID of the content category assigned to this placement.
  "conversionDomainOverride": { # Optional. Conversion domain overrides for a placement.
    "conversionDomains": [
      {
        "conversionDomainId": "A String",
        "conversionDomainValue": "A String",
      },
    ],
  },
  "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.
  },
  "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.
  "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
    "dimensionName": "A String", # The name of the dimension.
    "etag": "A String", # The eTag of this response for caching purposes.
    "id": "A String", # The ID associated with the value if available.
    "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
    "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
    "value": "A String", # The value of the dimension.
  },
  "externalId": "A String", # External ID for this placement.
  "id": "A String", # ID of this placement. This is a read-only, auto-generated field.
  "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this placement. This is a read-only, auto-generated field.
    "dimensionName": "A String", # The name of the dimension.
    "etag": "A String", # The eTag of this response for caching purposes.
    "id": "A String", # The ID associated with the value if available.
    "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
    "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
    "value": "A String", # The value of the dimension.
  },
  "keyName": "A String", # Key name of this placement. This is a read-only, auto-generated field.
  "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#placement".
  "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.
  },
  "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this placement.
    "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.
    "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.
  },
  "name": "A String", # Name of this placement.This is a required field and must be less than or equal to 512 characters long.
  "partnerWrappingData": { # Placement tag wrapping # Measurement partner provided settings for a wrapped placement.
    "linkStatus": "A String", # Placement wrapping status.
    "measurementPartner": "A String", # Measurement partner used for wrapping the placement.
    "tagWrappingMode": "A String", # Measurement mode for the wrapped placement.
    "wrappedTag": "A String", # Tag provided by the measurement partner during wrapping.
  },
  "paymentApproved": True or False, # Whether payment was approved for this placement. This is a read-only field relevant only to publisher-paid placements.
  "paymentSource": "A String", # Payment source for this placement. This is a required field that is read-only after insertion.
  "placementGroupId": "A String", # ID of this placement's group, if applicable.
  "placementGroupIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the placement group. This is a read-only, auto-generated field.
    "dimensionName": "A String", # The name of the dimension.
    "etag": "A String", # The eTag of this response for caching purposes.
    "id": "A String", # The ID associated with the value if available.
    "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
    "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
    "value": "A String", # The value of the dimension.
  },
  "placementStrategyId": "A String", # ID of the placement strategy assigned to this placement.
  "pricingSchedule": { # Pricing Schedule # Pricing schedule of this placement. This field is required on insertion, specifically subfields startDate, endDate and pricingType.
    "capCostOption": "A String", # Placement cap cost option.
    "endDate": "A String",
    "flighted": True or False, # Whether this placement is flighted. If true, pricing periods will be computed automatically.
    "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.
    "pricingPeriods": [ # Pricing periods for this placement.
      { # Pricing Period
        "endDate": "A String",
        "pricingComment": "A String", # Comments for this pricing period.
        "rateOrCostNanos": "A String", # Rate or cost of this pricing period in nanos (i.e., multiplied by 1000000000). Acceptable values are 0 to 1000000000000000000, inclusive.
        "startDate": "A String",
        "units": "A String", # Units of this pricing period. Acceptable values are 0 to 10000000000, inclusive.
      },
    ],
    "pricingType": "A String", # Placement pricing type. This field is required on insertion.
    "startDate": "A String",
    "testingStartDate": "A String",
  },
  "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.
  "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.
  },
  "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.
  "siteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
    "dimensionName": "A String", # The name of the dimension.
    "etag": "A String", # The eTag of this response for caching purposes.
    "id": "A String", # The ID associated with the value if available.
    "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue.
    "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
    "value": "A String", # The value of the dimension.
  },
  "siteServed": True or False, # Optional. Whether the ads in the placement are served by another platform and CM is only used for tracking or they are served by CM. A false value indicates the ad is served by CM.
  "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.
    "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
    "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
    "id": "A String", # ID of this size. This is a read-only, auto-generated field.
    "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
    "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
  },
  "sslRequired": True or False, # Whether creatives assigned to this placement must be SSL-compliant.
  "status": "A String", # Third-party placement status.
  "subaccountId": "A String", # Subaccount ID of this placement. This field can be left blank.
  "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",
  ],
  "tagSetting": { # Tag Settings # Tag settings for this placement.
    "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.
    "includeClickThroughUrls": True or False, # Whether static landing page URLs should be included in the tags. New placements will default to the value set on their site.
    "includeClickTracking": True or False, # Whether click-tracking string should be included in the tags.
    "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.
  },
  "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.
  "videoSettings": { # Video Settings # A collection of settings which affect video creatives served through this placement. Applicable to placements with IN_STREAM_VIDEO compatibility.
    "companionSettings": { # Companion Settings # Settings for the companion creatives of video creatives served to this placement.
      "companionsDisabled": True or False, # Whether companions are disabled for this placement.
      "enabledSizes": [ # Allowlist 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.
          "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
          "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
          "id": "A String", # ID of this size. This is a read-only, auto-generated field.
          "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
          "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
        },
      ],
      "imageOnly": True or False, # Whether to serve only static images as companions.
      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#companionSetting".
    },
    "durationSeconds": 42, # Duration of a video placement in seconds.
    "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#videoSettings".
    "obaEnabled": True or False, # Whether OBA icons are enabled for this placement.
    "obaSettings": { # Online Behavioral Advertiser icon. # Settings for the OBA icon of video creatives served to this placement. If this object is provided, the creative-level OBA settings will be overridden.
      "iconClickThroughUrl": "A String", # URL to redirect to when an OBA icon is clicked.
      "iconClickTrackingUrl": "A String", # URL to track click when an OBA icon is clicked.
      "iconViewTrackingUrl": "A String", # URL to track view when an OBA icon is clicked.
      "program": "A String", # Identifies the industry initiative that the icon supports. For example, AdChoices.
      "resourceUrl": "A String", # OBA icon resource URL. Campaign Manager only supports image and JavaScript icons. Learn more
      "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # OBA icon size.
        "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
        "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
        "id": "A String", # ID of this size. This is a read-only, auto-generated field.
        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
        "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
      },
      "xPosition": "A String", # OBA icon x coordinate position. Accepted values are left or right.
      "yPosition": "A String", # OBA icon y coordinate position. Accepted values are top or bottom.
    },
    "orientation": "A String", # Orientation of a video placement. If this value is set, placement will return assets matching the specified orientation.
    "publisherSpecificationId": "A String", # Publisher specification ID of a video placement. Possible values are: * `1`, Hulu * `2`, NBC * `3`, CBS * `4`, CBS Desktop * `5`, Discovery * `6`, VEVO HD * `7`, VEVO Vertical * `8`, Fox * `9`, CW Network * `10`, Disney * `11`, IGN * `12`, NFL.com * `13`, Turner Broadcasting * `14`, Tubi on Fox * `15`, Hearst Corporation * `16`, Twitch Desktop * `17`, ABC * `18`, Univision * `19`, MLB.com * `20`, MLB.com Mobile * `21`, MLB.com OTT * `22`, Polsat * `23`, TVN * `24`, Mediaset * `25`, Antena 3 * `26`, Mediamond * `27`, Sky Italia * `28`, Tubi on CBS * `29`, Spotify * `30`, Paramount * `31`, Max
    "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.
      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#skippableSetting".
      "progressOffset": { # Video Offset # Amount of time to play videos served to this placement before counting a view. Applicable when skippable is true.
        "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.
        "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
      },
      "skipOffset": { # Video Offset # Amount of time to play videos served to this placement before the skip button should appear. Applicable when skippable is true.
        "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.
        "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
      },
      "skippable": True or False, # Whether the user can skip creatives served to this placement.
    },
    "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": [ # Allowlist 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".
    },
  },
  "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.
  "wrappingOptOut": True or False, # Whether this placement opts out of tag wrapping.
}