Module Expr Str ImportFrom alias FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str Assign NameStore ListLoad Dict Str Str Str Dict Str Str Str Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Str If NameLoad body For NameStore NameLoad body Print BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad 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
N/A N/A This code example gets all image creatives.

To create an image creative, run create_creatives.py.

The LoadFromStorage method is pulling credentials and properties from a
"googleads.yaml" file. By default, it looks for this file in your home
directory. For more information, see the "Caching authentication information"
section of our README.

 googleads dfp main N/A N/A client N/A N/A N/A creative_service N/A N/A client GetService CreativeService version v201602 N/A values N/A N/A key value creativeType N/A xsi_type value TextValue ImageCreative N/A query WHERE creativeType = :creativeType N/A statement N/A N/A dfp FilterStatement query values N/A True N/A N/A response N/A N/A creative_service getCreativesByStatement N/A N/A statement ToStatement N/A creatives N/A response N/A results N/A creatives N/A N/A creative creatives N/A N/A N/A Creative with id '%s', name '%s', and type '%s' was found. N/A N/A creative N/A id N/A creative N/A name N/A N/A dfp DfpClassType creative 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