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 Assign NameStore ListLoad For NameStore SubscriptLoad NameLoad Index Str body If UnaryOpNot SubscriptLoad NameLoad Index Str body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str AugAssignAdd SubscriptStore NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad 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 If CompareEq SubscriptLoad NameLoad Index Str Num body 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 the display name of the custom targeting values
belonging to a custom targeting key.

To determine which custom targeting keys exist, run
get_all_custom_targeting_keys_and_values.py. googleads dfp N/A CUSTOM_TARGETING_KEY_ID INSERT_CUSTOM_TARGETING_KEY_ID_HERE main N/A N/A client key_id N/A N/A N/A custom_targeting_service N/A N/A client GetService CustomTargetingService version v201602 N/A values N/A N/A key value keyId N/A xsi_type value NumberValue key_id N/A query WHERE customTargetingKeyId = :keyId N/A statement N/A N/A dfp FilterStatement query values N/A True N/A N/A response N/A N/A custom_targeting_service getCustomTargetingValuesByStatement N/A N/A statement ToStatement N/A N/A results response N/A N/A updated_values N/A N/A value N/A response N/A results N/A N/A N/A N/A value N/A displayName N/A N/A N/A value N/A displayName N/A value N/A name N/A N/A value N/A displayName  (Deprecated) N/A N/A N/A updated_values append value N/A values N/A N/A custom_targeting_service updateCustomTargetingValues updated_values N/A value values N/A N/A N/A Custom targeting value with id '%s', name '%s', and display name '%s' was updated. N/A N/A value N/A id N/A value N/A name N/A value N/A displayName N/A N/A statement offset N/A dfp SUGGESTED_PAGE_LIMIT N/A N/A N/A N/A N/A response N/A totalResultSetSize 0 N/A N/A No custom targeting values were updated. 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 CUSTOM_TARGETING_KEY_ID