---
metadata:
  - name: generator
    content: Diplodoc Platform v5.52.0
alternate:
  - https://yandex.com/dev/direct/doc/dg-v4/en/live/AdImageAssociation.md
  - https://yandex.com/dev/direct/doc/dg-v4/ru/live/AdImageAssociation.md
  - href: en/live/AdImageAssociation.md
    type: text/markdown
    title: Markdown version
  - href: ../llms.txt
    type: text/markdown
    title: llms.txt
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/dev/direct/doc/dg-v4/en/llms.txt

# AdImageAssociation (Live)
Adds, removes, or returns associations of images with ads.
The type of action to perform is specified in the `Action` parameter:

- [Get](https://yandex.com/dev/direct/doc/dg-v4/en/live/AdImageAssociation_Get.md) — Getting data about associated images.
- [Set](https://yandex.com/dev/direct/doc/dg-v4/en/live/AdImageAssociation_Set.md) — Adding/removing associations of images with ads.

## Restrictions

Points are used when this method is invoked (see [Point limitations](https://yandex.com/dev/direct/doc/dg-v4/en/concepts/Restrictions.md#Units)). If there are not enough points available, the error message [152](https://yandex.com/dev/direct/doc/dg-v4/en/reference/ErrorCodes.md#ErrorCode152) is returned.

