Skip to content

addAdGroupsToHierarchy

AddADGroupsToHierarchyV2 is the V2 GraphQL entry point for AddADGroupsToHierarchy.

Arguments

Argument Type Description
input (required) AddAdGroupsToHierarchyInput! The input for the AddAdGroupsToHierarchy mutation.

Returns

RequestStatus!

Sample

mutation AddAdGroupsToHierarchy($input: AddAdGroupsToHierarchyInput!) {
  addAdGroupsToHierarchy(input: $input) {
    success
  }
}
{
  "input": {
    "naturalIds": [
      "00000000-0000-0000-0000-000000000000"
    ],
    "orgId": "00000000-0000-0000-0000-000000000000"
  }
}
{
  "data": {
    "addAdGroupsToHierarchy": {
      "success": true
    }
  }
}