Hi Alaa,

Thank you for reaching out to the Google Ads API support team.

Please be informed that I have removed your response from the forums as it 
contains the PII information.

I understand that you are encountering the field error 'REQUIRED' when trying 
to create a responsive display ad via the Google Ads API.

I would recommend you refer to this guide on 'Creating Responsive Display Ads' 
for information on the required fields that you need to populate to create a 
responsive display ad. From the request we fetched using the request-id that 
you provided, I could see that you have not set the 'long_headline' field, 
which is required. This is the reason you are encountering the field error.

I tried to create a responsive display ad on my end using the below request and 
was successful. Refer to the request and response logs:

Request:

POST https://googleads.googleapis.com/v18/customers/{customer 
ID}/adGroupAds:mutate?key=[YOUR_API_KEY] HTTP/1.1

developer-token: **********************
Authorization: Bearer [YOUR_ACCESS_TOKEN]
Accept: application/json
Content-Type: application/json

{
  "operations": [
    {
      "create": {
        "status": "ENABLED",
        "ad": {
          "responsiveDisplayAd": {
            "marketingImages": [
              {
                "asset": "customers/{customer ID}/assets/{asset ID}"
              }
            ],
            "squareMarketingImages": [
              {
                "asset": "customers/{customer ID}/assets/{asset ID}"
              }
            ],
            "logoImages": [
              {
                "asset": "customers/{customer ID}/assets/{asset ID}"
              }
            ],
            "squareLogoImages": [
              {
                "asset": "customers/{customer ID}/assets/{asset ID}"
              }
            ],
            "headlines": [
              {
                "text": "Test Headline 1"
              }
            ],
            "longHeadline": {
              "text": "Test Headline 1 Test Headline 1 Test Headline 1"
            },
            "descriptions": [
              {
                "text": "Huge savings on your favorite products."
              }
            ],
            "businessName": "Overzaki"
          },
          "finalUrls": [
            "https://www.overzaki.com";
          ],
          "name": "YouTube Video Ad1234"
        },
        "adGroup": "customers/{customer ID}/adGroups/{ad group ID)"
      }
    }
  ]
}

Response:

{
  "results": [
    {
      "resourceName": "customers/{customer ID}/adGroupAds/{ad group ID}~{ad ID}"
    }
  ]
}


I hope this helps.

This message is in relation to case "ref:!00D1U01174p.!5004Q02vGwbl:ref" 
(ADR-00284944)

Thanks,

Google Ads API Team


Feedback
How was our support today?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/adwords-api/n4okD000000000000000000000000000000000000000000000SQDR9X00tZde50sjTzOclgiMMOjtxg%40sfdc.net.
  • fa... Alaa Almedane
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to