CData Python Connector for Snapchat Ads

Build 23.0.8839

CreateLookalikeSegment

Create a Snap Audience Match Lookalike Segment within a specified ad account.

Execute


EXECUTE CreateLookalikeSegment AccountId = '8adc3db7-8148-4fbf-999c-8d2266369d74', SeedSegmentId = '5677923948298240', Country = 'US', Type = 'REACH', Name = 'lookalikes of all the sams in the world', Description = 'similar to all the sams in the world', RetentionInDays = '180'

Input

Name Type Required Description
AccountId String True Ad Account ID.
SeedSegmentId String True Seed Audience Segment ID.
Country String True ISO-2 Country Code.
Type String False The type of Lookalike to be created.

The allowed values are BALANCE, SIMILARITY, REACH.

The default value is BALANCE.

Name String True Audience Segment name.
RetentionInDays Int True Number of days to retain audience members.
Description String False Audience Segment Description.

Result Set Columns

Name Type Description
SegmentId String The ID of the newly created Lookalike Segment.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839