|
||||||
"targetGoogleSearch":true,"targetSearchNetwork":true,"targetContentNetwork":false,"targetPartnerSearchNetwork":false.
to this:
"targetGoogleSearch":false,"targetSearchNetwork":false,"targetContentNetwork":true,"targetPartnerSearchNetwork":false ?
|
||||||
Hi,
Thank you for reaching out to Google Ads API Forum.
How can I create a campaign that does allow to create responsive display ads?
>> As per this guide, Responsive display ads can be used in Display campaigns. These Display campaigns serve visually engaging ads on the Google Display Network.
If you have already set your campaign AdvertisingChannelType to DISPLAY, that said, if you want to create responsive display ads, can you confirm if the Ad Group your are creating is with type = DISPLAY_STANDARD? As per the enum documentation, this is the default ad group type for Display campaigns. Can you also confirm that you are setting your NetworkSettings target_content_network as true?
If the issue persists after going through the suggested solution, can you please complete request and response logs with the request-id generated on your end when you encountered the errors so our team can further investigate. You can provide it via the Reply privately to author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.
For the client library, logging can be enabled by navigating to the Client libraries > Your client library (ex. .Java) > Logging documentation, which you can access from this link. Kindly note that it would help us investigate the cause of your error if we have these logs.
Regards,
![]() |
Google Ads API Team |
Hello Carlos,
Thank you for responding back to us.
It appears that you are encountering an error when trying to add responsive display ads to your campaign. However, the shared snippet would not suffice for us to determine the exact cause of the issue. Would you be able to share to us the complete request and response logs with request ID and request header generated on your end? This is so we can provide precise guidance to the issue at hand.
Note that these logs can be requested or provided to the developer handling the Google Ads API transactions when logging of the API requests has been enabled. You may check here and click your client library for the specific guideline to enable it.
For REST interface requests, you can enable logging via the curl command by using the -i flag. This will cause the tool to include the HTTP response headers in the output.
You may send this privately via "Reply to Author" option. If that option is not available to you, you may directly send it to this alias googleadsa...@google.com.
Regards,
Hello Carlos,
Thank you for that confirmation. Glad that the issue has been resolved. With regards to the specific error message "The required field was not present", it would help if you would be aware to specific fields when doing this request to avoid this issue in the future. You may check this ResponsiveDisplayAdInfo for your reference. The below article may also help you in creating responsive display ads.
Do not hesitate to come back to us should you encounter any issues with the API in the future.
Regards,