Skip to content
This repository was archived by the owner on Apr 23, 2025. It is now read-only.

Could BulkKeyword contain the campaignId? #212

Closed
schabe77 opened this issue Jan 8, 2025 · 4 comments
Closed

Could BulkKeyword contain the campaignId? #212

schabe77 opened this issue Jan 8, 2025 · 4 comments

Comments

@schabe77
Copy link

schabe77 commented Jan 8, 2025

Hello,

com.microsoft.bingads.v13.bulk.entities.BulkKeyword contains the campaignName, but not the campaignId.

Would it be possible to provide the campaignId too? it's less ambigious as campaigns could have the same name (DELETED vs. ACTIVE/PAUSED), but never the same ID.

@xinyuwen2
Copy link
Collaborator

Hi, I think we can specify the adGroupId in 'ParentId' column and it's unique, don't require campaignName.

@schabe77
Copy link
Author

The adgroupId is already included in com.microsoft.bingads.v13.bulk.entities.BulkKeyword#adGroupId, but for my own software I need the campaignId, so I was wondering if it could be added to the keyword, as it is in GoogleAds.

Currently I have to load all campaigns first and look up the campaignId for the campaignName of each keyword. And I thought, if you can get the campaignName, then maybe you can get the campaignId too.

If I load the campaignId using the adgroupId, this would be even slower because I would have to load all adgroups and their campaignId and then do the mapping via keyword -> adgroupId -> campaignId.

@xinyuwen2
Copy link
Collaborator

Yes looks like it would be better to have campaignId in such case. I'll talk to my team to see if we should make this change.

@xinyuwen2
Copy link
Collaborator

Added it in version 13.0.24.1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants