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 Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr If CompareIn Str NameLoad body Assign NameStore ListLoad For NameStore SubscriptLoad NameLoad Index Str body Assign SubscriptStore NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body For NameStore NameLoad body Print BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str orelse Print Str orelse Print 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 example updates a product's notes.

To determine which products exist, run get_all_products.py.

 googleads dfp N/A PRODUCT_ID INSERT_PRODUCT_ID_HERE main N/A N/A client product_id N/A N/A N/A product_service N/A N/A client GetService ProductService version v201508 N/A values N/A N/A key value id N/A xsi_type value NumberValue product_id N/A query WHERE id = :id N/A statement N/A N/A dfp FilterStatement query values 1 N/A response N/A N/A product_service getProductsByStatement N/A N/A statement ToStatement N/A N/A results response N/A N/A updated_products N/A N/A product N/A response N/A results N/A N/A N/A product N/A notes Product needs further review before activation. N/A N/A N/A updated_products append product N/A products N/A N/A product_service updateProducts updated_products N/A products N/A N/A product products N/A N/A N/A Product with id '%s', name '%s', and notes '%s' was updated. N/A N/A product N/A id N/A product N/A name N/A product N/A notes N/A N/A No products were updated. N/A N/A No products found to update. 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 PRODUCT_ID