---
metadata:
  - name: generator
    content: Diplodoc Platform v5.66.1
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: https://yandex.com/dev/direct/doc/dg-v4/en/live/AdImageAssociation.md
    type: text/markdown
    title: Markdown version
  - href: https://yandex.com/dev/direct/doc/dg-v4/en/llms.txt?revision=r22047995
    rel: describedby
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/dev/direct/doc/dg-v4/en/llms.txt?revision=r22047995

# 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.

