AdWords 关键字/广告组/广告系列 ID 在多个帐户中是否唯一?
在 Google AdWords API 中,我相信关键字 ID 和广告组 ID(显然还有营销活动 ID)在帐户内是唯一的(而不是关键字 ID 仅在其封闭的广告组中唯一,广告组 ID 仅在其封闭的营销活动中唯一) )。
但它们能保证在多个帐户中都是唯一的吗?
In the Google AdWords API, I believe Keyword IDs and AdGroup IDs (and obviously Campaign IDs) are unique within an account (as opposed to the Keyword ID only being unique within its enclosing AdGroup, and the AdGroup ID only being unique within its enclosing Campaign).
But are they guaranteed to be unique across multiple accounts?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
这可能有点晚了,但这是我发现的有关关键字/条件 ID 的内容。对此持保留态度,但我认为这与现实相去不远:
关键字本身作为包含文本和匹配类型(或其他属性,具体取决于标准类型)的对象,具有 AdWords 范围内的唯一 ID 。这意味着每当您使用匹配类型为“BROAD”的关键字“supercalifragilisticexpialidocious”时,它将始终具有相同的 ID。
但是,只有与广告组 ID 结合使用,才能定义每次点击费用、状态、审批状态等属性。继续上面的示例,如果您在两个使用不同每次点击费用的不同 AdWords 帐户中拥有该关键字,关键字 ID 本身仍然相同 - 有关每次点击费用的信息与关键字本身分开保存。
这与 WSDL 中的类型层次结构非常一致:AdGroupCriterionService 返回 AdGroupCriterion 对象,这些对象本身包含 Criterion 对象。有关出价、状态等的信息可在 AdGroupCriterion 对象中获取,而关键字信息本身位于 Criterion 对象内(可能由其他 AdGroupCriterion 对象共享) p>
[<在一次 AdWords 研讨会上,Google 表示“最有可能”与现有关键字具有相同文本和匹配类型的新关键字将使用相同的条件 ID,但这并不能保证。有关相同关键字具有不同 ID 的示例,请参阅 @eshwar 的答案。
This may be a bit late, but here's what I found regarding keyword/criterion IDs. Take it with a grain of salt, but I think it's not too far from reality:
The keyword itself as an object comprising text and match type (or other attributes depending on the type of criterion) has an AdWords-wide unique ID. This means that whenever you use the keyword "supercalifragilisticexpialidocious" with match type "BROAD", it will always have the same ID.
However, only in combination with an ad group ID it is possible to define attributes such as CPC, status, approval status, etc. To continue the above example, if you have that keyword in two different AdWords accounts using different CPCs, the keyword IDs themselves are still identical—the information about CPCs is saved separately from the keyword itself.
This corresponds pretty well to the type hierarchy in the WSDL: The AdGroupCriterionService returns AdGroupCriterion objects which themselves contain Criterion objects. Information about bids, status, etc. is available on the AdGroupCriterion object while the keyword information itself is inside the Criterion object (which may be shared by other AdGroupCriterion objects)
[update] At an Adwords workshop, Google said it was "most likely" that new keywords with the same text and match type as an existing one would use the same criterion ID, but it's not guaranteed. See @eshwar's answer for an example where same keywords have different IDs.
关于广告系列 id、广告组 id、广告 id 和关键字 id(条件 id),可以在 adwords api 文档中找到清晰准确的答案:
https://developers.google.com/adwords/api/docs /guides/working-with-objects
它表示只有广告系列 id 和广告组 id 是全局唯一的。因为没有提到帐户,所以我认为全局应该是“每个帐户”。我不认为不同的帐户有什么独特之处。
concerning campaign id, adgroup id, ad id and keyword id (criterion id) the clear and exact answer is to be found in the adwords api docs:
https://developers.google.com/adwords/api/docs/guides/working-with-objects
It says that only campaign id and adgroup id are globally unique. Because there is no word said about accounts i think global is meant to be as 'per account'. I don't think there is something unique across different accounts.
Tector 的答案很棒——添加这一点是因为 Tector 链接到的文档已经更新以澄清一个混淆点。
全局唯一的实体有:
根据文档,“全局”意味着跨帐户唯一。
来自:https://developers.google.com/adwords/ api/docs/guides/working-with-objects
Tector's answer is great--adding this because the documentation Tector links to has since been updated to clarify a point of confusion.
Globally unique entities are:
'Globally', according to the documentation, means unique across accounts.
From: https://developers.google.com/adwords/api/docs/guides/working-with-objects
令我痛苦的是,今天我发现即使在帐户内,关键字 ID 对于关键字+匹配类型也不是唯一的。我管理多个 Adwords 帐户,并且我的所有脚本都基于关键字 ID 唯一定义“关键字文本”和“匹配类型”组合的假设。不久前我已经在一些帐户中验证了这一点。
但今天我在一个帐户的报告中发现了一些异常情况,当我深入挖掘时,我发现同一帐户内相同的关键字+匹配类型有多个关键字 ID。事实上,在某些情况下,我发现一个组合有 5 个不同的 id。
附上此类实例的屏幕截图
To my agony, today I discovered that the Keyword Id is not unique for a keyword+match type even within an account. I manage multiple Adwords accounts and all my scripts were based on the assumption that the Keyword Id uniquely defined the "keyword text" and "match type" combo. I had validated this to be true in a few accounts some time ago.
But today I found some anomalies in reports for one account and when I dug deep I discovered that the same keyword+match type has multiple keyword ids within the same account. In fact in some cases I found 5 different ids for a combo.
Attaching a screenshot of one such instance
我一直发现它们是独一无二的,但你不应该指望它,因为谷歌实际上并不能保证它们是独一无二的。几年前,我在官方 AdWords API 论坛中提出了同样的问题:
http://groups.google.com/group/adwords-api/browse_thread/thread/5383edba772b7b6c/548e04f54b1d4a74?hl=zh-CN&q=#548e04f54b1d4a74
I've always found them to be unique, but you shouldn't count on it because Google doesn't actually guarantee that they are. I asked the same question in the official AdWords API forum a few years ago:
http://groups.google.com/group/adwords-api/browse_thread/thread/5383edba772b7b6c/548e04f54b1d4a74?hl=en&q=#548e04f54b1d4a74