Strategies

Copy a strategy

Copy a strategy

post/strategies/{strategy_id}/copy

Request

Path parameters

strategy_idinteger required

Numeric ID of the strategy object

Request body

statusboolean required

Indicates the status.

namestring required

Name of the entity.

campaign_idinteger

Optional destination campaign for the copy. When omitted, the copy stays in the source strategy's campaign. The destination campaign may belong to a different advertiser/agency within the same organization; copying to a different organization is not allowed.

copy_strategy_groupboolean

Indicates if the SOURCE strategy's strategy group is carried onto the copy. Only valid when the campaign is unchanged, since a strategy group is parented to a campaign. Mutually exclusive with strategy_group_id.

strategy_group_idinteger

Optional destination strategy group for the copy. The group must belong to the destination campaign. Use this (instead of copy_strategy_group) to attach the copy to a group when copying into a different campaign. Mutually exclusive with copy_strategy_group.

Response

Strategy copy

Example response

{
  "data": {
    "viewability": {
      "type": "AUTO_TAG"
    },
    "zone_name": "America/New_York",
    "frequency": {
      "frequency_amount": 345
    },
    "strategy_group_id": 1,
    "version": 2,
    "goals": {
      "bid_min_devices": 1
    },
    "pacing": {
      "impression_pacing_amount": 23
    },
    "inventory": {
      "domain_restrictions": {
        "include": [
          {
            "domain": "www.mediamath.com"
          }
        ],
        "exclude": [
          {
            "domain": "www.mediamath.com"
          }
        ]
      },
      "site_lists": [
        {
          "site_list_id": 32
        }
      ],
      "campaign_site_lists": [
        {
          "site_list_id": 32
        }
      ],
      "deals": [
        {
          "deal_id": 8
        }
      ],
      "deal_groups": [
        {
          "deal_group_id": 9
        }
      ],
      "supply_sources": [
        {
          "supply_source_id": 54
        }
      ]
    },
    "targeting": {
      "audience": {
        "include": [
          {
            "segments": [
              {
                "audience_segment_id": 24
              }
            ]
          }
        ],
        "exclude": {
          "segments": [
            {
              "audience_segment_id": 24
            }
          ]
        }
      },
      "contextual": {
        "include": [
          {
            "segments": [
              {
                "targeting_segment_id": 33
              }
            ]
          }
        ],
        "exclude": {
          "segments": [
            {
              "targeting_segment_id": 33
            }
          ]
        }
      },
      "audience_groups": {
        "include": [
          {
            "segment_groups": [
              {
                "segment_group_id": 43
              }
            ]
          }
        ]
      },
      "contextual_groups": {
        "include": [
          {
            "segment_groups": [
              {
                "segment_group_id": 43
              }
            ]
          }
        ]
      },
      "geofence": {
        "include": {
          "segments": [
            {
              "geofence_segment_id": 45
            }
          ]
        },
        "exclude": {
          "segments": [
            {
              "geofence_segment_id": 45
            }
          ]
        }
      },
      "my_data": {
        "include": {
          "pixels": [
            {
              "pixel_id": 65
            }
          ]
        },
        "exclude": {
          "pixels": [
            {
              "pixel_id": 65
            }
          ]
        }
      },
      "location": {
        "include": [
          {
            "target_value_id": 87
          }
        ],
        "exclude": [
          {
            "target_value_id": 87
          }
        ]
      },
      "technology": {
        "include": [
          {
            "target_value_id": 77
          }
        ],
        "exclude": [
          {
            "target_value_id": 77
          }
        ]
      },
      "day_parts": [
        {
          "start_hour": 1,
          "end_hour": 5,
          "days": [
            "M",
            "T",
            "W",
            "S",
            "U"
          ]
        }
      ],
      "ip_addresses": {
        "restriction": "INCLUDE",
        "count": 500
      },
      "postal_codes": {
        "restriction": "INCLUDE",
        "count": 5
      },
      "recency": [
        {
          "pixel_id": 55,
          "from_hour": 5,
          "to_hour": 7
        }
      ]
    }
  },
  "meta": {
    "status": "success"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.