Unable to push changes to an order because of the following error: LineItemError: INVALID_CREATIVE_TARGETING_NAME

142 views
Skip to first unread message

chu...@wideorbit.com

unread,
Aug 20, 2021, 10:57:24 AM8/20/21
to Google Ad Manager API Forum

Hi Google API:

An order was processed successfully using the GAM API but after the user makes an edit directly in GAM (i.e add creative level targeting), and then tries to make an edit to the order and push that using the API, the user now gets the error message above.

We are trying to update our code to ensure the user does not get this error message but we cannot figure out why.  Can you please help us explain how we can avoid getting this error message?


Ad Manager API Forum Advisor

unread,
Aug 23, 2021, 2:37:51 AM8/23/21
to chu...@wideorbit.com, google-doubleclick...@googlegroups.com

Hello Chuynh,

Thank you for reaching out to us.

The error INVALID_CREATIVE_TARGETING_NAME means one or more of the targeting names specified by a creative placeholder or line item creative association were not found on the line item. Can you please provide the complete SOAP logs of the error and network code so I investigate further? You can reply via reply privately to author.

Regards,

Google Logo
Princess Pamela Pineda
Ad Manager API Team
 


ref:_00D1U1174p._5004Q2Louef:ref

Ad Manager API Forum Advisor

unread,
Aug 24, 2021, 10:23:53 PM8/24/21
to chu...@wideorbit.com, google-doubleclick...@googlegroups.com

Hello Chris,

Thank you for providing additional information.

Upon checking your logs, I saw that the request made that return a response error of "LineItemError: INVALID_CREATIVE_TARGETING_NAMEhas creativeTargeting in the SOAP logs, but it doesn't have a name set. With that being said, kindly try adding the following below.

1. Add a creativeTargeting with both the targeting and name set

2. Add a creativePlaceholder with the same name as the creativeTargeting

Message has been deleted

Ad Manager API Forum Advisor

unread,
Sep 7, 2021, 3:58:43 AM9/7/21
to chu...@wideorbit.com, google-doubleclick...@googlegroups.com

Hi Chris,

 

I'm a colleague of Princess. Thank you for providing more information.

 

I've noticed that in the latest update logs you provided, you've removed the creative targeting entirely. This doesn't seem to be possible since there is already creatives associated with the line item that is using the same targeting. Can you please confirm if the CreativeTargeting the only field you wish to update/remove from the line item?

 

Regards,

Google Logo
Kevin Gil Soriano
Ad Manager API Team
 


ref:_00D1U1174p._5004Q2Louef:ref
Reply all
Reply to author
Forward
Message has been deleted
0 new messages