Issue Inserting Placement Groups – Invalid Parameter Error Possibly Due to Date Format

13 views
Skip to first unread message

Manuel Fernandez Queipo

unread,
May 8, 2025, 4:44:53 AMMay 8
to Google's Campaign Manager 360 API Forum

Hi everyone,

I'm trying to insert placement groups using the API, but I'm encountering an "invalid parameters" error. After reviewing the request, I suspect the issue might be related to the date format I'm using.

To set the start and end dates of a placement group, I'm using the pricingSchedule property, which expects a value of type com.google.api.client.util.DateTime. However, in the API documentation, the expected format is specified as a String in the format YYYY-MM-DD, which doesn’t match the format generated by the DateTime class (which includes time information like hours, minutes, and seconds).

For context, I'm using Java to make this API call, and I'm working with version v4-rev20220920-2.0.0 of the API client library.

Has anyone faced this issue before? Should the date be sent as a plain YYYY-MM-DD string instead of using the DateTime type? Any clarification would be appreciated.

Thanks in advance!

DCM API (DoubleClick Campaign Mgr)

unread,
May 8, 2025, 7:13:05 AMMay 8
to google-doubleclick-...@googlegroups.com

Hi,

Thank you for reaching out to the CM360 API support team.

To help us investigate this further and understand the root of the issue, could you please provide the following details:

  • DCM Account ID- You can find under your profile icon in your Campaign Manager 360 UI. You can also find it in the Account section, which is located under the Admin drop-down.
  • Profile ID used in the execution/request call
  • Request body & URL endpoint request with path param values
  • Complete API JSON request and response showing the issue or error encountered.

You can send the details via Reply privately to the author option, or direct private reply to this email.

 


Thanks,
 
Google Logo DCM API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-05-08 11:12:59Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01qWIAB:ref" (ADR-00304542)



Reply all
Reply to author
Forward
0 new messages