# DCM/DFA Reporting And Trafficking API . remarketingListShares

## Instance Methods

Gets one remarketing list share by remarketing list ID.

Updates an existing remarketing list share. This method supports patch semantics.

Updates an existing remarketing list share.

### Method Details

`get(profileId, remarketingListId)`

    Gets one remarketing list share by remarketing list ID.

    Args:
      profileId: string, User profile ID associated with this request. (required)
      remarketingListId: string, Remarketing list ID. (required)

    Returns:
      An object of the form:

        { # Contains properties of a remarketing list's sharing information. Sharing allows other accounts or advertisers to target to your remarketing lists. This resource can be used to manage remarketing list sharing to other accounts and advertisers.
          "sharedAdvertiserIds": [ # Advertisers that the remarketing list is shared with.
            "A String",
          ],
          "kind": "dfareporting#remarketingListShare", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#remarketingListShare".
          "remarketingListId": "A String", # Remarketing list ID. This is a read-only, auto-generated field.
          "sharedAccountIds": [ # Accounts that the remarketing list is shared with.
            "A String",
          ],
        }

`patch(profileId, remarketingListId, body)`

    Updates an existing remarketing list share. This method supports patch semantics.

    Args:
      profileId: string, User profile ID associated with this request. (required)
      remarketingListId: string, Remarketing list ID. (required)
      body: object, The request body. (required)
        The object takes the form of:

    { # Contains properties of a remarketing list's sharing information. Sharing allows other accounts or advertisers to target to your remarketing lists. This resource can be used to manage remarketing list sharing to other accounts and advertisers.
        "sharedAdvertiserIds": [ # Advertisers that the remarketing list is shared with.
          "A String",
        ],
        "kind": "dfareporting#remarketingListShare", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#remarketingListShare".
        "remarketingListId": "A String", # Remarketing list ID. This is a read-only, auto-generated field.
        "sharedAccountIds": [ # Accounts that the remarketing list is shared with.
          "A String",
        ],
      }

    Returns:
      An object of the form:

        { # Contains properties of a remarketing list's sharing information. Sharing allows other accounts or advertisers to target to your remarketing lists. This resource can be used to manage remarketing list sharing to other accounts and advertisers.
          "sharedAdvertiserIds": [ # Advertisers that the remarketing list is shared with.
            "A String",
          ],
          "kind": "dfareporting#remarketingListShare", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#remarketingListShare".
          "remarketingListId": "A String", # Remarketing list ID. This is a read-only, auto-generated field.
          "sharedAccountIds": [ # Accounts that the remarketing list is shared with.
            "A String",
          ],
        }

`update(profileId, body)`

    Updates an existing remarketing list share.

    Args:
      profileId: string, User profile ID associated with this request. (required)
      body: object, The request body. (required)
        The object takes the form of:

    { # Contains properties of a remarketing list's sharing information. Sharing allows other accounts or advertisers to target to your remarketing lists. This resource can be used to manage remarketing list sharing to other accounts and advertisers.
        "sharedAdvertiserIds": [ # Advertisers that the remarketing list is shared with.
          "A String",
        ],
        "kind": "dfareporting#remarketingListShare", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#remarketingListShare".
        "remarketingListId": "A String", # Remarketing list ID. This is a read-only, auto-generated field.
        "sharedAccountIds": [ # Accounts that the remarketing list is shared with.
          "A String",
        ],
      }

    Returns:
      An object of the form:

        { # Contains properties of a remarketing list's sharing information. Sharing allows other accounts or advertisers to target to your remarketing lists. This resource can be used to manage remarketing list sharing to other accounts and advertisers.
          "sharedAdvertiserIds": [ # Advertisers that the remarketing list is shared with.
            "A String",
          ],
          "kind": "dfareporting#remarketingListShare", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#remarketingListShare".
          "remarketingListId": "A String", # Remarketing list ID. This is a read-only, auto-generated field.
          "sharedAccountIds": [ # Accounts that the remarketing list is shared with.
            "A String",
          ],
        }