getting difference in creative id from UI and api

24 views
Skip to first unread message

omkar....@yuktamedia.com

unread,
Feb 27, 2018, 8:44:30 AM2/27/18
to Google's DoubleClick for Publishers API Forum
hi,
i have created one creative and got following output

0) Image creative with ID 787434773 and name 'Image creative Test #5a9556bc34577' was created.

when i am searching "787434773" this id from UI then creative not found. when i am finding  'Image creative Test #5a9556bc34577' creative name then i can get this creative.
and in url showing 
creativeId=138226388245.

link is bellow   
i am working attach creative to line item and i am getting error if i used creative id of API(787434773) then i am getting following error : 

CommonError.NOT_FOUND @ [0].lineItemCreativeAssociation.creativeId; trigger:'787434773'.

1) why i am getting different ids from UI and API.
2) if i want ID which exist in UI URL from my API so what should i do.. 

Please help for solve this problem.

Thank you.

Nicholas Figeac (DFP API Team)

unread,
Feb 27, 2018, 9:33:01 AM2/27/18
to Google's DoubleClick for Publishers API Forum
Hello,

You should be using the ID 138226388245 that is also shown in the URL. When you created the Image creative in network 39950040, did the response return the ID 787434773 or 138226388245? Can you please share the SOAP request and response when you created the Image creative? You can respond back using "Reply privately to author". Also, please remove any authentication and tokens from the SOAP logs.

The API and UI use the same creative ID. However, it's possible you are connected to a different network code when creating creatives via API.

Thanks,
Nicholas Figeac, DFP API Team

omkar....@yuktamedia.com

unread,
Feb 28, 2018, 2:57:40 AM2/28/18
to Google's DoubleClick for Publishers API Forum
got solution 

Need to change the ids intval() to floatval() .
Reply all
Reply to author
Forward
0 new messages