Module Expr Str ImportFrom alias Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str Assign NameStore ListLoad Dict Str Str Str Dict Str Str Str NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr If CompareIn Str NameLoad body For NameStore SubscriptLoad NameLoad Index Str body Print BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str AugAssignAdd AttributeStore NameLoad attr AttributeLoad NameLoad attr orelse Break Print BinOpMod Str SubscriptLoad NameLoad Index Str decorator_list If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad NameLoad NameLoad
N/A N/A This code example gets all line item creative associations (LICA) for a given
line item id.

To create LICAs, run create_licas.py. googleads dfp N/A LINE_ITEM_ID INSERT_LINE_ITEM_ID_HERE main N/A N/A client line_item_id N/A N/A N/A lica_service N/A N/A client GetService LineItemCreativeAssociationService version v201508 N/A values N/A N/A key value lineItemId N/A xsi_type value NumberValue line_item_id N/A query WHERE lineItemId = :lineItemId N/A statement N/A N/A dfp FilterStatement query values N/A True N/A N/A response N/A N/A lica_service getLineItemCreativeAssociationsByStatement N/A N/A statement ToStatement N/A N/A results response N/A N/A lica N/A response N/A results N/A N/A N/A LICA with line item id '%s', creative id '%s', and status '%s' was found. N/A N/A lica N/A lineItemId N/A lica N/A creativeId N/A lica N/A status N/A N/A statement offset N/A dfp SUGGESTED_PAGE_LIMIT N/A N/A N/A N/A 
Number of results found: %s N/A response N/A totalResultSetSize N/A N/A N/A __name__ __main__ N/A N/A dfp_client N/A N/A N/A dfp DfpClient LoadFromStorage N/A N/A main dfp_client LINE_ITEM_ID