Setting listingScope in Google Ads API return INTERNAL_ERROR

97 views
Skip to first unread message

Yoshie Agata

unread,
Feb 3, 2021, 7:08:23 PM2/3/21
to AdWords API and Google Ads API Forum
Hello,

I am setting Campaign Criterion with listingScope but it returns INTERNAL_ERROR.

My codes in PHP are :

// Constructs a campaign criterion for the specified campaign ID using listing scope.
$productTypeInfo = new ProductTypeInfo(['value' => $categoryName]);

$listDimensionInfo = new ListingDimensionInfo(['product_type' => $productTypeInfo]);

$campaignCriterion = new CampaignCriterion([
'listing_scope' => new ListingScopeInfo(['dimensions' => [$listDimensionInfo]]),
'campaign' => $campaignResourceName
]);

return new CampaignCriterionOperation(['create' => $campaignCriterion]);

Am I doing something wrong here?

I can send you more details if needed.

Thank you.

Yoshie

Google Ads API Forum Advisor Prod

unread,
Feb 4, 2021, 3:18:05 PM2/4/21
to ag...@corekara.co.jp, adwor...@googlegroups.com
Hi Yoshie,

Please send the following details using 'Reply privately to author':
  1. Account id
  2. API request and response logs
  3. User email address
Thanks,
Google Logo
Lakshmi Prathipati
Google Ads API Team
 


ref:_00D1U1174p._5004Q2Bdg1v:ref

Yoshie Agata

unread,
Feb 4, 2021, 8:11:01 PM2/4/21
to AdWords API and Google Ads API Forum
Hi Lakshmi,

Thank you for your reply.

Reply to author button is disabled so I sent a message with the answer to googleadsa...@google.com.

Let me know if you need more infomation.

Thank you.

Yoshie

Yoshie Agata

unread,
Feb 8, 2021, 9:53:41 PM2/8/21
to AdWords API and Google Ads API Forum
Hello,

Any update?

Yoshie

On Friday, February 5, 2021 at 5:18:05 AM UTC+9 adsapiforumadvisor wrote:

Google Ads API Forum Advisor Prod

unread,
Feb 9, 2021, 1:29:50 PM2/9/21
to ag...@corekara.co.jp, adwor...@googlegroups.com
Hi Yoshie,

I was unable to find your email. Can you let me know the email subject?

Thanks,
Anthony

Google Logo
Anthony
Google Ads API Team
 


ref:_00D1U1174p._5004Q2Bdg1v:ref

Yoshie Agata

unread,
Feb 9, 2021, 7:13:35 PM2/9/21
to AdWords API and Google Ads API Forum
Hi Anthony,

Thank you for your reply.
I sent an email again with the subject, "Setting listingScope returns INTERNAL_ERROR issue on Google Ads API".


Let me know if you still cannot find it.

Thank you.

Yoshie

Google Ads API Forum Advisor Prod

unread,
Feb 10, 2021, 12:41:50 PM2/10/21
to ag...@corekara.co.jp, adwor...@googlegroups.com
Hi Yoshie,

I was able to find your email. I will follow up there.

Regards,

Yoshie Agata

unread,
Feb 11, 2021, 7:05:55 PM2/11/21
to AdWords API and Google Ads API Forum
Hi Anthony,

Thank you! Let me know if you have any update on this.

Yoshie

Google Ads API Forum Advisor Prod

unread,
Feb 12, 2021, 10:07:55 AM2/12/21
to ag...@corekara.co.jp, adwor...@googlegroups.com
Hi Yoshie,

Yes, I will need the request-id of your API call. I had responded on your email. Please follow up there.
Reply all
Reply to author
Forward
0 new messages