POST /userprofiles/{userprofilesId}/placementGroups
Inserts a new placement group.
Request
- Base URLhttps://dfareporting.googleapis.com/dfareporting/v5
- AuthOAuth 2 and OAuth 2Implicithttps://accounts.google.com/o/oauth2/authScopeshttps://www.googleapis.com/auth/dfatraffickingAuthorization codehttps://accounts.google.com/o/oauth2/authToken URLhttps://accounts.google.com/o/oauth2/tokenScopeshttps://www.googleapis.com/auth/dfatrafficking
- TypeScripthttps://skmtc.dev/google/apis/dfareporting/docs/userprofiles/:userprofilesId/placementGroups/post.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
Request body
Account ID of this placement group. This is a read-only field that can be left blank.
Whether this placement group is active, inactive, archived or permanently archived.
Advertiser ID of this placement group. This is a required field on insertion.
Campaign ID of this placement group. This field is required on insertion.
IDs of placements which are assigned to this placement group. This is a read-only, auto-generated field.
Comments for this placement group.
ID of the content category assigned to this placement group.
Directory site ID associated with this placement group. On insert, you must set either this field or the site_id field to specify the site associated with this placement group. This is a required field that is read-only after insertion.
External ID for this placement.
ID of this placement group. This is a read-only, auto-generated field.
Identifies what kind of resource this is. Value: the fixed string "dfareporting#placementGroup".
Name of this placement group. This is a required field and must be less than 256 characters long.
Type of this placement group. A package is a simple group of placements that acts as a single pricing point for a group of tags. A roadblock is a group of placements that not only acts as a single pricing point, but also assumes that all the tags in it will be served at the same time. A roadblock requires one of its assigned placements to be marked as primary for reporting. This field is required on insertion.
ID of the placement strategy assigned to this placement group.
ID of the primary placement, used to calculate the media cost of a roadblock (placement group). Modifying this field will automatically modify the primary field on all affected roadblock child placements.
Site ID associated with this placement group. On insert, you must set either this field or the directorySiteId field to specify the site associated with this placement group. This is a required field that is read-only after insertion.
Subaccount ID of this placement group. This is a read-only field that can be left blank.
Response
Successful response
Account ID of this placement group. This is a read-only field that can be left blank.
Whether this placement group is active, inactive, archived or permanently archived.
Advertiser ID of this placement group. This is a required field on insertion.
Campaign ID of this placement group. This field is required on insertion.
IDs of placements which are assigned to this placement group. This is a read-only, auto-generated field.
Comments for this placement group.
ID of the content category assigned to this placement group.
Directory site ID associated with this placement group. On insert, you must set either this field or the site_id field to specify the site associated with this placement group. This is a required field that is read-only after insertion.
External ID for this placement.
ID of this placement group. This is a read-only, auto-generated field.
Identifies what kind of resource this is. Value: the fixed string "dfareporting#placementGroup".
Name of this placement group. This is a required field and must be less than 256 characters long.
Type of this placement group. A package is a simple group of placements that acts as a single pricing point for a group of tags. A roadblock is a group of placements that not only acts as a single pricing point, but also assumes that all the tags in it will be served at the same time. A roadblock requires one of its assigned placements to be marked as primary for reporting. This field is required on insertion.
ID of the placement strategy assigned to this placement group.
ID of the primary placement, used to calculate the media cost of a roadblock (placement group). Modifying this field will automatically modify the primary field on all affected roadblock child placements.
Site ID associated with this placement group. On insert, you must set either this field or the directorySiteId field to specify the site associated with this placement group. This is a required field that is read-only after insertion.
Subaccount ID of this placement group. This is a read-only field that can be left blank.
Changes
No recorded changes to this operation across all 5 revisions of this API.